| /freebsd-13.1/sys/cam/ata/ |
| H A D | ata_pmp.c | 343 char tmpstr[32], tmpstr2[16]; in pmpsysctlinit() local 351 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in pmpsysctlinit() 356 SYSCTL_STATIC_CHILDREN(_kern_cam_pmp), OID_AUTO, tmpstr2, in pmpsysctlinit()
|
| H A D | ata_da.c | 1459 char tmpstr[32], tmpstr2[16]; in adasysctlinit() local 1471 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in adasysctlinit() 1476 SYSCTL_STATIC_CHILDREN(_kern_cam_ada), OID_AUTO, tmpstr2, in adasysctlinit()
|
| /freebsd-13.1/lib/libcam/ |
| H A D | camlib.c | 119 char *tmpstr, *tmpstr2; in cam_get_device() local 147 tmpstr2 = tmpstr; in cam_get_device() 148 tmpstr = strrchr(tmpstr2, '/'); in cam_get_device()
|
| /freebsd-13.1/sys/cam/nvme/ |
| H A D | nvme_da.c | 706 char tmpstr[32], tmpstr2[16]; in ndasysctlinit() local 718 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in ndasysctlinit() 723 SYSCTL_STATIC_CHILDREN(_kern_cam_nda), OID_AUTO, tmpstr2, in ndasysctlinit()
|
| /freebsd-13.1/sys/cam/scsi/ |
| H A D | scsi_sa.c | 1722 char *tmpstr2; in saioctl() local 1764 tmpstr2 = sbuf_data(sb); in saioctl() 1765 g->fill_len = strlen(tmpstr2) + 1; in saioctl() 1768 error = copyout(tmpstr2, g->status_xml, g->fill_len); in saioctl() 2392 char tmpstr[64], tmpstr2[16]; in sasysctlinit() local 2405 snprintf(tmpstr2, sizeof(tmpstr2), "%u", periph->unit_number); in sasysctlinit() 4762 char *tmpstr2; in saextget() local 4779 if (tmpstr2 == NULL) { in saextget() 4786 tmpstr2 = tmpstr; in saextget() 4792 SASBADDVARSTRDESC(sb, indent, tmpstr2, %s, serial_num, in saextget() [all …]
|
| H A D | scsi_cd.c | 520 char tmpstr[32], tmpstr2[16]; in cdsysctlinit() local 528 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in cdsysctlinit() 536 tmpstr2, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, tmpstr, in cdsysctlinit()
|
| H A D | scsi_da.c | 2236 char tmpstr[32], tmpstr2[16]; in dasysctlinit() local 2250 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in dasysctlinit() 2257 SYSCTL_STATIC_CHILDREN(_kern_cam_da), OID_AUTO, tmpstr2, in dasysctlinit()
|
| /freebsd-13.1/usr.sbin/ctladm/ |
| H A D | ctladm.c | 889 char *tmpstr, *tmpstr2; in cctl_error_inject() local 899 tmpstr2 = strsep(&tmpstr, ","); in cctl_error_inject() 900 if (tmpstr2 == NULL) { in cctl_error_inject() 907 lba = strtoull(tmpstr2, NULL, 0); in cctl_error_inject() 908 tmpstr2 = strsep(&tmpstr, ","); in cctl_error_inject() 909 if (tmpstr2 == NULL) { in cctl_error_inject() 916 len = strtoul(tmpstr2, NULL, 0); in cctl_error_inject()
|
| /freebsd-13.1/usr.sbin/camdd/ |
| H A D | camdd.c | 3451 char *tmpstr, *tmpstr2; local 3464 while ((tmpstr2 = strsep(&tmpstr, ",")) != NULL) { 3471 if (*tmpstr2 == '\0') 3474 name = strsep(&tmpstr2, "="); 3480 value = strsep(&tmpstr2, "=");
|
| /freebsd-13.1/sys/dev/mps/ |
| H A D | mps.c | 1652 char tmpstr[80], tmpstr2[80]; in mps_setup_sysctl() local 1660 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mps_dev)); in mps_setup_sysctl() 1669 SYSCTL_STATIC_CHILDREN(_hw_mps), OID_AUTO, tmpstr2, in mps_setup_sysctl()
|
| /freebsd-13.1/sys/dev/mpr/ |
| H A D | mpr.c | 1809 char tmpstr[80], tmpstr2[80]; in mpr_setup_sysctl() local 1817 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mpr_dev)); in mpr_setup_sysctl() 1826 SYSCTL_STATIC_CHILDREN(_hw_mpr), OID_AUTO, tmpstr2, in mpr_setup_sysctl()
|
| /freebsd-13.1/sys/dev/mrsas/ |
| H A D | mrsas.c | 413 char tmpstr[80], tmpstr2[80]; in mrsas_setup_sysctl() local 421 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mrsas_dev)); in mrsas_setup_sysctl() 430 SYSCTL_STATIC_CHILDREN(_hw_mrsas), OID_AUTO, tmpstr2, in mrsas_setup_sysctl()
|