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/kernel/sched/
H A Dwait.c266 bool was_empty = false; in prepare_to_wait_exclusive() local
271 was_empty = list_empty(&wq_head->head); in prepare_to_wait_exclusive()
276 return was_empty; in prepare_to_wait_exclusive()
H A Dext.c1088 bool was_empty; in dispatch_enqueue() local
1090 was_empty = list_empty(&dsq->list); in dispatch_enqueue()
1092 if (was_empty && !(dsq->id & SCX_DSQ_FLAG_BUILTIN)) in dispatch_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.c439 bool was_empty = false; in anon_pipe_write() local
476 was_empty = pipe_empty(head, pipe->tail); in anon_pipe_write()
478 if (chars && !was_empty) { in anon_pipe_write()
570 if (was_empty) in anon_pipe_write()
575 was_empty = pipe_is_empty(pipe); in anon_pipe_write()
595 if (was_empty || pipe->poll_usage) in anon_pipe_write()
/linux/kernel/rcu/
H A Dtree.h508 static void __maybe_unused __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty,
H A Dtree_nocb.h1677 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty, in __call_rcu_nocb_wake() argument
/linux/drivers/infiniband/hw/hfi1/
H A Dverbs.c904 int was_empty; in pio_wait() local
909 was_empty = list_empty(&sc->piowait); in pio_wait()
917 if (was_empty) in pio_wait()
/linux/drivers/usb/gadget/udc/
H A Drenesas_usbf.c1960 int was_empty; in usbf_epn_queue() local
1974 was_empty = list_empty(&ep->queue); in usbf_epn_queue()
1976 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()