Searched refs:bc (Results 1 – 6 of 6) sorted by relevance
/net/ipv4/ |
D | inet_diag.c | 447 const void *bc = nla_data(_bc); in inet_diag_bc_run() local 452 const struct inet_diag_bc_op *op = bc; in inet_diag_bc_run() 536 bc += op->yes; in inet_diag_bc_run() 539 bc += op->no; in inet_diag_bc_run() 545 int inet_diag_bc_sk(const struct nlattr *bc, struct sock *sk) in inet_diag_bc_sk() argument 550 if (bc == NULL) in inet_diag_bc_sk() 572 return inet_diag_bc_run(bc, &entry); in inet_diag_bc_sk() 576 static int valid_cc(const void *bc, int len, int cc) in valid_cc() argument 579 const struct inet_diag_bc_op *op = bc; in valid_cc() 588 bc += op->yes; in valid_cc() [all …]
|
D | udp_diag.c | 23 struct nlattr *bc, bool net_admin) in sk_diag_dump() argument 25 if (!inet_diag_bc_sk(bc, sk)) in sk_diag_dump() 96 struct inet_diag_req_v2 *r, struct nlattr *bc) in udp_dump() argument 133 if (sk_diag_dump(sk, skb, cb, r, bc, net_admin) < 0) { in udp_dump() 148 struct inet_diag_req_v2 *r, struct nlattr *bc) in udp_diag_dump() argument 150 udp_dump(&udp_table, skb, cb, r, bc); in udp_diag_dump() 250 struct inet_diag_req_v2 *r, struct nlattr *bc) in udplite_diag_dump() argument 252 udp_dump(&udplite_table, skb, cb, r, bc); in udplite_diag_dump()
|
D | tcp_diag.c | 40 struct inet_diag_req_v2 *r, struct nlattr *bc) in tcp_diag_dump() argument 42 inet_diag_dump_icsk(&tcp_hashinfo, skb, cb, r, bc); in tcp_diag_dump()
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma_sendto.c | 299 int bc; in send_write() local 313 for (bc = xdr_off, xdr_sge_no = 1; bc && xdr_sge_no < vec->count; in send_write() 315 if (vec->sge[xdr_sge_no].iov_len > bc) in send_write() 317 bc -= vec->sge[xdr_sge_no].iov_len; in send_write() 320 sge_off = bc; in send_write() 321 bc = write_len; in send_write() 325 while (bc != 0) { in send_write() 327 bc, vec->sge[xdr_sge_no].iov_len-sge_off); in send_write() 350 bc -= sge_bytes; in send_write()
|
D | svc_rdma_recvfrom.c | 62 u32 bc; in rdma_build_arg_xdr() local 77 bc = byte_count - rqstp->rq_arg.head[0].iov_len; in rdma_build_arg_xdr() 80 rqstp->rq_arg.page_len = bc; in rdma_build_arg_xdr() 84 while (bc && sge_no < ctxt->count) { in rdma_build_arg_xdr() 88 bc -= min(bc, ctxt->sge[sge_no].length); in rdma_build_arg_xdr() 97 BUG_ON(bc && (sge_no == ctxt->count)); in rdma_build_arg_xdr() 103 bc = sge_no; in rdma_build_arg_xdr() 108 ctxt->count = bc; in rdma_build_arg_xdr()
|
/net/dccp/ |
D | diag.c | 52 struct inet_diag_req_v2 *r, struct nlattr *bc) in dccp_diag_dump() argument 54 inet_diag_dump_icsk(&dccp_hashinfo, skb, cb, r, bc); in dccp_diag_dump()
|