Searched refs:used (Results 26 - 50 of 632) sorted by relevance

1234567891011>>

/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-syscfg-configfs.c58 ssize_t used = 0; local
72 * A set of presets is the sum of all params in used features,
78 used += scnprintf(page + used, PAGE_SIZE - used,
85 used += scnprintf(page + used, PAGE_SIZE - used, "\n");
87 return used;
245 int used local
[all...]
/linux-master/drivers/soc/amlogic/
H A Dmeson-canvas.c38 u8 used[NUM_CANVAS]; member in struct:meson_canvas
100 if (!canvas->used[canvas_index]) {
138 if (!canvas->used[i]) {
139 canvas->used[i] = 1;
157 if (!canvas->used[canvas_index]) {
163 canvas->used[canvas_index] = 0;
/linux-master/include/linux/
H A Dvringh.h29 /* Guest publishes used event idx (note: we always do). */
41 /* Last index we used. */
91 * @used: number of iovecs present in @iov
96 * Remaining data is iov + i, of used - i elements.
101 unsigned i, used, max_num; member in struct:vringh_iov
109 * @used: number of iovecs present in @iov
114 * Remaining data is iov + i, of used - i elements.
119 unsigned i, used, max_num; member in struct:vringh_kiov
130 vring_used_t __user *used);
135 iov->used
[all...]
H A Dtty_flip.h71 if (!change && tb->used < tb->size) {
73 *flag_buf_ptr(tb, tb->used) = flag;
74 *char_buf_ptr(tb, tb->used++) = ch;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dverifier_loops1.c152 static __naked __noinline __attribute__((used))
225 static __naked __noinline __attribute__((used))
250 static __naked __noinline __attribute__((used))
H A Dverifier_map_ptr_mixing.c147 static __naked __noinline __attribute__((used))
158 static __naked __noinline __attribute__((used))
197 static __naked __noinline __attribute__((used))
208 static __naked __noinline __attribute__((used))
/linux-master/arch/sparc/lib/
H A Dbitext.c69 "bitmap out: size %d used %d off %d len %d align %d count %d\n",
70 t->size, t->used, offset, len, align, count);
91 t->used += len;
107 if (t->used < len)
117 t->used -= len;
/linux-master/sound/firewire/
H A Dcmp.h42 int cmp_connection_check_used(struct cmp_connection *connection, bool *used);
/linux-master/arch/arm64/include/asm/vdso/
H A Dcompat_barrier.h10 * Warning: This code is meant to be used with
14 #error This header is meant to be used with ENABLE_COMPAT_VDSO only
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-tm-spd-vsx.c20 __attribute__((used)) void load_vsx(void)
25 __attribute__((used)) void load_vsx_new(void)
30 __attribute__((used)) void load_vsx_ckpt(void)
35 __attribute__((used)) void wait_parent(void)
/linux-master/drivers/mtd/ubi/
H A Dfastmap-wl.c23 * find_anchor_wl_entry - find wear-leveling entry to used as anchor PEB.
60 for (i = pool->used; i < pool->size; i++) {
69 * @anchor: This PEB will be used as anchor PEB by fastmap
126 free += pool->size - pool->used + wl_pool->size - wl_pool->used;
256 wl_pool->used = 0;
257 pool->used = 0;
306 if (pool->used == pool->size || wl_pool->used == wl_pool->size) {
319 if (pool->used
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_seq64.h36 DECLARE_BITMAP(used, AMDGPU_MAX_SEQ64_SLOTS);
H A Damdgpu_seq64.c170 bit_pos = find_first_zero_bit(adev->seq64.used, adev->seq64.num_sem);
174 __set_bit(bit_pos, adev->seq64.used);
195 __clear_bit(bit_pos, adev->seq64.used);
246 memset(&adev->seq64.used, 0, sizeof(adev->seq64.used));
/linux-master/tools/virtio/ringtest/
H A Dvirtio_ring_0_9.c6 * Partial implementation of virtio 0.9. event index is used for signalling,
160 index = ring.used->ring[head].id;
167 if (ring.used->idx == guest.last_used_idx)
176 index = ring.used->ring[head].id;
183 *lenp = ring.used->ring[head].len;
202 unsigned index = ring.used->ring[head].id;
206 return ring.used->idx == last_used_idx;
307 /* now update used ring */
308 ring.used->ring[used_idx].id = head;
309 ring.used
[all...]
/linux-master/kernel/kcsan/
H A Ddebugfs.c40 * Addresses for filtering functions from reporting. This list can be used as a
46 int used; /* number of elements used */ member in struct:__anon502
52 .used = 0,
114 if (report_filterlist.used == 0)
119 sort(report_filterlist.addrs, report_filterlist.used,
124 report_filterlist.used, sizeof(unsigned long),
166 } else if (report_filterlist.used == report_filterlist.size) {
184 report_filterlist.addrs[report_filterlist.used++] =
210 report_filterlist.used
[all...]
/linux-master/drivers/vhost/
H A Dvringh.c85 while (len && iov->i < iov->used) {
116 while (len && iov->i < iov->used) {
320 riov->i = riov->used = riov->consumed = 0;
322 wiov->i = wiov->used = wiov->consumed = 0;
377 if (unlikely(wiov && wiov->used)) {
403 if (unlikely(iov->used == (iov->max_num & ~VRINGH_IOV_ALLOCATED))) {
409 iov->iov[iov->used].iov_base = addr;
410 iov->iov[iov->used].iov_len = len;
411 iov->used++;
448 const struct vring_used_elem *used,
447 __vringh_complete(struct vringh *vrh, const struct vring_used_elem *used, unsigned int num_used, int (*putu16)(const struct vringh *vrh, __virtio16 *p, u16 val), int (*putused)(const struct vringh *vrh, struct vring_used_elem *dst, const struct vring_used_elem *src, unsigned num)) argument
656 vringh_init_user(struct vringh *vrh, u64 features, unsigned int num, bool weak_barriers, vring_desc_t __user *desc, vring_avail_t __user *avail, vring_used_t __user *used) argument
810 struct vring_used_elem used; local
827 vringh_complete_multi_user(struct vringh *vrh, const struct vring_used_elem used[], unsigned num_used) argument
930 vringh_init_kern(struct vringh *vrh, u64 features, unsigned int num, bool weak_barriers, struct vring_desc *desc, struct vring_avail *avail, struct vring_used *used) argument
1058 struct vring_used_elem used; local
1406 vringh_init_iotlb(struct vringh *vrh, u64 features, unsigned int num, bool weak_barriers, struct vring_desc *desc, struct vring_avail *avail, struct vring_used *used) argument
1432 vringh_init_iotlb_va(struct vringh *vrh, u64 features, unsigned int num, bool weak_barriers, struct vring_desc *desc, struct vring_avail *avail, struct vring_used *used) argument
1568 struct vring_used_elem used; local
[all...]
/linux-master/arch/mips/mm/
H A Dinit.c59 * Not static inline because used by IP27 special magic initialization code
322 unsigned num_maars, used, i; local
326 unsigned used; member in struct:__anon62
341 if (recorded.used) {
342 used = maar_config(recorded.cfgs, recorded.used, num_maars / 2);
343 BUG_ON(used != recorded.used);
346 used = platform_maar_init(num_maars / 2);
350 for (i = (used *
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dtest_bpftool_metadata.sh73 bpftool prog load $BPF_FILE_USED $BPF_DIR/used
83 rm $BPF_DIR/used
/linux-master/include/linux/gpio/
H A Dgpio-nomadik.h95 .used = altc1_used,\
100 .used = altc2_used,\
105 .used = altc3_used,\
110 .used = altc4_used,\
139 * @used: other alternate-C function availability
140 * @reg_index: PRCM GPIOCR register index used to control the function
141 * @control_bit: PRCM GPIOCR bit used to control the function
144 bool used:1; member in struct:prcm_gpiocr_altcx
175 * configure them to be used by a function
259 * Symbols declared in gpio-nomadik used b
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dsta.c25 if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE))
30 if (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) {
36 priv->stations[sta_id].used |= IWL_STA_UCODE_ACTIVE;
256 if (!priv->stations[i].used &&
273 if (priv->stations[sta_id].used & IWL_STA_UCODE_INPROGRESS) {
279 if ((priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE) &&
280 (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) &&
288 station->used = IWL_STA_DRIVER_ACTIVE;
347 if (priv->stations[sta_id].used & IWL_STA_UCODE_INPROGRESS) {
354 if ((priv->stations[sta_id].used
[all...]
/linux-master/drivers/usb/misc/
H A Dchaoskey.c85 int used; /* bytes of buf consumed */ member in struct:chaoskey
326 dev->used = 0;
347 if (dev->valid != dev->used) {
348 usb_dbg(dev->interface, "not empty yet (valid %d used %d)",
349 dev->valid, dev->used);
437 if (dev->valid == dev->used) {
445 this_time = dev->valid - dev->used;
449 remain = copy_to_user(buffer, dev->buf + dev->used, this_time);
456 dev->used += this_time - remain;
464 dev->used
[all...]
/linux-master/fs/jfs/
H A Djfs_types.h151 #define setDASDUSED(dasdp, used)\
153 (dasdp)->used_hi = ((u64)used) >> 32;\
154 (dasdp)->used_lo = __cpu_to_le32(used);\
/linux-master/include/uapi/linux/
H A Dvirtio_ring.h19 * may be used to endorse or promote products derived from this software
48 * Mark a descriptor as available or used in packed ring.
54 /* The Host uses this in used->flags to advise the Guest: don't kick me when
83 /* The Guest publishes the used index for which it expects an interrupt
86 * at the end of the used ring. Guest should ignore the used->flags field. */
120 /* u32 is used here for ids for padding reasons. */
122 /* Index of start of used descriptor chain. */
124 /* Total length of the descriptor chain which was used (written to) */
145 * When used o
165 vring_used_t *used; member in struct:vring
[all...]
/linux-master/tools/perf/dlfilters/
H A Ddlfilter-show-cycles.c28 __u32 used; member in struct:entry
53 while (e->used) {
67 e->used = 1;
/linux-master/fs/ubifs/
H A Dtnc_commit.c432 int lnum, offs, len, next_len, buf_len, buf_offs, used, avail; local
444 used = 0;
465 used = 0;
469 offs = buf_offs + used;
510 wlen = used + len;
511 used += ALIGN(len, 8);
515 buf_offs + used + next_len <= c->leb_size &&
520 buf_offs + used + next_len <= c->leb_size)
530 c->leb_size - buf_offs, blen - used,
536 used
828 int i, lnum, offs, len, next_len, buf_len, buf_offs, used; local
[all...]

Completed in 196 milliseconds

1234567891011>>