Home
last modified time | relevance | path

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

/net/core/
Dnetprio_cgroup.c45 size_t new_sz, new_len; in extend_netdev_table() local
59 new_len = (new_sz - offsetof(struct netprio_map, priomap)) / in extend_netdev_table()
61 if (new_len > target_idx) in extend_netdev_table()
78 new->priomap_len = new_len; in extend_netdev_table()
Dfilter.c367 struct bpf_insn *new_prog, int *new_len) in bpf_convert_filter() argument
622 *new_len = new_insn - new_prog; in bpf_convert_filter()
635 BUG_ON(*new_len != new_flen); in bpf_convert_filter()
972 int err, new_len, old_len = fp->len; in bpf_migrate_filter() local
994 err = bpf_convert_filter(old_prog, old_len, NULL, &new_len); in bpf_migrate_filter()
1000 fp = bpf_prog_realloc(old_fp, bpf_prog_size(new_len), 0); in bpf_migrate_filter()
1010 fp->len = new_len; in bpf_migrate_filter()
1013 err = bpf_convert_filter(old_prog, old_len, fp->insnsi, &new_len); in bpf_migrate_filter()
2138 static int bpf_skb_grow_rcsum(struct sk_buff *skb, unsigned int new_len) in bpf_skb_grow_rcsum() argument
2143 ret = __skb_grow_rcsum(skb, new_len); in bpf_skb_grow_rcsum()
[all …]
Dnet-sysfs.c323 static int change_tx_queue_len(struct net_device *dev, unsigned long new_len) in change_tx_queue_len() argument
327 if (new_len != orig_len) { in change_tx_queue_len()
328 dev->tx_queue_len = new_len; in change_tx_queue_len()
/net/sched/
Dact_ife.c740 int new_len = skb->len + hdrm; in tcf_ife_encode() local
745 if (new_len > skb->dev->mtu) in tcf_ife_encode()
/net/ipv4/
Dtcp_input.c1181 unsigned int new_len = (pkt_len / mss) * mss; in tcp_match_skb_to_sack() local
1182 if (!in_sack && new_len < pkt_len) in tcp_match_skb_to_sack()
1183 new_len += mss; in tcp_match_skb_to_sack()
1184 pkt_len = new_len; in tcp_match_skb_to_sack()