Lines Matching refs:c_op
1823 struct net_pkt_cursor *c_op = &pkt->cursor; local
1825 while (c_op->buf && length) {
1830 if (c_op->buf == NULL) {
1835 d_len = net_buf_max_len(c_op->buf) -
1836 (c_op->pos - c_op->buf->data);
1838 d_len = c_op->buf->len - (c_op->pos - c_op->buf->data);
1852 memcpy(write ? c_op->pos : data,
1853 write ? data : c_op->pos,
1856 memset(c_op->pos, *(int *)data, len);
1860 net_buf_add(c_op->buf, len);
2245 struct net_pkt_cursor *c_op = &pkt->cursor; local
2252 if (!c_op->buf) {
2256 left = c_op->buf->len - (c_op->pos - c_op->buf->data);
2266 c_op->buf->len -= rem;
2269 memmove(c_op->pos, c_op->pos+rem, left);