Home
last modified time | relevance | path

Searched refs:buffsize (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/cat/
H A Dcat.c335 long buffsize; in cat() local
437 buffsize = SMALLFILESIZE; in cat()
443 buffsize = obsize; in cat()
445 buffsize = ibsize; in cat()
447 buffsize = (long)BUFSIZ; in cat()
449 if (buffsize <= SMALLFILESIZE) { in cat()
452 malloc((size_t)buffsize)) == NULL) { in cat()
461 while ((nitems = read(fi_desc, bufferp, (size_t)buffsize)) > in cat()
/titanic_41/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c1337 size_t buffsize = *rbuffsize; in nfs_sprint_option() local
1390 while (buffsize <= (curlen + len)) { in nfs_sprint_option()
1392 buffsize += incr; in nfs_sprint_option()
1393 buff = realloc(buff, buffsize); in nfs_sprint_option()
1400 *rbuffsize = buffsize; in nfs_sprint_option()
1410 (void) snprintf(buff + curlen, buffsize - curlen, in nfs_sprint_option()
1413 (void) snprintf(buff + curlen, buffsize - curlen, in nfs_sprint_option()
1443 size_t buffsize; in nfs_format_options() local
1454 buffsize = OPT_CHUNK; in nfs_format_options()
1475 if (nfs_sprint_option(&buff, &buffsize, OPT_CHUNK, in nfs_format_options()
[all …]
/titanic_41/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c1943 size_t buffsize = *rbuffsize; in smb_sprint_option() local
1967 while (buffsize <= (curlen + len)) { in smb_sprint_option()
1969 buffsize += incr; in smb_sprint_option()
1970 buff = realloc(buff, buffsize); in smb_sprint_option()
1972 *rbuffsize = buffsize; in smb_sprint_option()
1982 (void) snprintf(buff + curlen, buffsize - curlen, in smb_sprint_option()
2009 size_t buffsize; in smb_format_options() local
2017 buffsize = OPT_CHUNK; in smb_format_options()
2038 smb_sprint_option(&buff, &buffsize, OPT_CHUNK, in smb_format_options()
/titanic_41/usr/src/lib/librstp/common/
H A Dstp_in.h169 STP_IN_stpm_get_name_by_vlan_id (int vlan_id, char* name, size_t buffsize);
H A Dstp_in.c460 STP_IN_stpm_get_name_by_vlan_id (int vlan_id, char* name, size_t buffsize) in STP_IN_stpm_get_name_by_vlan_id() argument
469 (void) strncpy (name, stpm->name, buffsize); in STP_IN_stpm_get_name_by_vlan_id()
471 (void) memset (name, 0, buffsize); in STP_IN_stpm_get_name_by_vlan_id()
/titanic_41/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c1643 strndupr(char *buff, char *str, int *buffsize) in strndupr() argument
1652 *buffsize = 64; in strndupr()
1656 if (limit > *buffsize) { in strndupr()
1657 limit = *buffsize = *buffsize + ((limit / 64) + 64); in strndupr()
1683 int buffsize = 0; in group_proto() local
1690 buff = strndupr(buff, "", &buffsize); in group_proto()
1703 buff = strndupr(buff, " ", &buffsize); in group_proto()
1704 buff = strndupr(buff, proto, &buffsize); in group_proto()
5225 format_legacy_path(char *buff, int buffsize, char *proto, char *cmd) in format_legacy_path() argument
5229 err = snprintf(buff, buffsize, "/usr/lib/fs/%s/%s", proto, cmd); in format_legacy_path()
[all …]