Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/kernel/sched/
Dwait.c278 bool was_empty = false; in prepare_to_wait_exclusive() local
283 was_empty = list_empty(&wq_head->head); in prepare_to_wait_exclusive()
288 return was_empty; in prepare_to_wait_exclusive()
/linux-6.1.9/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.1.9/drivers/net/ethernet/sfc/
Dnic_common.h92 bool was_empty = efx_nic_tx_is_empty(tx_queue, write_count); in efx_nic_may_push_tx_desc() local
95 return was_empty && tx_queue->write_count - write_count == 1; in efx_nic_may_push_tx_desc()
/linux-6.1.9/fs/
Dpipe.c424 bool was_empty = false; in pipe_write() local
455 was_empty = pipe_empty(head, pipe->tail); in pipe_write()
457 if (chars && !was_empty) { in pipe_write()
568 if (was_empty) in pipe_write()
573 was_empty = pipe_empty(pipe->head, pipe->tail); in pipe_write()
593 if (was_empty || pipe->poll_usage) in pipe_write()
/linux-6.1.9/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.1.9/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.1.9/kernel/rcu/
Dtree.h446 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty,
Dtree_nocb.h1579 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty, in __call_rcu_nocb_wake() argument
/linux-6.1.9/drivers/block/xen-blkback/
Dblkback.c431 int was_empty; in free_req() local
434 was_empty = list_empty(&ring->pending_free); in free_req()
437 if (was_empty) in free_req()
/linux-6.1.9/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.1.9/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.1.9/drivers/block/
Dpktcdvd.c2310 int was_empty, blocked_bio; in pkt_make_request_write() local
2377 was_empty = (pd->bio_queue_size == 0); in pkt_make_request_write()
2385 if (was_empty) { in pkt_make_request_write()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c1860 int was_empty = skb_queue_empty(&q->rx_queue); in offload_enqueue() local
1864 if (was_empty) { in offload_enqueue()