Home
last modified time | relevance | path

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

/net/sunrpc/
Dcache.c815 struct cache_request *rq; in cache_read() local
839 rq = container_of(rp->q.list.next, struct cache_request, q.list); in cache_read()
840 WARN_ON_ONCE(rq->q.reader); in cache_read()
842 rq->readers++; in cache_read()
845 if (rq->len == 0) { in cache_read()
846 err = cache_request(cd, rq); in cache_read()
849 rq->len = err; in cache_read()
852 if (rp->offset == 0 && !test_bit(CACHE_PENDING, &rq->item->flags)) { in cache_read()
855 list_move(&rp->q.list, &rq->q.list); in cache_read()
858 if (rp->offset + count > rq->len) in cache_read()
[all …]
/net/key/
Daf_key.c1948 struct sadb_x_ipsecrequest *rq) in parse_ipsecrequest() argument
1957 if (rq->sadb_x_ipsecrequest_mode == 0) in parse_ipsecrequest()
1959 if (!xfrm_id_proto_valid(rq->sadb_x_ipsecrequest_proto)) in parse_ipsecrequest()
1962 t->id.proto = rq->sadb_x_ipsecrequest_proto; in parse_ipsecrequest()
1963 if ((mode = pfkey_mode_to_xfrm(rq->sadb_x_ipsecrequest_mode)) < 0) in parse_ipsecrequest()
1966 if (rq->sadb_x_ipsecrequest_level == IPSEC_LEVEL_USE) { in parse_ipsecrequest()
1971 } else if (rq->sadb_x_ipsecrequest_level == IPSEC_LEVEL_UNIQUE) { in parse_ipsecrequest()
1972 t->reqid = rq->sadb_x_ipsecrequest_reqid; in parse_ipsecrequest()
1984 (struct sockaddr *)(rq + 1), in parse_ipsecrequest()
1985 rq->sadb_x_ipsecrequest_len - sizeof(*rq), in parse_ipsecrequest()
[all …]
/net/bridge/
Dbr_ioctl.c109 static int old_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in old_dev_ioctl() argument
116 if (copy_from_user(args, rq->ifr_data, sizeof(args))) in old_dev_ioctl()
381 int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in br_dev_ioctl() argument
387 return old_dev_ioctl(dev, rq, cmd); in br_dev_ioctl()
391 return add_del_if(br, rq->ifr_ifindex, cmd == SIOCBRADDIF); in br_dev_ioctl()
Dbr_private.h780 int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
/net/9p/
Dtrans_fd.c129 struct work_struct rq; member
284 m = container_of(work, struct p9_conn, rq); in p9_read_work()
399 schedule_work(&m->rq); in p9_read_work()
595 INIT_WORK(&m->rq, p9_read_work); in p9_conn_create()
637 schedule_work(&m->rq); in p9_poll_mux()
899 cancel_work_sync(&m->rq); in p9_conn_destroy()
/net/atm/
Dcommon.c227 struct sk_buff_head queue, *rq; in vcc_process_recv_queue() local
232 rq = &sk_atm(vcc)->sk_receive_queue; in vcc_process_recv_queue()
234 spin_lock_irqsave(&rq->lock, flags); in vcc_process_recv_queue()
235 skb_queue_splice_init(rq, &queue); in vcc_process_recv_queue()
236 spin_unlock_irqrestore(&rq->lock, flags); in vcc_process_recv_queue()
/net/dccp/
Ddccp.h260 int dccp_reqsk_init(struct request_sock *rq, struct dccp_sock const *dp,