Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qemu-iotests/
H A D118128 if self.was_empty == True:
135 if self.has_real_tray or not self.was_empty:
141 if self.was_empty == True:
174 if self.was_empty == True:
206 if self.was_empty == True:
266 was_empty = False variable in TestInitiallyFilled
308 was_empty = True variable in TestInitiallyEmpty
/openbmc/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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/fs/
H A Dpipe.c425 bool was_empty = false; in pipe_write() local
461 was_empty = pipe_empty(head, pipe->tail); in pipe_write()
463 if (chars && !was_empty) { in pipe_write()
574 if (was_empty) in pipe_write()
579 was_empty = pipe_empty(pipe->head, pipe->tail); in pipe_write()
599 if (was_empty || pipe->poll_usage) in pipe_write()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/kernel/rcu/
H A Dtree.h472 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty,
H A Dtree_nocb.h1763 static void __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty, in __call_rcu_nocb_wake() argument
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/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()
/openbmc/linux/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()
/openbmc/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()
/openbmc/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()