Home
last modified time | relevance | path

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

/net/sched/
Dsch_htb.c100 struct psched_ratecfg ceil; member
646 toks -= (s64) psched_l2t_ns(&cl->ceil, bytes); in htb_accnt_ctokens()
1105 psched_ratecfg_getrate(&opt.ceil, &cl->ceil); in htb_dump_class()
1116 if ((cl->ceil.rate_bytes_ps >= (1ULL << 32)) && in htb_dump_class()
1117 nla_put_u64_64bit(skb, TCA_HTB_CEIL64, cl->ceil.rate_bytes_ps, in htb_dump_class()
1355 if (!hopt->rate.rate || !hopt->ceil.rate) in htb_change_class()
1362 if (hopt->ceil.linklayer == TC_LINKLAYER_UNAWARE) in htb_change_class()
1363 qdisc_put_rtab(qdisc_get_rtab(&hopt->ceil, tb[TCA_HTB_CTAB])); in htb_change_class()
1480 psched_ratecfg_precompute(&cl->ceil, &hopt->ceil, ceil64); in htb_change_class()
/net/rds/
Dmessage.c243 int num_sgs = ceil(total_len, PAGE_SIZE); in rds_message_map_pages()
252 rm->data.op_nents = ceil(total_len, PAGE_SIZE); in rds_message_map_pages()
Dib_send.c525 i = ceil(be32_to_cpu(rm->m_inc.i_hdr.h_len), RDS_FRAG_SIZE); in rds_ib_xmit()
886 i = ceil(op->op_count, max_sge); in rds_ib_xmit_rdma()
Dsend.c911 size += ceil(data_len, PAGE_SIZE) * sizeof(struct scatterlist); in rds_rm_size()
1099 rm->data.op_sg = rds_message_alloc_sgs(rm, ceil(payload_len, PAGE_SIZE)); in rds_sendmsg()
Drds.h47 #define ceil(x, y) \ macro