/dports/audio/snd/snd-21.2/ |
H A D | snd-dac.c | 604 if (dev_fd[i] != -1) in cleanup_dac() 606 mus_audio_close(dev_fd[i]); in cleanup_dac() 607 dev_fd[i] = -1; in cleanup_dac() 1892 if (dev_fd[i] != -1) in fill_dac_buffers() 1903 if (dev_fd[i] != -1) in fill_dac_buffers() 2245 if (dev_fd[d] == -1) in start_audio_output_1() 2339 if (dev_fd[0] == MUS_ERROR) in start_audio_output_1() 2346 if (dev_fd[0] == MUS_ERROR) in start_audio_output_1() 2402 if (dev_fd[i] != -1) in stop_audio_output() 2404 mus_audio_close(dev_fd[i]); in stop_audio_output() [all …]
|
/dports/sysutils/syslinux/syslinux-6.03/libinstaller/ |
H A D | syslxcom.h | 12 int syslinux_already_installed(int dev_fd);
|
H A D | syslxcom.c | 299 int syslinux_already_installed(int dev_fd) in syslinux_already_installed() argument 303 xpread(dev_fd, buffer, 8, 3); in syslinux_already_installed()
|
/dports/devel/util-linux/util-linux-2.36/libfdisk/src/ |
H A D | alignment.c | 192 !blkdev_get_sector_size(cxt->dev_fd, §_sz)) in get_sector_size() 491 if (!blkdev_get_sectors(cxt->dev_fd, (unsigned long long *) &nsects)) in fdisk_discover_geometry() 495 blkdev_get_geometry(cxt->dev_fd, &h, &s); in fdisk_discover_geometry() 529 if (pr && blkid_probe_set_device(pr, cxt->dev_fd, 0, 0) == 0) { in fdisk_discover_topology()
|
H A D | bsd.c | 718 if (lseek(cxt->dev_fd, (off_t) sector * DEFAULT_SECTOR_SIZE, SEEK_SET) == -1) { in fdisk_bsd_write_bootstrap() 723 if (write_all(cxt->dev_fd, l->bsdbuffer, BSD_BBSIZE)) { in fdisk_bsd_write_bootstrap() 840 if (lseek(cxt->dev_fd, offset, SEEK_SET) == -1) in bsd_readlabel() 842 if (read_all(cxt->dev_fd, l->bsdbuffer, sizeof(l->bsdbuffer)) < 0) in bsd_readlabel() 900 if (lseek(cxt->dev_fd, offset, SEEK_SET) == -1) { in bsd_write_disklabel() 904 if (write_all(cxt->dev_fd, l->bsdbuffer, sizeof(l->bsdbuffer))) { in bsd_write_disklabel()
|
/dports/sysutils/busybox/busybox-1.26.2/util-linux/ |
H A D | fdisk_osf.c | 764 xwrite(dev_fd, disklabelbuffer, BSD_BBSIZE); in xbsd_write_bootstrap() 934 if (BSD_BBSIZE != full_read(dev_fd, disklabelbuffer, BSD_BBSIZE)) in xbsd_readlabel() 980 xwrite(dev_fd, disklabelbuffer, BSD_BBSIZE); in xbsd_writelabel() 983 lseek(dev_fd, BSD_LABELOFFSET, SEEK_CUR); in xbsd_writelabel() 984 xwrite(dev_fd, d, sizeof(*d)); in xbsd_writelabel()
|
H A D | fdisk.c | 412 dev_fd = 3 /* the disk */ enumerator 554 xmove_fd(xopen(bb_dev_null, O_RDONLY), dev_fd); in close_dev_fd() 627 if (lseek64(dev_fd, off, SEEK_SET) == (off64_t) -1) in seek_sector() 632 || lseek(dev_fd, (off_t)off, SEEK_SET) == (off_t) -1 in seek_sector() 720 xwrite(dev_fd, buf, sector_size); in write_sector() 1333 if (ioctl(dev_fd, BLKSSZGET, &arg) == 0) in get_sectorsize() 1347 if (!ioctl(dev_fd, HDIO_GETGEO, &geometry)) { in get_kernel_geometry() 1482 xmove_fd(fd, dev_fd); in get_boot() 1483 if (512 != full_read(dev_fd, MBRbuffer, 512)) { in get_boot() 1498 xmove_fd(fd, dev_fd); in get_boot() [all …]
|
/dports/graphics/sane-backends/sane-backends-1.0.32/sanei/ |
H A D | sanei_scsi.c | 2550 dev_fd = -1; in lx_mk_devicename() 2554 if (dev_fd == -1) in lx_mk_devicename() 2556 if (dev_fd >= 0) in lx_mk_devicename() 2559 return dev_fd; in lx_mk_devicename() 2632 close (dev_fd); in lx_scan_sg() 2635 close (dev_fd); in lx_scan_sg() 2648 int dev_fd; in lx_chk_devicename() local 2656 if ((dev_fd = in lx_chk_devicename() 2662 if (dev_fd >= 0) in lx_chk_devicename() 2664 close (dev_fd); in lx_chk_devicename() [all …]
|
/dports/graphics/sane-epkowa/iscan-2.11.0/sanei/ |
H A D | sanei_scsi.c | 2489 dev_fd = -1; in lx_mk_devicename() 2493 if (dev_fd == -1) in lx_mk_devicename() 2495 if (dev_fd >= 0) in lx_mk_devicename() 2498 return dev_fd; in lx_mk_devicename() 2571 close (dev_fd); in lx_scan_sg() 2574 close (dev_fd); in lx_scan_sg() 2587 int dev_fd; in lx_chk_devicename() local 2595 if ((dev_fd = in lx_chk_devicename() 2601 if (dev_fd >= 0) in lx_chk_devicename() 2603 close (dev_fd); in lx_chk_devicename() [all …]
|
/dports/sysutils/linrename/util-linux-2.25.2/libfdisk/src/ |
H A D | bsd.c | 574 if (lseek(cxt->dev_fd, (off_t) sector * DEFAULT_SECTOR_SIZE, SEEK_SET) == -1) { in fdisk_bsd_write_bootstrap() 579 if (write_all(cxt->dev_fd, l->bsdbuffer, BSD_BBSIZE)) { in fdisk_bsd_write_bootstrap() 690 if (lseek(cxt->dev_fd, offset, SEEK_SET) == -1) in bsd_readlabel() 692 if (read_all(cxt->dev_fd, l->bsdbuffer, sizeof(l->bsdbuffer)) < 0) in bsd_readlabel() 747 if (lseek(cxt->dev_fd, offset, SEEK_SET) == -1) { in bsd_write_disklabel() 751 if (write_all(cxt->dev_fd, l->bsdbuffer, sizeof(l->bsdbuffer))) { in bsd_write_disklabel()
|
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libappfuse/include/libappfuse/ |
H A D | FuseBridgeLoop.h | 51 bool AddBridge(int mount_id, base::unique_fd dev_fd, base::unique_fd proxy_fd);
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libappfuse/include/libappfuse/ |
H A D | FuseBridgeLoop.h | 51 bool AddBridge(int mount_id, base::unique_fd dev_fd, base::unique_fd proxy_fd);
|
/dports/audio/libkcompactdisc/libkcompactdisc-21.12.3/src/wmlib/ |
H A D | plat_sun.c | 938 int dev_fd; in kick_codec() local 946 if ((dev_fd = open(devname, O_WRONLY|O_NDELAY, 0)) < 0) in kick_codec() 962 if ((retval = ioctl(dev_fd, AUDIO_SETINFO, &foo)) < 0) in kick_codec() 965 close(dev_fd); in kick_codec()
|
/dports/emulators/qemu60/qemu-6.0.0/include/hw/intc/ |
H A D | arm_gicv3_its_common.h | 48 int dev_fd; /* kvm device fd if backed by kvm vgic support */ member
|
/dports/emulators/qemu5/qemu-5.2.0/include/hw/intc/ |
H A D | arm_gicv3_its_common.h | 48 int dev_fd; /* kvm device fd if backed by kvm vgic support */ member
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/fs_mgr/libdm/ |
H A D | dm_test.cpp | 92 unique_fd dev_fd(open(dev.path().c_str(), O_RDWR)); in TEST() local 93 ASSERT_GE(dev_fd, 0); in TEST() 98 ASSERT_TRUE(android::base::ReadFully(dev_fd, sector, sizeof(sector))); in TEST() 100 ASSERT_TRUE(android::base::ReadFully(dev_fd, sector, sizeof(sector))); in TEST()
|
/dports/audio/libworkman/libworkman/ |
H A D | plat_sun.c | 1129 int dev_fd; in kick_codec() local 1137 if ((dev_fd = open(devname, O_WRONLY|O_NDELAY, 0)) < 0) { in kick_codec() 1152 if ((retval = ioctl(dev_fd, AUDIO_SETINFO, &foo)) < 0) in kick_codec() 1155 close(dev_fd); in kick_codec()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/fs/smbfs/ |
H A D | smbfs.h | 57 int dev_fd; /* descriptor of open nsmb device */ member
|
/dports/emulators/qemu/qemu-6.2.0/roms/skiboot/libstb/tss2/ibmtpm20tss/utils/ |
H A D | tssproperties.h | 160 int dev_fd; member
|
/dports/emulators/qemu42/qemu-4.2.1/include/hw/intc/ |
H A D | arm_gicv3_its_common.h | 47 int dev_fd; /* kvm device fd if backed by kvm vgic support */ member
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/include/hw/intc/ |
H A D | arm_gicv3_its_common.h | 47 int dev_fd; /* kvm device fd if backed by kvm vgic support */ member
|
/dports/emulators/qemu-utils/qemu-4.2.1/include/hw/intc/ |
H A D | arm_gicv3_its_common.h | 47 int dev_fd; /* kvm device fd if backed by kvm vgic support */ member
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/include/hw/intc/ |
H A D | arm_gicv3_its_common.h | 47 int dev_fd; /* kvm device fd if backed by kvm vgic support */ member
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/include/hw/intc/ |
H A D | arm_gicv3_its_common.h | 47 int dev_fd; /* kvm device fd if backed by kvm vgic support */ member
|
/dports/emulators/qemu/qemu-6.2.0/include/hw/intc/ |
H A D | arm_gicv3_its_common.h | 72 int dev_fd; /* kvm device fd if backed by kvm vgic support */ member
|