Home
last modified time | relevance | path

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

/linux-6.12.1/net/vmw_vsock/
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-6.12.1/kernel/sched/
Dwait.c247 bool was_empty = false; in prepare_to_wait_exclusive() local
252 was_empty = list_empty(&wq_head->head); in prepare_to_wait_exclusive()
257 return was_empty; in prepare_to_wait_exclusive()
/linux-6.12.1/drivers/net/ethernet/sfc/siena/
Dnic_common.h89 bool was_empty = efx_nic_tx_is_empty(tx_queue, write_count); in efx_nic_may_push_tx_desc() local
92 return was_empty && tx_queue->write_count - write_count == 1; in efx_nic_may_push_tx_desc()
/linux-6.12.1/drivers/net/ethernet/sfc/
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-6.12.1/fs/
Dpipe.c436 bool was_empty = false; in pipe_write() local
472 was_empty = pipe_empty(head, pipe->tail); in pipe_write()
474 if (chars && !was_empty) { in pipe_write()
576 if (was_empty) in pipe_write()
581 was_empty = pipe_empty(pipe->head, pipe->tail); in pipe_write()
601 if (was_empty || pipe->poll_usage) in pipe_write()
/linux-6.12.1/drivers/net/ethernet/sfc/falcon/
Dnic.h102 bool was_empty = __ef4_nic_tx_is_empty(tx_queue, write_count); in ef4_nic_may_push_tx_desc() local
105 return was_empty && tx_queue->write_count - write_count == 1; in ef4_nic_may_push_tx_desc()
/linux-6.12.1/drivers/char/ipmi/
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-6.12.1/kernel/rcu/
Dtree.h495 static void __maybe_unused __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty,
Dtree_nocb.h1660 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty, in __call_rcu_nocb_wake() argument
/linux-6.12.1/drivers/block/xen-blkback/
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-6.12.1/drivers/gpu/drm/vc4/
Dvc4_gem.c544 bool was_empty = list_empty(&vc4->render_job_list); in vc4_move_job_to_render() local
550 if (was_empty) in vc4_move_job_to_render()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
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-6.12.1/drivers/block/
Dpktcdvd.c2341 int was_empty, blocked_bio; in pkt_make_request_write() local
2408 was_empty = (pd->bio_queue_size == 0); in pkt_make_request_write()
2416 if (was_empty) { in pkt_make_request_write()
/linux-6.12.1/drivers/usb/gadget/udc/
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-6.12.1/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c1855 int was_empty = skb_queue_empty(&q->rx_queue); in offload_enqueue() local
1859 if (was_empty) { in offload_enqueue()