Home
last modified time | relevance | path

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

/net/can/
Draw.c124 struct raw_sock *ro = raw_sk(sk); in raw_rcv() local
130 if (!ro->recv_own_msgs && oskb->sk == sk) in raw_rcv()
134 if (!ro->fd_frames && oskb->len != CAN_MTU) in raw_rcv()
138 if (this_cpu_ptr(ro->uniq)->skb == oskb && in raw_rcv()
139 this_cpu_ptr(ro->uniq)->skbcnt == can_skb_prv(oskb)->skbcnt) { in raw_rcv()
140 if (ro->join_filters) { in raw_rcv()
141 this_cpu_inc(ro->uniq->join_rx_count); in raw_rcv()
143 if (this_cpu_ptr(ro->uniq)->join_rx_count < ro->count) in raw_rcv()
149 this_cpu_ptr(ro->uniq)->skb = oskb; in raw_rcv()
150 this_cpu_ptr(ro->uniq)->skbcnt = can_skb_prv(oskb)->skbcnt; in raw_rcv()
[all …]
/net/ieee802154/
Dsocket.c477 struct dgram_sock *ro = dgram_sk(sk); in dgram_init() local
479 ro->want_ack = 1; in dgram_init()
480 ro->want_lqi = 0; in dgram_init()
493 struct dgram_sock *ro = dgram_sk(sk); in dgram_bind() local
499 ro->bound = 0; in dgram_bind()
522 ro->src_addr = haddr; in dgram_bind()
524 ro->bound = 1; in dgram_bind()
572 struct dgram_sock *ro = dgram_sk(sk); in dgram_connect() local
584 if (!ro->bound) { in dgram_connect()
589 ieee802154_addr_from_sa(&ro->dst_addr, &addr->addr); in dgram_connect()
[all …]
/net/rds/
Dsend.c503 struct rm_rdma_op *ro; in rds_rdma_send_complete() local
509 ro = &rm->rdma; in rds_rdma_send_complete()
511 ro->op_active && ro->op_notify && ro->op_notifier) { in rds_rdma_send_complete()
512 notifier = ro->op_notifier; in rds_rdma_send_complete()
521 ro->op_notifier = NULL; in rds_rdma_send_complete()
577 struct rm_rdma_op *ro; in __rds_send_complete() local
580 ro = &rm->rdma; in __rds_send_complete()
581 if (ro->op_active && ro->op_notify && ro->op_notifier) { in __rds_send_complete()
582 ro->op_notifier->n_status = status; in __rds_send_complete()
583 list_add_tail(&ro->op_notifier->n_list, &rs->rs_notify_queue); in __rds_send_complete()
[all …]
Drdma.c487 void rds_rdma_free_op(struct rm_rdma_op *ro) in rds_rdma_free_op() argument
491 if (ro->op_odp_mr) { in rds_rdma_free_op()
492 kref_put(&ro->op_odp_mr->r_kref, __rds_put_mr_final); in rds_rdma_free_op()
494 for (i = 0; i < ro->op_nents; i++) { in rds_rdma_free_op()
495 struct page *page = sg_page(&ro->op_sg[i]); in rds_rdma_free_op()
501 unpin_user_pages_dirty_lock(&page, 1, !ro->op_write); in rds_rdma_free_op()
505 kfree(ro->op_notifier); in rds_rdma_free_op()
506 ro->op_notifier = NULL; in rds_rdma_free_op()
507 ro->op_active = 0; in rds_rdma_free_op()
508 ro->op_odp_mr = NULL; in rds_rdma_free_op()
Drds.h940 void rds_rdma_free_op(struct rm_rdma_op *ro);