Searched refs:dev_path (Results 1 - 8 of 8) sorted by relevance

/freebsd-10.2-release/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_diskstorage_tbl.c215 char dev_path[128]; local
222 snprintf(dev_path, sizeof(dev_path),
226 HRDBG("OPENING device %s", dev_path);
227 if ((fd = open(dev_path, O_RDONLY|O_NONBLOCK)) == -1) {
228 HRDBG("OPEN device %s failed: %s", dev_path, strerror(errno));
234 dev_path, strerror(errno));
/freebsd-10.2-release/contrib/ofed/libibcm/src/
H A Dcm.c163 char *dev_path; local
168 ret = asprintf(&dev_path, "/sys/class/infiniband_cm/ucm%d", i);
172 ret = ibv_read_sysfs_file(dev_path, "ibdev", ibdev, sizeof ibdev);
177 free(dev_path);
181 free(dev_path);
189 char *dev_path; local
205 ret = asprintf(&dev_path, "/dev/infiniband/ucm%d", index);
209 dev->fd = open(dev_path, O_RDWR);
213 free(dev_path);
217 free(dev_path);
[all...]
/freebsd-10.2-release/sys/x86/iommu/
H A Dintel_drv.c656 int dev_busno, const ACPI_DMAR_PCI_PATH *dev_path, int dev_path_len)
686 dev_path, dev_path_len, devscope->EntryType));
701 ACPI_DMAR_PCI_PATH dev_path[dev_path_len]; local
702 dmar_dev_path(dev, &dev_busno, dev_path, dev_path_len);
704 dmar_print_path(dev, "PCI", dev_busno, dev_path_len, dev_path);
744 dev_path, dev_path_len);
771 ACPI_DMAR_PCI_PATH *dev_path; member in struct:rmrr_iter_args
808 ria->dev_path, ria->dev_path_len);
834 ACPI_DMAR_PCI_PATH dev_path[ria.dev_path_len]; local
835 dmar_dev_path(dev, &ria.dev_busno, dev_path, ri
655 dmar_match_devscope(ACPI_DMAR_DEVICE_SCOPE *devscope, device_t dev, int dev_busno, const ACPI_DMAR_PCI_PATH *dev_path, int dev_path_len) argument
[all...]
/freebsd-10.2-release/lib/libcam/
H A Dcamlib.c368 char dev_path[256]; local
376 sprintf(dev_path, "/dev/pass%d", pass_unit);
377 return(cam_real_open_device(dev_path, flags, device, NULL,
415 char dev_path[256]; local
481 sprintf(dev_path, "/dev/%s%d", ccb.cgdl.periph_name,
484 return(cam_real_open_device(dev_path, flags, device, NULL,
/freebsd-10.2-release/sys/cam/ctl/
H A Dctl_backend_block.c162 char *dev_path; member in struct:ctl_be_block_lun
1782 be_lun->dev_path);
1796 "error locking file %s", be_lun->dev_path);
1864 "file %s size %ju < block size %u", be_lun->dev_path,
1911 be_lun->dev_path);
1920 be_lun->dev_path);
1930 "on %s!", error, be_lun->dev_path);
1975 be_lun->dev_path);
2140 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, be_lun->dev_path, curthread);
2149 if (be_lun->dev_path[
2150 char *dev_path = "/dev/"; local
[all...]
/freebsd-10.2-release/contrib/ofed/libibverbs/src/
H A Dinit.c421 strcpy(dev->dev_path, sysfs_dev->sysfs_path);
/freebsd-10.2-release/contrib/ofed/libibverbs/include/infiniband/
H A Dverbs.h656 char dev_path[IBV_SYSFS_PATH_MAX]; member in struct:ibv_device
/freebsd-10.2-release/sys/dev/xen/blkback/
H A Dblkback.c2670 char *dev_path = "/dev/"; local
2675 + strlen(dev_path) + 1,
2678 sprintf(dev_name, "%s%s", dev_path,

Completed in 265 milliseconds