Lines Matching refs:len
246 lib_loc_t *liblocp, size_t len);
1060 const size_t len = CFGA_AP_LOG_ID_LEN;
1062 assert(len <= sizeof (liblocp->ap_logical));
1068 return (mklog_common(node, minor, liblocp, len));
1092 const size_t len = CFGA_LOG_EXT_LEN;
1095 assert(len <= sizeof (liblocp->ap_logical));
1115 return (mklog_common(node, minor, liblocp, len));
1126 size_t len)
1137 snprintf(libloc_p->ap_logical, len, "%s%d:%s", drv, inst,
1138 minor_name) < len) { /* snprintf returns strlen */
1156 const size_t len = CFGA_LOG_EXT_LEN;
1166 snprintf(liblocp->ap_logical, len, "%s%d:%s", drv, inst,
1167 hp_name) < len) { /* snprintf returns strlen */
1926 size_t len;
1939 len = strlen(DEVICES_DIR);
1940 if (strncmp(rpath, DEVICES_DIR SLASH, len + strlen(SLASH)) == 0) {
1941 (void) memmove(rpath, rpath + len,
1942 strlen(rpath + len) + 1);
2528 int len = 0;
2549 len = strlen(q);
2551 len += strlen(err_sep) + strlen(syserr);
2554 p = malloc(len + 1);
2948 size_t len;
2965 len = cp - ap_id;
2967 len = strlen(ap_id);
2970 if (len >= sizeof (ap_base)) {
2974 /* Copy only the first "len" chars */
2975 (void) strncpy(ap_base, ap_id, len);
2976 ap_base[len] = '\0';
3120 size_t len;
3132 len = strlen(DDI_NT_ATTACHMENT_POINT);
3133 if (strncmp(cp, DDI_NT_ATTACHMENT_POINT, len)) {
3137 cp += len;
3237 size_t len = blen - strlen(buf);
3239 (void) snprintf(cp, len, "%s%s", CFGA_DYN_SEP,