Lines Matching refs:uarg
21 lockdep_assert(refcount_read(&nd->uarg.refcnt) == 0); in io_notif_tw_complete()
36 void io_tx_ubuf_complete(struct sk_buff *skb, struct ubuf_info *uarg, in io_tx_ubuf_complete() argument
39 struct io_notif_data *nd = container_of(uarg, struct io_notif_data, uarg); in io_tx_ubuf_complete()
50 if (!refcount_dec_and_test(&uarg->refcnt)) in io_tx_ubuf_complete()
54 io_tx_ubuf_complete(skb, &nd->head->uarg, success); in io_tx_ubuf_complete()
63 static int io_link_skb(struct sk_buff *skb, struct ubuf_info *uarg) in io_link_skb() argument
69 nd = container_of(uarg, struct io_notif_data, uarg); in io_link_skb()
73 net_zcopy_get(&nd->uarg); in io_link_skb()
74 skb_zcopy_init(skb, &nd->uarg); in io_link_skb()
78 if (unlikely(prev_uarg == &nd->uarg)) in io_link_skb()
87 prev_nd = container_of(prev_uarg, struct io_notif_data, uarg); in io_link_skb()
98 net_zcopy_get(&nd->head->uarg); in io_link_skb()
128 nd->uarg.flags = IO_NOTIF_UBUF_FLAGS; in io_alloc_notif()
129 nd->uarg.ops = &io_ubuf_ops; in io_alloc_notif()
130 refcount_set(&nd->uarg.refcnt, 1); in io_alloc_notif()