/linux-master/kernel/ |
H A D | scs.c | 133 unsigned long *p, prev, curr = highest, used = 0; local 141 used += sizeof(*p); 144 while (used > curr) { 145 prev = cmpxchg_relaxed(&highest, curr, used); 149 tsk->comm, task_pid_nr(tsk), used);
|
/linux-master/lib/zlib_inflate/ |
H A D | inftrees.c | 15 lens shorts, which is used as a work area. type is the type of code 33 unsigned used; /* code entries in table used */ local 85 The length counts are used for other purposes as well, i.e. finding 137 filled is at next and has curr index bits. The code being used is huff 151 counts are used for this, and so count[] is decremented as codes are 154 used keeps track of how many table entries have been allocated from the 170 base = extra = work; /* dummy value--not used */ 194 used = 1U << root; /* use root table entries */ 195 mask = used [all...] |
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-syscfg-configfs.c | 58 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 D | meson-canvas.c | 38 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 D | vringh.h | 29 /* 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 D | tty_flip.h | 71 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 D | verifier_loops1.c | 152 static __naked __noinline __attribute__((used)) 225 static __naked __noinline __attribute__((used)) 250 static __naked __noinline __attribute__((used))
|
H A D | verifier_map_ptr_mixing.c | 147 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 D | bitext.c | 69 "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 D | cmp.h | 42 int cmp_connection_check_used(struct cmp_connection *connection, bool *used);
|
/linux-master/arch/arm64/include/asm/vdso/ |
H A D | compat_barrier.h | 10 * 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 D | ptrace-tm-spd-vsx.c | 20 __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 D | fastmap-wl.c | 23 * 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 D | amdgpu_seq64.h | 36 DECLARE_BITMAP(used, AMDGPU_MAX_SEQ64_SLOTS);
|
H A D | amdgpu_seq64.c | 170 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 D | virtio_ring_0_9.c | 6 * 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 D | debugfs.c | 40 * 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 D | vringh.c | 85 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 D | init.c | 60 * Not static inline because used by IP27 special magic initialization code 323 unsigned num_maars, used, i; local 327 unsigned used; member in struct:__anon20 342 if (recorded.used) { 343 used = maar_config(recorded.cfgs, recorded.used, num_maars / 2); 344 BUG_ON(used != recorded.used); 347 used = platform_maar_init(num_maars / 2); 351 for (i = (used * [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_bpftool_metadata.sh | 73 bpftool prog load $BPF_FILE_USED $BPF_DIR/used 83 rm $BPF_DIR/used
|
/linux-master/include/linux/gpio/ |
H A D | gpio-nomadik.h | 95 .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 D | sta.c | 25 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 D | chaoskey.c | 85 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/drivers/gpu/drm/xe/ |
H A D | xe_guc_id_mgr.c | 58 idm->used = 0; 82 idm_assert(idm, !idm->used); 133 * For IDs reservations (used on PF for VFs) we want to make 136 if (idm->used + count + retain > idm->total) 144 * For regular IDs reservations (used by submission code) 153 idm->used += count; 162 idm_assert(idm, count <= idm->used); 174 idm->used -= count; 259 drm_printf_indent(p, indent, "used %u\n", idm->used); [all...] |
/linux-master/fs/jfs/ |
H A D | jfs_types.h | 151 #define setDASDUSED(dasdp, used)\ 153 (dasdp)->used_hi = ((u64)used) >> 32;\ 154 (dasdp)->used_lo = __cpu_to_le32(used);\
|