Home
last modified time | relevance | path

Searched refs:strsz (Results 1 – 10 of 10) sorted by relevance

/titanic_44/usr/src/cmd/fs.d/pcfs/mount/
H A Dmount.c65 append_opt(char *str, int strsz, char *opt) in append_opt() argument
67 if (str[0] != '\0' && strlcat(str, ",", strsz) >= strsz) in append_opt()
70 return (strlcat(str, opt, strsz) < strsz); in append_opt()
/titanic_44/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.c236 update_bootpath(char *str, size_t strsz, const char *bootpath) in update_bootpath() argument
248 buf = alloca(strsz); in update_bootpath()
251 if (snprintf(buf + n, strsz - n, BPROP_BOOTPATH "=\"%s\",%s", in update_bootpath()
252 bootpath, bfs) >= strsz - n) in update_bootpath()
255 bcopy(buf, str, strsz); in update_bootpath()
/titanic_44/usr/src/cmd/fs.d/autofs/
H A Dns_fnmount.c136 size_t strsz);
629 size_t strsz) in str_from_addr() argument
636 if (!xdr_string(&xdr, &str, strsz)) { in str_from_addr()
/titanic_44/usr/src/lib/libproc/common/
H A DPsymtab.c1462 size_t symn, strsz, count; in optimize_symtab() local
1469 strsz = symtab->sym_strsz; in optimize_symtab()
1484 symp->st_name < strsz && in optimize_symtab()
1488 symp->st_name = strsz; in optimize_symtab()
1510 if (symp->st_name < strsz) in optimize_symtab()
2775 size_t strsz; in Psymbol_iter_com() local
2809 strsz = symtab->sym_strsz; in Psymbol_iter_com()
2838 if (sym.st_name >= strsz) /* invalid st_name */ in Psymbol_iter_com()
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs_srv.c546 size_t strsz; in rfs_readlink() local
549 s = build_symlink(vp, cr, &strsz); in rfs_readlink()
558 rl->rl_count = (uint32_t)MIN(strsz, NFS_MAXPATHLEN); in rfs_readlink()
559 kmem_free(s, strsz); in rfs_readlink()
H A Dnfs4_srv.c3843 size_t strsz; in rfs4_op_readlink() local
3846 s = build_symlink(vp, cs->cr, &strsz); in rfs4_op_readlink()
3855 kmem_free(s, strsz); in rfs4_op_readlink()
9789 build_symlink(vnode_t *vp, cred_t *cr, size_t *strsz) in build_symlink() argument
9836 if (strsz != NULL) in build_symlink()
9837 *strsz = size; in build_symlink()
H A Dnfs3_srv.c800 size_t strsz; in rfs3_readlink() local
803 s = build_symlink(vp, cr, &strsz); in rfs3_readlink()
812 kmem_free(s, strsz); in rfs3_readlink()
/titanic_44/usr/src/cmd/sgs/libconv/common/
H A Ddynamic.msg59 @ MSG_DT_STRSZ_NF "strsz"
/titanic_44/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c4603 size_t strsz; in shdr_cache() local
4606 strsz = secsz + strlen(symname) + 1; in shdr_cache()
4609 malloc(strsz)) == NULL) { in shdr_cache()
4616 (void) snprintf(_cache->c_name, strsz, in shdr_cache()
/titanic_44/usr/src/uts/common/dtrace/
H A Ddtrace.c824 size_t strsz; in dtrace_strcanload() local
833 strsz = 1 + dtrace_strlen((char *)(uintptr_t)addr, sz); in dtrace_strcanload()
834 if (dtrace_canload(addr, strsz, mstate, vstate)) in dtrace_strcanload()
2965 size_t strsz; in dtrace_dif_varstr() local
2980 strsz = dtrace_strlen((char *)addr, size) + 1; in dtrace_dif_varstr()
2982 if (mstate->dtms_scratch_ptr + strsz > in dtrace_dif_varstr()
2989 strsz); in dtrace_dif_varstr()
2991 mstate->dtms_scratch_ptr += strsz; in dtrace_dif_varstr()