/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_diskstorage_tbl.c | 215 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-11-stable/contrib/ofed/libibcm/ |
H A D | cm.c | 150 char *dev_path; local 155 ret = asprintf(&dev_path, "/sys/class/infiniband_cm/ucm%d", i); 159 ret = ibv_read_sysfs_file(dev_path, "ibdev", ibdev, sizeof ibdev); 164 free(dev_path); 168 free(dev_path); 176 char *dev_path; local 192 ret = asprintf(&dev_path, "/dev/ucm%d", index); 196 dev->fd = open(dev_path, O_RDWR); 200 free(dev_path); 204 free(dev_path); [all...] |
/freebsd-11-stable/sys/x86/iommu/ |
H A D | intel_drv.c | 675 int dev_busno, const ACPI_DMAR_PCI_PATH *dev_path, int dev_path_len) 705 dev_path, dev_path_len, devscope->EntryType)); 720 ACPI_DMAR_PCI_PATH dev_path[dev_path_len]; local 721 dmar_dev_path(dev, &dev_busno, dev_path, dev_path_len); 723 dmar_print_path(dev, "PCI", dev_busno, dev_path_len, dev_path); 763 dev_path, dev_path_len); 869 ACPI_DMAR_PCI_PATH *dev_path; member in struct:rmrr_iter_args 906 ria->dev_path, ria->dev_path_len); 933 ACPI_DMAR_PCI_PATH dev_path[ria.dev_path_len]; local 934 dmar_dev_path(dev, &ria.dev_busno, dev_path, ri 674 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-11-stable/lib/libcam/ |
H A D | camlib.c | 371 char dev_path[256]; local 381 sprintf(dev_path, "/dev/pass%d", pass_unit); 382 return(cam_real_open_device(dev_path, flags, device, NULL, 422 char dev_path[256]; local 487 sprintf(dev_path, "/dev/%s%d", ccb.cgdl.periph_name, 490 return(cam_real_open_device(dev_path, flags, device, NULL,
|
/freebsd-11-stable/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 152 char *dev_path; member in struct:ctl_be_block_lun 1834 be_lun->dev_path); 1898 "file %s size %ju < block size %u", be_lun->dev_path, 1944 "no d_ioctl for device %s!", be_lun->dev_path); 1954 "on %s!", error, be_lun->dev_path); 1994 be_lun->dev_path); 2138 free(be_lun->dev_path, M_CTLBLK); 2139 be_lun->dev_path = strdup(value, M_CTLBLK); 2150 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, be_lun->dev_path, curthread); 2163 if (be_lun->dev_path[ [all...] |
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | init.c | 202 strcpy(dev->dev_path, sysfs_dev->sysfs_path);
|
H A D | verbs.h | 1399 char dev_path[IBV_SYSFS_PATH_MAX]; member in struct:ibv_device
|
/freebsd-11-stable/sys/dev/xen/blkback/ |
H A D | blkback.c | 2711 char *dev_path = "/dev/"; local 2716 + strlen(dev_path) + 1, 2719 sprintf(dev_name, "%s%s", dev_path,
|