Searched refs:used (Results 251 - 275 of 632) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/infiniband/hw/hfi1/
H A Duser_exp_rcv.c76 * effectively enforce a limit on RcvArray entries used by
77 * subctxts (when context sharing is used) when TID caching
206 * 2. List of partially used groups - tid_used_list
208 * not completely used up. Another mapping request could
211 * This is the list where sets that are completely used
244 * used, move it to tid_full_list.
297 /* Reserve the number of expected tids to be used. */
356 * If we don't have any partially used tid groups, check
358 * put in the partially used list.
376 grp->size - grp->used);
[all...]
/linux-master/drivers/usb/host/
H A Dxhci-mtk-sch.c397 /* only first one used (maxpkt <= 64), others zero */
405 * @num_budget_microframes elements will be used later,
459 struct mu3h_sch_ep_info *sch_ep, bool used)
468 if (used)
735 static void update_sch_tt(struct mu3h_sch_ep_info *sch_ep, bool used) argument
753 if (used) {
770 if (used)
777 if (used)
458 update_bus_bw(struct mu3h_sch_bw_info *sch_bw, struct mu3h_sch_ep_info *sch_ep, bool used) argument
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.h31 /* This is used as a replacement for an MCP if it's not present */
737 s16 used; local
744 used = SUB_S16(prod, cons);
747 WARN_ON(used < 0);
748 WARN_ON(used > txdata->tx_ring_size);
749 WARN_ON((txdata->tx_ring_size - used) > MAX_TX_AVAIL);
752 return (s16)(txdata->tx_ring_size) - used;
/linux-master/net/ipv4/
H A Dfib_trie.c274 * index into the parent's child array. That is, they will be used to find
806 unsigned long used = child_length(tn); local
807 unsigned long threshold = used;
811 used -= tn_info(tn)->empty_children;
812 used += tn_info(tn)->full_children;
816 return (used > 1) && tn->pos && ((50 * used) >= threshold);
821 unsigned long used = child_length(tn); local
822 unsigned long threshold = used;
826 used
835 unsigned long used = child_length(tn); local
[all...]
/linux-master/fs/ceph/
H A Dcaps.c190 "caps %d = %d used + %d resv + %d avail\n",
285 ctx->used = 0;
302 doutc(cl, "ctx=%p %d = %d used + %d resv + %d avail\n", ctx,
327 ceph_reclaim_caps_nr(mdsc, ctx->used);
365 doutc(cl, "ctx=%p (%d) %d = %d used + %d resv + %d avail\n", ctx,
373 ctx->used++;
391 doutc(cl, "%p %d = %d used + %d resv + %d avail\n", cap,
414 int *total, int *avail, int *used, int *reserved,
425 if (used)
426 *used
413 ceph_reservation_status(struct ceph_fs_client *fsc, int *total, int *avail, int *used, int *reserved, int *min) argument
996 int used = 0; local
1403 __prep_cap(struct cap_msg_args *arg, struct ceph_cap *cap, int op, int flags, int used, int want, int retain, int flushing, u64 flush_tid, u64 oldest_flush_tid) argument
2027 int file_wanted, used, cap_used; local
3496 int used, wanted, dirty; variable
4820 int used, dirty; local
[all...]
H A Ddebugfs.c272 int total, avail, used, reserved, min, i; local
275 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min);
278 "used\t\t%d\n"
281 total, avail, used, reserved, min);
/linux-master/drivers/staging/media/atomisp/i2c/
H A Dov2722.h180 bool used; member in struct:ov2722_resolution
1106 .used = 0,
1119 .used = 0,
1132 .used = 0,
1155 .used = 0,
1168 .used = 0,
1181 .used = 0,
1199 .used = 0,
1212 .used = 0,
1224 .used
[all...]
/linux-master/kernel/trace/
H A Dtrace_probe.c1145 /* Reset the last type if used */
1503 /* Return 1 if name is reserved or already used by another argument */
1667 int i, j, n, used, ret, args_idx = -1; local
1699 used = 0;
1704 ret = sprint_nth_btf_arg(n, "", buf + used,
1705 bufsize - used, ctx);
1709 new_argv[j++] = buf + used;
1710 used += ret + 1;
1725 ret = sprint_nth_btf_arg(n - 1, type, buf + used,
1726 bufsize - used, ct
[all...]
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dcwsr_trap_handler_gfx8.asm79 var S_SAVE_PC_HI_RCNT_SHIFT = 28 //FIXME check with Brian to ensure all fields other than PC[47:0] can be used
93 var s_save_trapsts = ttmp5 //not really used until the end of the SAVE routine
172 /* read tba and tma for next level trap handler, ttmp4 is used as s_save_status */
297 // Save SGPR before LDS save, then the s0 to s4 can be used during LDS save...
370 s_cbranch_scc0 L_SAVE_LDS_DONE //no lds used? jump to L_SAVE_DONE
372 s_barrier //LDS is used? wait for other waves in the same TG
373 //s_and_b32 s_save_tmp, tba_hi, S_SAVE_SPI_INIT_FIRST_WAVE_MASK //exec is still used here
374 s_and_b32 s_save_tmp, s_save_exec_hi, S_SAVE_SPI_INIT_FIRST_WAVE_MASK //exec is still used here
500 s_cbranch_scc0 L_RESTORE_VGPR //no lds used? jump to L_RESTORE_VGPR
585 /* If 112 SGPRs ar allocated, 4 sgprs are not used TB
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dconntrack.c129 * @offset: used to adjust mangled offset in L2/L3/L4 header
2003 *m_used = max_t(u64, *m_used, priv->stats[ctx_id].used);
2016 0, priv->stats[ctx_id].used,
2023 0, priv->stats[ctx_id].used,
2029 0, priv->stats[ctx_id].used,
2043 0, priv->stats[ctx_id].used,
2048 0, priv->stats[ctx_id].used,
2053 0, priv->stats[ctx_id].used,
2070 u64 pkts = 0, bytes = 0, used = 0; local
2090 used
[all...]
/linux-master/fs/ntfs3/
H A Dfsntfs.c360 struct wnd_bitmap *wnd = &sbi->used.bitmap;
393 * 'Cause cluster 0 is always used this value means that we should use
397 lcn = sbi->used.next_free_lcn;
441 sbi->used.next_free_lcn = alcn + alen;
457 wnd = &sbi->used.bitmap;
531 down_write_nested(&sbi->used.bitmap.rw_lock, BITMAP_MUTEX_CLUSTERS);
535 up_write(&sbi->used.bitmap.rw_lock);
546 ntfs_clear_mft_tail(sbi, sbi->mft.used, new_mft_total);
604 * marks it as used.
674 /* [zbit, zbit + zlen) will be used fo
[all...]
/linux-master/drivers/virtio/
H A Dvirtio_ring.c130 /* Avail used flags. */
160 /* Is DMA API used? */
188 /* Last used index we've seen.
189 * for split ring, it just contains last used index
191 * bits up to VRING_PACKED_EVENT_F_WRAP_CTR include the last used index.
192 * bits from VRING_PACKED_EVENT_F_WRAP_CTR include the used wrap counter.
213 /* Device used for doing DMA */
376 * If DMA is not used, KMSAN doesn't know that the scatterlist
757 needs_kick = !(vq->split.vring.used->flags &
820 vq->split.vring.used
1651 bool avail, used; local
[all...]
/linux-master/arch/s390/kernel/
H A Dperf_cpum_cf.c84 size_t used; /* Bytes used in data */ member in struct:cpu_cf_events
85 size_t usedss; /* Bytes used in start/stop */
644 * Thus, the counters can only be used if SMT is on and the
745 /* Raw events are used to access counters directly,
802 * It is later used to enable/disable the counter(s).
993 * is the last used counter in the set, clear activation
1041 /* Check if any counter in the counter set is still used. If not used,
1277 * path is currently used
[all...]
/linux-master/drivers/media/platform/verisilicon/
H A Dhantro_h264.c253 * decoding, bit 31 to 15 are used, while for field decoding,
254 * all bits are used, with bit 31 being a top field, 30 a bottom
300 DECLARE_BITMAP(used, ARRAY_SIZE(dec_param->dpb)) = { 0, };
318 * entries which are not used yet.
320 for_each_clear_bit(j, used, ARRAY_SIZE(ctx->h264_dec.dpb)) {
328 set_bit(j, used);
346 j = find_first_zero_bit(used, ARRAY_SIZE(ctx->h264_dec.dpb));
352 set_bit(j, used);
/linux-master/arch/mips/alchemy/common/
H A Ddbdma.c257 u32 used, chan; local
279 used = 0;
294 used++;
297 used++;
300 if (used)
348 * Return a non-zero value that can be used to find the channel
589 * This updates the source pointer and byte count. Normally used
649 * This updates the destination pointer and byte count. Normally used
713 * Normally used to get a full buffer from the ring during fifo
817 * Reset our software status -- this is used t
[all...]
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_fdma.c408 if (!dcb_buf->used)
418 dcb_buf->used = false;
657 if (!dcb_buf->used && i != tx->last_in_use)
787 next_dcb_buf->used = true;
860 next_dcb_buf->used = true;
H A Dlan966x_mdb.c221 bool used = false; local
225 used = true;
230 if (!used)
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dr535.c222 u32 used; member in struct:r535_chan_userd
239 userd->used &= ~BIT(chid);
240 if (!userd->used) {
275 if (userd->used & BIT(chid))
311 userd->used |= BIT(chid);
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp9_if.c46 * @reserved : reserved field used by vpu
68 * @reserved : reserved field used by vpu
79 * @used : this reference frame info entry is used
84 int used; member in struct:vp9_sf_ref_fb
110 * @buf_len_sz_y : size used to store y plane ufo info (AP-R, VPU-W)
111 * @buf_len_sz_c : size used to store cbcr plane ufo info (AP-R, VPU-W)
179 * @fb_use_list : current used or referenced vdec_fb
260 sf_ref_fb->used = 0;
301 vsi->sf_ref_fb[i].used
[all...]
/linux-master/drivers/md/bcache/
H A Dextents.c11 * on the heap have their priority scaled down. This currently is just used as
15 * counter. Garbage collection is used to remove stale pointers.
36 *i = iter->data[--iter->used];
269 while (iter->used > 1) {
272 if (iter->used > 2 &&
/linux-master/sound/firewire/bebob/
H A Dbebob_stream.c174 * Here check the first field. This field is used for direction.
380 bool used; local
388 err = cmp_connection_check_used(conn, &used);
389 if ((err >= 0) && used && !amdtp_stream_running(s)) {
/linux-master/drivers/platform/x86/dell/
H A Ddell-wmi-base.c393 int used = 0; local
425 used = 1;
430 return used;
/linux-master/drivers/infiniband/hw/erdma/
H A Derdma_cmdq.c53 int used; local
57 used = __test_and_clear_bit(comp_wait->ctx_id, cmdq->comp_wait_bitmap);
60 WARN_ON(!used);
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dtxrx.c406 * multista is used only in P2P_GO or AP mode. In other modes return
1041 * backward compatibility (mtu_max parameter was also used
1628 * @skb is used to obtain the protocol and headers length.
1658 * @skb is used to obtain the protocol and headers length.
1742 int descs_used = 0; /* total number of used descriptors */
1746 int used, avail = wil_ring_avail_tx(vring); local
1903 descs_used++; /* desc used so far */
1904 sg_desc_cnt++; /* desc used for this segment */
1976 used = wil_ring_used_tx(vring);
1978 used, use
2040 int used; local
[all...]
/linux-master/drivers/net/wireless/silabs/wfx/
H A Ddata_tx.c77 list_for_each_entry(it, &cache->used, link)
89 list_move(&entry->link, &cache->used);
191 INIT_LIST_HEAD(&cache->used);

Completed in 293 milliseconds

<<11121314151617181920>>