Home
last modified time | relevance | path

Searched refs:rq (Results 1 – 8 of 8) sorted by relevance

/net/sunrpc/xprtrdma/
Dxprt_rdma.h278 #define RPCRDMA_INLINE_READ_THRESHOLD(rq) \ argument
279 (rpcx_to_rdmad(rq->rq_xprt).inline_rsize)
281 #define RPCRDMA_INLINE_WRITE_THRESHOLD(rq)\ argument
282 (rpcx_to_rdmad(rq->rq_xprt).inline_wsize)
284 #define RPCRDMA_INLINE_PAD_VALUE(rq)\ argument
285 rpcx_to_rdmad(rq->rq_xprt).padding
/net/sunrpc/
Dcache.c759 struct cache_request *rq; in cache_read() local
783 rq = container_of(rp->q.list.next, struct cache_request, q.list); in cache_read()
784 WARN_ON_ONCE(rq->q.reader); in cache_read()
786 rq->readers++; in cache_read()
789 if (rq->len == 0) { in cache_read()
790 err = cache_request(cd, rq); in cache_read()
793 rq->len = err; in cache_read()
796 if (rp->offset == 0 && !test_bit(CACHE_PENDING, &rq->item->flags)) { in cache_read()
799 list_move(&rp->q.list, &rq->q.list); in cache_read()
802 if (rp->offset + count > rq->len) in cache_read()
[all …]
/net/key/
Daf_key.c1934 parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_ipsecrequest *rq) in parse_ipsecrequest() argument
1943 if (rq->sadb_x_ipsecrequest_mode == 0) in parse_ipsecrequest()
1946 t->id.proto = rq->sadb_x_ipsecrequest_proto; /* XXX check proto */ in parse_ipsecrequest()
1947 if ((mode = pfkey_mode_to_xfrm(rq->sadb_x_ipsecrequest_mode)) < 0) in parse_ipsecrequest()
1950 if (rq->sadb_x_ipsecrequest_level == IPSEC_LEVEL_USE) in parse_ipsecrequest()
1952 else if (rq->sadb_x_ipsecrequest_level == IPSEC_LEVEL_UNIQUE) { in parse_ipsecrequest()
1953 t->reqid = rq->sadb_x_ipsecrequest_reqid; in parse_ipsecrequest()
1965 (struct sockaddr *)(rq + 1), in parse_ipsecrequest()
1966 rq->sadb_x_ipsecrequest_len - sizeof(*rq), in parse_ipsecrequest()
1984 struct sadb_x_ipsecrequest *rq = (void*)(pol+1); in parse_ipsecrequests() local
[all …]
/net/bridge/
Dbr_ioctl.c113 static int old_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in old_dev_ioctl() argument
118 if (copy_from_user(args, rq->ifr_data, sizeof(args))) in old_dev_ioctl()
379 int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in br_dev_ioctl() argument
385 return old_dev_ioctl(dev, rq, cmd); in br_dev_ioctl()
389 return add_del_if(br, rq->ifr_ifindex, cmd == SIOCBRADDIF); in br_dev_ioctl()
Dbr_private.h451 int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
/net/9p/
Dtrans_fd.c143 struct work_struct rq; member
303 m = container_of(work, struct p9_conn, rq); in p9_read_work()
395 schedule_work(&m->rq); in p9_read_work()
591 INIT_WORK(&m->rq, p9_read_work); in p9_conn_create()
634 schedule_work(&m->rq); in p9_poll_mux()
851 cancel_work_sync(&m->rq); in p9_conn_destroy()
/net/atm/
Dcommon.c231 struct sk_buff_head queue, *rq; in vcc_process_recv_queue() local
236 rq = &sk_atm(vcc)->sk_receive_queue; in vcc_process_recv_queue()
238 spin_lock_irqsave(&rq->lock, flags); in vcc_process_recv_queue()
239 skb_queue_splice_init(rq, &queue); in vcc_process_recv_queue()
240 spin_unlock_irqrestore(&rq->lock, flags); in vcc_process_recv_queue()
/net/dccp/
Ddccp.h268 int dccp_reqsk_init(struct request_sock *rq, struct dccp_sock const *dp,