Home
last modified time | relevance | path

Searched refs:was_empty (Results 1 – 10 of 10) sorted by relevance

/linux/net/vmw_vsock/
H A Dvmci_transport_notify_qstate.c311 bool was_empty; in vmci_transport_notify_pkt_send_post_enqueue() local
318 was_empty = in vmci_transport_notify_pkt_send_post_enqueue()
320 if (was_empty) { in vmci_transport_notify_pkt_send_post_enqueue()
/linux/drivers/net/ethernet/sfc/
H A Dnic_common.h90 bool was_empty = efx_nic_tx_is_empty(tx_queue, write_count); in efx_nic_may_push_tx_desc() local
93 return was_empty && tx_queue->write_count - write_count == 1; in efx_nic_may_push_tx_desc()
/linux/fs/
H A Dpipe.c515 bool was_empty = false; in anon_pipe_write() local
552 was_empty = pipe_empty(head, pipe->tail); in anon_pipe_write()
554 if (chars && !was_empty) { in anon_pipe_write()
646 if (was_empty) in anon_pipe_write()
651 was_empty = pipe_is_empty(pipe); in anon_pipe_write()
670 if (was_empty || READ_ONCE(pipe->pseudo_edgetrigger)) in anon_pipe_write()
/linux/drivers/char/ipmi/
H A Dipmi_devintf.c43 int was_empty; in file_receive_handler() local
47 was_empty = list_empty(&priv->recv_msgs); in file_receive_handler()
51 if (was_empty) { in file_receive_handler()
/linux/kernel/rcu/
H A Dtree.h512 static void __maybe_unused __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty,
H A Dtree_nocb.h1744 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty, in __call_rcu_nocb_wake() argument
/linux/drivers/block/xen-blkback/
H A Dblkback.c436 int was_empty; in free_req() local
439 was_empty = list_empty(&ring->pending_free); in free_req()
442 if (was_empty) in free_req()
/linux/block/
H A Dbio.c1839 bool was_empty; in __bio_complete_in_task() local
1843 was_empty = bio_list_empty(&batch->list); in __bio_complete_in_task()
1847 if (was_empty) in __bio_complete_in_task()
/linux/drivers/usb/gadget/udc/
H A Drenesas_usbf.c1959 int was_empty; in usbf_epn_queue() local
1973 was_empty = list_empty(&ep->queue); in usbf_epn_queue()
1975 if (was_empty) { in usbf_epn_queue()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dsge.c1855 int was_empty = skb_queue_empty(&q->rx_queue); in offload_enqueue() local
1859 if (was_empty) { in offload_enqueue()