| /freebsd-14.2/sys/dev/mpi3mr/ |
| H A D | mpi3mr_pci.c | 111 char tmpstr[80], tmpstr2[80]; in mpi3mr_setup_sysctl() local 119 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mpi3mr_dev)); in mpi3mr_setup_sysctl() 128 SYSCTL_STATIC_CHILDREN(_hw_mpi3mr), OID_AUTO, tmpstr2, in mpi3mr_setup_sysctl()
|
| /freebsd-14.2/sys/cam/ata/ |
| H A D | ata_pmp.c | 341 char tmpstr[32], tmpstr2[16]; in pmpsysctlinit() local 349 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in pmpsysctlinit() 354 SYSCTL_STATIC_CHILDREN(_kern_cam_pmp), OID_AUTO, tmpstr2, in pmpsysctlinit()
|
| H A D | ata_da.c | 1484 char tmpstr[32], tmpstr2[16]; in adasysctlinit() local 1496 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in adasysctlinit() 1501 SYSCTL_STATIC_CHILDREN(_kern_cam_ada), OID_AUTO, tmpstr2, in adasysctlinit()
|
| /freebsd-14.2/lib/libcam/ |
| H A D | camlib.c | 117 char *tmpstr, *tmpstr2; in cam_get_device() local 145 tmpstr2 = tmpstr; in cam_get_device() 146 tmpstr = strrchr(tmpstr2, '/'); in cam_get_device()
|
| /freebsd-14.2/sys/cam/nvme/ |
| H A D | nvme_da.c | 710 char tmpstr[32], tmpstr2[16]; in ndasysctlinit() local 722 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in ndasysctlinit() 727 SYSCTL_STATIC_CHILDREN(_kern_cam_nda), OID_AUTO, tmpstr2, in ndasysctlinit()
|
| /freebsd-14.2/sys/cam/scsi/ |
| H A D | scsi_sa.c | 1723 char *tmpstr2; in saioctl() local 1765 tmpstr2 = sbuf_data(sb); in saioctl() 1766 g->fill_len = strlen(tmpstr2) + 1; in saioctl() 1769 error = copyout(tmpstr2, g->status_xml, g->fill_len); in saioctl() 2393 char tmpstr[64], tmpstr2[16]; in sasysctlinit() local 2406 snprintf(tmpstr2, sizeof(tmpstr2), "%u", periph->unit_number); in sasysctlinit() 4765 char *tmpstr2; in saextget() local 4782 if (tmpstr2 == NULL) { in saextget() 4789 tmpstr2 = tmpstr; in saextget() 4795 SASBADDVARSTRDESC(sb, indent, tmpstr2, %s, serial_num, in saextget() [all …]
|
| H A D | scsi_cd.c | 513 char tmpstr[32], tmpstr2[16]; in cdsysctlinit() local 521 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in cdsysctlinit() 529 tmpstr2, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, tmpstr, in cdsysctlinit()
|
| H A D | scsi_da.c | 2259 char tmpstr[32], tmpstr2[16]; in dasysctlinit() local 2273 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in dasysctlinit() 2280 SYSCTL_STATIC_CHILDREN(_kern_cam_da), OID_AUTO, tmpstr2, in dasysctlinit()
|
| /freebsd-14.2/usr.sbin/ctladm/ |
| H A D | ctladm.c | 914 char *tmpstr, *tmpstr2; in cctl_error_inject() local 924 tmpstr2 = strsep(&tmpstr, ","); in cctl_error_inject() 925 if (tmpstr2 == NULL) { in cctl_error_inject() 932 lba = strtoull(tmpstr2, NULL, 0); in cctl_error_inject() 933 tmpstr2 = strsep(&tmpstr, ","); in cctl_error_inject() 934 if (tmpstr2 == NULL) { in cctl_error_inject() 941 len = strtoul(tmpstr2, NULL, 0); in cctl_error_inject()
|
| /freebsd-14.2/usr.sbin/camdd/ |
| H A D | camdd.c | 3428 char *tmpstr, *tmpstr2; local 3441 while ((tmpstr2 = strsep(&tmpstr, ",")) != NULL) { 3448 if (*tmpstr2 == '\0') 3451 name = strsep(&tmpstr2, "="); 3457 value = strsep(&tmpstr2, "=");
|
| /freebsd-14.2/sys/dev/mps/ |
| H A D | mps.c | 1675 char tmpstr[80], tmpstr2[80]; in mps_setup_sysctl() local 1683 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mps_dev)); in mps_setup_sysctl() 1692 SYSCTL_STATIC_CHILDREN(_hw_mps), OID_AUTO, tmpstr2, in mps_setup_sysctl()
|
| /freebsd-14.2/sys/dev/mpr/ |
| H A D | mpr.c | 1822 char tmpstr[80], tmpstr2[80]; in mpr_setup_sysctl() local 1830 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mpr_dev)); in mpr_setup_sysctl() 1839 SYSCTL_STATIC_CHILDREN(_hw_mpr), OID_AUTO, tmpstr2, in mpr_setup_sysctl()
|
| /freebsd-14.2/sys/dev/mrsas/ |
| H A D | mrsas.c | 379 char tmpstr[80], tmpstr2[80]; in mrsas_setup_sysctl() local 387 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mrsas_dev)); in mrsas_setup_sysctl() 396 SYSCTL_STATIC_CHILDREN(_hw_mrsas), OID_AUTO, tmpstr2, in mrsas_setup_sysctl()
|