Searched refs:was_empty (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/net/vmw_vsock/ |
D | vmci_transport_notify_qstate.c | 311 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/ |
D | wait.c | 278 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/ |
D | nic_common.h | 89 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/ |
D | nic_common.h | 92 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/ |
D | pipe.c | 424 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/ |
D | nic.h | 102 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/ |
D | ipmi_devintf.c | 43 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/ |
D | tree.h | 446 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty,
|
D | tree_nocb.h | 1579 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/ |
D | blkback.c | 431 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/ |
D | vc4_gem.c | 544 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/ |
D | verbs.c | 904 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/ |
D | pktcdvd.c | 2310 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/ |
D | sge.c | 1860 int was_empty = skb_queue_empty(&q->rx_queue); in offload_enqueue() local 1864 if (was_empty) { in offload_enqueue()
|