/linux-master/net/rxrpc/ |
H A D | conn_object.c | 29 bool busy; local 35 busy = !list_empty(&conn->attend_link); 36 if (!busy) {
|
/linux-master/net/ipv4/ |
H A D | udp.c | 1475 spinlock_t *busy; local 1477 busy = udp_busylocks + hash_ptr(ptr, udp_busylocks_log); 1478 spin_lock(busy); 1479 return busy; 1482 static void busylock_release(spinlock_t *busy) argument 1484 if (busy) 1485 spin_unlock(busy); 1503 spinlock_t *busy = NULL; local 1522 busy = busylock_acquire(sk); 1554 busylock_release(busy); [all...] |
/linux-master/drivers/spi/ |
H A D | spi.c | 1865 if (!ctlr->busy) 1873 ctlr->busy = false; 1883 ctlr->busy = false; 1907 if (ctlr->busy) 1910 ctlr->busy = true; 1921 /* Prod the scheduler in case transfer_one() was busy waiting */ 2052 ctlr->busy = false; 2197 if (ctlr->running || ctlr->busy) { 2221 * A wait_queue on the ctlr->busy could be used, but then the common 2225 while ((!list_empty(&ctlr->queue) || ctlr->busy) [all...] |
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 1964 DECLARE_BITMAP(busy, MV88E6XXX_N_SID) = { 0 }; 1967 __set_bit(0, busy); 1970 __set_bit(mst->stu.sid, busy); 1972 *sid = find_first_zero_bit(busy, MV88E6XXX_N_SID);
|
/linux-master/kernel/ |
H A D | workqueue.c | 110 MAX_IDLE_WORKERS_RATIO = 4, /* 1/4 of busy can be idle */ 213 /* L: hash of busy workers */ 946 /* Can I start working? Called from busy but !running workers. */ 1425 * This function is called from schedule() when a busy worker is 2069 * -EAGAIN if PENDING couldn't be grabbed at the moment, safe to busy-retry 2221 * longer busy, try_to_grab_pending() will return -ENOENT as @work is 2323 * steal the PENDING will busy-loop waiting for it to either get 3106 * already become busy. 5711 pr_warn("%s: %s has the following busy pwq\n", 6228 * Called from a sysrq handler and prints out all busy workqueue 6657 bool busy = false; local [all...] |
/linux-master/kernel/sched/ |
H A D | fair.c | 1338 * Allow a NUMA imbalance if busy CPUs is less than the maximum 1342 * the number of busy CPUs due to sched_setaffinity. 3511 * we (mostly) drive the selection from busy threads and that the 7655 * previously-executed tasks, which helps better deduce how busy a CPU will 7791 * Compute the task busy time for compute_energy(). This time cannot be 7811 * Compute the perf_domain (PD) busy time for compute_energy(). Based on the 7828 * Set @eenv busy time for the PD that spans @pd_cpus. This busy time can't 8753 * Balance SMT group that's fully busy. Can benefit from migration 8754 * a task on SMT with busy siblin 11693 int busy = idle != CPU_IDLE && !sched_idle_cpu(cpu); local [all...] |
/linux-master/drivers/dma/xilinx/ |
H A D | xdma.c | 60 * @busy: Busy flag of the channel 70 bool busy; member in struct:xdma_chan 335 * check if there is not any submitted descriptor or channel is busy. 338 if (!vd || xchan->busy) 380 xchan->busy = true; 522 xdma_chan->busy = false; 919 xchan->busy = false; 947 xchan->busy = false;
|
/linux-master/net/bluetooth/ |
H A D | l2cap_core.c | 5716 void l2cap_chan_busy(struct l2cap_chan *chan, int busy) argument 5723 event = busy ? L2CAP_EV_LOCAL_BUSY_DETECTED : L2CAP_EV_LOCAL_BUSY_CLEAR; 6007 /* Can't issue SREJ frames in the local busy state. 6009 * when local busy is exited.
|
/linux-master/drivers/hid/intel-ish-hid/ipc/ |
H A D | ipc.c | 88 /* only busy-clear bit is RW, others are RO */ 876 * @busy: busy status 883 int busy) 887 drbl_val = IPC_BUILD_HEADER(length, IPC_PROTOCOL_ISHTP, busy); 882 ish_ipc_get_header(struct ishtp_device *dev, int length, int busy) argument
|
/linux-master/drivers/tty/serial/ |
H A D | serial_port.c | 61 bool busy; local 72 busy = __serial_port_busy(port); 73 if (busy) 77 if (busy) 80 return busy ? -EBUSY : 0;
|
/linux-master/tools/include/uapi/drm/ |
H A D | i915_drm.h | 1586 /** Handle of the buffer to check for busy */ 1589 /** Return busy status 1598 * as busy may become idle before the ioctl is completed. 1600 * Furthermore, if the object is busy, which engine is busy is only 1603 * conditions which prevent the report of which engines are busy from 1631 * the object is idle or busy. The report of which engines are busy 1634 __u32 busy; member in struct:drm_i915_gem_busy
|
/linux-master/drivers/scsi/ |
H A D | scsi_lib.c | 86 * Set the appropriate busy bit for the device/host. 88 * If the host/device isn't busy, assume that something actually 175 * We do this for one of two cases. Either the host is busy and it cannot accept 373 unsigned int busy = scsi_host_busy(shost); local 377 scsi_eh_wakeup(shost, busy); 1377 unsigned int busy; local 1393 busy = atomic_inc_return(&starget->target_busy) - 1; 1395 if (busy) 1408 if (busy >= starget->can_queue) 1476 * For efficiency, no lock is taken to check the busy stat [all...] |
H A D | sg.c | 198 static Sg_request *sg_get_rq_mark(Sg_fd * sfp, int pack_id, bool *busy); 450 bool busy; local 473 srp = sg_get_rq_mark(sfp, req_pack_id, &busy); 478 ((srp = sg_get_rq_mark(sfp, req_pack_id, &busy)) || 479 (!busy && atomic_read(&sdp->detaching)))); 2073 sg_get_rq_mark(Sg_fd * sfp, int pack_id, bool *busy) argument 2078 *busy = false; 2086 *busy = true;
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_wed.c | 1727 bool busy = false; local 1741 busy = mtk_wed_poll_busy(dev, MTK_WED_GLO_CFG, 1743 if (busy) { 1752 busy = !!mtk_wdma_rx_reset(dev); 1763 if (!busy) 1764 busy = mtk_wed_poll_busy(dev, MTK_WED_WDMA_GLO_CFG, 1766 if (!busy && mtk_wed_is_v3_or_greater(dev->hw)) 1767 busy = mtk_wed_poll_busy(dev, MTK_WED_WDMA_RX_PREF_CFG, 1770 if (busy) { 1818 busy [all...] |
/linux-master/block/ |
H A D | blk-core.c | 1049 * blk_lld_busy - Check if underlying low-level drivers of a device are busy 1053 * Check if underlying low-level drivers of a device are busy. 1054 * If the drivers want to export their busy state, they must set own 1059 * devices are busy. This behavior helps more I/O merging on the queue 1064 * 0 - Not busy (The request stacking driver should dispatch request) 1069 if (queue_is_mq(q) && q->mq_ops->busy) 1070 return q->mq_ops->busy(q);
|
H A D | blk-mq.c | 1511 * If we find a request that isn't idle we know the queue is busy 1523 bool *busy = priv; local 1525 *busy = true; 1534 bool busy = false; local 1536 blk_mq_queue_tag_busy_iter(q, blk_mq_rq_inflight, &busy); 1537 return busy; 1698 * Process software queues that have been marked busy, splicing them 1892 * Update dispatch busy with the Exponential Weighted Moving Average(EWMA): 1898 static void blk_mq_update_dispatch_busy(struct blk_mq_hw_ctx *hctx, bool busy) argument 1904 if (!ewma && !busy) [all...] |
/linux-master/kernel/trace/ |
H A D | trace_events.c | 3155 goto busy; 3171 busy:
|
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_submission.c | 628 * aborted the send due to the channel being busy. 2079 if (wait && wait->busy) 2080 guc_err(guc, "Unexpected busy item in tlb_lookup on fini\n"); 4912 !READ_ONCE(wq->busy), 4915 * Update wq->busy under lock to ensure only one waiter can 4920 wq->busy = true;
|
/linux-master/mm/ |
H A D | vmalloc.c | 875 struct rb_list busy; member in struct:vmap_node 1057 spin_lock(&vn->busy.lock); 1058 *va = __find_vmap_area_exceed_addr(addr, &vn->busy.root); 1063 spin_unlock(&vn->busy.lock); 1074 spin_lock(&vn->busy.lock); 1075 *va = __find_vmap_area(va_start_lowest, &vn->busy.root); 1080 spin_unlock(&vn->busy.lock); 1794 * Remove from the busy tree/list. 1796 spin_lock(&vn->busy.lock); 1797 unlink_va(va, &vn->busy 4953 struct vm_struct *busy; local [all...] |
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_init.c | 1439 /* Snapshot pbl, pvt and busy count */ 5963 uint32_t busy, max_read; local 6058 busy = atomic_xchg(&phba->cmf_busy, 0); 6079 entry.cmf_busy = busy; 13349 * lpfc_sli4_xri_exchange_busy_wait - Wait for device XRI exchange busy 13353 * of device's XRIs exchange busy. It will check the XRI exchange busy 13355 * that, it will check the XRI exchange busy on outstanding FCP and ELS 13357 * all XRI exchange busy complete, the driver unload shall proceed with 13400 "6424 NVMET XRI exchange busy " [all...] |
/linux-master/drivers/i2c/busses/ |
H A D | i2c-i801.c | 369 pci_err(priv->pci_dev, "SMBus is busy, can't use it!\n"); 398 * If the SMBus is still busy, we give up 457 int status, busy; local 462 busy = status & SMBHSTSTS_HOST_BUSY; 464 if (!busy && status)
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_mpc.c | 1470 MPCC_BUSY, &s->busy);
|
/linux-master/drivers/mmc/core/ |
H A D | block.c | 70 * Set a 10 second timeout for polling write request busy state. Note, mmc core 182 static int mmc_blk_busy_cb(void *cb_data, bool *busy); 639 * CMD13. Note that, usually we don't need to poll when using HW busy 1727 /* Some hosts wait for busy anyway, so provide a busy timeout */ 1971 * 1. The card has not disconnected during busy and we actually read our 1975 * just reconnected card after being disconnected during busy. 1986 static int mmc_blk_busy_cb(void *cb_data, bool *busy) argument 1999 *busy = !mmc_ready_for_data(status);
|
/linux-master/include/scsi/ |
H A D | scsi_device.h | 189 unsigned busy:1; /* Used to prevent races */ member in struct:scsi_device
|
/linux-master/drivers/usb/musb/ |
H A D | musb_gadget.c | 131 int busy = ep->busy; variable 140 ep->busy = 1; 149 ep->busy = busy; 164 ep->busy = 1; 450 musb_dbg(musb, "%s dma still busy?", musb_ep->end_point.name); 844 musb_dbg(musb, "%s busy, csr %04x", 1063 musb_ep->busy = 0; 1249 if (!musb_ep->busy [all...] |