Searched refs:space_left (Results 1 – 7 of 7) sorted by relevance
| /freebsd-14.2/contrib/tcpdump/ |
| H A D | addrtostr.c | 108 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 D | util-print.c | 539 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-14.2/contrib/ofed/opensm/libvendor/ |
| H A D | osm_vendor_mlx_sar.c | 116 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-14.2/sys/dev/cxgbe/cudbg/ |
| H A D | cudbg_flash_utils.c | 167 u32 space_left; in cudbg_write_flash() local 200 space_left = CUDBG_FLASH_SIZE - flash_hdr->data_len; in cudbg_write_flash() 202 if (cur_entity_size > space_left) { in cudbg_write_flash()
|
| /freebsd-14.2/contrib/tcsh/ |
| H A D | sh.file.c | 697 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-14.2/contrib/ntp/ntpd/ |
| H A D | refclock_arc.c | 797 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-14.2/sys/netinet/ |
| H A D | sctp_output.c | 7182 if (space_left >= length) { in sctp_can_we_split_this() 7199 return (space_left); in sctp_can_we_split_this() 7210 if ((length <= space_left) || in sctp_can_we_split_this() 7231 uint32_t space_left, in sctp_move_to_outqueue() argument 7724 space_left = net->mtu; in sctp_fill_outqueue() 7731 space_left &= 0xfffffffc; in sctp_fill_outqueue() 7744 if (space_left >= moved) { in sctp_fill_outqueue() 7745 space_left -= moved; in sctp_fill_outqueue() 7747 space_left = 0; in sctp_fill_outqueue() 7752 space_left = 0; in sctp_fill_outqueue() [all …]
|