Home
last modified time | relevance | path

Searched refs:new_len (Results 1 – 7 of 7) sorted by relevance

/net/core/
Dnetprio_cgroup.c44 size_t new_sz, new_len; in extend_netdev_table() local
58 new_len = (new_sz - offsetof(struct netprio_map, priomap)) / in extend_netdev_table()
60 if (new_len > target_idx) in extend_netdev_table()
77 new->priomap_len = new_len; in extend_netdev_table()
Dfilter.c557 struct bpf_prog *new_prog, int *new_len, in bpf_convert_filter() argument
879 *new_len = new_insn - first_insn; in bpf_convert_filter()
881 *new_len += 4; /* Prologue bits. */ in bpf_convert_filter()
894 BUG_ON(*new_len != new_flen); in bpf_convert_filter()
1243 int err, new_len, old_len = fp->len; in bpf_migrate_filter() local
1266 err = bpf_convert_filter(old_prog, old_len, NULL, &new_len, in bpf_migrate_filter()
1273 fp = bpf_prog_realloc(old_fp, bpf_prog_size(new_len), 0); in bpf_migrate_filter()
1283 fp->len = new_len; in bpf_migrate_filter()
1286 err = bpf_convert_filter(old_prog, old_len, fp, &new_len, in bpf_migrate_filter()
3670 static int bpf_skb_grow_rcsum(struct sk_buff *skb, unsigned int new_len) in bpf_skb_grow_rcsum() argument
[all …]
Ddev.c8992 int dev_change_tx_queue_len(struct net_device *dev, unsigned long new_len) in dev_change_tx_queue_len() argument
8997 if (new_len != (unsigned int)new_len) in dev_change_tx_queue_len()
9000 if (new_len != orig_len) { in dev_change_tx_queue_len()
9001 dev->tx_queue_len = new_len; in dev_change_tx_queue_len()
/net/sched/
Dact_ife.c799 int new_len = skb->len + hdrm; in tcf_ife_encode() local
805 if (new_len > skb->dev->mtu) in tcf_ife_encode()
Dsch_generic.c837 unsigned int new_len) in pfifo_fast_change_tx_queue_len() argument
849 return skb_array_resize_multiple(bands, PFIFO_FAST_BANDS, new_len, in pfifo_fast_change_tx_queue_len()
Dcls_flower.c1145 int new_len = key->enc_opts.len; in fl_set_geneve_opt() local
1158 new_len += sizeof(struct geneve_opt) + data_len; in fl_set_geneve_opt()
1160 if (new_len > FLOW_DIS_TUN_OPTS_MAX) { in fl_set_geneve_opt()
/net/ipv4/
Dtcp_input.c1332 unsigned int new_len = (pkt_len / mss) * mss; in tcp_match_skb_to_sack() local
1333 if (!in_sack && new_len < pkt_len) in tcp_match_skb_to_sack()
1334 new_len += mss; in tcp_match_skb_to_sack()
1335 pkt_len = new_len; in tcp_match_skb_to_sack()