Home
last modified time | relevance | path

Searched refs:flen (Results 1 – 5 of 5) sorted by relevance

/net/phonet/
Dpep-gprs.c88 int flen = 0; in gprs_recv() local
106 flen += fs->len; in gprs_recv()
109 skb->len -= flen; in gprs_recv()
110 skb->data_len -= flen; in gprs_recv()
111 skb->truesize -= flen; in gprs_recv()
Dpep.c1203 int flen = 0; in pep_write() local
1220 flen += fs->len; in pep_write()
1223 skb->len -= flen; in pep_write()
1224 skb->data_len -= flen; in pep_write()
1225 skb->truesize -= flen; in pep_write()
/net/core/
Dsock_diag.c76 unsigned int flen; in sock_diag_put_filterinfo() local
93 flen = bpf_classic_proglen(fprog); in sock_diag_put_filterinfo()
95 attr = nla_reserve(skb, attrtype, flen); in sock_diag_put_filterinfo()
101 memcpy(nla_data(attr), fprog->filter, flen); in sock_diag_put_filterinfo()
Dfilter.c888 static int check_load_and_stores(const struct sock_filter *filter, int flen) in check_load_and_stores() argument
895 masks = kmalloc_array(flen, sizeof(*masks), GFP_KERNEL); in check_load_and_stores()
899 memset(masks, 0xff, flen * sizeof(*masks)); in check_load_and_stores()
901 for (pc = 0; pc < flen; pc++) { in check_load_and_stores()
1008 unsigned int flen) in bpf_check_basics_ok() argument
1012 if (flen == 0 || flen > BPF_MAXINSNS) in bpf_check_basics_ok()
1033 unsigned int flen) in bpf_check_classic() argument
1039 for (pc = 0; pc < flen; pc++) { in bpf_check_classic()
1072 if (ftest->k >= (unsigned int)(flen - pc - 1)) in bpf_check_classic()
1084 if (pc + ftest->jt + 1 >= flen || in bpf_check_classic()
[all …]
Dskbuff.c2384 unsigned int flen = min(*len, plen); in __splice_segment() local
2386 if (spd_fill_page(spd, pipe, page, &flen, poff, in __splice_segment()
2389 poff += flen; in __splice_segment()
2390 plen -= flen; in __splice_segment()
2391 *len -= flen; in __splice_segment()