Home
last modified time | relevance | path

Searched refs:was_empty (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/kernel/sched/
H A Dwait.c264 bool was_empty = false; in prepare_to_wait_exclusive() local
269 was_empty = list_empty(&wq_head->head); in prepare_to_wait_exclusive()
274 return was_empty; in prepare_to_wait_exclusive()
/kernel/linux/linux-6.6/kernel/sched/
H A Dwait.c287 bool was_empty = false; in prepare_to_wait_exclusive() local
292 was_empty = list_empty(&wq_head->head); in prepare_to_wait_exclusive()
297 return was_empty; in prepare_to_wait_exclusive()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A 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()
/kernel/linux/linux-5.10/fs/
H A Dpipe.c423 bool was_empty = false; in pipe_write() local
452 was_empty = pipe_empty(head, pipe->tail); in pipe_write()
454 if (chars && !was_empty) { in pipe_write()
565 if (was_empty) in pipe_write()
570 was_empty = pipe_empty(pipe->head, pipe->tail); in pipe_write()
590 if (was_empty || pipe->poll_usage) in pipe_write()
/kernel/linux/linux-6.6/fs/
H A Dpipe.c425 bool was_empty = false; in pipe_write() local
454 was_empty = pipe_empty(head, pipe->tail); in pipe_write()
456 if (chars && !was_empty) { in pipe_write()
567 if (was_empty) in pipe_write()
572 was_empty = pipe_empty(pipe->head, pipe->tail); in pipe_write()
592 if (was_empty || pipe->poll_usage) in pipe_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
H A 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/kernel/rcu/
H A Dtree.h432 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty,
/kernel/linux/linux-6.6/kernel/rcu/
H A Dtree.h473 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty,
H A Dtree_nocb.h1776 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty, in __call_rcu_nocb_wake() argument
/kernel/linux/linux-5.10/drivers/block/xen-blkback/
H A 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_gem.c529 bool was_empty = list_empty(&vc4->render_job_list); in vc4_move_job_to_render() local
532 if (was_empty) in vc4_move_job_to_render()
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
H A 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dverbs.c946 int was_empty; in pio_wait() local
951 was_empty = list_empty(&sc->piowait); in pio_wait()
959 if (was_empty) in pio_wait()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/block/
H A Dpktcdvd.c2291 int was_empty, blocked_bio; in pkt_make_request_write() local
2350 was_empty = (pd->bio_queue_size == 0); in pkt_make_request_write()
2358 if (was_empty) { in pkt_make_request_write()
/kernel/linux/linux-6.6/drivers/block/
H A 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()
/kernel/linux/linux-6.6/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()

Completed in 57 milliseconds

12