/freebsd-12-stable/lib/libcam/ |
H A D | camlib.c | 120 char *tmpstr, *tmpstr2; local 145 tmpstr2 = tmpstr; 146 tmpstr = strrchr(tmpstr2, '/'); 147 /* We know that tmpstr2 contains a '/', so strrchr can't fail */
|
/freebsd-12-stable/sys/cam/ata/ |
H A D | ata_pmp.c | 343 char tmpstr[32], tmpstr2[16]; local 351 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); 356 SYSCTL_STATIC_CHILDREN(_kern_cam_pmp), OID_AUTO, tmpstr2,
|
H A D | ata_da.c | 1438 char tmpstr[32], tmpstr2[16]; local 1450 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); 1455 SYSCTL_STATIC_CHILDREN(_kern_cam_ada), OID_AUTO, tmpstr2,
|
/freebsd-12-stable/sys/cam/nvme/ |
H A D | nvme_da.c | 694 char tmpstr[32], tmpstr2[16]; local 706 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); 711 SYSCTL_STATIC_CHILDREN(_kern_cam_nda), OID_AUTO, tmpstr2,
|
/freebsd-12-stable/sys/cam/scsi/ |
H A D | scsi_sa.c | 1664 char *tmpstr2; local 1706 tmpstr2 = sbuf_data(sb); 1707 g->fill_len = strlen(tmpstr2) + 1; 1710 error = copyout(tmpstr2, g->status_xml, g->fill_len); 2299 char tmpstr[32], tmpstr2[16]; local 2311 snprintf(tmpstr2, sizeof(tmpstr2), "%u", periph->unit_number); 2316 SYSCTL_STATIC_CHILDREN(_kern_cam_sa), OID_AUTO, tmpstr2, 4459 char *tmpstr2; local 4468 tmpstr2 [all...] |
H A D | scsi_cd.c | 512 char tmpstr[32], tmpstr2[16]; local 520 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); 526 tmpstr2, CTLFLAG_RD, 0, tmpstr, "device_index");
|
H A D | scsi_da.c | 2199 char tmpstr[32], tmpstr2[16]; local 2213 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); 2220 SYSCTL_STATIC_CHILDREN(_kern_cam_da), OID_AUTO, tmpstr2,
|
/freebsd-12-stable/usr.sbin/camdd/ |
H A D | camdd.c | 3310 char *tmpstr, *tmpstr2; local 3323 while ((tmpstr2 = strsep(&tmpstr, ",")) != NULL) { 3330 if (*tmpstr2 == '\0') 3333 name = strsep(&tmpstr2, "="); 3339 value = strsep(&tmpstr2, "=");
|
/freebsd-12-stable/usr.sbin/ctladm/ |
H A D | ctladm.c | 889 char *tmpstr, *tmpstr2; local 899 tmpstr2 = strsep(&tmpstr, ","); 900 if (tmpstr2 == NULL) { 907 lba = strtoull(tmpstr2, NULL, 0); 908 tmpstr2 = strsep(&tmpstr, ","); 909 if (tmpstr2 == NULL) { 916 len = strtoul(tmpstr2, NULL, 0);
|
/freebsd-12-stable/sys/dev/mpr/ |
H A D | mpr.c | 1810 char tmpstr[80], tmpstr2[80]; local 1818 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mpr_dev)); 1827 SYSCTL_STATIC_CHILDREN(_hw_mpr), OID_AUTO, tmpstr2,
|
/freebsd-12-stable/sys/dev/mps/ |
H A D | mps.c | 1679 char tmpstr[80], tmpstr2[80]; local 1687 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mps_dev)); 1696 SYSCTL_STATIC_CHILDREN(_hw_mps), OID_AUTO, tmpstr2,
|
/freebsd-12-stable/sys/dev/mrsas/ |
H A D | mrsas.c | 414 char tmpstr[80], tmpstr2[80]; local 422 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mrsas_dev)); 431 SYSCTL_STATIC_CHILDREN(_hw_mrsas), OID_AUTO, tmpstr2,
|