Searched refs:s_buf (Results 1 – 5 of 5) sorted by relevance
112 KASSERT(s->s_buf != NULL, in _assert_sbuf_integrity()182 SBFREE(s->s_buf); in sbuf_extend()185 s->s_buf = newbuf; in sbuf_extend()228 s->s_buf = buf; in sbuf_new()238 if (s->s_buf == NULL) { in sbuf_new()242 if (s->s_buf == NULL) in sbuf_new()416 if (s->s_buf[len - 1] == '\n') in sbuf_drain()426 memmove(s->s_buf, s->s_buf + len, s->s_len); in sbuf_drain()812 s->s_buf[s->s_len] = '\0'; in sbuf_finish()843 return (s->s_buf); in sbuf_data()[all …]
4953 #define EOB(s) ((s)->s_buf + (s)->s_len)
45 char *s_buf; /* storage buffer */ member
3421 buf_alloc->s_buf.buf_size = shared_buf; in hns3_is_rx_buf_ok()3424 buf_alloc->s_buf.self.low = buf_alloc->s_buf.self.high in hns3_is_rx_buf_ok()3428 buf_alloc->s_buf.self.high = in hns3_is_rx_buf_ok()3430 buf_alloc->s_buf.self.low = aligned_mps; in hns3_is_rx_buf_ok()3452 buf_alloc->s_buf.tc_thrd[i].low = lo_thrd; in hns3_is_rx_buf_ok()3453 buf_alloc->s_buf.tc_thrd[i].high = hi_thrd; in hns3_is_rx_buf_ok()3626 buf_alloc->s_buf.buf_size = 0; in hns3_only_alloc_priv_buff()3708 buf_size = buf_alloc->s_buf.buf_size; in hns3_rx_priv_buf_alloc()3768 struct hns3_shared_buf *s_buf = &buf_alloc->s_buf; in hns3_common_thrd_config() local3789 tc = &s_buf->tc_thrd[tc_idx]; in hns3_common_thrd_config()[all …]
346 struct hns3_shared_buf s_buf; member