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.c556 struct bpf_prog *new_prog, int *new_len, in bpf_convert_filter() argument
878 *new_len = new_insn - first_insn; in bpf_convert_filter()
880 *new_len += 4; /* Prologue bits. */ in bpf_convert_filter()
893 BUG_ON(*new_len != new_flen); in bpf_convert_filter()
1242 int err, new_len, old_len = fp->len; in bpf_migrate_filter() local
1265 err = bpf_convert_filter(old_prog, old_len, NULL, &new_len, in bpf_migrate_filter()
1272 fp = bpf_prog_realloc(old_fp, bpf_prog_size(new_len), 0); in bpf_migrate_filter()
1282 fp->len = new_len; in bpf_migrate_filter()
1285 err = bpf_convert_filter(old_prog, old_len, fp, &new_len, in bpf_migrate_filter()
3681 static int bpf_skb_grow_rcsum(struct sk_buff *skb, unsigned int new_len) in bpf_skb_grow_rcsum() argument
[all …]
Ddev.c8687 int dev_change_tx_queue_len(struct net_device *dev, unsigned long new_len) in dev_change_tx_queue_len() argument
8692 if (new_len != (unsigned int)new_len) in dev_change_tx_queue_len()
8695 if (new_len != orig_len) { in dev_change_tx_queue_len()
8696 dev->tx_queue_len = new_len; in dev_change_tx_queue_len()
/net/sched/
Dact_ife.c798 int new_len = skb->len + hdrm; in tcf_ife_encode() local
804 if (new_len > skb->dev->mtu) in tcf_ife_encode()
Dsch_generic.c810 unsigned int new_len) in pfifo_fast_change_tx_queue_len() argument
822 return skb_array_resize_multiple(bands, PFIFO_FAST_BANDS, new_len, in pfifo_fast_change_tx_queue_len()
Dcls_flower.c1139 int new_len = key->enc_opts.len; in fl_set_geneve_opt() local
1152 new_len += sizeof(struct geneve_opt) + data_len; in fl_set_geneve_opt()
1154 if (new_len > FLOW_DIS_TUN_OPTS_MAX) { in fl_set_geneve_opt()
/net/ipv4/
Dtcp_input.c1322 unsigned int new_len = (pkt_len / mss) * mss; in tcp_match_skb_to_sack() local
1323 if (!in_sack && new_len < pkt_len) in tcp_match_skb_to_sack()
1324 new_len += mss; in tcp_match_skb_to_sack()
1325 pkt_len = new_len; in tcp_match_skb_to_sack()