Searched defs:base (Results 1 - 25 of 35) sorted by relevance

12

/net/sunrpc/
H A Dsocklib.c67 * @base: starting offset
72 ssize_t xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct xdr_skb_reader *desc, xdr_skb_read_actor copy_actor) argument
80 if (base < len) {
81 len -= base;
82 ret = copy_actor(desc, (char *)xdr->head[0].iov_base + base, len);
86 base = 0;
88 base -= len;
92 if (unlikely(base >= pglen)) {
93 base -= pglen;
96 if (base || xd
[all...]
H A Dauth_unix.c148 __be32 *base, *hold; local
152 base = p++;
166 *base = htonl((p - base - 1) << 2); /* cred length */
H A Dsvcsock.c182 size_t base = xdr->page_base; local
202 size = PAGE_SIZE - base < pglen ? PAGE_SIZE - base : pglen;
206 result = kernel_sendpage(sock, *ppage, base, size, flags);
214 base = 0;
345 int buflen, unsigned int base)
352 if (base == 0)
356 if (iov[i].iov_len > base)
358 base -= iov[i].iov_len;
362 iov[i].iov_len -= base;
343 svc_partial_recvfrom(struct svc_rqst *rqstp, struct kvec *iov, int nr, int buflen, unsigned int base) argument
1089 unsigned int want, base; local
[all...]
/net/core/
H A Diovec.c98 u8 __user *base = iov->iov_base + offset; local
109 if (copy_from_user(kdata, base, copy))
112 base += copy;
122 if (copy_from_user(kdata, base, par_len))
126 base += par_len;
136 if (copy_from_user(kdata + copy, base + copy,
143 csum = csum_and_copy_from_user(base, kdata, copy,
165 unsigned long seg, base; local
175 base = (unsigned long)iov[seg].iov_base + offset;
177 size = ((base
[all...]
H A Ddatagram.c609 unsigned long base; local
619 base = (unsigned long)from->iov_base + offset;
620 size = ((base & ~PAGE_MASK) + len + ~PAGE_MASK) >> PAGE_SHIFT;
623 num_pages = get_user_pages_fast(base, size, 0, &page[i]);
634 int off = base & ~PAGE_MASK;
637 base += size;
/net/netfilter/
H A Dnft_payload.c29 switch (priv->base) {
67 priv->base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE]));
83 nla_put_be32(skb, NFTA_PAYLOAD_BASE, htonl(priv->base)) ||
114 enum nft_payload_bases base; local
123 base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE]));
124 switch (base) {
139 base != NFT_PAYLOAD_LL_HEADER)
H A Dnf_conntrack_h323_asn1.c114 static int decode_nul(bitstr_t *bs, const struct field_t *f, char *base, int level);
115 static int decode_bool(bitstr_t *bs, const struct field_t *f, char *base, int level);
116 static int decode_oid(bitstr_t *bs, const struct field_t *f, char *base, int level);
117 static int decode_int(bitstr_t *bs, const struct field_t *f, char *base, int level);
118 static int decode_enum(bitstr_t *bs, const struct field_t *f, char *base, int level);
119 static int decode_bitstr(bitstr_t *bs, const struct field_t *f, char *base, int level);
120 static int decode_numstr(bitstr_t *bs, const struct field_t *f, char *base, int level);
121 static int decode_octstr(bitstr_t *bs, const struct field_t *f, char *base, int level);
122 static int decode_bmpstr(bitstr_t *bs, const struct field_t *f, char *base, int level);
123 static int decode_seq(bitstr_t *bs, const struct field_t *f, char *base, in
267 decode_nul(bitstr_t *bs, const struct field_t *f, char *base, int level) argument
276 decode_bool(bitstr_t *bs, const struct field_t *f, char *base, int level) argument
288 decode_oid(bitstr_t *bs, const struct field_t *f, char *base, int level) argument
305 decode_int(bitstr_t *bs, const struct field_t *f, char *base, int level) argument
349 decode_enum(bitstr_t *bs, const struct field_t *f, char *base, int level) argument
365 decode_bitstr(bitstr_t *bs, const struct field_t *f, char *base, int level) argument
399 decode_numstr(bitstr_t *bs, const struct field_t *f, char *base, int level) argument
417 decode_octstr(bitstr_t *bs, const struct field_t *f, char *base, int level) argument
466 decode_bmpstr(bitstr_t *bs, const struct field_t *f, char *base, int level) argument
492 decode_seq(bitstr_t *bs, const struct field_t *f, char *base, int level) argument
609 decode_seqof(bitstr_t *bs, const struct field_t *f, char *base, int level) argument
699 decode_choice(bitstr_t *bs, const struct field_t *f, char *base, int level) argument
[all...]
/net/sched/
H A Dcls_cgroup.c95 struct tcf_proto *tp, unsigned long base,
94 cls_cgroup_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
H A Dcls_basic.c136 struct basic_filter *f, unsigned long base,
155 tcf_bind_filter(tp, &f->res, base);
169 struct tcf_proto *tp, unsigned long base, u32 handle,
217 err = basic_set_parms(net, tp, fnew, base, tb, tca[TCA_RATE], ovr);
135 basic_set_parms(struct net *net, struct tcf_proto *tp, struct basic_filter *f, unsigned long base, struct nlattr **tb, struct nlattr *est, bool ovr) argument
168 basic_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
H A Dcls_bpf.c167 unsigned long base, struct nlattr **tb,
214 tcf_bind_filter(tp, &prog->res, base);
241 struct tcf_proto *tp, unsigned long base,
280 ret = cls_bpf_modify_existing(net, tp, prog, base, tb, tca[TCA_RATE], ovr);
165 cls_bpf_modify_existing(struct net *net, struct tcf_proto *tp, struct cls_bpf_prog *prog, unsigned long base, struct nlattr **tb, struct nlattr *est, bool ovr) argument
240 cls_bpf_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
H A Dcls_fw.c185 struct nlattr **tb, struct nlattr **tca, unsigned long base, bool ovr)
199 tcf_bind_filter(tp, &f->res, base);
231 struct tcf_proto *tp, unsigned long base,
269 err = fw_change_attrs(net, tp, fnew, tb, tca, base, ovr);
314 err = fw_change_attrs(net, tp, f, tb, tca, base, ovr);
184 fw_change_attrs(struct net *net, struct tcf_proto *tp, struct fw_filter *f, struct nlattr **tb, struct nlattr **tca, unsigned long base, bool ovr) argument
230 fw_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
H A Dcls_route.c370 unsigned long base, struct route4_filter *f,
452 tcf_bind_filter(tp, &f->res, base);
464 struct tcf_proto *tp, unsigned long base,
514 err = route4_set_parms(net, tp, base, f, handle, head, tb,
369 route4_set_parms(struct net *net, struct tcf_proto *tp, unsigned long base, struct route4_filter *f, u32 handle, struct route4_head *head, struct nlattr **tb, struct nlattr *est, int new, bool ovr) argument
463 route4_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
H A Dcls_rsvp.h451 struct tcf_proto *tp, unsigned long base,
499 tcf_bind_filter(tp, &n->res, base);
571 tcf_bind_filter(tp, &f->res, base);
450 rsvp_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
H A Dcls_tcindex.c223 tcindex_set_parms(struct net *net, struct tcf_proto *tp, unsigned long base, argument
368 tcf_bind_filter(tp, &cr.res, base);
415 struct tcf_proto *tp, unsigned long base, u32 handle,
435 return tcindex_set_parms(net, tp, base, handle, p, r, tb,
414 tcindex_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
H A Dcls_flow.c363 struct tcf_proto *tp, unsigned long base,
362 flow_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
H A Dcls_u32.c558 unsigned long base, struct tc_u_hnode *ht,
594 tcf_bind_filter(tp, &n->res, base);
691 struct tcf_proto *tp, unsigned long base, u32 handle,
725 err = u32_set_parms(net, tp, base,
832 err = u32_set_parms(net, tp, base, ht, n, tb, tca[TCA_RATE], ovr);
557 u32_set_parms(struct net *net, struct tcf_proto *tp, unsigned long base, struct tc_u_hnode *ht, struct tc_u_knode *n, struct nlattr **tb, struct nlattr *est, bool ovr) argument
690 u32_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
/net/ipv4/
H A Dah4.c118 static void ah_output_done(struct crypto_async_request *base, int err) argument
122 struct sk_buff *skb = base->data;
261 static void ah_input_done(struct crypto_async_request *base, int err) argument
266 struct sk_buff *skb = base->data;
H A Desp4.c108 static void esp_output_done(struct crypto_async_request *base, int err) argument
110 struct sk_buff *skb = base->data;
359 static void esp_input_done(struct crypto_async_request *base, int err) argument
361 struct sk_buff *skb = base->data;
H A Dinetpeer.c212 struct inet_peer_base *base)
214 struct inet_peer *u = rcu_dereference(base->root);
238 #define lookup_rightempty(start, base) \
244 for (u = rcu_deref_locked(*v, base); \
248 u = rcu_deref_locked(*v, base); \
259 struct inet_peer_base *base)
267 node = rcu_deref_locked(*nodep, base);
268 l = rcu_deref_locked(node->avl_left, base);
269 r = rcu_deref_locked(node->avl_right, base);
275 ll = rcu_deref_locked(l->avl_left, base);
211 lookup_rcu(const struct inetpeer_addr *daddr, struct inet_peer_base *base) argument
257 peer_avl_rebalance(struct inet_peer __rcu **stack[], struct inet_peer __rcu ***stackend, struct inet_peer_base *base) argument
350 unlink_from_pool(struct inet_peer *p, struct inet_peer_base *base, struct inet_peer __rcu **stack[PEER_MAXDEPTH]) argument
383 inet_peer_gc(struct inet_peer_base *base, struct inet_peer __rcu **stack[PEER_MAXDEPTH], struct inet_peer __rcu ***stackptr) argument
419 inet_getpeer(struct inet_peer_base *base, const struct inetpeer_addr *daddr, int create) argument
543 inetpeer_invalidate_tree(struct inet_peer_base *base) argument
[all...]
/net/sunrpc/xprtrdma/
H A Drpc_rdma.c393 char *base; local
402 base = rqst->rq_svec[0].iov_base;
525 " headerp 0x%p base 0x%p lkey 0x%x\n",
527 headerp, base, req->rl_iov.lkey);
540 req->rl_send_iov[1].addr = req->rl_iov.addr + (base - req->rl_base);
/net/decnet/
H A Ddn_neigh.c463 static char *dn_find_slot(char *base, int max, int priority) argument
468 base += 6; /* skip first id */
471 if (!min || (*base < *min))
472 min = base;
473 base += 7; /* find next priority */
/net/ipv6/
H A Desp6.c136 static void esp_output_done(struct crypto_async_request *base, int err) argument
138 struct sk_buff *skb = base->data;
313 static void esp_input_done(struct crypto_async_request *base, int err) argument
315 struct sk_buff *skb = base->data;
H A Dah6.c79 static inline struct tmp_ext *ah_tmp_ext(void *base) argument
81 return base + IPV6HDR_BASELEN;
298 static void ah6_output_done(struct crypto_async_request *base, int err) argument
303 struct sk_buff *skb = base->data;
393 * 8 bytes of the base IP header.
465 static void ah6_input_done(struct crypto_async_request *base, int err) argument
470 struct sk_buff *skb = base->data;
/net/sunrpc/auth_gss/
H A Dgss_krb5_wrap.c431 static void rotate_left(u32 base, struct xdr_buf *buf, unsigned int shift) argument
435 xdr_buf_subsegment(buf, &subbuf, base, buf->len - base);
H A Dgss_krb5_crypto.c576 xdr_extend_head(struct xdr_buf *buf, unsigned int base, unsigned int shiftlen) argument
586 p = buf->head[0].iov_base + base;
588 memmove(p + shiftlen, p, buf->head[0].iov_len - base);

Completed in 353 milliseconds

12