Home
last modified time | relevance | path

Searched refs:space_left (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/tcpdump/
H A Daddrtostr.c108 size_t space_left, added_space; in addrtostr6() local
147 space_left = size; in addrtostr6()
150 if (space_left == 0) { \ in addrtostr6()
155 space_left--; \ in addrtostr6()
176 if (!addrtostr(srcaddr+12, dp, space_left)) { in addrtostr6()
182 space_left -= added_space; in addrtostr6()
185 snprintfed = snprintf (dp, space_left, "%x", words[i]); in addrtostr6()
188 if ((size_t) snprintfed >= space_left) { in addrtostr6()
193 space_left -= snprintfed; in addrtostr6()
H A Dutil-print.c539 size_t space_left = sizeof(buf), string_size; in bittok2str_internal() local
545 if (space_left <= 1) in bittok2str_internal()
547 string_size = strlcpy(bufp, sepstr, space_left); in bittok2str_internal()
548 if (string_size >= space_left) in bittok2str_internal()
551 space_left -= string_size; in bittok2str_internal()
552 if (space_left <= 1) in bittok2str_internal()
554 string_size = strlcpy(bufp, lp->s, space_left); in bittok2str_internal()
555 if (string_size >= space_left) in bittok2str_internal()
558 space_left -= string_size; in bittok2str_internal()
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_sar.c116 uint32_t space_left = p_sar->data_len + p_sar->hdr_sz; in osmv_rmpp_sar_reassemble_arbt_mad() local
128 space_left -= p_sar->hdr_sz; in osmv_rmpp_sar_reassemble_arbt_mad()
141 space_left -= p_sar->data_sz; in osmv_rmpp_sar_reassemble_arbt_mad()
145 space_left); in osmv_rmpp_sar_reassemble_arbt_mad()
146 p_mad = (char *)p_mad + space_left; in osmv_rmpp_sar_reassemble_arbt_mad()
/freebsd/sys/dev/cxgbe/cudbg/
H A Dcudbg_flash_utils.c166 u32 space_left; in cudbg_write_flash() local
199 space_left = CUDBG_FLASH_SIZE - flash_hdr->data_len; in cudbg_write_flash()
201 if (cur_entity_size > space_left) { in cudbg_write_flash()
/freebsd/contrib/tcsh/
H A Dsh.file.c697 size_t space_left; in tenex() local
721 space_left = inputline_size - (word_start - inputline) - 1; in tenex()
722 numitems = tsearch(word_start, command, space_left); in tenex()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_arc.c797 space_left( in space_left() function
823 int spaceleft = space_left(up); in send_slow()
898 if((up->resyncing) && (space_left(up) == CMDQUEUELEN)) { in arc_receive()
/freebsd/sys/netinet/
H A Dsctp_output.c7168 uint32_t space_left, uint32_t frag_point, int eeor_on) in sctp_can_we_split_this() argument
7180 if (space_left >= length) { in sctp_can_we_split_this()
7197 return (space_left); in sctp_can_we_split_this()
7208 if ((length <= space_left) || in sctp_can_we_split_this()
7209 ((length - space_left) < SCTP_BASE_SYSCTL(sctp_min_residual))) { in sctp_can_we_split_this()
7217 if (space_left >= min(SCTP_BASE_SYSCTL(sctp_min_split_point), frag_point)) { in sctp_can_we_split_this()
7219 return (min(space_left, frag_point)); in sctp_can_we_split_this()
7229 uint32_t space_left, in sctp_move_to_outqueue() argument
7362 to_move = sctp_can_we_split_this(stcb, length, space_left, frag_point, eeor_mode); in sctp_move_to_outqueue()
7703 uint32_t space_left, moved, total_moved; in sctp_fill_outqueue() local
[all …]