Searched refs:mleft (Results 1 – 3 of 3) sorted by relevance
199 int cplen, error, mleft, count; in mb_put_mem() local203 mleft = mbp->mb_mleft; in mb_put_mem()206 if (mleft == 0) { in mb_put_mem()211 mleft = M_TRAILINGSPACE(m); in mb_put_mem()214 cplen = mleft > size ? size : mleft; in mb_put_mem()220 dstlen = mleft; in mb_put_mem()244 mleft -= dstlen; in mb_put_mem()248 mbp->mb_mleft = mleft; in mb_put_mem()
1098 u_int bleft, mleft; in uipc_dgram_sbspace() local1112 mleft = sb->sb_mbmax - sb->uxdg_mbcnt; in uipc_dgram_sbspace()1114 return (bleft >= cc && mleft >= mbcnt); in uipc_dgram_sbspace()
288 int bleft, mleft; /* size should match sockbuf fields */ in sbspace() local298 mleft = sb->sb_mbmax - sb->sb_mbcnt; in sbspace()300 return ((bleft < mleft) ? bleft : mleft); in sbspace()