Lines Matching refs:uarg
27 static void io_tx_ubuf_callback(struct sk_buff *skb, struct ubuf_info *uarg, in io_tx_ubuf_callback() argument
30 struct io_notif_data *nd = container_of(uarg, struct io_notif_data, uarg); in io_tx_ubuf_callback()
33 if (refcount_dec_and_test(&uarg->refcnt)) in io_tx_ubuf_callback()
37 static void io_tx_ubuf_callback_ext(struct sk_buff *skb, struct ubuf_info *uarg, in io_tx_ubuf_callback_ext() argument
40 struct io_notif_data *nd = container_of(uarg, struct io_notif_data, uarg); in io_tx_ubuf_callback_ext()
48 io_tx_ubuf_callback(skb, uarg, success); in io_tx_ubuf_callback_ext()
55 if (nd->uarg.callback != io_tx_ubuf_callback_ext) { in io_notif_set_extended()
60 nd->uarg.callback = io_tx_ubuf_callback_ext; in io_notif_set_extended()
82 nd->uarg.flags = IO_NOTIF_UBUF_FLAGS; in io_alloc_notif()
83 nd->uarg.callback = io_tx_ubuf_callback; in io_alloc_notif()
84 refcount_set(&nd->uarg.refcnt, 1); in io_alloc_notif()