/freebsd-11-stable/lib/libcam/ |
H A D | camlib.c | 118 char *tmpstr, *tmpstr2; local 143 tmpstr2 = tmpstr; 144 tmpstr = strrchr(tmpstr2, '/'); 145 /* We know that tmpstr2 contains a '/', so strrchr can't fail */
|
/freebsd-11-stable/sys/cam/ata/ |
H A D | ata_pmp.c | 341 char tmpstr[32], tmpstr2[16]; local 349 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); 354 SYSCTL_STATIC_CHILDREN(_kern_cam_pmp), OID_AUTO, tmpstr2,
|
H A D | ata_da.c | 1451 char tmpstr[32], tmpstr2[16]; local 1463 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); 1468 SYSCTL_STATIC_CHILDREN(_kern_cam_ada), OID_AUTO, tmpstr2,
|
/freebsd-11-stable/sys/cam/nvme/ |
H A D | nvme_da.c | 597 char tmpstr[32], tmpstr2[16]; local 609 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); 614 SYSCTL_STATIC_CHILDREN(_kern_cam_nda), OID_AUTO, tmpstr2,
|
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_sa.c | 1662 char *tmpstr2; local 1704 tmpstr2 = sbuf_data(sb); 1705 g->fill_len = strlen(tmpstr2) + 1; 1708 error = copyout(tmpstr2, g->status_xml, g->fill_len); 2297 char tmpstr[32], tmpstr2[16]; local 2309 snprintf(tmpstr2, sizeof(tmpstr2), "%u", periph->unit_number); 2314 SYSCTL_STATIC_CHILDREN(_kern_cam_sa), OID_AUTO, tmpstr2, 4457 char *tmpstr2; local 4466 tmpstr2 [all...] |
H A D | scsi_da.c | 2007 char tmpstr[32], tmpstr2[16]; local 2021 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); 2026 SYSCTL_STATIC_CHILDREN(_kern_cam_da), OID_AUTO, tmpstr2,
|
H A D | scsi_cd.c | 491 char tmpstr[32], tmpstr2[16]; local 499 snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number); 505 tmpstr2, CTLFLAG_RD, 0, tmpstr);
|
/freebsd-11-stable/usr.sbin/camdd/ |
H A D | camdd.c | 3213 char *tmpstr, *tmpstr2; local 3226 while ((tmpstr2 = strsep(&tmpstr, ",")) != NULL) { 3233 if (*tmpstr2 == '\0') 3236 name = strsep(&tmpstr2, "="); 3242 value = strsep(&tmpstr2, "=");
|
/freebsd-11-stable/usr.sbin/ctladm/ |
H A D | ctladm.c | 779 char *tmpstr, *tmpstr2; local 789 tmpstr2 = strsep(&tmpstr, ","); 790 if (tmpstr2 == NULL) { 797 lba = strtoull(tmpstr2, NULL, 0); 798 tmpstr2 = strsep(&tmpstr, ","); 799 if (tmpstr2 == NULL) { 806 len = strtoul(tmpstr2, NULL, 0);
|
/freebsd-11-stable/sys/dev/mpr/ |
H A D | mpr.c | 1564 char tmpstr[80], tmpstr2[80]; local 1572 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mpr_dev)); 1581 SYSCTL_STATIC_CHILDREN(_hw_mpr), OID_AUTO, tmpstr2,
|
/freebsd-11-stable/sys/dev/mps/ |
H A D | mps.c | 1423 char tmpstr[80], tmpstr2[80]; local 1431 snprintf(tmpstr2, sizeof(tmpstr2), "%d", device_get_unit(sc->mps_dev)); 1440 SYSCTL_STATIC_CHILDREN(_hw_mps), OID_AUTO, tmpstr2,
|
/freebsd-11-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,
|