Searched refs:new_len (Results 1 – 7 of 7) sorted by relevance
/net/core/ |
D | netprio_cgroup.c | 44 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()
|
D | filter.c | 556 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 …]
|
D | dev.c | 8687 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/ |
D | act_ife.c | 798 int new_len = skb->len + hdrm; in tcf_ife_encode() local 804 if (new_len > skb->dev->mtu) in tcf_ife_encode()
|
D | sch_generic.c | 810 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()
|
D | cls_flower.c | 1139 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/ |
D | tcp_input.c | 1322 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()
|