| /trueos/usr.sbin/bsnmpd/modules/snmp_hostres/ |
| HD | hostres_diskstorage_tbl.c | 215 char dev_path[128]; in disk_query_disk() local 222 snprintf(dev_path, sizeof(dev_path), in disk_query_disk() 226 HRDBG("OPENING device %s", dev_path); in disk_query_disk() 227 if ((fd = open(dev_path, O_RDONLY|O_NONBLOCK)) == -1) { in disk_query_disk() 228 HRDBG("OPEN device %s failed: %s", dev_path, strerror(errno)); in disk_query_disk() 234 dev_path, strerror(errno)); in disk_query_disk()
|
| /trueos/sys/x86/iommu/ |
| HD | intel_drv.c | 656 int dev_busno, const ACPI_DMAR_PCI_PATH *dev_path, int dev_path_len) in dmar_match_devscope() argument 686 dev_path, dev_path_len, devscope->EntryType)); in dmar_match_devscope() 701 ACPI_DMAR_PCI_PATH dev_path[dev_path_len]; in dmar_find() local 702 dmar_dev_path(dev, &dev_busno, dev_path, dev_path_len); in dmar_find() 704 dmar_print_path(dev, "PCI", dev_busno, dev_path_len, dev_path); in dmar_find() 744 dev_path, dev_path_len); in dmar_find() 771 ACPI_DMAR_PCI_PATH *dev_path; member 808 ria->dev_path, ria->dev_path_len); in dmar_rmrr_iter() 834 ACPI_DMAR_PCI_PATH dev_path[ria.dev_path_len]; in dmar_ctx_parse_rmrr() local 835 dmar_dev_path(dev, &ria.dev_busno, dev_path, ria.dev_path_len); in dmar_ctx_parse_rmrr() [all …]
|
| /trueos/lib/libcam/ |
| HD | camlib.c | 368 char dev_path[256]; in cam_open_btl() local 376 sprintf(dev_path, "/dev/pass%d", pass_unit); in cam_open_btl() 377 return(cam_real_open_device(dev_path, flags, device, NULL, in cam_open_btl() 415 char dev_path[256]; in cam_lookup_pass() local 481 sprintf(dev_path, "/dev/%s%d", ccb.cgdl.periph_name, in cam_lookup_pass() 484 return(cam_real_open_device(dev_path, flags, device, NULL, in cam_lookup_pass()
|
| /trueos/contrib/ofed/libibcm/src/ |
| HD | cm.c | 163 char *dev_path; in ucm_get_dev_index() local 168 ret = asprintf(&dev_path, "/sys/class/infiniband_cm/ucm%d", i); in ucm_get_dev_index() 172 ret = ibv_read_sysfs_file(dev_path, "ibdev", ibdev, sizeof ibdev); in ucm_get_dev_index() 177 free(dev_path); in ucm_get_dev_index() 181 free(dev_path); in ucm_get_dev_index() 189 char *dev_path; in ib_cm_open_device() local 205 ret = asprintf(&dev_path, "/dev/infiniband/ucm%d", index); in ib_cm_open_device() 209 dev->fd = open(dev_path, O_RDWR); in ib_cm_open_device() 213 free(dev_path); in ib_cm_open_device() 217 free(dev_path); in ib_cm_open_device()
|
| /trueos/sys/cam/ctl/ |
| HD | ctl_backend_block.c | 162 char *dev_path; member 1782 be_lun->dev_path); in ctl_be_block_open_file() 1796 "error locking file %s", be_lun->dev_path); in ctl_be_block_open_file() 1864 "file %s size %ju < block size %u", be_lun->dev_path, in ctl_be_block_open_file() 1911 be_lun->dev_path); in ctl_be_block_open_dev() 1920 be_lun->dev_path); in ctl_be_block_open_dev() 1930 "on %s!", error, be_lun->dev_path); in ctl_be_block_open_dev() 1975 be_lun->dev_path); in ctl_be_block_open_dev() 2140 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, be_lun->dev_path, curthread); in ctl_be_block_open() 2149 if (be_lun->dev_path[0] != '/') { in ctl_be_block_open() [all …]
|
| /trueos/contrib/ofed/libibverbs/src/ |
| HD | init.c | 421 strcpy(dev->dev_path, sysfs_dev->sysfs_path); in try_driver()
|
| /trueos/contrib/ofed/libibverbs/include/infiniband/ |
| HD | verbs.h | 656 char dev_path[IBV_SYSFS_PATH_MAX]; member
|
| /trueos/sys/dev/xen/blkback/ |
| HD | blkback.c | 2709 char *dev_path = "/dev/"; in xbb_open_backend() local 2714 + strlen(dev_path) + 1, in xbb_open_backend() 2717 sprintf(dev_name, "%s%s", dev_path, in xbb_open_backend()
|