| /freebsd-12.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 | 1433 char tmpstr[32], tmpstr2[16]; in adasysctlinit() local 1445 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in adasysctlinit() 1450 SYSCTL_STATIC_CHILDREN(_kern_cam_ada), OID_AUTO, tmpstr2, in adasysctlinit()
|
| /freebsd-12.1/lib/libcam/ |
| H A D | camlib.c | 120 char *tmpstr, *tmpstr2; in cam_get_device() local 145 tmpstr2 = tmpstr; in cam_get_device() 146 tmpstr = strrchr(tmpstr2, '/'); in cam_get_device()
|
| /freebsd-12.1/sys/cam/nvme/ |
| H A D | nvme_da.c | 607 char tmpstr[32], tmpstr2[16]; in ndasysctlinit() local 619 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in ndasysctlinit() 624 SYSCTL_STATIC_CHILDREN(_kern_cam_nda), OID_AUTO, tmpstr2, in ndasysctlinit()
|
| /freebsd-12.1/sys/cam/scsi/ |
| H A D | scsi_sa.c | 1664 char *tmpstr2; in saioctl() local 1706 tmpstr2 = sbuf_data(sb); in saioctl() 1707 g->fill_len = strlen(tmpstr2) + 1; in saioctl() 1710 error = copyout(tmpstr2, g->status_xml, g->fill_len); in saioctl() 2299 char tmpstr[32], tmpstr2[16]; in sasysctlinit() local 2311 snprintf(tmpstr2, sizeof(tmpstr2), "%u", periph->unit_number); in sasysctlinit() 4459 char *tmpstr2; in saextget() local 4476 if (tmpstr2 == NULL) { in saextget() 4483 tmpstr2 = tmpstr; in saextget() 4489 SASBADDVARSTRDESC(sb, indent, tmpstr2, %s, serial_num, in saextget() [all …]
|
| H A D | scsi_cd.c | 493 char tmpstr[32], tmpstr2[16]; in cdsysctlinit() local 501 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in cdsysctlinit() 507 tmpstr2, CTLFLAG_RD, 0, tmpstr, "device_index"); in cdsysctlinit()
|
| H A D | scsi_da.c | 2199 char tmpstr[32], tmpstr2[16]; in dasysctlinit() local 2213 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); in dasysctlinit() 2220 SYSCTL_STATIC_CHILDREN(_kern_cam_da), OID_AUTO, tmpstr2, in dasysctlinit()
|
| /freebsd-12.1/usr.sbin/ctladm/ |
| H A D | ctladm.c | 886 char *tmpstr, *tmpstr2; in cctl_error_inject() local 896 tmpstr2 = strsep(&tmpstr, ","); in cctl_error_inject() 897 if (tmpstr2 == NULL) { in cctl_error_inject() 904 lba = strtoull(tmpstr2, NULL, 0); in cctl_error_inject() 905 tmpstr2 = strsep(&tmpstr, ","); in cctl_error_inject() 906 if (tmpstr2 == NULL) { in cctl_error_inject() 913 len = strtoul(tmpstr2, NULL, 0); in cctl_error_inject()
|
| /freebsd-12.1/usr.sbin/camdd/ |
| H A D | camdd.c | 3311 char *tmpstr, *tmpstr2; local 3324 while ((tmpstr2 = strsep(&tmpstr, ",")) != NULL) { 3331 if (*tmpstr2 == '\0') 3334 name = strsep(&tmpstr2, "="); 3340 value = strsep(&tmpstr2, "=");
|
| /freebsd-12.1/sys/dev/mps/ |
| H A D | mps.c | 1683 char tmpstr[80], tmpstr2[80]; in mps_setup_sysctl() local 1691 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mps_dev)); in mps_setup_sysctl() 1700 SYSCTL_STATIC_CHILDREN(_hw_mps), OID_AUTO, tmpstr2, in mps_setup_sysctl()
|
| /freebsd-12.1/sys/dev/mpr/ |
| H A D | mpr.c | 1814 char tmpstr[80], tmpstr2[80]; in mpr_setup_sysctl() local 1822 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mpr_dev)); in mpr_setup_sysctl() 1831 SYSCTL_STATIC_CHILDREN(_hw_mpr), OID_AUTO, tmpstr2, in mpr_setup_sysctl()
|
| /freebsd-12.1/sys/dev/mrsas/ |
| H A D | mrsas.c | 414 char tmpstr[80], tmpstr2[80]; in mrsas_setup_sysctl() local 422 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mrsas_dev)); in mrsas_setup_sysctl() 431 SYSCTL_STATIC_CHILDREN(_hw_mrsas), OID_AUTO, tmpstr2, in mrsas_setup_sysctl()
|