Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlzio.h26 size_t buffsize; member
29 #define luaZ_initbuffer(L, buff) ((buff)->buffer = NULL, (buff)->buffsize = 0)
32 #define luaZ_sizebuffer(buff) ((buff)->buffsize)
39 (luaM_reallocvector(L, (buff)->buffer, (buff)->buffsize, size, char), \
40 (buff)->buffsize = size)
H A Dlzio.c69 if (n > buff->buffsize) { in luaZ_openspace()
/illumos-gate/usr/src/cmd/cat/
H A Dcat.c340 long buffsize; in cat() local
442 buffsize = SMALLFILESIZE; in cat()
448 buffsize = obsize; in cat()
450 buffsize = ibsize; in cat()
452 buffsize = (long)BUFSIZ; in cat()
454 if (buffsize <= SMALLFILESIZE) { in cat()
457 malloc((size_t)buffsize)) == NULL) { in cat()
466 while ((nitems = read(fi_desc, bufferp, (size_t)buffsize)) > in cat()
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c1953 size_t buffsize = *rbuffsize; in smb_sprint_option() local
1977 while (buffsize <= (curlen + len)) { in smb_sprint_option()
1979 buffsize += incr; in smb_sprint_option()
1980 buff = realloc(buff, buffsize); in smb_sprint_option()
1982 *rbuffsize = buffsize; in smb_sprint_option()
1992 (void) snprintf(buff + curlen, buffsize - curlen, in smb_sprint_option()
2019 size_t buffsize; in smb_format_options() local
2027 buffsize = OPT_CHUNK; in smb_format_options()
2048 smb_sprint_option(&buff, &buffsize, OPT_CHUNK, in smb_format_options()
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c1360 size_t buffsize = *rbuffsize; in nfs_sprint_option() local
1413 while (buffsize <= (curlen + len)) { in nfs_sprint_option()
1415 buffsize += incr; in nfs_sprint_option()
1416 buff = realloc(buff, buffsize); in nfs_sprint_option()
1423 *rbuffsize = buffsize; in nfs_sprint_option()
1433 (void) snprintf(buff + curlen, buffsize - curlen, in nfs_sprint_option()
1436 (void) snprintf(buff + curlen, buffsize - curlen, in nfs_sprint_option()
1466 size_t buffsize; in nfs_format_options() local
1477 buffsize = OPT_CHUNK; in nfs_format_options()
1536 &buffsize, OPT_CHUNK, prop, sep)) in nfs_format_options()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnxsnd.c338 unsigned int buffsize) in bnx_xmit_ring_cpybuf_alloc() argument
346 ASSERT(buffsize > 0); in bnx_xmit_ring_cpybuf_alloc()
348 alignedsize = buffsize; in bnx_xmit_ring_cpybuf_alloc()
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c1648 strndupr(char *buff, char *str, int *buffsize) in strndupr() argument
1657 *buffsize = 64; in strndupr()
1661 if (limit > *buffsize) { in strndupr()
1662 limit = *buffsize = *buffsize + ((limit / 64) + 64); in strndupr()
1688 int buffsize = 0; in group_proto() local
1695 buff = strndupr(buff, "", &buffsize); in group_proto()
1708 buff = strndupr(buff, " ", &buffsize); in group_proto()
1709 buff = strndupr(buff, proto, &buffsize); in group_proto()
5231 format_legacy_path(char *buff, int buffsize, char *proto, char *cmd) in format_legacy_path() argument
5235 err = snprintf(buff, buffsize, "/usr/lib/fs/%s/%s", proto, cmd); in format_legacy_path()
[all …]