Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 25 of 2080) sorted by last modified time

12345678910>>...84

/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c101 int fd; in so_socket() local
132 error = falloc(vp, FWRITE|FREAD, &fp, &fd); in so_socket()
151 setf(fd, fp); in so_socket()
153 f_setfd(fd, FD_CLOEXEC); in so_socket()
156 return (fd); in so_socket()
H A Dsocksubr.c724 int i, fd; in fdbuf_extract() local
742 if ((fd = ufalloc(0)) == -1) in fdbuf_extract()
755 setf(fd, fp); in fdbuf_extract()
756 *rp++ = fd; in fdbuf_extract()
758 audit_fdrecv(fd, fp); in fdbuf_extract()
760 i, fd, (void *)fp, fp->f_count)); in fdbuf_extract()
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c395 int fd; in ct_status_open() local
397 if ((fd = contract_open(ctid, "process", "status", O_RDONLY)) == -1) in ct_status_open()
400 if (fstat64(fd, stp) == -1 || ct_status_read(fd, CTD_FIXED, &hdl)) { in ct_status_open()
401 (void) close(fd); in ct_status_open()
405 (void) close(fd); in ct_status_open()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_kmod.c61 int fd; in smb_kmod_bind() local
67 fd = open(SMBDRV_DEVICE_PATH, 0); in smb_kmod_bind()
69 fd = open(SMBDRV_DEVICE_PATH "1", 0); in smb_kmod_bind()
71 if (fd < 0) in smb_kmod_bind()
74 smbdrv_fd = fd; in smb_kmod_bind()
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_main.c382 smbd_daemonize_fini(int fd, int exit_status) in smbd_daemonize_fini() argument
391 if (fd >= 0) in smbd_daemonize_fini()
392 (void) write(fd, &exit_status, sizeof (exit_status)); in smbd_daemonize_fini()
394 (void) close(fd); in smbd_daemonize_fini()
/illumos-gate/usr/src/test/util-tests/tests/smbios/
H A Dsmbios.c681 int fd; in smbios_test_run_one() local
686 fd = openat(test_dirfd, fname, O_RDWR | O_CREAT, 0644); in smbios_test_run_one()
687 if (fd < 0) { in smbios_test_run_one()
691 if (smbios_write(hdl, fd) != 0) { in smbios_test_run_one()
696 (void) close(fd); in smbios_test_run_one()
/illumos-gate/usr/src/common/smbios/
H A Dsmb_info.c320 int fd = open("/etc/smbios_product", O_RDONLY); in smbios_info_common() local
321 if (fd >= 0) { in smbios_info_common()
322 (void) read(fd, smbios_product_override, in smbios_info_common()
324 (void) close(fd); in smbios_info_common()
/illumos-gate/usr/src/cmd/smbios/
H A Dsmbios.c2232 int err, fd, c; in main() local
2300 if ((fd = open(ofile, O_WRONLY|O_CREAT|O_TRUNC, 0666)) == -1) { in main()
2304 } else if (smbios_write(shp, fd) != 0) { in main()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_ioctl.c6285 int fd; in zfs_ioc_send_new() local
6293 fd = fnvlist_lookup_int32(innvl, "fd"); in zfs_ioc_send_new()
6305 file_t *fp = getf(fd); in zfs_ioc_send_new()
6311 rawok, fd, resumeobj, resumeoff, fp->f_vnode, &off); in zfs_ioc_send_new()
6315 releasef(fd); in zfs_ioc_send_new()
/illumos-gate/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h264 int x2, int x3, vnode_t *vp, int fd);
/illumos-gate/usr/src/pkg/manifests/
H A Ddriver-cpu-amd-zen.p5m172 alias=pci1022,16fd,p \
/illumos-gate/usr/src/data/hwdata/
H A Dusb.ids774 03fd Xilinx, Inc.
5162 01fd A160
6289 02fd DCP-J105
6396 03fd ADS-2700W
7882 00fd VS-700
7937 01fd Boutique SH-01A
9121 05fd InterAct, Inc.
9970 20fd SnapScan e52
11993 08fd Digianswer A/S
19634 18fd FineArch Inc.
[all …]
H A Dpci.ids8667 1093 76fd PXIe-5114
11183 06fd G98 [Quadro NVS 295]
12061 103c 18fd GeForce GT 630M
12083 1043 11fd GeForce GT 720M
12607 17fd GM200GL [Tesla M40]
13647 10fd Soyo Computer, Inc
14637 01fd GDT 8x43RZ
17667 12fd I2S
18652 13fd Micro Science Inc
22242 15fd N-CUBED.NET
[all …]
/illumos-gate/usr/src/cmd/nvmeadm/
H A Dnvmeadm.c1832 int fd = open(file, O_WRONLY | O_TRUNC | O_CREAT, 0644); in do_get_logpage_dump() local
1834 if (fd < 0) { in do_get_logpage_dump()
1839 ssize_t ret = write(fd, buf + off, len - off); in do_get_logpage_dump()
1849 (void) close(fd); in do_get_logpage_dump()
2996 read_block(const nvme_process_arg_t *npa, int fd, char *buf, size_t len) in read_block() argument
3002 ssize_t bytes = read(fd, buf, remain); in read_block()
/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c88 int fd; in vn_open() local
107 fd = open64(path, O_RDONLY); in vn_open()
108 if (fd == -1) in vn_open()
110 if (fstat64(fd, &st) == -1) { in vn_open()
111 close(fd); in vn_open()
114 close(fd); in vn_open()
149 if (fd == -1) in vn_open()
152 if (fstat64(fd, &st) == -1) { in vn_open()
153 close(fd); in vn_open()
161 vp->v_fd = fd; in vn_open()
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_util.c1650 int fd, err; in zfs_get_hole_count() local
1654 fd = open(path, O_RDONLY | O_LARGEFILE); in zfs_get_hole_count()
1655 if (fd == -1) in zfs_get_hole_count()
1658 if (ioctl(fd, _FIO_COUNT_FILLED, &fill) == -1) { in zfs_get_hole_count()
1660 (void) close(fd); in zfs_get_hole_count()
1664 if (fstat64(fd, &ss) == -1) { in zfs_get_hole_count()
1666 (void) close(fd); in zfs_get_hole_count()
1676 if (close(fd) == -1) { in zfs_get_hole_count()
H A Dlibzfs_sendrecv.c2165 zfs_send_one(zfs_handle_t *zhp, const char *from, int fd, in zfs_send_one() argument
2175 err = lzc_send(zhp->zfs_name, from, fd, flags); in zfs_send_one()
2237 rv = read(fd, cp, len); in recv_read()
2275 err = recv_read(hdl, fd, buf, len, byteswap, zc); in recv_read_nvlist()
3121 error = recv_read_nvlist(hdl, fd, drr->drr_payloadlen, in zfs_receive_package()
3268 error = zfs_receive_impl(hdl, destname, NULL, flags, fd, in zfs_receive_package()
3336 (void) recv_read(hdl, fd, buf, in recv_skip()
3351 (void) recv_read(hdl, fd, buf, in recv_skip()
3368 (void) recv_read(hdl, fd, buf, in recv_skip()
3376 (void) recv_read(hdl, fd, buf, in recv_skip()
[all …]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c952 if (fd == -1) in make_vdev_file()
954 if (ftruncate(fd, size) != 0) in make_vdev_file()
956 (void) close(fd); in make_vdev_file()
3479 int fd; in grow_vdev() local
3487 fsize = lseek(fd, 0, SEEK_END); in grow_vdev()
3488 (void) ftruncate(fd, *newsize); in grow_vdev()
3494 (void) close(fd); in grow_vdev()
5642 int fd; in ztest_fault_inject() local
5818 fd = open(pathrand, O_RDWR); in ztest_fault_inject()
5883 (void) close(fd); in ztest_fault_inject()
[all …]
/illumos-gate/usr/src/uts/intel/
H A DMakefile.intel237 DRV_KMODS += fd
H A DMakefile.files139 FD_OBJS += fd.o
/illumos-gate/usr/src/uts/common/
H A DMakefile.rules275 $(OBJS_DIR)/%.o: $(UTSBASE)/common/fs/fd/%.c
/illumos-gate/usr/src/uts/
H A DREADME282 FS_KMODS += fd fifo namefs nfs proc spec ufs
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/
H A D64.vbmi2.out298 libdis_test+0x507: 62 f2 fd 08 63 c1 vpcompressw %xmm0,%xmm1
299 libdis_test+0x50d: 62 f2 fd 09 63 ca vpcompressw %xmm1,%xmm2{%k1}
301 libdis_test+0x519: 62 f2 fd 08 63 20 vpcompressw %xmm4,(%rax)
303 libdis_test+0x525: 62 f2 fd 08 63 b0 vpcompressw %xmm6,0x23(%rax)
305 libdis_test+0x52f: 62 f2 fd 08 63 70 vpcompressw %xmm6,0x24(%rax)
309 libdis_test+0x53d: 62 f2 fd 28 63 c1 vpcompressw %ymm0,%ymm1
310 libdis_test+0x543: 62 f2 fd 29 63 ca vpcompressw %ymm1,%ymm2{%k1}
312 libdis_test+0x54f: 62 f2 fd 28 63 20 vpcompressw %ymm4,(%rax)
314 libdis_test+0x55b: 62 f2 fd 28 63 b0 vpcompressw %ymm6,0x23(%rax)
320 libdis_test+0x573: 62 f2 fd 48 63 c1 vpcompressw %zmm0,%zmm1
[all …]
H A D64.avx512_vnni.out8 libdis_test+0x2a: 62 a2 4d 45 50 fd vpdpbusd %zmm21,%zmm22,%zmm23{%k5}
30 libdis_test+0xa5: 62 a2 4d 45 51 fd vpdpbusds %zmm21,%zmm22,%zmm23{%k5}
52 libdis_test+0x120: 62 a2 4d 45 52 fd vpdpwssd %zmm21,%zmm22,%zmm23{%k5}
74 libdis_test+0x19b: 62 a2 4d 45 53 fd vpdpwssds %zmm21,%zmm22,%zmm23{%k5}
H A D32.vbmi2.out5 libdis_test+0xe: 62 f3 fd 8a 70 cf vpshldw $0x23,%xmm7,%xmm0,%xmm1{%k2}{z}
298 libdis_test+0x507: 62 f2 fd 08 63 c1 vpcompressw %xmm0,%xmm1
299 libdis_test+0x50d: 62 f2 fd 09 63 ca vpcompressw %xmm1,%xmm2{%k1}
301 libdis_test+0x519: 62 f2 fd 08 63 20 vpcompressw %xmm4,(%eax)
303 libdis_test+0x525: 62 f2 fd 08 63 b0 vpcompressw %xmm6,0x23(%eax)
305 libdis_test+0x52f: 62 f2 fd 08 63 70 vpcompressw %xmm6,0x24(%eax)
309 libdis_test+0x53d: 62 f2 fd 28 63 c1 vpcompressw %ymm0,%ymm1
310 libdis_test+0x543: 62 f2 fd 29 63 ca vpcompressw %ymm1,%ymm2{%k1}
312 libdis_test+0x54f: 62 f2 fd 28 63 20 vpcompressw %ymm4,(%eax)
320 libdis_test+0x573: 62 f2 fd 48 63 c1 vpcompressw %zmm0,%zmm1
[all …]

12345678910>>...84