Searched refs:active (Results 126 - 150 of 1176) sorted by path

1234567891011>>

/linux-master/drivers/block/aoe/
H A Daoe.h187 struct list_head factive[NFACTIVE]; /* hash of active frames */
205 int active; member in struct:ktstate
H A Daoecmd.c1204 if (!kts[actual_id].active) {
1207 if (!kts[actual_id].active
1209 kts[actual_id].active = 1;
1277 if (!kts[id].active) {
1636 if (kts[i].active)
1712 kts[i].active = 0;
1714 kts[0].active = 1;
1737 if (kts[i].active)
/linux-master/drivers/block/drbd/
H A Ddrbd_int.h296 atomic_t active; /* increased on every req. added, and dec on every finished. */ member in struct:drbd_epoch
568 CONN_WD_ST_CHG_REQ, /* A cluster wide state change on the connection is active */
1136 * This many changes to the active set can be logged with one transaction.
1169 #define BME_LOCKED 1 /* bm_extent.flags: syncer active on this one. */
H A Ddrbd_receiver.c1375 atomic_dec(&epoch->active);
1386 atomic_read(&epoch->active) == 0 &&
1412 /* atomic_set(&epoch->active, 0); is already zero */
1655 /* add it to the active list now,
1810 atomic_set(&epoch->active, 0);
2628 atomic_inc(&peer_req->epoch->active);
4439 * will change to inconsistent once the peer reaches active
/linux-master/drivers/block/mtip32xx/
H A Dmtip32xx.c865 unsigned int active; local
872 active = readl(port->s_active[0]) & 0xFFFFFFFE;
874 active |= readl(port->s_active[n]);
876 return active != 0;
887 * -EBUSY Commands still active
892 bool active = true; local
909 active = mtip_commands_active(port);
910 if (!active)
915 return active ? -EBUSY : 0;
1036 /* Clear the allocated and active bit
[all...]
/linux-master/drivers/block/xen-blkback/
H A Dblkback.c196 persistent_gnt->active = true;
220 if (data->active) {
224 data->active = true;
235 if (!persistent_gnt->active)
238 persistent_gnt->active = false;
375 if (persistent_gnt->active)
H A Dcommon.h246 bool active; member in struct:persistent_gnt
262 bool active; member in struct:xen_blkif_ring
H A Dxenbus.c154 ring->active = true;
277 if (!ring->active)
328 ring->active = false;
/linux-master/drivers/char/tpm/
H A Dtpm-sysfs.c150 "attempting to determine the permanent active state",
159 static DEVICE_ATTR_RO(active);
/linux-master/drivers/clk/qcom/
H A Dclk-rpm.c156 unsigned long *active, unsigned long *sleep) argument
158 *active = rate;
167 *sleep = *active;
207 /* Undo the active set vote and restore it */
H A Dclk-smd-rpm.c241 unsigned long *active, unsigned long *sleep)
243 *active = rate;
252 *sleep = *active;
292 /* Undo the active set vote and restore it */
423 pr_err("RPM clock scaling (active set) not enabled!\n");
240 to_active_sleep(struct clk_smd_rpm *r, unsigned long rate, unsigned long *active, unsigned long *sleep) argument
/linux-master/drivers/clocksource/
H A Dem_sti.c29 unsigned int active[USER_NR]; member in struct:em_sti_priv
155 used_before = p->active[USER_CLOCKSOURCE] | p->active[USER_CLOCKEVENT];
160 p->active[user] = 1;
172 used_before = p->active[USER_CLOCKSOURCE] | p->active[USER_CLOCKEVENT];
173 p->active[user] = 0;
174 used_after = p->active[USER_CLOCKSOURCE] | p->active[USER_CLOCKEVENT];
/linux-master/drivers/comedi/drivers/
H A Daddi_apci_2032.c39 bool active; /* an async command is running */ member in struct:apci2032_int_private
72 subpriv->active = false;
140 subpriv->active = true;
155 if (subpriv->active)
190 if (subpriv->active && (val & subpriv->enabled_isns) != 0) {
H A Damplc_dio200_common.c82 spinlock_t spinlock; /* protects the 'active' flag */
86 unsigned int active:1; member in struct:dio200_subdev_intr
243 subpriv->active = false;
284 if (subpriv->active)
364 if (subpriv->active) {
366 * The command is still active.
392 if (subpriv->active)
459 subpriv->active = true;
H A Dpcmmio.c181 unsigned int active:1; member in struct:pcmmio_private
314 devpriv->active = 0;
333 if (!devpriv->active)
390 devpriv->active = 1;
416 if (devpriv->active)
436 if (devpriv->active)
453 devpriv->active = 1;
H A Dpcmuio.c120 unsigned int active:1; member in struct:pcmuio_asic
291 chip->active = 0;
312 if (!chip->active)
386 chip->active = 1;
414 if (chip->active)
436 if (chip->active)
456 chip->active = 1;
/linux-master/drivers/crypto/ccp/
H A Dccp-crypto-main.c206 struct ccp_crypto_cmd *active = NULL, *tmp; local
228 active = tmp;
233 if (!active) {
H A Dccp-dev.c327 if (ccp->cmd_q[i].active)
361 if (ccp->cmd_q[i].active)
383 cmd_q->active = 0;
395 cmd_q->active = 1;
H A Dccp-dev.h238 struct list_head active; member in struct:ccp_dma_desc
251 struct list_head active; member in struct:ccp_dma_chan
295 unsigned int active; member in struct:ccp_cmd_queue
H A Dccp-dmaengine.c79 ccp_free_cmd_resources(ccp, &desc->active);
98 ccp_free_desc_resources(chan->ccp, &chan->active);
116 ccp_free_cmd_resources(ccp, &desc->active);
145 list_move(&cmd->entry, &desc->active);
164 cmd = list_first_entry_or_null(&desc->active, struct ccp_dma_cmd,
183 /* Get the next DMA descriptor on the active list */
184 desc = list_first_entry_or_null(&chan->active, struct ccp_dma_desc,
252 desc = list_empty(&chan->active)
256 list_splice_tail_init(&chan->pending, &chan->active);
346 INIT_LIST_HEAD(&desc->active);
[all...]
/linux-master/drivers/crypto/
H A Dhifn_795x.c418 int active, started; member in struct:hifn_device
1575 dev->active = HIFN_DEFAULT_ACTIVE_NUM;
1598 dev->started = dev->active = 0;
1786 if (dev->active == 0) {
1808 dev->active--;
1821 "r: %08x, active: %d, started: %d, "
1823 r, dev->active, dev->started,
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_hal.c406 unsigned int enable = 0, active = 0; local
409 active = qat_hal_rd_ae_csr(handle, ae, ACTIVE_CTX_STATUS);
411 (active & (1 << ACS_ABO_BITPOS)))
/linux-master/drivers/cxl/core/
H A Dpci.c146 bool active = false; local
160 active = FIELD_GET(CXL_DVSEC_MEM_ACTIVE, temp);
161 if (active)
166 if (!active) {
168 "timeout awaiting memory active after %d seconds\n",
178 * active.
986 * capability registers and bounce the active state of the memdev.
/linux-master/drivers/dma-buf/
H A Ddma-buf.c97 * * dmabuf->cb_in/out.active are non-0 despite no pending fence callback
99 BUG_ON(dmabuf->cb_in.active || dmabuf->cb_out.active);
226 wake_up_locked_poll(dcb->poll, dcb->active);
227 dcb->active = 0;
278 if (dcb->active)
281 dcb->active = EPOLLOUT;
301 if (dcb->active)
304 dcb->active = EPOLLIN;
673 dmabuf->cb_in.active
[all...]
/linux-master/drivers/dma/
H A Ddma-axi-dmac.c374 struct axi_dmac_desc *active)
376 struct dmaengine_result *rslt = &active->vdesc.tx_result;
377 unsigned int start = active->num_completed - 1;
391 for (i = start; i < active->num_sgs; i++) {
392 sg = &active->sg[i];
401 struct axi_dmac_desc *active; local
405 active = axi_dmac_active_desc(chan);
406 if (!active)
414 if (active->cyclic) {
415 vchan_cyclic_callback(&active
373 axi_dmac_compute_residue(struct axi_dmac_chan *chan, struct axi_dmac_desc *active) argument
[all...]

Completed in 353 milliseconds

1234567891011>>