Searched refs:max_size (Results 1 – 17 of 17) sorted by relevance
/net/sched/ |
D | sch_tbf.c | 99 u32 max_size; member 186 if (qdisc_pkt_len(skb) > q->max_size) { in tbf_enqueue() 188 skb_gso_validate_mac_len(skb, q->max_size)) in tbf_enqueue() 303 u64 max_size; in tbf_change() local 335 max_size = nla_get_u32(tb[TCA_TBF_BURST]); in tbf_change() 336 buffer = psched_l2t_ns(&rate, max_size); in tbf_change() 338 max_size = min_t(u64, psched_ns_t2l(&rate, buffer), ~0U); in tbf_change() 354 max_size = min_t(u32, max_size, pburst); in tbf_change() 357 max_size = min_t(u64, max_size, psched_ns_t2l(&peak, mtu)); in tbf_change() 363 if (max_size < psched_mtu(qdisc_dev(sch))) in tbf_change() [all …]
|
/net/netfilter/ipvs/ |
D | ip_vs_lblc.c | 107 int max_size; /* maximum size of entries */ member 311 if (atomic_read(&tbl->entries) <= tbl->max_size) { in ip_vs_lblc_check_expire() 316 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblc_check_expire() 317 if (goal > tbl->max_size/2) in ip_vs_lblc_check_expire() 318 goal = tbl->max_size/2; in ip_vs_lblc_check_expire() 365 tbl->max_size = IP_VS_LBLC_TAB_SIZE*16; in ip_vs_lblc_init_svc()
|
D | ip_vs_lblcr.c | 275 int max_size; /* maximum size of entries */ member 475 if (atomic_read(&tbl->entries) <= tbl->max_size) { in ip_vs_lblcr_check_expire() 480 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblcr_check_expire() 481 if (goal > tbl->max_size/2) in ip_vs_lblcr_check_expire() 482 goal = tbl->max_size/2; in ip_vs_lblcr_check_expire() 528 tbl->max_size = IP_VS_LBLCR_TAB_SIZE*16; in ip_vs_lblcr_init_svc()
|
/net/bpf/ |
D | test_run.c | 129 static void *bpf_ctx_init(const union bpf_attr *kattr, u32 max_size) in bpf_ctx_init() argument 140 data = kzalloc(max_size, GFP_USER); in bpf_ctx_init() 145 err = bpf_check_uarg_tail_zero(data_in, max_size, size); in bpf_ctx_init() 151 size = min_t(u32, max_size, size); in bpf_ctx_init()
|
/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 272 if (payload_len > fq->q.max_size) in nf_ct_frag6_queue() 273 fq->q.max_size = payload_len; in nf_ct_frag6_queue() 357 IP6CB(skb)->frag_max_size = sizeof(struct ipv6hdr) + fq->q.max_size; in nf_ct_frag6_reasm()
|
/net/ipv4/ |
D | ip_fragment.c | 360 if (fragsize > qp->q.max_size) in ip_frag_queue() 361 qp->q.max_size = fragsize; in ip_frag_queue() 434 IPCB(skb)->frag_max_size = max(qp->max_df_size, qp->q.max_size); in ip_frag_reasm() 448 if (qp->max_df_size == qp->q.max_size) { in ip_frag_reasm()
|
/net/ipv6/ |
D | reassembly.c | 202 if (fragsize > fq->q.max_size) in ip6_frag_queue() 203 fq->q.max_size = fragsize; in ip6_frag_queue() 294 IP6CB(skb)->frag_max_size = fq->q.max_size; in ip6_frag_reasm()
|
/net/sctp/ |
D | output.c | 89 packet->max_size = tp->pathmtu; in sctp_packet_config() 136 packet->max_size = sk_can_gso(sk) ? tp->dst->dev->gso_max_size in sctp_packet_config() 819 if (psize + chunk_len > packet->max_size) in sctp_packet_will_fit()
|
/net/rds/ |
D | bind.c | 49 .max_size = 16384,
|
/net/core/ |
D | xdp.c | 60 .max_size = MEM_ID_MAX,
|
D | rtnetlink.c | 2572 u32 max_size = nla_get_u32(tb[IFLA_GSO_MAX_SIZE]); in do_setlink() local 2574 if (max_size > GSO_MAX_SIZE) { in do_setlink() 2579 if (dev->gso_max_size ^ max_size) { in do_setlink() 2580 netif_set_gso_max_size(dev, max_size); in do_setlink()
|
/net/ipv6/ila/ |
D | ila_xlat.c | 90 .max_size = 1048576,
|
/net/ceph/crush/ |
D | mapper.c | 51 map->rules[i]->mask.max_size >= size) in crush_find_rule()
|
/net/9p/ |
D | client.c | 268 p9_tag_alloc(struct p9_client *c, int8_t type, unsigned int max_size) in p9_tag_alloc() argument 271 int alloc_msize = min(c->msize, max_size); in p9_tag_alloc()
|
/net/bridge/ |
D | br_vlan.c | 27 .max_size = VLAN_N_VID,
|
/net/mac80211/ |
D | sta_info.c | 73 .max_size = CONFIG_MAC80211_STA_HASH_MAX_SIZE,
|
/net/tipc/ |
D | socket.c | 2896 .max_size = 1048576,
|