used 242 arch/arc/include/asm/entry-arcv2.h btst r0, STATUS_U_BIT ; Z flag set if K, used in restoring SP used 113 arch/arm/include/asm/mpu.h unsigned int used; used 184 arch/arm/kernel/asm-offsets.c DEFINE(MPU_RNG_INFO_USED, offsetof(struct mpu_rgn_info, used)); used 411 arch/arm/mm/pmsa-v7.c mpu_rgn_info.used++; used 473 arch/arm/mm/pmsa-v7.c mpu_rgn_info.used, mpu_max_regions); used 155 arch/arm/mm/pmsa-v8.c mpu_rgn_info.used++; used 215 arch/arm/mm/pmsa-v8.c mpu_rgn_info.used++; used 306 arch/arm/mm/pmsa-v8.c mpu_rgn_info.used, mpu_max_regions); used 168 arch/arm/probes/uprobes/actions-arm.c unsigned used = reglist | (1 << rn); used 173 arch/arm/probes/uprobes/actions-arm.c if (!(used & (1 << 15))) used 176 arch/arm/probes/uprobes/actions-arm.c if (used & (1 << 14)) used 1873 arch/ia64/hp/common/sba_iommu.c int i, used = 0; used 1885 arch/ia64/hp/common/sba_iommu.c used += hweight64(*res_ptr); used 1888 arch/ia64/hp/common/sba_iommu.c seq_printf(s, "PDIR used : %d entries\n", used); used 13 arch/m68k/fpsp040/fpsp.h | These equates are used to access the exception frame, the fsave used 70 arch/m68k/fpsp040/fpsp.h | restored from the "local variable" area and can be used as used 105 arch/m68k/fpsp040/fpsp.h .set BINDEC_FLG,LV+117 | used in bindec used 106 arch/m68k/fpsp040/fpsp.h .set DNRM_FLG,LV+118 | used in res_func used 107 arch/m68k/fpsp040/fpsp.h .set RES_FLG,LV+119 | used in res_func used 135 arch/m68k/fpsp040/fpsp.h .set WBTEMP_SGN,WBTEMP+2 | used to store sign used 204 arch/m68k/fpsp040/fpsp.h .set FPTEMP_SGN,FPTEMP+2 | used to store sign used 211 arch/m68k/fpsp040/fpsp.h .set ETEMP_SGN,ETEMP+2 | used to store sign used 266 arch/m68k/fpsp040/fpsp.h | FPSR combinations used in the FPSP used 306 arch/m68k/fpsp040/fpsp.h | this can only be used if in a data register used 256 arch/mips/alchemy/common/dbdma.c u32 used, chan; used 278 arch/mips/alchemy/common/dbdma.c used = 0; used 293 arch/mips/alchemy/common/dbdma.c used++; used 296 arch/mips/alchemy/common/dbdma.c used++; used 299 arch/mips/alchemy/common/dbdma.c if (used) used 74 arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_enet.h int used; used 331 arch/mips/kernel/signal.c unsigned int used, ext_sz; used 334 arch/mips/kernel/signal.c used = used_math() ? USED_FP : 0; used 335 arch/mips/kernel/signal.c if (!used) used 339 arch/mips/kernel/signal.c used |= USED_FR1; used 341 arch/mips/kernel/signal.c used |= USED_HYBRID_FPRS; used 373 arch/mips/kernel/signal.c used |= ext_sz ? USED_EXTCONTEXT : 0; used 375 arch/mips/kernel/signal.c return __put_user(used, used_math); used 384 arch/mips/kernel/signal.c unsigned int used; used 387 arch/mips/kernel/signal.c err = __get_user(used, used_math); used 388 arch/mips/kernel/signal.c conditional_used_math(used & USED_FP); used 394 arch/mips/kernel/signal.c if (err || !(used & USED_FP)) used 398 arch/mips/kernel/signal.c if (!(used & USED_FP)) used 433 arch/mips/kernel/signal.c if (!err && (used & USED_EXTCONTEXT)) used 318 arch/mips/mm/init.c unsigned num_maars, used, i; used 322 arch/mips/mm/init.c unsigned used; used 337 arch/mips/mm/init.c if (recorded.used) { used 338 arch/mips/mm/init.c used = maar_config(recorded.cfgs, recorded.used, num_maars / 2); used 339 arch/mips/mm/init.c BUG_ON(used != recorded.used); used 342 arch/mips/mm/init.c used = platform_maar_init(num_maars / 2); used 346 arch/mips/mm/init.c for (i = (used * 2); i < num_maars; i++) { used 353 arch/mips/mm/init.c if (recorded.used) used 384 arch/mips/mm/init.c if (used <= ARRAY_SIZE(recorded.cfgs)) { used 385 arch/mips/mm/init.c recorded.cfgs[recorded.used].lower = lower; used 386 arch/mips/mm/init.c recorded.cfgs[recorded.used].upper = upper; used 387 arch/mips/mm/init.c recorded.cfgs[recorded.used].attrs = attr; used 388 arch/mips/mm/init.c recorded.used++; used 30 arch/powerpc/mm/book3s64/iommu_api.c unsigned long used; used 144 arch/powerpc/mm/book3s64/iommu_api.c mem->used = 1; used 252 arch/powerpc/mm/book3s64/iommu_api.c if (mem->used == 0) { used 257 arch/powerpc/mm/book3s64/iommu_api.c --mem->used; used 259 arch/powerpc/mm/book3s64/iommu_api.c if (mem->used) used 264 arch/powerpc/mm/book3s64/iommu_api.c ++mem->used; used 330 arch/powerpc/mm/book3s64/iommu_api.c ++mem->used; used 237 arch/powerpc/mm/nohash/mmu_context.c int used = test_bit(id, context_map); used 238 arch/powerpc/mm/nohash/mmu_context.c if (!used) used 240 arch/powerpc/mm/nohash/mmu_context.c if (used != (context_mm[id] != NULL)) used 242 arch/powerpc/mm/nohash/mmu_context.c id, used ? "used" : "free", context_mm[id]); used 33 arch/s390/kernel/perf_cpum_cf_diag.c size_t used; /* Bytes used in data/start */ used 503 arch/s390/kernel/perf_cpum_cf_diag.c raw.frag.size = csd->used; used 505 arch/s390/kernel/perf_cpum_cf_diag.c raw.size = csd->used; used 538 arch/s390/kernel/perf_cpum_cf_diag.c csd->used = cf_diag_getctr(csd->start, sizeof(csd->start), used 557 arch/s390/kernel/perf_cpum_cf_diag.c csd->used = cf_diag_getctr(csd->data, sizeof(csd->data), used 17 arch/sparc/include/asm/bitext.h int used; used 70 arch/sparc/lib/bitext.c t->size, t->used, offset, len, align, count); used 91 arch/sparc/lib/bitext.c t->used += len; used 107 arch/sparc/lib/bitext.c if (t->used < len) used 117 arch/sparc/lib/bitext.c t->used -= len; used 199 arch/sparc/mm/srmmu.c srmmu_nocache_map.used << SRMMU_NOCACHE_BITMAP_SHIFT); used 1013 arch/sparc/mm/srmmu.c srmmu_nocache_map.used << SRMMU_NOCACHE_BITMAP_SHIFT); used 88 arch/um/drivers/vhost_user.h u64 desc, used, avail, log; used 603 arch/um/drivers/virtio_uml.c u32 index, u64 desc, u64 used, u64 avail, used 611 arch/um/drivers/virtio_uml.c .payload.vring_addr.used = used, used 133 arch/um/os-Linux/drivers/tuntap_user.c int err, fds[2], len, used; used 170 arch/um/os-Linux/drivers/tuntap_user.c used = 0; used 173 arch/um/os-Linux/drivers/tuntap_user.c fds[1], buffer, len, &used); used 40 arch/um/os-Linux/sigio.c int used; used 61 arch/um/os-Linux/sigio.c n = poll(fds->poll, fds->used, -1); used 68 arch/um/os-Linux/sigio.c for (i = 0; i < fds->used; i++) { used 87 arch/um/os-Linux/sigio.c fds->used--; used 89 arch/um/os-Linux/sigio.c (fds->used - i) * sizeof(*fds->poll)); used 117 arch/um/os-Linux/sigio.c memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); used 173 arch/um/os-Linux/sigio.c for (i = 0; i < all_sigio_fds.used; i++) { used 177 arch/um/os-Linux/sigio.c if (i == all_sigio_fds.used) used 182 arch/um/os-Linux/sigio.c for (i = 0; i < current_poll.used; i++) { used 187 arch/um/os-Linux/sigio.c n = current_poll.used; used 193 arch/um/os-Linux/sigio.c current_poll.used * sizeof(struct pollfd)); used 195 arch/um/os-Linux/sigio.c next_poll.used = n + 1; used 216 arch/um/os-Linux/sigio.c for (i = 0; i < current_poll.used; i++) { used 220 arch/um/os-Linux/sigio.c if (i == current_poll.used) used 223 arch/um/os-Linux/sigio.c err = need_poll(&next_poll, current_poll.used - 1); used 227 arch/um/os-Linux/sigio.c for (i = 0; i < current_poll.used; i++) { used 232 arch/um/os-Linux/sigio.c next_poll.used = current_poll.used - 1; used 299 arch/um/os-Linux/sigio.c .used = 1, used 327 arch/um/os-Linux/sigio.c .used = 0 }); used 346 arch/um/os-Linux/sigio.c err = need_poll(&all_sigio_fds, all_sigio_fds.used + 1); used 353 arch/um/os-Linux/sigio.c all_sigio_fds.poll[all_sigio_fds.used++] = used 81 arch/x86/boot/video.h #define __videocard struct card_info __attribute__((used,section(".videocards"))) used 701 arch/x86/events/core.c unsigned long used[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; used 759 arch/x86/events/core.c clear_bit(sched->state.counter++, sched->state.used); used 784 arch/x86/events/core.c if (!__test_and_set_bit(idx, sched->state.used)) used 792 arch/x86/events/core.c if (!__test_and_set_bit(idx, sched->state.used)) { used 600 arch/x86/kernel/alternative.c unsigned int used; used 605 arch/x86/kernel/alternative.c used = pv_ops.init.patch(p->type, insn_buff, (unsigned long)p->instr, p->len); used 607 arch/x86/kernel/alternative.c BUG_ON(used > p->len); used 610 arch/x86/kernel/alternative.c add_nops(insn_buff + used, p->len - used); used 2541 arch/x86/kernel/apic/io_apic.c DECLARE_BITMAP(used, 256); used 2546 arch/x86/kernel/apic/io_apic.c bitmap_zero(used, 256); used 2548 arch/x86/kernel/apic/io_apic.c __set_bit(mpc_ioapic_id(i), used); used 2551 arch/x86/kernel/apic/io_apic.c if (!test_bit(id, used)) used 2562 arch/x86/kernel/apic/io_apic.c if (!test_bit(new_id, used)) { used 2572 arch/x86/kernel/apic/io_apic.c new_id = find_first_zero_bit(used, 256); used 97 arch/xtensa/kernel/setup.c __attribute__((used, section(".taglist"))) = { tag, fn } used 583 crypto/af_alg.c void af_alg_pull_tsgl(struct sock *sk, size_t used, struct scatterlist *dst, used 598 crypto/af_alg.c size_t plen = min_t(size_t, used, sg[i].length); used 626 crypto/af_alg.c used -= plen; used 627 crypto/af_alg.c ctx->used -= plen; used 640 crypto/af_alg.c if (!ctx->used) used 761 crypto/af_alg.c if (sk_wait_event(sk, &timeout, (ctx->used || !ctx->more), used 786 crypto/af_alg.c if (!ctx->used) used 850 crypto/af_alg.c if (!ctx->more && ctx->used) { used 886 crypto/af_alg.c ctx->used += len; used 932 crypto/af_alg.c ctx->used += plen; used 974 crypto/af_alg.c if (!ctx->more && ctx->used) used 1001 crypto/af_alg.c ctx->used += size; used 1066 crypto/af_alg.c if (!ctx->more || ctx->used) used 58 crypto/algif_aead.c return ctx->used >= ctx->aead_assoclen + (ctx->enc ? 0 : as); used 104 crypto/algif_aead.c size_t used = 0; /* [in] TX bufs to be en/decrypted */ used 109 crypto/algif_aead.c if (!ctx->used) { used 119 crypto/algif_aead.c used = ctx->used; used 142 crypto/algif_aead.c outlen = used + as; used 144 crypto/algif_aead.c outlen = used - as; used 150 crypto/algif_aead.c used -= ctx->aead_assoclen; used 173 crypto/algif_aead.c if (used < less) { used 177 crypto/algif_aead.c used -= less; used 181 crypto/algif_aead.c processed = used + ctx->aead_assoclen; used 281 crypto/algif_aead.c areq->first_rsgl.sgl.sg, used, ctx->iv); used 535 crypto/algif_aead.c af_alg_pull_tsgl(sk, ctx->used, NULL, 0); used 564 crypto/algif_aead.c ctx->used = 0; used 64 crypto/algif_skcipher.c if (!ctx->used) { used 82 crypto/algif_skcipher.c if (len > ctx->used) used 83 crypto/algif_skcipher.c len = ctx->used; used 89 crypto/algif_skcipher.c if (ctx->more || len < ctx->used) used 327 crypto/algif_skcipher.c af_alg_pull_tsgl(sk, ctx->used, NULL, 0); used 355 crypto/algif_skcipher.c ctx->used = 0; used 813 drivers/acpi/pci_link.c static int __init acpi_irq_penalty_update(char *str, int used) used 831 drivers/acpi/pci_link.c if (used) used 653 drivers/atm/idt77252.c atomic_set(&scq->used, 0); used 712 drivers/atm/idt77252.c atomic_inc(&scq->used); used 713 drivers/atm/idt77252.c entries = atomic_read(&scq->used); used 715 drivers/atm/idt77252.c atomic_dec(&scq->used); used 768 drivers/atm/idt77252.c TXPRINTK("%d entries in SCQ used (push).\n", atomic_read(&scq->used)); used 771 drivers/atm/idt77252.c card->name, atomic_read(&scq->used), used 798 drivers/atm/idt77252.c card->name, atomic_read(&scq->used), scq->next); used 817 drivers/atm/idt77252.c atomic_dec(&scq->used); used 2545 drivers/atm/idt77252.c while (atomic_read(&vc->scq->used) > 0) { used 2549 drivers/atm/idt77252.c card->name, atomic_read(&vc->scq->used)); used 167 drivers/atm/idt77252.h atomic_t used; used 498 drivers/block/drbd/drbd_actlog.c available_update_slots = min(al->nr_elements - al->used, used 1229 drivers/block/drbd/drbd_actlog.c D_ASSERT(device, device->resync->used == 0); used 1021 drivers/block/drbd/drbd_req.c if (device->act_log->used >= nc->cong_extents) { used 506 drivers/char/random.c __u8 tmp[CHACHA_BLOCK_SIZE], int used); used 1087 drivers/char/random.c __u8 tmp[CHACHA_BLOCK_SIZE], int used) used 1093 drivers/char/random.c used = round_up(used, sizeof(__u32)); used 1094 drivers/char/random.c if (used + CHACHA_KEY_SIZE > CHACHA_BLOCK_SIZE) { used 1096 drivers/char/random.c used = 0; used 1099 drivers/char/random.c s = (__u32 *) &tmp[used]; used 1106 drivers/char/random.c static void crng_backtrack_protect(__u8 tmp[CHACHA_BLOCK_SIZE], int used) used 1116 drivers/char/random.c _crng_backtrack_protect(crng, tmp, used); used 472 drivers/crypto/hisilicon/qm.c atomic_dec(&qp->qp_status.used); used 1091 drivers/crypto/hisilicon/qm.c if (unlikely(atomic_read(&qp->qp_status.used) == QM_Q_DEPTH)) used 1332 drivers/crypto/hisilicon/qm.c while (atomic_read(&qp->qp_status.used)) { used 1375 drivers/crypto/hisilicon/qm.c atomic_inc(&qp->qp_status.used); used 166 drivers/crypto/hisilicon/qm.h atomic_t used; used 712 drivers/crypto/hisilicon/sec/sec_drv.c atomic_dec(&msg_ring->used); used 846 drivers/crypto/hisilicon/sec/sec_drv.c return !atomic_read(&msg_ring->used); used 866 drivers/crypto/hisilicon/sec/sec_drv.c if (write == read && atomic_read(&msg_ring->used) == SEC_QUEUE_LEN) { used 878 drivers/crypto/hisilicon/sec/sec_drv.c atomic_inc(&msg_ring->used); used 888 drivers/crypto/hisilicon/sec/sec_drv.c return SEC_QUEUE_LEN - atomic_read(&msg_ring->used) >= num; used 1090 drivers/crypto/hisilicon/sec/sec_drv.c atomic_set(&ring_cmd->used, 0); used 181 drivers/crypto/hisilicon/sec/sec_drv.h atomic_t used; used 71 drivers/dma/dmaengine.h dma_cookie_t used, complete; used 73 drivers/dma/dmaengine.h used = chan->cookie; used 78 drivers/dma/dmaengine.h state->used = used; used 81 drivers/dma/dmaengine.h return dma_async_is_complete(cookie, complete, used); used 113 drivers/firewire/ohci.c size_t used; used 1073 drivers/firewire/ohci.c address >= desc->buffer_bus + desc->used) used 1086 drivers/firewire/ohci.c old_desc->used = 0; used 1126 drivers/firewire/ohci.c desc->used = 0; used 1159 drivers/firewire/ohci.c ctx->buffer_tail->used += sizeof(*ctx->buffer_tail->buffer); used 1188 drivers/firewire/ohci.c if (z * sizeof(*d) > desc->buffer_size - desc->used) { used 1203 drivers/firewire/ohci.c d = desc->buffer + desc->used / sizeof(*d); used 1205 drivers/firewire/ohci.c *d_bus = desc->buffer_bus + desc->used; used 1231 drivers/firewire/ohci.c desc->used += (z + extra) * sizeof(*d); used 512 drivers/gpu/drm/amd/amdgpu/amdgpu.h unsigned long used[DIV_ROUND_UP(AMDGPU_MAX_WB, BITS_PER_LONG)]; used 697 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c memset(&adev->wb.used, 0, sizeof(adev->wb.used)); used 717 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c unsigned long offset = find_first_zero_bit(adev->wb.used, adev->wb.num_wb); used 720 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c __set_bit(offset, adev->wb.used); used 740 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c __clear_bit(wb, adev->wb.used); used 807 drivers/gpu/drm/drm_bufs.c buf->used = 0; used 1007 drivers/gpu/drm/drm_bufs.c buf->used = 0; used 1169 drivers/gpu/drm/drm_bufs.c buf->used = 0; used 1563 drivers/gpu/drm/drm_bufs.c if (clear_user(&request->list[idx].used, sizeof(int))) used 138 drivers/gpu/drm/drm_dma.c buf->used = 0; used 420 drivers/gpu/drm/drm_ioc32.c int used; /**< Amount of buffer in use (for DMA) */ used 439 drivers/gpu/drm/drm_ioc32.c v.used = 0; used 59 drivers/gpu/drm/i810/i810_dma.c int used; used 67 drivers/gpu/drm/i810/i810_dma.c used = cmpxchg(buf_priv->in_use, I810_BUF_FREE, used 69 drivers/gpu/drm/i810/i810_dma.c if (used == I810_BUF_FREE) used 82 drivers/gpu/drm/i810/i810_dma.c int used; used 85 drivers/gpu/drm/i810/i810_dma.c used = cmpxchg(buf_priv->in_use, I810_BUF_CLIENT, I810_BUF_FREE); used 86 drivers/gpu/drm/i810/i810_dma.c if (used != I810_BUF_CLIENT) { used 714 drivers/gpu/drm/i810/i810_dma.c struct drm_buf *buf, int discard, int used) used 731 drivers/gpu/drm/i810/i810_dma.c if (used < 0 || used > 4 * 1024) used 732 drivers/gpu/drm/i810/i810_dma.c used = 0; used 741 drivers/gpu/drm/i810/i810_dma.c ((GFX_OP_PRIMITIVE | prim | ((used / 4) - 2))); used 743 drivers/gpu/drm/i810/i810_dma.c if (used & 4) { used 744 drivers/gpu/drm/i810/i810_dma.c *(u32 *) ((char *) buf_priv->kernel_virtual + used) = 0; used 745 drivers/gpu/drm/i810/i810_dma.c used += 4; used 751 drivers/gpu/drm/i810/i810_dma.c if (used) { used 767 drivers/gpu/drm/i810/i810_dma.c OUT_RING(start + used - 4); used 876 drivers/gpu/drm/i810/i810_dma.c int used = cmpxchg(buf_priv->in_use, I810_BUF_HARDWARE, used 879 drivers/gpu/drm/i810/i810_dma.c if (used == I810_BUF_HARDWARE) used 881 drivers/gpu/drm/i810/i810_dma.c if (used == I810_BUF_CLIENT) used 909 drivers/gpu/drm/i810/i810_dma.c int used = cmpxchg(buf_priv->in_use, I810_BUF_CLIENT, used 912 drivers/gpu/drm/i810/i810_dma.c if (used == I810_BUF_CLIENT) used 942 drivers/gpu/drm/i810/i810_dma.c vertex->idx, vertex->used, vertex->discard); used 949 drivers/gpu/drm/i810/i810_dma.c vertex->discard, vertex->used); used 1034 drivers/gpu/drm/i810/i810_dma.c static void i810_dma_dispatch_mc(struct drm_device *dev, struct drm_buf *buf, int used, used 1051 drivers/gpu/drm/i810/i810_dma.c if (used < 0 || used > 4 * 1024) used 1052 drivers/gpu/drm/i810/i810_dma.c used = 0; used 1056 drivers/gpu/drm/i810/i810_dma.c DRM_DEBUG("addr 0x%lx, used 0x%x\n", address, used); used 1061 drivers/gpu/drm/i810/i810_dma.c DRM_DEBUG("used : %d\n", used); used 1062 drivers/gpu/drm/i810/i810_dma.c DRM_DEBUG("start + used - 4 : %ld\n", start + used - 4); used 1065 drivers/gpu/drm/i810/i810_dma.c if (used & 4) { used 1066 drivers/gpu/drm/i810/i810_dma.c *(u32 *) ((char *) buf_priv->virtual + used) = 0; used 1067 drivers/gpu/drm/i810/i810_dma.c used += 4; used 1075 drivers/gpu/drm/i810/i810_dma.c OUT_RING(start + used - 4); used 1107 drivers/gpu/drm/i810/i810_dma.c i810_dma_dispatch_mc(dev, dma->buflist[mc->idx], mc->used, used 317 drivers/gpu/drm/i915/gt/intel_lrc.c return ((p->priority + 1) << I915_USER_PRIORITY_SHIFT) - ffs(p->used); used 34 drivers/gpu/drm/i915/gt/intel_mocs.c u16 used; used 90 drivers/gpu/drm/i915/gt/intel_mocs.c .used = 1, \ used 354 drivers/gpu/drm/i915/gt/intel_mocs.c if (table->table[index].used) used 479 drivers/gpu/drm/i915/gt/intel_mocs.c if (table->table[index].used) used 301 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c u32 used; /* in dwords */ used 316 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c used = (size - head) + tail; used 318 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c used = tail - head; used 321 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c if (unlikely(used + len + 1 >= size)) used 718 drivers/gpu/drm/i915/i915_gem_gtt.c atomic_set(&pt->used, 0); used 806 drivers/gpu/drm/i915/i915_gem_gtt.c if (atomic_add_unless(&pt->used, -1, 1)) used 810 drivers/gpu/drm/i915/i915_gem_gtt.c if (atomic_dec_and_test(&pt->used)) { used 981 drivers/gpu/drm/i915/i915_gem_gtt.c if (atomic_fetch_inc(&pt->used) >> gen8_pd_shift(1) && used 1002 drivers/gpu/drm/i915/i915_gem_gtt.c atomic_read(&pt->used)); used 1003 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!count || count >= atomic_read(&pt->used)); used 1011 drivers/gpu/drm/i915/i915_gem_gtt.c atomic_sub(count, &pt->used); used 1098 drivers/gpu/drm/i915/i915_gem_gtt.c atomic_inc(&pt->used); used 1110 drivers/gpu/drm/i915/i915_gem_gtt.c atomic_dec(&pt->used); used 1111 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!atomic_read(&pt->used)); used 1118 drivers/gpu/drm/i915/i915_gem_gtt.c atomic_read(&pt->used)); used 1120 drivers/gpu/drm/i915/i915_gem_gtt.c atomic_add(count, &pt->used); used 1122 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(atomic_read(&pt->used) > 2 * I915_PDES); used 1624 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(count > atomic_read(&pt->used)); used 1625 drivers/gpu/drm/i915/i915_gem_gtt.c if (!atomic_sub_return(count, &pt->used)) used 1730 drivers/gpu/drm/i915/i915_gem_gtt.c atomic_add(count, &pt->used); used 1852 drivers/gpu/drm/i915/i915_gem_gtt.c if (px_base(pt) == scratch || atomic_read(&pt->used)) used 238 drivers/gpu/drm/i915/i915_gem_gtt.h atomic_t used; used 266 drivers/gpu/drm/i915/i915_gem_gtt.h #define px_used(px) (&px_pt(px)->used) used 48 drivers/gpu/drm/i915/i915_priolist_types.h unsigned long used; used 61 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(!p->used); used 66 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(!(p->used & BIT(i))); used 132 drivers/gpu/drm/i915/i915_scheduler.c p->used = 0; used 135 drivers/gpu/drm/i915/i915_scheduler.c p->used |= BIT(idx); used 22 drivers/gpu/drm/i915/i915_scheduler.h (plist)->used ? (idx = __ffs((plist)->used)), 1 : 0; \ used 23 drivers/gpu/drm/i915/i915_scheduler.h (plist)->used &= ~BIT(idx)) \ used 628 drivers/gpu/drm/mga/mga_state.c u32 length = (u32) buf->used; used 631 drivers/gpu/drm/mga/mga_state.c DRM_DEBUG("buf=%d used=%d\n", buf->idx, buf->used); used 633 drivers/gpu/drm/mga/mga_state.c if (buf->used) { used 660 drivers/gpu/drm/mga/mga_state.c buf->used = 0; used 706 drivers/gpu/drm/mga/mga_state.c buf->used = 0; used 728 drivers/gpu/drm/mga/mga_state.c DRM_DEBUG("buf=%d used=%d\n", buf->idx, buf->used); used 758 drivers/gpu/drm/mga/mga_state.c buf->used = 0; used 885 drivers/gpu/drm/mga/mga_state.c buf->used = vertex->used; used 16 drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h bool used:1; /* Region allocated. */ used 79 drivers/gpu/drm/nouveau/nouveau_bo.c if (!tile->used && used 81 drivers/gpu/drm/nouveau/nouveau_bo.c tile->used = true; used 98 drivers/gpu/drm/nouveau/nouveau_bo.c tile->used = false; used 72 drivers/gpu/drm/nouveau/nouveau_drv.h bool used; used 144 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c bool used = false; used 155 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c used = true; used 162 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c if (used) used 363 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c const bool used = (stat & 0x00000001); used 368 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (!used) used 775 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c new->used = vma->used; used 956 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vma->used ? '-' : 'F', used 1026 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vma->used = true; used 1526 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if ((prev = node(vma, prev)) && !prev->used) { used 1532 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if ((next = node(vma, next)) && !next->used) { used 1618 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vma->used = false; used 1767 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vma->used = true; used 578 drivers/gpu/drm/r128/r128_state.c int size = buf->used; used 587 drivers/gpu/drm/r128/r128_state.c if (buf->used) { used 629 drivers/gpu/drm/r128/r128_state.c buf->used = 0; used 687 drivers/gpu/drm/r128/r128_state.c buf->used = 0; used 865 drivers/gpu/drm/r128/r128_state.c buf->used = (dwords + 8) * sizeof(u32); used 867 drivers/gpu/drm/r128/r128_state.c r128_cce_dispatch_indirect(dev, buf, 0, buf->used); used 1356 drivers/gpu/drm/r128/r128_state.c buf->used = vertex->count; used 1416 drivers/gpu/drm/r128/r128_state.c if (elts->start < buf->used) { used 1417 drivers/gpu/drm/r128/r128_state.c DRM_ERROR("no header 0x%x - 0x%x\n", elts->start, buf->used); used 1421 drivers/gpu/drm/r128/r128_state.c buf->used = elts->end; used 1550 drivers/gpu/drm/r128/r128_state.c if (indirect->start < buf->used) { used 1552 drivers/gpu/drm/r128/r128_state.c indirect->start, buf->used); used 1559 drivers/gpu/drm/r128/r128_state.c buf->used = indirect->end; used 725 drivers/gpu/drm/radeon/radeon.h DECLARE_BITMAP(used, RADEON_MAX_DOORBELLS); used 354 drivers/gpu/drm/radeon/radeon_device.c memset(&rdev->doorbell.used, 0, sizeof(rdev->doorbell.used)); used 383 drivers/gpu/drm/radeon/radeon_device.c unsigned long offset = find_first_zero_bit(rdev->doorbell.used, rdev->doorbell.num_doorbells); used 385 drivers/gpu/drm/radeon/radeon_device.c __set_bit(offset, rdev->doorbell.used); used 404 drivers/gpu/drm/radeon/radeon_device.c __clear_bit(doorbell, rdev->doorbell.used); used 318 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[i].used = 0; used 337 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[i].used = 0; used 376 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[cur].used; used 383 drivers/gpu/drm/savage/savage_bci.c cur, dev_priv->dma_pages[cur].used, n, rest, nr_pages); used 387 drivers/gpu/drm/savage/savage_bci.c cur * SAVAGE_DMA_PAGE_SIZE + dev_priv->dma_pages[cur].used; used 390 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[cur].used += rest; used 399 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[i].used = 0; used 407 drivers/gpu/drm/savage/savage_bci.c if (dev_priv->dma_pages[i].used) { used 409 drivers/gpu/drm/savage/savage_bci.c i, dev_priv->dma_pages[i].used); used 413 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[i].used = SAVAGE_DMA_PAGE_SIZE; used 415 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[i].used = n; used 421 drivers/gpu/drm/savage/savage_bci.c i, dev_priv->dma_pages[i].used, n); used 438 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[cur].used == dev_priv->dma_pages[cur].flushed) used 443 drivers/gpu/drm/savage/savage_bci.c pad = -dev_priv->dma_pages[cur].used & 1; used 444 drivers/gpu/drm/savage/savage_bci.c align = -(dev_priv->dma_pages[cur].used + pad) & 7; used 449 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[cur].used, pad, align); used 454 drivers/gpu/drm/savage/savage_bci.c cur * SAVAGE_DMA_PAGE_SIZE + dev_priv->dma_pages[cur].used; used 455 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[cur].used += pad; used 469 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[cur].used - dev_priv->dma_pages[first].flushed; used 480 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[cur].used += align; used 487 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[i].used = 0; used 491 drivers/gpu/drm/savage/savage_bci.c if (dev_priv->dma_pages[cur].used == SAVAGE_DMA_PAGE_SIZE) { used 493 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[cur].used = 0; used 502 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[cur].flushed = dev_priv->dma_pages[i].used; used 507 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[cur].used, used 517 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[dev_priv->current_dma_page].used == 0) used 522 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[dev_priv->current_dma_page].used); used 525 drivers/gpu/drm/savage/savage_bci.c i <= dev_priv->current_dma_page && dev_priv->dma_pages[i].used; used 532 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[i].used != SAVAGE_DMA_PAGE_SIZE) { used 534 drivers/gpu/drm/savage/savage_bci.c i, dev_priv->dma_pages[i].used); used 537 drivers/gpu/drm/savage/savage_bci.c BEGIN_BCI(dev_priv->dma_pages[i].used); used 538 drivers/gpu/drm/savage/savage_bci.c for (j = 0; j < dev_priv->dma_pages[i].used; ++j) { used 541 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages[i].used = 0; used 72 drivers/gpu/drm/savage/savage_drv.h unsigned int used, flushed; used 520 drivers/gpu/drm/savage/savage_drv.h dev_priv->dma_pages[cur].used; \ used 526 drivers/gpu/drm/savage/savage_drv.h dev_priv->dma_pages[cur].used; \ used 527 drivers/gpu/drm/savage/savage_drv.h if (dev_priv->dma_pages[cur].used == 0) \ used 529 drivers/gpu/drm/savage/savage_drv.h dev_priv->dma_pages[cur].used += (n); \ used 545 drivers/gpu/drm/savage/savage_drv.h dev_priv->dma_pages[cur].used; \ used 851 drivers/gpu/drm/vc4/vc4_drv.h int vc4_v3d_bin_bo_get(struct vc4_dev *vc4, bool *used); used 317 drivers/gpu/drm/vc4/vc4_v3d.c int vc4_v3d_bin_bo_get(struct vc4_dev *vc4, bool *used) used 323 drivers/gpu/drm/vc4/vc4_v3d.c if (used && *used) used 331 drivers/gpu/drm/vc4/vc4_v3d.c if (ret == 0 && used) used 332 drivers/gpu/drm/vc4/vc4_v3d.c *used = true; used 542 drivers/gpu/drm/vmwgfx/vmwgfx_so.c static void vmw_so_build_asserts(void) __attribute__((used)); used 1260 drivers/hwmon/abituguru.c int i, j, used, sysfs_names_free, sysfs_attr_i, res = -ENODEV; used 1341 drivers/hwmon/abituguru.c used = snprintf(sysfs_filename, sysfs_names_free, used 1350 drivers/hwmon/abituguru.c sysfs_filename += used; used 1351 drivers/hwmon/abituguru.c sysfs_names_free -= used; used 1364 drivers/hwmon/abituguru.c used = snprintf(sysfs_filename, sysfs_names_free, used 1372 drivers/hwmon/abituguru.c sysfs_filename += used; used 1373 drivers/hwmon/abituguru.c sysfs_names_free -= used; used 1381 drivers/hwmon/abituguru.c used = snprintf(sysfs_filename, sysfs_names_free, used 1389 drivers/hwmon/abituguru.c sysfs_filename += used; used 1390 drivers/hwmon/abituguru.c sysfs_names_free -= used; used 963 drivers/hwmon/abituguru3.c int i, j, type, used, sysfs_names_free, sysfs_attr_i, res = -ENODEV; used 1015 drivers/hwmon/abituguru3.c used = snprintf(sysfs_filename, sysfs_names_free, used 1023 drivers/hwmon/abituguru3.c sysfs_filename += used; used 1024 drivers/hwmon/abituguru3.c sysfs_names_free -= used; used 152 drivers/hwtracing/coresight/coresight-tmc-etf.c bool used = false; used 201 drivers/hwtracing/coresight/coresight-tmc-etf.c used = true; used 211 drivers/hwtracing/coresight/coresight-tmc-etf.c used = false; used 217 drivers/hwtracing/coresight/coresight-tmc-etf.c if (!used) used 77 drivers/infiniband/hw/hfi1/affinity.c cpumask_clear(&set->used); used 84 drivers/infiniband/hw/hfi1/affinity.c if (cpumask_equal(&set->mask, &set->used)) { used 90 drivers/infiniband/hw/hfi1/affinity.c cpumask_clear(&set->used); used 96 drivers/infiniband/hw/hfi1/affinity.c if (cpumask_empty(&set->used) && set->gen) { used 98 drivers/infiniband/hw/hfi1/affinity.c cpumask_copy(&set->used, &set->mask); used 113 drivers/infiniband/hw/hfi1/affinity.c cpumask_andnot(diff, &set->mask, &set->used); used 119 drivers/infiniband/hw/hfi1/affinity.c cpumask_set_cpu(cpu, &set->used); used 129 drivers/infiniband/hw/hfi1/affinity.c cpumask_clear_cpu(cpu, &set->used); used 173 drivers/infiniband/hw/hfi1/affinity.c cpumask_clear(&node_affinity.proc.used); used 383 drivers/infiniband/hw/hfi1/affinity.c cpumask_andnot(available_cpus, &set->mask, &set->used); used 387 drivers/infiniband/hw/hfi1/affinity.c &entry->def_intr.used); used 399 drivers/infiniband/hw/hfi1/affinity.c cpumask_set_cpu(cpu, &set->used); used 822 drivers/infiniband/hw/hfi1/affinity.c cpumask_set_cpu(cpu, &set->used); used 834 drivers/infiniband/hw/hfi1/affinity.c cpumask_clear_cpu(old_cpu, &set->used); used 996 drivers/infiniband/hw/hfi1/affinity.c cpumask_andnot(&set->used, &set->used, &msix->mask); used 1060 drivers/infiniband/hw/hfi1/affinity.c cpumask_set_cpu(cpu, &set->used); used 1118 drivers/infiniband/hw/hfi1/affinity.c &entry->def_intr.used)); used 1121 drivers/infiniband/hw/hfi1/affinity.c &entry->rcv_intr.used)); used 1145 drivers/infiniband/hw/hfi1/affinity.c cpumask_andnot(diff, hw_thread_mask, &set->used); used 1159 drivers/infiniband/hw/hfi1/affinity.c cpumask_andnot(available_mask, available_mask, &set->used); used 1185 drivers/infiniband/hw/hfi1/affinity.c cpumask_andnot(available_mask, hw_thread_mask, &set->used); used 1207 drivers/infiniband/hw/hfi1/affinity.c cpumask_set_cpu(cpu, &set->used); used 69 drivers/infiniband/hw/hfi1/affinity.h struct cpumask used; used 14104 drivers/infiniband/hw/hfi1/chip.c unsigned int used; used 14134 drivers/infiniband/hw/hfi1/chip.c rmt->used = 0; used 14267 drivers/infiniband/hw/hfi1/chip.c if (rmt->used + rmt_entries >= NUM_MAP_ENTRIES) used 14279 drivers/infiniband/hw/hfi1/chip.c idx = rmt->used + ((qpn << n) ^ i); used 14294 drivers/infiniband/hw/hfi1/chip.c rrd.offset = rmt->used; used 14311 drivers/infiniband/hw/hfi1/chip.c rmt->used += rmt_entries; used 14339 drivers/infiniband/hw/hfi1/chip.c if (rmt->used + total_cnt >= NUM_MAP_ENTRIES) { used 14354 drivers/infiniband/hw/hfi1/chip.c offset = (u8)(NUM_MAP_ENTRIES + rmt->used - start); used 14356 drivers/infiniband/hw/hfi1/chip.c for (i = start, idx = rmt->used; i < dd->num_rcv_contexts; used 14392 drivers/infiniband/hw/hfi1/chip.c rmt->used += total_cnt; used 14485 drivers/infiniband/hw/hfi1/chip.c dd->vnic.rmt_start = rmt->used; used 528 drivers/infiniband/hw/hfi1/debugfs.c static void check_dyn_flag(u64 scratch0, char *p, int size, int *used, used 535 drivers/infiniband/hw/hfi1/debugfs.c *used += scnprintf(p + *used, size - *used, used 551 drivers/infiniband/hw/hfi1/debugfs.c int used; used 557 drivers/infiniband/hw/hfi1/debugfs.c used = 0; used 563 drivers/infiniband/hw/hfi1/debugfs.c used += scnprintf(tmp + used, size - used, used 568 drivers/infiniband/hw/hfi1/debugfs.c used += scnprintf(tmp + used, size - used, used 575 drivers/infiniband/hw/hfi1/debugfs.c check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, used 577 drivers/infiniband/hw/hfi1/debugfs.c check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, used 579 drivers/infiniband/hw/hfi1/debugfs.c check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, used 581 drivers/infiniband/hw/hfi1/debugfs.c check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, used 584 drivers/infiniband/hw/hfi1/debugfs.c used += scnprintf(tmp + used, size - used, "Write bits to clear\n"); used 586 drivers/infiniband/hw/hfi1/debugfs.c ret = simple_read_from_buffer(buf, count, ppos, tmp, used); used 123 drivers/infiniband/hw/hfi1/exp_rcv.h u8 used; used 1208 drivers/infiniband/hw/hfi1/tid_rdma.c cnt, grp->map, grp->used); used 1214 drivers/infiniband/hw/hfi1/tid_rdma.c grp->base, grp->map, grp->used, cnt); used 1235 drivers/infiniband/hw/hfi1/tid_rdma.c struct tid_group *group = NULL, *used; used 1258 drivers/infiniband/hw/hfi1/tid_rdma.c list_for_each_entry(used, &rcd->tid_used_list.list, list) { used 1260 drivers/infiniband/hw/hfi1/tid_rdma.c used->size - used->used); used 1261 drivers/infiniband/hw/hfi1/tid_rdma.c kern_add_tid_node(flow, rcd, "used groups", used, use); used 1348 drivers/infiniband/hw/hfi1/tid_rdma.c if (grp->used == grp->size - 1) used 1351 drivers/infiniband/hw/hfi1/tid_rdma.c else if (!grp->used) used 1355 drivers/infiniband/hw/hfi1/tid_rdma.c grp->used++; used 1380 drivers/infiniband/hw/hfi1/tid_rdma.c grp->used--; used 1384 drivers/infiniband/hw/hfi1/tid_rdma.c if (grp->used == grp->size - 1) used 1387 drivers/infiniband/hw/hfi1/tid_rdma.c else if (!grp->used) used 1396 drivers/infiniband/hw/hfi1/tid_rdma.c cnt, grp->map, grp->used); used 639 drivers/infiniband/hw/hfi1/trace_tid.h u8 map, u8 used, u8 cnt), used 640 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, msg, index, base, map, used, cnt), used 648 drivers/infiniband/hw/hfi1/trace_tid.h __field(u8, used) used 658 drivers/infiniband/hw/hfi1/trace_tid.h __entry->used = used; used 669 drivers/infiniband/hw/hfi1/trace_tid.h __entry->used, used 677 drivers/infiniband/hw/hfi1/trace_tid.h u8 map, u8 used, u8 cnt), used 678 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, msg, index, base, map, used, cnt) used 433 drivers/infiniband/hw/hfi1/user_exp_rcv.c grp->size - grp->used); used 444 drivers/infiniband/hw/hfi1/user_exp_rcv.c if (grp->used == grp->size) used 736 drivers/infiniband/hw/hfi1/user_exp_rcv.c grp->used++; used 860 drivers/infiniband/hw/hfi1/user_exp_rcv.c node->grp->used--; used 863 drivers/infiniband/hw/hfi1/user_exp_rcv.c if (node->grp->used == node->grp->size - 1) used 866 drivers/infiniband/hw/hfi1/user_exp_rcv.c else if (!node->grp->used) used 828 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int used = (ntu - ntc + ring->desc_num) % ring->desc_num; used 830 drivers/infiniband/hw/hns/hns_roce_hw_v2.c return ring->desc_num - used - 1; used 140 drivers/infiniband/hw/mthca/mthca_allocator.c ++array->page_list[p].used; used 149 drivers/infiniband/hw/mthca/mthca_allocator.c if (--array->page_list[p].used == 0) { used 155 drivers/infiniband/hw/mthca/mthca_allocator.c if (array->page_list[p].used < 0) used 157 drivers/infiniband/hw/mthca/mthca_allocator.c array, index, p, array->page_list[p].used); used 172 drivers/infiniband/hw/mthca/mthca_allocator.c array->page_list[i].used = 0; used 190 drivers/infiniband/hw/mthca/mthca_dev.h int used; used 602 drivers/infiniband/hw/mthca/mthca_memfree.c !bitmap_full(dev->db_tab->page[i].used, used 643 drivers/infiniband/hw/mthca/mthca_memfree.c bitmap_zero(page->used, MTHCA_DB_REC_PER_PAGE); used 646 drivers/infiniband/hw/mthca/mthca_memfree.c j = find_first_zero_bit(page->used, MTHCA_DB_REC_PER_PAGE); used 647 drivers/infiniband/hw/mthca/mthca_memfree.c set_bit(j, page->used); used 679 drivers/infiniband/hw/mthca/mthca_memfree.c clear_bit(j, page->used); used 681 drivers/infiniband/hw/mthca/mthca_memfree.c if (bitmap_empty(page->used, MTHCA_DB_REC_PER_PAGE) && used 748 drivers/infiniband/hw/mthca/mthca_memfree.c if (!bitmap_empty(dev->db_tab->page[i].used, MTHCA_DB_REC_PER_PAGE)) used 139 drivers/infiniband/hw/mthca/mthca_memfree.h DECLARE_BITMAP(used, MTHCA_DB_REC_PER_PAGE); used 3457 drivers/infiniband/hw/qedr/verbs.c u32 used; used 3463 drivers/infiniband/hw/qedr/verbs.c used = hw_srq->wr_prod_cnt - hw_srq->wr_cons_cnt; used 3465 drivers/infiniband/hw/qedr/verbs.c return hw_srq->max_wr - used; used 92 drivers/input/joystick/db9.c int used; used 517 drivers/input/joystick/db9.c if (!db9->used++) { used 537 drivers/input/joystick/db9.c if (!--db9->used) { used 78 drivers/input/joystick/gamecon.c int used; used 777 drivers/input/joystick/gamecon.c if (!gc->used++) { used 792 drivers/input/joystick/gamecon.c if (!--gc->used) { used 67 drivers/input/joystick/turbografx.c int used; used 115 drivers/input/joystick/turbografx.c if (!tgfx->used++) { used 130 drivers/input/joystick/turbografx.c if (!--tgfx->used) { used 306 drivers/input/touchscreen/cyttsp_core.c DECLARE_BITMAP(used, CY_MAX_ID); used 324 drivers/input/touchscreen/cyttsp_core.c bitmap_zero(used, CY_MAX_ID); used 335 drivers/input/touchscreen/cyttsp_core.c __set_bit(ids[i], used); used 339 drivers/input/touchscreen/cyttsp_core.c if (test_bit(i, used)) used 56 drivers/irqchip/irq-ls-scfg-msi.c unsigned long *used; used 148 drivers/irqchip/irq-ls-scfg-msi.c pos = find_first_zero_bit(msi_data->used, msi_data->irqs_num); used 150 drivers/irqchip/irq-ls-scfg-msi.c __set_bit(pos, msi_data->used); used 183 drivers/irqchip/irq-ls-scfg-msi.c __clear_bit(pos, msi_data->used); used 282 drivers/irqchip/irq-ls-scfg-msi.c bitmap_clear(msi_data->used, hwirq, 1); used 299 drivers/irqchip/irq-ls-scfg-msi.c bitmap_set(msi_data->used, hwirq, 1); used 367 drivers/irqchip/irq-ls-scfg-msi.c msi_data->used = devm_kcalloc(&pdev->dev, used 369 drivers/irqchip/irq-ls-scfg-msi.c sizeof(*msi_data->used), used 371 drivers/irqchip/irq-ls-scfg-msi.c if (!msi_data->used) used 377 drivers/irqchip/irq-ls-scfg-msi.c bitmap_set(msi_data->used, 0, msi_data->irqs_num); used 171 drivers/lightnvm/pblk-rl.c bool used) used 178 drivers/lightnvm/pblk-rl.c if (used) used 917 drivers/lightnvm/pblk.h bool used); used 185 drivers/md/bcache/alloc.c ca->heap.used = 0; used 199 drivers/md/bcache/alloc.c for (i = ca->heap.used / 2 - 1; i >= 0; --i) used 1095 drivers/md/bcache/bset.c return !iter->used; used 1115 drivers/md/bcache/bset.c iter->used = 0; used 1213 drivers/md/bcache/bset.c for (i = iter->used / 2 - 1; i >= 0; --i) used 318 drivers/md/bcache/bset.h size_t size, used; used 217 drivers/md/bcache/btree.c iter->used = 0; used 36 drivers/md/bcache/extents.c *i = iter->data[--iter->used]; used 269 drivers/md/bcache/extents.c while (iter->used > 1) { used 272 drivers/md/bcache/extents.c if (iter->used > 2 && used 213 drivers/md/bcache/movinggc.c ca->heap.used = 0; used 38 drivers/md/bcache/util.h size_t size, used; \ used 45 drivers/md/bcache/util.h (heap)->used = 0; \ used 64 drivers/md/bcache/util.h for (; _j * 2 + 1 < (h)->used; _j = _r) { \ used 66 drivers/md/bcache/util.h if (_r + 1 < (h)->used && \ used 91 drivers/md/bcache/util.h size_t _i = (h)->used++; \ used 102 drivers/md/bcache/util.h bool _r = (h)->used; \ used 105 drivers/md/bcache/util.h (h)->used--; \ used 106 drivers/md/bcache/util.h heap_swap(h, 0, (h)->used); \ used 112 drivers/md/bcache/util.h #define heap_peek(h) ((h)->used ? (h)->data[0] : NULL) used 114 drivers/md/bcache/util.h #define heap_full(h) ((h)->used == (h)->size) used 1104 drivers/md/dm-era-target.c dm_block_t used; used 1128 drivers/md/dm-era-target.c s->used = nr_total - nr_free; used 1615 drivers/md/dm-era-target.c (unsigned long long) stats.used, used 1143 drivers/md/dm-ioctl.c size_t remaining, len, used = 0; used 1195 drivers/md/dm-ioctl.c used = param->data_start + (outptr - outbuf); used 1201 drivers/md/dm-ioctl.c if (used) used 1202 drivers/md/dm-ioctl.c param->data_size = used; used 125 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c if (dstbuf->used) { used 176 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c if (dstbuf->used) { used 226 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c dstbuf->used = false; used 395 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c dst_buf_info->used = false; used 425 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c dst_buf_info->used = true; used 427 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_buf_info->used = true; used 1143 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c if (buf->used == false) { used 1272 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c buf->used = false; used 53 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h bool used; used 83 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c int used; used 254 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c sf_ref_fb->used = 0; used 295 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c vsi->sf_ref_fb[i].used = 0; used 316 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c vsi->sf_ref_fb[idx].used == 0) { used 350 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c vsi->sf_ref_fb[idx].used = 0; used 225 drivers/media/platform/qcom/venus/core.h bool used; used 475 drivers/media/platform/qcom/venus/helpers.c if (!inst->tss[i].used) { used 488 drivers/media/platform/qcom/venus/helpers.c inst->tss[slot].used = true; used 502 drivers/media/platform/qcom/venus/helpers.c if (!inst->tss[i].used) used 508 drivers/media/platform/qcom/venus/helpers.c inst->tss[i].used = false; used 383 drivers/media/rc/winbond-cir.c unsigned int used; used 411 drivers/media/rc/winbond-cir.c for (used = 0; used < space && data->txoff != data->txlen; used++) { used 420 drivers/media/rc/winbond-cir.c bytes[used] = byte; used 426 drivers/media/rc/winbond-cir.c if (used == 0) { used 437 drivers/media/rc/winbond-cir.c outsb(data->sbase + WBCIR_REG_SP3_TXDATA, bytes, used - 1); used 439 drivers/media/rc/winbond-cir.c outb(bytes[used - 1], data->sbase + WBCIR_REG_SP3_TXDATA); used 444 drivers/media/rc/winbond-cir.c outsb(data->sbase + WBCIR_REG_SP3_RXDATA, bytes, used); used 1340 drivers/media/usb/gspca/sonixb.c int used; used 1343 drivers/media/usb/gspca/sonixb.c used = gspca_dev->image_len; used 1344 drivers/media/usb/gspca/sonixb.c if (used + len > size) used 1345 drivers/media/usb/gspca/sonixb.c len = size - used; used 502 drivers/media/v4l2-core/v4l2-dev.c static DECLARE_BITMAP(used, VIDEO_NUM_DEVICES); used 505 drivers/media/v4l2-core/v4l2-dev.c bitmap_zero(used, VIDEO_NUM_DEVICES); used 510 drivers/media/v4l2-core/v4l2-dev.c set_bit(video_devices[i]->index, used); used 514 drivers/media/v4l2-core/v4l2-dev.c return find_first_zero_bit(used, VIDEO_NUM_DEVICES); used 175 drivers/misc/fastrpc.c bool used; used 1090 drivers/misc/fastrpc.c if (!cctx->session[i].used && cctx->session[i].valid) { used 1091 drivers/misc/fastrpc.c cctx->session[i].used = true; used 1107 drivers/misc/fastrpc.c session->used = false; used 1340 drivers/misc/fastrpc.c sess->used = false; used 114 drivers/misc/mic/vop/vop_debugfs.c struct vring_used *used; used 149 drivers/misc/mic/vop/vop_debugfs.c used = vrh->vring.used; used 151 drivers/misc/mic/vop/vop_debugfs.c vringh16_to_cpu(vrh, used->flags), used 152 drivers/misc/mic/vop/vop_debugfs.c vringh16_to_cpu(vrh, used->idx) & (num - 1)); used 154 drivers/misc/mic/vop/vop_debugfs.c vringh16_to_cpu(vrh, used->flags), used 155 drivers/misc/mic/vop/vop_debugfs.c vringh16_to_cpu(vrh, used->idx)); used 159 drivers/misc/mic/vop/vop_debugfs.c used->ring[j].id), used 161 drivers/misc/mic/vop/vop_debugfs.c used->ring[j].len)); used 51 drivers/misc/mic/vop/vop_main.c dma_addr_t used[VOP_MAX_VRINGS]; used 252 drivers/misc/mic/vop/vop_main.c dma_unmap_single(&vpdev->dev, vdev->used[n], used 281 drivers/misc/mic/vop/vop_main.c void *used) used 287 drivers/misc/mic/vop/vop_main.c vring.used = used; used 310 drivers/misc/mic/vop/vop_main.c void *used; used 342 drivers/misc/mic/vop/vop_main.c used = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, used 344 drivers/misc/mic/vop/vop_main.c vdev->used_virt[index] = used; used 345 drivers/misc/mic/vop/vop_main.c if (!used) { used 354 drivers/misc/mic/vop/vop_main.c name, used); used 360 drivers/misc/mic/vop/vop_main.c vdev->used[index] = dma_map_single(&vpdev->dev, used, used 363 drivers/misc/mic/vop/vop_main.c if (dma_mapping_error(&vpdev->dev, vdev->used[index])) { used 369 drivers/misc/mic/vop/vop_main.c writeq(vdev->used[index], &vqconfig->used_address); used 376 drivers/misc/mic/vop/vop_main.c free_pages((unsigned long)used, used 70 drivers/misc/mic/vop/vop_vringh.c vdev->vvr[i].vrh.vring.used = used 328 drivers/misc/mic/vop/vop_vringh.c vr->vr.used); used 701 drivers/misc/mic/vop/vop_vringh.c while (len && iov->i < iov->used) { used 761 drivers/misc/mic/vop/vop_vringh.c if (riov->i == riov->used && wiov->i == wiov->used) { used 809 drivers/misc/mic/vop/vop_vringh.c if (riov->i == riov->used && wiov->i == wiov->used) used 401 drivers/misc/ocxl/file.c ssize_t used = 0; used 440 drivers/misc/ocxl/file.c used = append_xsl_error(ctx, &header, buf + sizeof(header)); used 441 drivers/misc/ocxl/file.c if (used < 0) used 442 drivers/misc/ocxl/file.c return used; used 451 drivers/misc/ocxl/file.c used += sizeof(header); used 453 drivers/misc/ocxl/file.c rc = used; used 892 drivers/mtd/ubi/build.c ubi->fm_pool.used = ubi->fm_pool.size = 0; used 893 drivers/mtd/ubi/build.c ubi->fm_wl_pool.used = ubi->fm_wl_pool.size = 0; used 53 drivers/mtd/ubi/fastmap-wl.c for (i = pool->used; i < pool->size; i++) { used 159 drivers/mtd/ubi/fastmap-wl.c wl_pool->used = 0; used 160 drivers/mtd/ubi/fastmap-wl.c pool->used = 0; used 209 drivers/mtd/ubi/fastmap-wl.c if (pool->used == pool->size || wl_pool->used == wl_pool->size) { used 222 drivers/mtd/ubi/fastmap-wl.c if (pool->used == pool->size) { used 239 drivers/mtd/ubi/fastmap-wl.c ubi_assert(pool->used < pool->size); used 240 drivers/mtd/ubi/fastmap-wl.c ret = pool->pebs[pool->used++]; used 258 drivers/mtd/ubi/fastmap-wl.c if (pool->used == pool->size) { used 269 drivers/mtd/ubi/fastmap-wl.c pnum = pool->pebs[pool->used++]; used 550 drivers/mtd/ubi/fastmap.c struct list_head used, free; used 564 drivers/mtd/ubi/fastmap.c INIT_LIST_HEAD(&used); used 652 drivers/mtd/ubi/fastmap.c add_aeb(ai, &used, be32_to_cpu(fmec->pnum), used 663 drivers/mtd/ubi/fastmap.c add_aeb(ai, &used, be32_to_cpu(fmec->pnum), used 731 drivers/mtd/ubi/fastmap.c list_for_each_entry(tmp_aeb, &used, u.list) { used 769 drivers/mtd/ubi/fastmap.c list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &used, u.list) used 789 drivers/mtd/ubi/fastmap.c list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &used, u.list) { used 262 drivers/mtd/ubi/ubi.h int used; used 604 drivers/mtd/ubi/ubi.h struct rb_root used; used 1010 drivers/mtd/ubi/ubi.h ubi_rb_for_each_entry((tmp_rb), (e), &(ubi)->used, u.rb) used 523 drivers/mtd/ubi/wl.c wl_tree_add(e, &ubi->used); used 684 drivers/mtd/ubi/wl.c (!ubi->used.rb_node && !ubi->scrub.rb_node)) { used 696 drivers/mtd/ubi/wl.c !ubi->free.rb_node, !ubi->used.rb_node); used 706 drivers/mtd/ubi/wl.c e1 = find_anchor_wl_entry(&ubi->used); used 719 drivers/mtd/ubi/wl.c self_check_in_wl_tree(ubi, e1, &ubi->used); used 720 drivers/mtd/ubi/wl.c rb_erase(&e1->u.rb, &ubi->used); used 731 drivers/mtd/ubi/wl.c e1 = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb); used 745 drivers/mtd/ubi/wl.c self_check_in_wl_tree(ubi, e1, &ubi->used); used 746 drivers/mtd/ubi/wl.c rb_erase(&e1->u.rb, &ubi->used); used 886 drivers/mtd/ubi/wl.c wl_tree_add(e2, &ubi->used); used 938 drivers/mtd/ubi/wl.c wl_tree_add(e1, &ubi->used); used 1026 drivers/mtd/ubi/wl.c if (!ubi->used.rb_node || !ubi->free.rb_node) used 1036 drivers/mtd/ubi/wl.c e1 = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb); used 1273 drivers/mtd/ubi/wl.c if (in_wl_tree(e, &ubi->used)) { used 1274 drivers/mtd/ubi/wl.c self_check_in_wl_tree(ubi, e, &ubi->used); used 1275 drivers/mtd/ubi/wl.c rb_erase(&e->u.rb, &ubi->used); used 1302 drivers/mtd/ubi/wl.c wl_tree_add(e, &ubi->used); used 1348 drivers/mtd/ubi/wl.c if (in_wl_tree(e, &ubi->used)) { used 1349 drivers/mtd/ubi/wl.c self_check_in_wl_tree(ubi, e, &ubi->used); used 1350 drivers/mtd/ubi/wl.c rb_erase(&e->u.rb, &ubi->used); used 1545 drivers/mtd/ubi/wl.c } else if (in_wl_tree(e, &ubi->used)) { used 1546 drivers/mtd/ubi/wl.c rb_erase(&e->u.rb, &ubi->used); used 1743 drivers/mtd/ubi/wl.c ubi->used = ubi->erroneous = ubi->free = ubi->scrub = RB_ROOT; used 1810 drivers/mtd/ubi/wl.c wl_tree_add(e, &ubi->used); used 1889 drivers/mtd/ubi/wl.c tree_destroy(ubi, &ubi->used); used 1923 drivers/mtd/ubi/wl.c tree_destroy(ubi, &ubi->used); used 266 drivers/net/caif/caif_virtio.c if (riov->i == riov->used) { used 338 drivers/net/caif/caif_virtio.c cfv->ndev->stats.rx_dropped = riov->used - riov->i; used 382 drivers/net/can/grcan.c u32 used = grcan_ring_sub(txwr, eskbp, txsize) / GRCAN_MSG_SIZE; used 384 drivers/net/can/grcan.c return slots - used; used 1116 drivers/net/dsa/bcm_sf2.c set_bit(0, priv->cfp.used); used 52 drivers/net/dsa/bcm_sf2.h DECLARE_BITMAP(used, CFP_NUM_RULES); used 365 drivers/net/dsa/bcm_sf2_cfp.c rule_index = find_first_zero_bit(priv->cfp.used, used 458 drivers/net/dsa/bcm_sf2_cfp.c set_bit(rule_index, priv->cfp.used); used 646 drivers/net/dsa/bcm_sf2_cfp.c rule_index[1] = find_first_zero_bit(priv->cfp.used, used 656 drivers/net/dsa/bcm_sf2_cfp.c set_bit(rule_index[1], priv->cfp.used); used 658 drivers/net/dsa/bcm_sf2_cfp.c rule_index[0] = find_first_zero_bit(priv->cfp.used, used 807 drivers/net/dsa/bcm_sf2_cfp.c set_bit(rule_index[0], priv->cfp.used); used 816 drivers/net/dsa/bcm_sf2_cfp.c clear_bit(rule_index[1], priv->cfp.used); used 890 drivers/net/dsa/bcm_sf2_cfp.c test_bit(fs->location, priv->cfp.used)) used 945 drivers/net/dsa/bcm_sf2_cfp.c clear_bit(loc, priv->cfp.used); used 119 drivers/net/dsa/realtek-smi-core.h int rtl8366_mc_is_used(struct realtek_smi *smi, int mc_index, int *used); used 16 drivers/net/dsa/rtl8366.c int rtl8366_mc_is_used(struct realtek_smi *smi, int mc_index, int *used) used 21 drivers/net/dsa/rtl8366.c *used = 0; used 30 drivers/net/dsa/rtl8366.c *used = 1; used 151 drivers/net/dsa/rtl8366.c int used; used 153 drivers/net/dsa/rtl8366.c ret = rtl8366_mc_is_used(smi, i, &used); used 157 drivers/net/dsa/rtl8366.c if (!used) { used 370 drivers/net/ethernet/agere/et131x.c int used; used 2571 drivers/net/ethernet/agere/et131x.c tx_ring->used++; used 2633 drivers/net/ethernet/agere/et131x.c WARN_ON(tx_ring->used > NUM_TCB); used 2691 drivers/net/ethernet/agere/et131x.c WARN_ON(tx_ring->used < 0); used 2715 drivers/net/ethernet/agere/et131x.c tx_ring->used--; used 2731 drivers/net/ethernet/agere/et131x.c tx_ring->used = 0; used 2760 drivers/net/ethernet/agere/et131x.c tx_ring->used--; used 2775 drivers/net/ethernet/agere/et131x.c tx_ring->used--; used 2789 drivers/net/ethernet/agere/et131x.c if (tx_ring->used <= NUM_TCB / 3) used 3783 drivers/net/ethernet/agere/et131x.c if (tx_ring->used >= NUM_TCB - 1 && !netif_queue_stopped(netdev)) used 3790 drivers/net/ethernet/agere/et131x.c if (tx_ring->used >= NUM_TCB) used 1993 drivers/net/ethernet/broadcom/bcm63xx_enet.c if (!port->used) used 2257 drivers/net/ethernet/broadcom/bcm63xx_enet.c if (!port->used) used 2393 drivers/net/ethernet/broadcom/bcm63xx_enet.c if (!priv->used_ports[i].used) used 739 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h s16 used; used 746 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h used = SUB_S16(prod, cons); used 749 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h WARN_ON(used < 0); used 750 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h WARN_ON(used > txdata->tx_ring_size); used 751 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h WARN_ON((txdata->tx_ring_size - used) > MAX_TX_AVAIL); used 754 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h return (s16)(txdata->tx_ring_size) - used; used 133 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 lo, hi, used, alloc; used 376 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c used = T5_USED_G(lo); used 379 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c used = USED_G(lo); used 382 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c meminfo_buff->port_used[i] = used; used 393 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c used = T5_USED_G(lo); used 396 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c used = USED_G(lo); used 399 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c meminfo_buff->loopback_used[i] = used; used 130 drivers/net/ethernet/emulex/benet/be.h atomic_t used; /* Number of valid elements in the queue */ used 560 drivers/net/ethernet/emulex/benet/be_cmds.c atomic_dec(&mcc_obj->q.used); used 586 drivers/net/ethernet/emulex/benet/be_cmds.c if (atomic_read(&mcc_obj->q.used) == 0) used 847 drivers/net/ethernet/emulex/benet/be_cmds.c if (atomic_read(&mccq->used) >= mccq->len) used 852 drivers/net/ethernet/emulex/benet/be_cmds.c atomic_inc(&mccq->used); used 819 drivers/net/ethernet/emulex/benet/be_main.c return atomic_read(&txo->q.used) + BE_MAX_TX_FRAG_COUNT >= txo->q.len; used 824 drivers/net/ethernet/emulex/benet/be_main.c return atomic_read(&txo->q.used) < txo->q.len / 2; used 829 drivers/net/ethernet/emulex/benet/be_main.c return atomic_read(&txo->q.used) > txo->pend_wrb_cnt; used 943 drivers/net/ethernet/emulex/benet/be_main.c atomic_add(num_frags, &txq->used); used 1238 drivers/net/ethernet/emulex/benet/be_main.c atomic_inc(&txq->used); used 1435 drivers/net/ethernet/emulex/benet/be_main.c atomic_read(&txo->q.used), txo->q.id); used 1450 drivers/net/ethernet/emulex/benet/be_main.c atomic_read(&txo->cq.used)); used 2300 drivers/net/ethernet/emulex/benet/be_main.c atomic_dec(&rxq->used); used 2654 drivers/net/ethernet/emulex/benet/be_main.c atomic_add(posted, &rxq->used); used 2662 drivers/net/ethernet/emulex/benet/be_main.c } else if (atomic_read(&rxq->used) == 0) { used 2817 drivers/net/ethernet/emulex/benet/be_main.c while (atomic_read(&rxq->used) > 0) { used 2822 drivers/net/ethernet/emulex/benet/be_main.c BUG_ON(atomic_read(&rxq->used)); used 2893 drivers/net/ethernet/emulex/benet/be_main.c atomic_sub(num_wrbs, &txq->used); used 2911 drivers/net/ethernet/emulex/benet/be_main.c if (atomic_read(&txq->used)) { used 2913 drivers/net/ethernet/emulex/benet/be_main.c i, atomic_read(&txq->used)); used 2916 drivers/net/ethernet/emulex/benet/be_main.c index_adv(&end_idx, atomic_read(&txq->used) - 1, used 2922 drivers/net/ethernet/emulex/benet/be_main.c atomic_sub(num_wrbs, &txq->used); used 2923 drivers/net/ethernet/emulex/benet/be_main.c BUG_ON(atomic_read(&txq->used)); used 3255 drivers/net/ethernet/emulex/benet/be_main.c if (atomic_read(&rxo->q.used) < RX_FRAGS_REFILL_WM && used 3279 drivers/net/ethernet/emulex/benet/be_main.c atomic_sub(num_wrbs, &txo->q.used); used 3582 drivers/net/ethernet/emulex/benet/be_main.c if (atomic_read(&q->used) == 0) used 167 drivers/net/ethernet/freescale/enetc/enetc.h int used; used 402 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c if (priv->cls_rules[i].used) used 418 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c if (!priv->cls_rules[i].used) used 452 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c priv->cls_rules[rxnfc->fs.location].used = 1; used 461 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c priv->cls_rules[rxnfc->fs.location].used = 0; used 225 drivers/net/ethernet/freescale/fman/fman_keygen.c bool used; /* Specifies if this scheme is used */ used 450 drivers/net/ethernet/freescale/fman/fman_keygen.c if (!keygen->schemes[i].used) { used 500 drivers/net/ethernet/freescale/fman/fman_keygen.c if (!scheme->used) { used 550 drivers/net/ethernet/freescale/fman/fman_keygen.c if (enable && scheme->used) { used 637 drivers/net/ethernet/freescale/fman/fman_keygen.c scheme->used = enable; used 746 drivers/net/ethernet/freescale/fman/fman_keygen.c if (scheme->used) { used 507 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h int used; used 22 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int used = (ntu - ntc + ring->desc_num) % ring->desc_num; used 24 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c return ring->desc_num - used - 1; used 23 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c int used; used 25 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c used = (ntu - ntc + ring->desc_num) % ring->desc_num; used 27 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c return ring->desc_num - used - 1; used 141 drivers/net/ethernet/i825xx/ether1.c int used; used 176 drivers/net/ethernet/i825xx/ether1.c : "=&r" (used), "=&r" (data) used 204 drivers/net/ethernet/i825xx/ether1.c int used; used 239 drivers/net/ethernet/i825xx/ether1.c : "=&r" (used), "=&r" (data) used 1600 drivers/net/ethernet/ibm/ibmvnic.c if (atomic_add_return(num_entries, &tx_scrq->used) used 2686 drivers/net/ethernet/ibm/ibmvnic.c atomic_set(&scrq->used, 0); used 2955 drivers/net/ethernet/ibm/ibmvnic.c if (atomic_sub_return(num_entries, &scrq->used) <= used 876 drivers/net/ethernet/ibm/ibmvnic.h atomic_t used; used 67 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c FM10K_STAT("mac_rules_used", hw.swapi.mac.used), used 1728 drivers/net/ethernet/intel/fm10k/fm10k_pf.c to->used = le32_to_cpu(from->used); used 74 drivers/net/ethernet/intel/fm10k/fm10k_pf.h __le32 used; used 556 drivers/net/ethernet/intel/fm10k/fm10k_type.h u32 used; used 747 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h __le16 used; used 322 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (r->used) { used 331 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (t->used) { used 343 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (ipsa->used) used 365 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (!ipsec->rx_tbl[i].used) used 374 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (!ipsec->tx_tbl[i].used) used 600 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c rsa.used = true; used 636 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (ipsec->ip_tbl[i].used) { used 663 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c ipsec->ip_tbl[first].used = true; used 710 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c tsa.used = true; used 762 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (!rsa->used) { used 791 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (!ipsec->tx_tbl[sa_idx].used) { used 850 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (!ipsec->rx_tbl[i].used) used 859 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (!ipsec->tx_tbl[i].used) used 1013 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (!rsa->used) used 1035 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (!tsa->used) used 1093 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (unlikely(!tsa->used)) { used 39 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h bool used; used 47 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h bool used; used 56 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h bool used; used 116 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (r->used) { used 123 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (t->used) { used 150 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (!ipsec->rx_tbl[i].used) used 159 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (!ipsec->tx_tbl[i].used) used 292 drivers/net/ethernet/intel/ixgbevf/ipsec.c rsa.used = true; used 346 drivers/net/ethernet/intel/ixgbevf/ipsec.c tsa.used = true; used 389 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (!ipsec->rx_tbl[sa_idx].used) { used 402 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (!ipsec->tx_tbl[sa_idx].used) { used 479 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (unlikely(!tsa->used)) { used 25 drivers/net/ethernet/intel/ixgbevf/ipsec.h bool used; used 32 drivers/net/ethernet/intel/ixgbevf/ipsec.h bool used; used 41 drivers/net/ethernet/intel/ixgbevf/ipsec.h bool used; used 146 drivers/net/ethernet/marvell/octeontx2/af/rvu.c int used; used 151 drivers/net/ethernet/marvell/octeontx2/af/rvu.c used = bitmap_weight(rsrc->bmap, rsrc->max); used 152 drivers/net/ethernet/marvell/octeontx2/af/rvu.c return (rsrc->max - used); used 184 drivers/net/ethernet/mscc/ocelot_ace.h u64 used; used 273 drivers/net/ethernet/netronome/nfp/flower/main.h u64 used; used 129 drivers/net/ethernet/netronome/nfp/flower/metadata.c priv->stats[ctx_id].used = jiffies; used 351 drivers/net/ethernet/netronome/nfp/flower/metadata.c priv->stats[stats_cxt].used = jiffies; used 1347 drivers/net/ethernet/netronome/nfp/flower/offload.c u64 pkts, bytes, used; used 1356 drivers/net/ethernet/netronome/nfp/flower/offload.c used = priv->stats[ctx_id].used; used 1371 drivers/net/ethernet/netronome/nfp/flower/offload.c priv->stats[ctx_id].used = max_t(u64, used, used 1372 drivers/net/ethernet/netronome/nfp/flower/offload.c priv->stats[ctx_id].used); used 1422 drivers/net/ethernet/netronome/nfp/flower/offload.c priv->stats[ctx_id].pkts, priv->stats[ctx_id].used); used 1752 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!p_vf->shadow_config.vlans[i].used) used 3123 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (p_vf->shadow_config.vlans[i].used && used 3126 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_vf->shadow_config.vlans[i].used = false; used 3139 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_vf->shadow_config.vlans[i].used = false; used 3151 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (p_vf->shadow_config.vlans[i].used) used 3154 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_vf->shadow_config.vlans[i].used = true; used 178 drivers/net/ethernet/qlogic/qed/qed_sriov.h bool used; used 91 drivers/net/ethernet/qlogic/qede/qede_filter.c bool used; used 120 drivers/net/ethernet/qlogic/qede/qede_filter.c if (n->used) used 146 drivers/net/ethernet/qlogic/qede/qede_filter.c n->used = true; used 227 drivers/net/ethernet/qlogic/qede/qede_filter.c fltr->used = false; used 236 drivers/net/ethernet/qlogic/qede/qede_filter.c fltr->used = false; used 276 drivers/net/ethernet/qlogic/qede/qede_filter.c !fltr->used) || free_fltr) { used 498 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!n->used) { used 1467 drivers/net/ethernet/qlogic/qede/qede_filter.c while (fltr->used && count) { used 687 drivers/net/ethernet/qualcomm/emac/emac-mac.c tx_q->tpd.dma_addr = ring_header->dma_addr + ring_header->used; used 688 drivers/net/ethernet/qualcomm/emac/emac-mac.c tx_q->tpd.v_addr = ring_header->v_addr + ring_header->used; used 689 drivers/net/ethernet/qualcomm/emac/emac-mac.c ring_header->used += ALIGN(tx_q->tpd.size, 8); used 731 drivers/net/ethernet/qualcomm/emac/emac-mac.c rx_q->rrd.dma_addr = ring_header->dma_addr + ring_header->used; used 732 drivers/net/ethernet/qualcomm/emac/emac-mac.c rx_q->rrd.v_addr = ring_header->v_addr + ring_header->used; used 733 drivers/net/ethernet/qualcomm/emac/emac-mac.c ring_header->used += ALIGN(rx_q->rrd.size, 8); used 735 drivers/net/ethernet/qualcomm/emac/emac-mac.c rx_q->rfd.dma_addr = ring_header->dma_addr + ring_header->used; used 736 drivers/net/ethernet/qualcomm/emac/emac-mac.c rx_q->rfd.v_addr = ring_header->v_addr + ring_header->used; used 737 drivers/net/ethernet/qualcomm/emac/emac-mac.c ring_header->used += ALIGN(rx_q->rfd.size, 8); used 770 drivers/net/ethernet/qualcomm/emac/emac-mac.c ring_header->used = 0; used 777 drivers/net/ethernet/qualcomm/emac/emac-mac.c ring_header->used = ALIGN(ring_header->dma_addr, 8) - used 803 drivers/net/ethernet/qualcomm/emac/emac-mac.c ring_header->used = 0; used 823 drivers/net/ethernet/qualcomm/emac/emac-mac.c ring_header->used = 0; used 137 drivers/net/ethernet/qualcomm/emac/emac-mac.h size_t used; used 1812 drivers/net/ethernet/sfc/falcon/farch.c unsigned used; /* number currently used */ used 2439 drivers/net/ethernet/sfc/falcon/farch.c ++table->used; used 2486 drivers/net/ethernet/sfc/falcon/farch.c --table->used; used 2497 drivers/net/ethernet/sfc/falcon/farch.c if (unlikely(table->used == 0)) { used 1871 drivers/net/ethernet/sfc/farch.c unsigned used; /* number currently used */ used 2498 drivers/net/ethernet/sfc/farch.c ++table->used; used 2545 drivers/net/ethernet/sfc/farch.c --table->used; used 2556 drivers/net/ethernet/sfc/farch.c if (unlikely(table->used == 0)) { used 245 drivers/net/ethernet/sfc/siena_sriov.c unsigned int index, used; used 254 drivers/net/ethernet/sfc/siena_sriov.c used = MC_CMD_MEMCPY_IN_LEN(count); used 268 drivers/net/ethernet/sfc/siena_sriov.c if (WARN_ON(used + req->length > used 275 drivers/net/ethernet/sfc/siena_sriov.c from_addr = used; used 276 drivers/net/ethernet/sfc/siena_sriov.c memcpy(_MCDI_PTR(inbuf, used), req->from_buf, used 278 drivers/net/ethernet/sfc/siena_sriov.c used += req->length; used 290 drivers/net/ethernet/sfc/siena_sriov.c rc = efx_mcdi_rpc(efx, MC_CMD_MEMCPY, inbuf, used, NULL, 0, NULL); used 194 drivers/net/ethernet/sfc/tx.c int used; used 213 drivers/net/ethernet/sfc/tx.c BUG_ON(copy_buf->used); used 216 drivers/net/ethernet/sfc/tx.c copy_buf->used = len; used 227 drivers/net/ethernet/sfc/tx.c if (copy_buf->used) { used 230 drivers/net/ethernet/sfc/tx.c min_t(int, sizeof(copy_buf->buf) - copy_buf->used, len); used 232 drivers/net/ethernet/sfc/tx.c memcpy(copy_buf->buf + copy_buf->used, data, copy_to_buf); used 233 drivers/net/ethernet/sfc/tx.c copy_buf->used += copy_to_buf; used 236 drivers/net/ethernet/sfc/tx.c if (copy_buf->used < sizeof(copy_buf->buf)) used 244 drivers/net/ethernet/sfc/tx.c copy_buf->used = 0; used 254 drivers/net/ethernet/sfc/tx.c if (copy_buf->used) used 303 drivers/net/ethernet/sfc/tx.c copy_buf.used = 0; used 1078 drivers/net/ethernet/socionext/netsec.c int used; used 1081 drivers/net/ethernet/socionext/netsec.c used = dring->head - dring->tail; used 1083 drivers/net/ethernet/socionext/netsec.c used = dring->head + DESC_NUM - dring->tail; used 1085 drivers/net/ethernet/socionext/netsec.c return used; used 1088 drivers/net/ethernet/socionext/netsec.c static int netsec_check_stop_tx(struct netsec_priv *priv, int used) used 1093 drivers/net/ethernet/socionext/netsec.c if (DESC_NUM - used < 2) { used 1101 drivers/net/ethernet/socionext/netsec.c used = netsec_desc_used(dring); used 1102 drivers/net/ethernet/socionext/netsec.c if (DESC_NUM - used < 2) used 466 drivers/net/ethernet/sun/cassini.c #define RX_USED_ADD(x, y) ((x)->used += (y)) used 467 drivers/net/ethernet/sun/cassini.c #define RX_USED_SET(x, y) ((x)->used = (y)) used 1891 drivers/net/ethernet/sun/cassini.c if (cp->tx_tiny_use[ring][entry].used) { used 1892 drivers/net/ethernet/sun/cassini.c cp->tx_tiny_use[ring][entry].used = 0; used 2749 drivers/net/ethernet/sun/cassini.c cp->tx_tiny_use[ring][entry].used = 1; used 3915 drivers/net/ethernet/sun/cassini.c if (cp->tx_tiny_use[ring][ent].used) used 2701 drivers/net/ethernet/sun/cassini.h int used; used 2736 drivers/net/ethernet/sun/cassini.h int used; used 1279 drivers/net/ethernet/ti/davinci_cpdma.c int used = 0, ret = 0; used 1284 drivers/net/ethernet/ti/davinci_cpdma.c while (used < quota) { used 1288 drivers/net/ethernet/ti/davinci_cpdma.c used++; used 1290 drivers/net/ethernet/ti/davinci_cpdma.c return used; used 1659 drivers/net/ethernet/via/via-velocity.c vptr->tx.tail[j] = vptr->tx.curr[j] = vptr->tx.used[j] = 0; used 1899 drivers/net/ethernet/via/via-velocity.c for (idx = vptr->tx.tail[qnum]; vptr->tx.used[qnum] > 0; used 1930 drivers/net/ethernet/via/via-velocity.c vptr->tx.used[qnum]--; used 2597 drivers/net/ethernet/via/via-velocity.c vptr->tx.used[qnum]++; used 3217 drivers/net/ethernet/via/via-velocity.c if (vptr->tx.used[i]) used 1423 drivers/net/ethernet/via/via-velocity.h #define AVAIL_TD(p,q) ((p)->options.numtx-((p)->tx.used[(q)])) used 1445 drivers/net/ethernet/via/via-velocity.h int used[TX_QUEUE_NO]; used 219 drivers/net/hamradio/scc.c static struct irqflags { unsigned char used : 1; } Ivec[NR_IRQS]; used 1471 drivers/net/hamradio/scc.c if (Ivec[k].used) used 1738 drivers/net/hamradio/scc.c if (!Ivec[hwcfg.irq].used && hwcfg.irq) used 1745 drivers/net/hamradio/scc.c Ivec[hwcfg.irq].used = 1; used 2141 drivers/net/hamradio/scc.c if (Ivec[k].used) free_irq(k, NULL); used 39 drivers/net/netdevsim/ipsec.c if (!sap->used) used 77 drivers/net/netdevsim/ipsec.c if (!ipsec->sa[i].used) used 161 drivers/net/netdevsim/ipsec.c sa.used = true; used 202 drivers/net/netdevsim/ipsec.c if (!ipsec->sa[sa_idx].used) { used 260 drivers/net/netdevsim/ipsec.c if (unlikely(!tsa->used)) { used 38 drivers/net/netdevsim/netdevsim.h bool used; used 75 drivers/net/vxlan.c unsigned long used; used 305 drivers/net/vxlan.c ci.ndm_used = jiffies_to_clock_t(now - fdb->used); used 513 drivers/net/vxlan.c if (f && f->used != jiffies) used 514 drivers/net/vxlan.c f->used = jiffies; used 807 drivers/net/vxlan.c f->updated = f->used = jiffies; used 951 drivers/net/vxlan.c f->used = jiffies; used 2743 drivers/net/vxlan.c timeout = f->used + vxlan->cfg.age_interval * HZ; used 1061 drivers/net/wan/hdlc_fr.c int used; used 1071 drivers/net/wan/hdlc_fr.c used = pvc_is_used(pvc); used 1107 drivers/net/wan/hdlc_fr.c if (!used) { used 3367 drivers/net/wireless/ath/ath9k/hw.c int used; used 3371 drivers/net/wireless/ath/ath9k/hw.c used = scnprintf(hw_name, len, used 3377 drivers/net/wireless/ath/ath9k/hw.c used = scnprintf(hw_name, len, used 3386 drivers/net/wireless/ath/ath9k/hw.c hw_name[used] = '\0'; used 159 drivers/net/wireless/ath/wil6210/debugfs.c int used = (ring->size + swhead - swtail) used 161 drivers/net/wireless/ath/wil6210/debugfs.c int avail = ring->size - used - 1; used 189 drivers/net/wireless/ath/wil6210/debugfs.c used, avail, sidle); used 194 drivers/net/wireless/ath/wil6210/debugfs.c used, avail, sidle); used 1751 drivers/net/wireless/ath/wil6210/txrx.c int used, avail = wil_ring_avail_tx(vring); used 1983 drivers/net/wireless/ath/wil6210/txrx.c used = wil_ring_used_tx(vring); used 1985 drivers/net/wireless/ath/wil6210/txrx.c used, used + descs_used)) { used 1988 drivers/net/wireless/ath/wil6210/txrx.c vring_index, used, used + descs_used); used 2047 drivers/net/wireless/ath/wil6210/txrx.c int used; used 2136 drivers/net/wireless/ath/wil6210/txrx.c used = wil_ring_used_tx(ring); used 2138 drivers/net/wireless/ath/wil6210/txrx.c used, used + nr_frags + 1)) { used 2141 drivers/net/wireless/ath/wil6210/txrx.c ring_index, used, used + nr_frags + 1); used 1414 drivers/net/wireless/ath/wil6210/txrx_edma.c int used, avail = wil_ring_avail_tx(ring); used 1504 drivers/net/wireless/ath/wil6210/txrx_edma.c used = wil_ring_used_tx(ring); used 1506 drivers/net/wireless/ath/wil6210/txrx_edma.c used, used + descs_used)) { used 1509 drivers/net/wireless/ath/wil6210/txrx_edma.c ring_index, used, used + descs_used); used 395 drivers/net/wireless/broadcom/b43legacy/b43legacy.h u8 used:1; used 1574 drivers/net/wireless/broadcom/b43legacy/phy.c if (!tmp_control->used) used 1621 drivers/net/wireless/broadcom/b43legacy/phy.c if (!tmp_control->used) used 1709 drivers/net/wireless/broadcom/b43legacy/phy.c pair->used = 1; used 1720 drivers/net/wireless/broadcom/b43legacy/phy.c pair->used = 0; used 5010 drivers/net/wireless/intel/ipw2x00/ipw2200.c int used; used 5029 drivers/net/wireless/intel/ipw2x00/ipw2200.c used = q->first_empty - q->last_used; used 5030 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (used < 0) used 5031 drivers/net/wireless/intel/ipw2x00/ipw2200.c used += q->n_bd; used 5033 drivers/net/wireless/intel/ipw2x00/ipw2200.c return used; used 2341 drivers/net/wireless/intel/iwlegacy/3945-mac.c il->stations[sta_id].used |= IL_STA_DRIVER_ACTIVE; used 2342 drivers/net/wireless/intel/iwlegacy/3945-mac.c il->stations[sta_id].used |= IL_STA_BCAST; used 371 drivers/net/wireless/intel/iwlegacy/3945-rs.c il->stations[sta_id].used &= ~IL_STA_UCODE_INPROGRESS; used 2275 drivers/net/wireless/intel/iwlegacy/3945.c il->stations[sta_id].used |= IL_STA_LOCAL; used 2582 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (il->stations[i].used && used 2597 drivers/net/wireless/intel/iwlegacy/4965-mac.c (!(il->stations[ret].used & IL_STA_UCODE_ACTIVE) || used 2598 drivers/net/wireless/intel/iwlegacy/4965-mac.c ((il->stations[ret].used & IL_STA_UCODE_ACTIVE) && used 2599 drivers/net/wireless/intel/iwlegacy/4965-mac.c (il->stations[ret].used & IL_STA_UCODE_INPROGRESS)))) { used 3100 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->stations[sta_id].used |= IL_STA_LOCAL; used 3528 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->stations[sta_id].used |= IL_STA_DRIVER_ACTIVE; used 3529 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->stations[sta_id].used |= IL_STA_BCAST; used 1742 drivers/net/wireless/intel/iwlegacy/common.c if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE)) used 1746 drivers/net/wireless/intel/iwlegacy/common.c if (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) { used 1751 drivers/net/wireless/intel/iwlegacy/common.c il->stations[sta_id].used |= IL_STA_UCODE_ACTIVE; used 1942 drivers/net/wireless/intel/iwlegacy/common.c if (!il->stations[i].used && used 1959 drivers/net/wireless/intel/iwlegacy/common.c if (il->stations[sta_id].used & IL_STA_UCODE_INPROGRESS) { used 1964 drivers/net/wireless/intel/iwlegacy/common.c if ((il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE) && used 1965 drivers/net/wireless/intel/iwlegacy/common.c (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) && used 1973 drivers/net/wireless/intel/iwlegacy/common.c station->used = IL_STA_DRIVER_ACTIVE; used 2029 drivers/net/wireless/intel/iwlegacy/common.c if (il->stations[sta_id].used & IL_STA_UCODE_INPROGRESS) { used 2035 drivers/net/wireless/intel/iwlegacy/common.c if ((il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE) && used 2036 drivers/net/wireless/intel/iwlegacy/common.c (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE)) { used 2043 drivers/net/wireless/intel/iwlegacy/common.c il->stations[sta_id].used |= IL_STA_UCODE_INPROGRESS; used 2054 drivers/net/wireless/intel/iwlegacy/common.c il->stations[sta_id].used &= ~IL_STA_DRIVER_ACTIVE; used 2055 drivers/net/wireless/intel/iwlegacy/common.c il->stations[sta_id].used &= ~IL_STA_UCODE_INPROGRESS; used 2073 drivers/net/wireless/intel/iwlegacy/common.c used & (IL_STA_UCODE_ACTIVE | IL_STA_DRIVER_ACTIVE)) != used 2077 drivers/net/wireless/intel/iwlegacy/common.c il->stations[sta_id].used &= ~IL_STA_UCODE_ACTIVE; used 2165 drivers/net/wireless/intel/iwlegacy/common.c if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE)) { used 2170 drivers/net/wireless/intel/iwlegacy/common.c if (!(il->stations[sta_id].used & IL_STA_UCODE_ACTIVE)) { used 2175 drivers/net/wireless/intel/iwlegacy/common.c if (il->stations[sta_id].used & IL_STA_LOCAL) { used 2180 drivers/net/wireless/intel/iwlegacy/common.c il->stations[sta_id].used &= ~IL_STA_DRIVER_ACTIVE; used 2214 drivers/net/wireless/intel/iwlegacy/common.c if (il->stations[i].used & IL_STA_UCODE_ACTIVE) { used 2216 drivers/net/wireless/intel/iwlegacy/common.c il->stations[i].used &= ~IL_STA_UCODE_ACTIVE; used 2254 drivers/net/wireless/intel/iwlegacy/common.c if ((il->stations[i].used & IL_STA_DRIVER_ACTIVE) && used 2255 drivers/net/wireless/intel/iwlegacy/common.c !(il->stations[i].used & IL_STA_UCODE_ACTIVE)) { used 2259 drivers/net/wireless/intel/iwlegacy/common.c il->stations[i].used |= IL_STA_UCODE_INPROGRESS; used 2265 drivers/net/wireless/intel/iwlegacy/common.c if ((il->stations[i].used & IL_STA_UCODE_INPROGRESS)) { used 2280 drivers/net/wireless/intel/iwlegacy/common.c il->stations[i].used &= ~IL_STA_DRIVER_ACTIVE; used 2281 drivers/net/wireless/intel/iwlegacy/common.c il->stations[i].used &= used 2293 drivers/net/wireless/intel/iwlegacy/common.c il->stations[i].used &= ~IL_STA_UCODE_INPROGRESS; used 2327 drivers/net/wireless/intel/iwlegacy/common.c if (!(il->stations[i].used & IL_STA_BCAST)) used 2330 drivers/net/wireless/intel/iwlegacy/common.c il->stations[i].used &= ~IL_STA_UCODE_ACTIVE; used 2416 drivers/net/wireless/intel/iwlegacy/common.c if (!(il->stations[lq->sta_id].used & IL_STA_DRIVER_ACTIVE)) { used 2438 drivers/net/wireless/intel/iwlegacy/common.c il->stations[lq->sta_id].used &= ~IL_STA_UCODE_INPROGRESS; used 708 drivers/net/wireless/intel/iwlegacy/common.h u8 used; used 411 drivers/net/wireless/intel/iwlegacy/debug.c if (!station->used) used 208 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (!station->used) used 182 drivers/net/wireless/intel/iwlwifi/dvm/dev.h u8 used, ctxid; used 885 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c priv->stations[iwl_sta_id(sta)].used &= used 30 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) used 35 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) { used 41 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[sta_id].used |= IWL_STA_UCODE_ACTIVE; used 261 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (!priv->stations[i].used && used 278 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (priv->stations[sta_id].used & IWL_STA_UCODE_INPROGRESS) { used 284 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if ((priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE) && used 285 drivers/net/wireless/intel/iwlwifi/dvm/sta.c (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) && used 293 drivers/net/wireless/intel/iwlwifi/dvm/sta.c station->used = IWL_STA_DRIVER_ACTIVE; used 352 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (priv->stations[sta_id].used & IWL_STA_UCODE_INPROGRESS) { used 359 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if ((priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE) && used 360 drivers/net/wireless/intel/iwlwifi/dvm/sta.c (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE)) { used 367 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[sta_id].used |= IWL_STA_UCODE_INPROGRESS; used 378 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[sta_id].used &= ~IWL_STA_DRIVER_ACTIVE; used 379 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[sta_id].used &= ~IWL_STA_UCODE_INPROGRESS; used 394 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if ((priv->stations[sta_id].used & used 399 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[sta_id].used &= ~IWL_STA_UCODE_ACTIVE; used 482 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) { used 488 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (!(priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE)) { used 494 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (priv->stations[sta_id].used & IWL_STA_LOCAL) { used 503 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[sta_id].used &= ~IWL_STA_DRIVER_ACTIVE; used 537 drivers/net/wireless/intel/iwlwifi/dvm/sta.c WARN_ON_ONCE(!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)); used 543 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[sta_id].used &= ~IWL_STA_DRIVER_ACTIVE; used 544 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[sta_id].used &= ~IWL_STA_UCODE_INPROGRESS; used 625 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (priv->stations[i].used & IWL_STA_UCODE_ACTIVE) { used 628 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[i].used &= ~IWL_STA_UCODE_ACTIVE; used 668 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if ((priv->stations[i].used & IWL_STA_DRIVER_ACTIVE) && used 669 drivers/net/wireless/intel/iwlwifi/dvm/sta.c !(priv->stations[i].used & IWL_STA_UCODE_ACTIVE)) { used 673 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[i].used |= IWL_STA_UCODE_INPROGRESS; used 679 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if ((priv->stations[i].used & IWL_STA_UCODE_INPROGRESS)) { used 699 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[i].used &= used 701 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[i].used &= used 712 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[i].used &= ~IWL_STA_UCODE_INPROGRESS; used 742 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (!(priv->stations[i].used & IWL_STA_BCAST)) used 745 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[i].used &= ~IWL_STA_UCODE_ACTIVE; used 836 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (!(priv->stations[lq->sta_id].used & IWL_STA_DRIVER_ACTIVE)) { used 859 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[lq->sta_id].used &= ~IWL_STA_UCODE_INPROGRESS; used 909 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[sta_id].used |= IWL_STA_LOCAL; used 1170 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (!(priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE)) used 1283 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[sta_id].used |= IWL_STA_DRIVER_ACTIVE; used 1284 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[sta_id].used |= IWL_STA_BCAST; used 108 drivers/net/wireless/intel/iwlwifi/pcie/tx.c unsigned int used; used 125 drivers/net/wireless/intel/iwlwifi/pcie/tx.c used = (q->write_ptr - q->read_ptr) & used 128 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (WARN_ON(used > max)) used 131 drivers/net/wireless/intel/iwlwifi/pcie/tx.c return max - used; used 260 drivers/net/wireless/mediatek/mt7601u/dma.c if (q->used == q->entries - q->entries / 8) used 264 drivers/net/wireless/mediatek/mt7601u/dma.c q->used--; used 307 drivers/net/wireless/mediatek/mt7601u/dma.c if (WARN_ON(q->entries <= q->used)) { used 330 drivers/net/wireless/mediatek/mt7601u/dma.c q->used++; used 332 drivers/net/wireless/mediatek/mt7601u/dma.c if (q->used >= q->entries) used 94 drivers/net/wireless/mediatek/mt7601u/mt7601u.h unsigned int used; used 200 drivers/net/wireless/st/cw1200/debug.c list_for_each(item, &priv->tx_policy_cache.used) used 222 drivers/net/wireless/st/cw1200/txrx.c list_for_each_entry(it, &cache->used, link) { used 238 drivers/net/wireless/st/cw1200/txrx.c list_move(&entry->link, &cache->used); used 289 drivers/net/wireless/st/cw1200/txrx.c INIT_LIST_HEAD(&cache->used); used 40 drivers/net/wireless/st/cw1200/txrx.h struct list_head used; used 21 drivers/net/wireless/ti/wl1251/tx.c int used, data_in_count; used 29 drivers/net/wireless/ti/wl1251/tx.c used = data_in_count - data_out_count; used 31 drivers/net/wireless/ti/wl1251/tx.c WARN_ON(used < 0); used 32 drivers/net/wireless/ti/wl1251/tx.c WARN_ON(used > DP_TX_PACKET_RING_CHUNK_NUM); used 34 drivers/net/wireless/ti/wl1251/tx.c if (used >= DP_TX_PACKET_RING_CHUNK_NUM) used 1759 drivers/nvme/target/fc.c u32 sqtail, used; used 1764 drivers/nvme/target/fc.c used = (sqtail < sqhd) ? (sqtail + q->sqsize - sqhd) : (sqtail - sqhd); used 1765 drivers/nvme/target/fc.c return ((used * 10) >= (((u32)(q->sqsize - 1) * 9))); used 291 drivers/pci/controller/pci-tegra.c DECLARE_BITMAP(used, INT_PCI_MSI_NR); used 1618 drivers/pci/controller/pci-tegra.c msi = find_first_zero_bit(chip->used, INT_PCI_MSI_NR); used 1620 drivers/pci/controller/pci-tegra.c set_bit(msi, chip->used); used 1635 drivers/pci/controller/pci-tegra.c if (!test_bit(irq, chip->used)) used 1638 drivers/pci/controller/pci-tegra.c clear_bit(irq, chip->used); used 1663 drivers/pci/controller/pci-tegra.c if (test_bit(index, msi->used)) used 29 drivers/pci/controller/pcie-altera-msi.c DECLARE_BITMAP(used, MAX_MSI_VECTORS); used 126 drivers/pci/controller/pcie-altera-msi.c bit = find_first_zero_bit(msi->used, msi->num_of_vectors); used 132 drivers/pci/controller/pcie-altera-msi.c set_bit(bit, msi->used); used 156 drivers/pci/controller/pcie-altera-msi.c if (!test_bit(d->hwirq, msi->used)) { used 160 drivers/pci/controller/pcie-altera-msi.c __clear_bit(d->hwirq, msi->used); used 135 drivers/pci/controller/pcie-rcar.c DECLARE_BITMAP(used, INT_PCI_MSI_NR); used 703 drivers/pci/controller/pcie-rcar.c msi = find_first_zero_bit(chip->used, INT_PCI_MSI_NR); used 705 drivers/pci/controller/pcie-rcar.c set_bit(msi, chip->used); used 719 drivers/pci/controller/pcie-rcar.c msi = bitmap_find_free_region(chip->used, INT_PCI_MSI_NR, used 729 drivers/pci/controller/pcie-rcar.c clear_bit(irq, chip->used); used 755 drivers/pci/controller/pcie-rcar.c if (test_bit(index, msi->used)) used 96 drivers/pci/hotplug/cpqphp_nvram.c static u32 add_byte(u32 **p_buffer, u8 value, u32 *used, u32 *avail) used 100 drivers/pci/hotplug/cpqphp_nvram.c if ((*used + 1) > *avail) used 106 drivers/pci/hotplug/cpqphp_nvram.c *used += 1; used 111 drivers/pci/hotplug/cpqphp_nvram.c static u32 add_dword(u32 **p_buffer, u32 value, u32 *used, u32 *avail) used 113 drivers/pci/hotplug/cpqphp_nvram.c if ((*used + 4) > *avail) used 118 drivers/pci/hotplug/cpqphp_nvram.c *used += 4; used 116 drivers/pci/hotplug/cpqphp_sysfs.c int used; used 118 drivers/pci/hotplug/cpqphp_sysfs.c used = size - show_ctrl(ctrl, data); used 119 drivers/pci/hotplug/cpqphp_sysfs.c used = (size - used) - show_dev(ctrl, &data[used]); used 120 drivers/pci/hotplug/cpqphp_sysfs.c return used; used 484 drivers/pinctrl/nomadik/pinctrl-nomadik.c if (pin_desc->altcx[i].used == true) { used 499 drivers/pinctrl/nomadik/pinctrl-nomadik.c if (pin_desc->altcx[alt_index].used == false) { used 513 drivers/pinctrl/nomadik/pinctrl-nomadik.c if (pin_desc->altcx[i].used == true) { used 600 drivers/pinctrl/nomadik/pinctrl-nomadik.c if (pin_desc->altcx[i].used == true) { used 30 drivers/pinctrl/nomadik/pinctrl-nomadik.h .used = altc1_used,\ used 35 drivers/pinctrl/nomadik/pinctrl-nomadik.h .used = altc2_used,\ used 40 drivers/pinctrl/nomadik/pinctrl-nomadik.h .used = altc3_used,\ used 45 drivers/pinctrl/nomadik/pinctrl-nomadik.h .used = altc4_used,\ used 79 drivers/pinctrl/nomadik/pinctrl-nomadik.h bool used:1; used 315 drivers/platform/mellanox/mlxbf-tmfifo.c vr_idx = virtio16_to_cpu(vdev, vr->used->idx); used 317 drivers/platform/mellanox/mlxbf-tmfifo.c vr->used->ring[idx].id = cpu_to_virtio32(vdev, desc - vr->desc); used 318 drivers/platform/mellanox/mlxbf-tmfifo.c vr->used->ring[idx].len = cpu_to_virtio32(vdev, len); used 326 drivers/platform/mellanox/mlxbf-tmfifo.c vr->used->idx = cpu_to_virtio16(vdev, vr_idx + 1); used 2650 drivers/platform/x86/asus-wmi.c static bool used; used 2657 drivers/platform/x86/asus-wmi.c if (used) used 2672 drivers/platform/x86/asus-wmi.c used = true; used 2681 drivers/platform/x86/asus-wmi.c used = false; used 1533 drivers/s390/cio/qdio_main.c int used, rc = 0; used 1538 drivers/s390/cio/qdio_main.c used = atomic_add_return(count, &q->nr_buf_used); used 1540 drivers/s390/cio/qdio_main.c if (used == QDIO_MAX_BUFFERS_PER_Q) used 1575 drivers/s390/cio/qdio_main.c if (used >= scan_threshold || rc) used 53 drivers/s390/scsi/zfcp_qdio.c int used; used 57 drivers/s390/scsi/zfcp_qdio.c used = QDIO_MAX_BUFFERS_PER_Q - atomic_read(&qdio->req_q_free); used 58 drivers/s390/scsi/zfcp_qdio.c qdio->req_q_util += used * span; used 98 drivers/s390/virtio/virtio_ccw.c __u64 used; used 471 drivers/s390/virtio/virtio_ccw.c info->info_block->s.used = 0; used 570 drivers/s390/virtio/virtio_ccw.c info->info_block->s.used = (__u64)virtqueue_get_used_addr(vq); used 184 drivers/scsi/arm/fas216.c static int used = 0; used 187 drivers/scsi/arm/fas216.c if (used++) used 37 drivers/scsi/be2iscsi/be.h u16 used; /* Number of valid elements in the queue */ used 96 drivers/scsi/be2iscsi/be_cmds.c if (mccq->used == mccq->len) { used 100 drivers/scsi/be2iscsi/be_cmds.c mccq->used, phba->ctrl.mcc_tag_available); used 134 drivers/scsi/be2iscsi/be_cmds.c mccq->used++; used 153 drivers/scsi/be2iscsi/be_cmds.c mccq->used--; used 2302 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c for (i = 0; i < pmap->used; i++) { used 414 drivers/scsi/cxgbi/libcxgbi.c unsigned int used; used 416 drivers/scsi/cxgbi/libcxgbi.c if (!pmap->max_connect || !pmap->used) used 420 drivers/scsi/cxgbi/libcxgbi.c used = pmap->used; used 421 drivers/scsi/cxgbi/libcxgbi.c for (i = 0; used && i < pmap->max_connect; i++) { used 429 drivers/scsi/cxgbi/libcxgbi.c used--; used 463 drivers/scsi/cxgbi/libcxgbi.c if (pmap->used >= pmap->max_connect) { used 475 drivers/scsi/cxgbi/libcxgbi.c pmap->used++; used 523 drivers/scsi/cxgbi/libcxgbi.c pmap->used--; used 448 drivers/scsi/cxgbi/libcxgbi.h unsigned int used; used 256 drivers/scsi/scsi_debug.c bool used; used 3837 drivers/scsi/scsi_debug.c if ((devip->used) && (devip->channel == sdev->channel) && used 3842 drivers/scsi/scsi_debug.c if ((!devip->used) && (!open_devip)) used 3860 drivers/scsi/scsi_debug.c open_devip->used = true; used 3904 drivers/scsi/scsi_debug.c devip->used = false; used 37 drivers/soc/amlogic/meson-canvas.c u8 used[NUM_CANVAS]; used 97 drivers/soc/amlogic/meson-canvas.c if (!canvas->used[canvas_index]) { used 135 drivers/soc/amlogic/meson-canvas.c if (!canvas->used[i]) { used 136 drivers/soc/amlogic/meson-canvas.c canvas->used[i] = 1; used 154 drivers/soc/amlogic/meson-canvas.c if (!canvas->used[canvas_index]) { used 160 drivers/soc/amlogic/meson-canvas.c canvas->used[canvas_index] = 0; used 476 drivers/staging/media/hantro/hantro_h264.c DECLARE_BITMAP(used, ARRAY_SIZE(dec_param->dpb)) = { 0, }; used 496 drivers/staging/media/hantro/hantro_h264.c for_each_clear_bit(j, used, ARRAY_SIZE(ctx->h264_dec.dpb)) { used 505 drivers/staging/media/hantro/hantro_h264.c set_bit(j, used); used 523 drivers/staging/media/hantro/hantro_h264.c j = find_first_zero_bit(used, ARRAY_SIZE(ctx->h264_dec.dpb)); used 529 drivers/staging/media/hantro/hantro_h264.c set_bit(j, used); used 171 drivers/staging/nvec/nvec.c if (atomic_xchg(&nvec->msg_pool[i].used, 1) == 0) { used 194 drivers/staging/nvec/nvec.c atomic_set(&msg->used, 0); used 99 drivers/staging/nvec/nvec.h atomic_t used; used 652 drivers/staging/rtl8192u/r8192U_core.c int used = atomic_read(&priv->tx_pending[queue_index]); used 654 drivers/staging/rtl8192u/r8192U_core.c return (used < MAX_TX_URB); used 873 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u16 i, total, used; used 980 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c used = eFuse_Addr - 1; used 981 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_usage = (u8)((used*100)/total); used 984 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pEfuseHal->fakeEfuseUsedBytes = used; used 986 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c fakeEfuseUsedBytes = used; used 989 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_hal_set_hwreg(padapter, HW_VAR_EFUSE_BYTES, (u8 *)&used); used 1013 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u16 i, total, used; used 1110 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c used = (EFUSE_BT_REAL_BANK_CONTENT_LEN*(bank-1)) + eFuse_Addr - 1; used 1111 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c DBG_8192C("%s: bank(%d) data end at %#x , used =%d\n", __func__, bank, eFuse_Addr-1, used); used 1112 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_usage = (u8)((used*100)/total); used 1115 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pEfuseHal->fakeBTEfuseUsedBytes = used; used 1117 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c fakeBTEfuseUsedBytes = used; used 1120 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_hal_set_hwreg(padapter, HW_VAR_EFUSE_BT_BYTES, (u8 *)&used); used 82 drivers/staging/speakup/kobjects.c static void report_char_chartab_status(int reset, int received, int used, used 97 drivers/staging/speakup/kobjects.c used, received, object_type[do_characters]); used 125 drivers/staging/speakup/kobjects.c int used = 0; used 197 drivers/staging/speakup/kobjects.c used++; used 207 drivers/staging/speakup/kobjects.c used++; used 221 drivers/staging/speakup/kobjects.c report_char_chartab_status(reset, received, used, rejected, used 730 drivers/staging/speakup/kobjects.c static void report_msg_status(int reset, int received, int used, used 742 drivers/staging/speakup/kobjects.c used, received, groupname); used 763 drivers/staging/speakup/kobjects.c int used = 0; used 827 drivers/staging/speakup/kobjects.c used++; used 835 drivers/staging/speakup/kobjects.c report_msg_status(reset, received, used, rejected, group->name); used 647 drivers/target/target_core_user.c #define UPDATE_HEAD(head, used, size) smp_store_release(&head, ((head % size) + used) % size) used 100 drivers/tty/tty_buffer.c p->used = 0; used 266 drivers/tty/tty_buffer.c left = 2 * b->size - b->used; used 268 drivers/tty/tty_buffer.c left = b->size - b->used; used 280 drivers/tty/tty_buffer.c smp_store_release(&b->commit, b->used); used 322 drivers/tty/tty_buffer.c memcpy(char_buf_ptr(tb, tb->used), chars, space); used 324 drivers/tty/tty_buffer.c memset(flag_buf_ptr(tb, tb->used), flag, space); used 325 drivers/tty/tty_buffer.c tb->used += space; used 357 drivers/tty/tty_buffer.c memcpy(char_buf_ptr(tb, tb->used), chars, space); used 358 drivers/tty/tty_buffer.c memcpy(flag_buf_ptr(tb, tb->used), flags, space); used 359 drivers/tty/tty_buffer.c tb->used += space; used 389 drivers/tty/tty_buffer.c *flag_buf_ptr(tb, tb->used) = flag; used 390 drivers/tty/tty_buffer.c *char_buf_ptr(tb, tb->used++) = ch; used 412 drivers/tty/tty_buffer.c smp_store_release(&buf->tail->commit, buf->tail->used); used 436 drivers/tty/tty_buffer.c *chars = char_buf_ptr(tb, tb->used); used 438 drivers/tty/tty_buffer.c memset(flag_buf_ptr(tb, tb->used), TTY_NORMAL, space); used 439 drivers/tty/tty_buffer.c tb->used += space; used 159 drivers/usb/class/usblp.c unsigned char used; /* True if open */ used 192 drivers/usb/class/usblp.c dev_dbg(dev, "used=%d\n", usblp->used); used 297 drivers/usb/class/usblp.c if (usblp->present && usblp->used) { used 321 drivers/usb/class/usblp.c if (usblp->present && usblp->used) { used 379 drivers/usb/class/usblp.c if (usblp->bidir && usblp->used) { used 411 drivers/usb/class/usblp.c if (usblp->used) used 423 drivers/usb/class/usblp.c usblp->used = 1; used 432 drivers/usb/class/usblp.c usblp->used = 0; used 464 drivers/usb/class/usblp.c usblp->used = 0; used 1379 drivers/usb/class/usblp.c if (!usblp->used) used 916 drivers/usb/gadget/function/rndis.c params->used = 1; used 1100 drivers/usb/gadget/function/rndis.c param->confignr, (param->used) ? "y" : "n", used 161 drivers/usb/gadget/function/rndis.h u8 used; used 642 drivers/usb/gadget/udc/r8a66597-udc.c if (r8a66597->dma.used) used 647 drivers/usb/gadget/udc/r8a66597-udc.c dma->used = 1; used 678 drivers/usb/gadget/udc/r8a66597-udc.c ep->dma->used = 0; used 80 drivers/usb/gadget/udc/r8a66597-udc.h unsigned used:1; used 301 drivers/usb/gadget/udc/renesas_usb3.c bool used; used 1267 drivers/usb/gadget/udc/renesas_usb3.c if (dma->used) used 1274 drivers/usb/gadget/udc/renesas_usb3.c dma->used = true; used 1294 drivers/usb/gadget/udc/renesas_usb3.c dma->used = false; used 357 drivers/usb/host/xhci-mtk-sch.c struct mu3h_sch_ep_info *sch_ep, bool used) used 368 drivers/usb/host/xhci-mtk-sch.c if (used) used 85 drivers/usb/misc/chaoskey.c int used; /* bytes of buf consumed */ used 327 drivers/usb/misc/chaoskey.c dev->used = 0; used 348 drivers/usb/misc/chaoskey.c if (dev->valid != dev->used) { used 350 drivers/usb/misc/chaoskey.c dev->valid, dev->used); used 438 drivers/usb/misc/chaoskey.c if (dev->valid == dev->used) { used 446 drivers/usb/misc/chaoskey.c this_time = dev->valid - dev->used; used 450 drivers/usb/misc/chaoskey.c remain = copy_to_user(buffer, dev->buf + dev->used, this_time); used 457 drivers/usb/misc/chaoskey.c dev->used += this_time - remain; used 465 drivers/usb/misc/chaoskey.c dev->used += this_time; used 506 drivers/usb/misc/chaoskey.c if (dev->valid == dev->used) used 509 drivers/usb/misc/chaoskey.c this_time = dev->valid - dev->used; used 513 drivers/usb/misc/chaoskey.c memcpy(data, dev->buf + dev->used, this_time); used 515 drivers/usb/misc/chaoskey.c dev->used += this_time; used 95 drivers/usb/mtu3/mtu3_debugfs.c int used = 0; used 104 drivers/usb/mtu3/mtu3_debugfs.c used++; used 110 drivers/usb/mtu3/mtu3_debugfs.c used++; used 113 drivers/usb/mtu3/mtu3_debugfs.c seq_printf(sf, "total used: %d eps\n", used); used 50 drivers/vhost/vhost.c #define vhost_avail_event(vq) ((__virtio16 __user *)&vq->used->ring[vq->num]) used 306 drivers/vhost/vhost.c vq->used = NULL; used 445 drivers/vhost/vhost.c return sizeof(*vq->used) + used 446 drivers/vhost/vhost.c sizeof(*vq->used->ring) * num + event; used 924 drivers/vhost/vhost.c return vhost_copy_to_user(vq, vq->used->ring + idx, head, used 932 drivers/vhost/vhost.c &vq->used->flags); used 939 drivers/vhost/vhost.c &vq->used->idx); used 1008 drivers/vhost/vhost.c return vhost_get_used(vq, *idx, &vq->used->idx); used 1299 drivers/vhost/vhost.c struct vring_used __user *used) used 1304 drivers/vhost/vhost.c access_ok(used, vhost_get_used_size(vq, num)); used 1366 drivers/vhost/vhost.c iotlb_access_ok(vq, VHOST_ACCESS_WO, (u64)(uintptr_t)vq->used, used 1401 drivers/vhost/vhost.c return vq_access_ok(vq, vq->num, vq->desc, vq->avail, vq->used); used 1528 drivers/vhost/vhost.c BUILD_BUG_ON(__alignof__ *vq->used > VRING_USED_ALIGN_SIZE); used 1547 drivers/vhost/vhost.c sizeof *vq->used + used 1548 drivers/vhost/vhost.c vq->num * sizeof *vq->used->ring)) used 1556 drivers/vhost/vhost.c vq->used = (void __user *)(unsigned long)a.used_user_addr; used 1918 drivers/vhost/vhost.c ret = translate_desc(vq, (uintptr_t)vq->used + used_offset, used 1971 drivers/vhost/vhost.c void __user *used; used 1978 drivers/vhost/vhost.c used = &vq->used->flags; used 1979 drivers/vhost/vhost.c log_used(vq, (used - (void __user *)vq->used), used 1980 drivers/vhost/vhost.c sizeof vq->used->flags); used 1992 drivers/vhost/vhost.c void __user *used; used 1996 drivers/vhost/vhost.c used = vhost_avail_event(vq); used 1997 drivers/vhost/vhost.c log_used(vq, (used - (void __user *)vq->used), used 2021 drivers/vhost/vhost.c !access_ok(&vq->used->idx, sizeof vq->used->idx)) { used 2028 drivers/vhost/vhost.c &vq->used->idx); used 2373 drivers/vhost/vhost.c struct vring_used_elem __user *used; used 2378 drivers/vhost/vhost.c used = vq->used->ring + start; used 2387 drivers/vhost/vhost.c log_used(vq, ((void __user *)used - (void __user *)vq->used), used 2388 drivers/vhost/vhost.c count * sizeof *used); used 2430 drivers/vhost/vhost.c sizeof vq->used->idx); used 2535 drivers/vhost/vhost.c &vq->used->flags, r); used 2572 drivers/vhost/vhost.c &vq->used->flags, r); used 92 drivers/vhost/vhost.h struct vring_used __user *used; used 81 drivers/vhost/vringh.c while (len && iov->i < iov->used) { used 278 drivers/vhost/vringh.c riov->i = riov->used = 0; used 280 drivers/vhost/vringh.c wiov->i = wiov->used = 0; used 359 drivers/vhost/vringh.c if (unlikely(iov->used == (iov->max_num & ~VRINGH_IOV_ALLOCATED))) { used 365 drivers/vhost/vringh.c iov->iov[iov->used].iov_base = addr; used 366 drivers/vhost/vringh.c iov->iov[iov->used].iov_len = len; used 367 drivers/vhost/vringh.c iov->used++; used 403 drivers/vhost/vringh.c const struct vring_used_elem *used, used 415 drivers/vhost/vringh.c used_ring = vrh->vring.used; used 423 drivers/vhost/vringh.c err = putused(&used_ring->ring[off], used, part); used 425 drivers/vhost/vringh.c err = putused(&used_ring->ring[0], used + part, used 428 drivers/vhost/vringh.c err = putused(&used_ring->ring[off], used, num_used); used 439 drivers/vhost/vringh.c err = putu16(vrh, &vrh->vring.used->idx, used_idx + num_used); used 442 drivers/vhost/vringh.c &vrh->vring.used->idx); used 508 drivers/vhost/vringh.c if (putu16(vrh, &vrh->vring.used->flags, 0) != 0) { used 510 drivers/vhost/vringh.c &vrh->vring.used->flags); used 544 drivers/vhost/vringh.c if (putu16(vrh, &vrh->vring.used->flags, used 547 drivers/vhost/vringh.c &vrh->vring.used->flags); used 610 drivers/vhost/vringh.c struct vring_used __user *used) used 628 drivers/vhost/vringh.c vrh->vring.used = (__force struct vring_used *)used; used 674 drivers/vhost/vringh.c BUILD_BUG_ON(offsetof(struct vringh_kiov, used) != used 675 drivers/vhost/vringh.c offsetof(struct vringh_iov, used)); used 757 drivers/vhost/vringh.c struct vring_used_elem used; used 759 drivers/vhost/vringh.c used.id = cpu_to_vringh32(vrh, head); used 760 drivers/vhost/vringh.c used.len = cpu_to_vringh32(vrh, len); used 761 drivers/vhost/vringh.c return __vringh_complete(vrh, &used, 1, putu16_user, putused_user); used 775 drivers/vhost/vringh.c const struct vring_used_elem used[], used 778 drivers/vhost/vringh.c return __vringh_complete(vrh, used, num_used, used 877 drivers/vhost/vringh.c struct vring_used *used) used 894 drivers/vhost/vringh.c vrh->vring.used = used; used 998 drivers/vhost/vringh.c struct vring_used_elem used; used 1000 drivers/vhost/vringh.c used.id = cpu_to_vringh32(vrh, head); used 1001 drivers/vhost/vringh.c used.len = cpu_to_vringh32(vrh, len); used 1003 drivers/vhost/vringh.c return __vringh_complete(vrh, &used, 1, putu16_kern, putused_kern); used 612 drivers/virtio/virtio_ring.c needs_kick = !(vq->split.vring.used->flags & used 675 drivers/virtio/virtio_ring.c vq->split.vring.used->idx); used 705 drivers/virtio/virtio_ring.c vq->split.vring.used->ring[last_used].id); used 707 drivers/virtio/virtio_ring.c vq->split.vring.used->ring[last_used].len); used 779 drivers/virtio/virtio_ring.c vq->split.vring.used->idx); used 808 drivers/virtio/virtio_ring.c if (unlikely((u16)(virtio16_to_cpu(_vq->vdev, vq->split.vring.used->idx) used 1330 drivers/virtio/virtio_ring.c bool avail, used; used 1335 drivers/virtio/virtio_ring.c used = !!(flags & (1 << VRING_PACKED_DESC_F_USED)); used 1337 drivers/virtio/virtio_ring.c return avail == used && used == used_wrap_counter; used 2318 drivers/virtio/virtio_ring.c ((char *)vq->split.vring.used - (char *)vq->split.vring.desc); used 5031 fs/btrfs/ctree.c int used = leaf_space_used(leaf, 0, nritems); used 5040 fs/btrfs/ctree.c if (used < BTRFS_LEAF_DATA_SIZE(fs_info) / 3) { used 1521 fs/btrfs/ctree.h used, 64); used 1523 fs/btrfs/ctree.h used, 64); used 17 fs/btrfs/delalloc-space.c u64 used; used 33 fs/btrfs/delalloc-space.c used = btrfs_space_info_used(data_sinfo, true); used 35 fs/btrfs/delalloc-space.c if (used + bytes > data_sinfo->total_bytes) { used 85 fs/btrfs/delalloc-space.c used + bytes - data_sinfo->total_bytes, used 831 fs/btrfs/free-space-cache.c u64 used = btrfs_block_group_used(&block_group->item); used 891 fs/btrfs/free-space-cache.c matched = (ctl->free_space == (block_group->key.offset - used - used 170 fs/btrfs/space-info.c u64 used; used 182 fs/btrfs/space-info.c used = btrfs_space_info_used(space_info, true); used 204 fs/btrfs/space-info.c if (used + bytes < space_info->total_bytes + avail) used 225 fs/btrfs/space-info.c u64 used = btrfs_space_info_used(space_info, true); used 230 fs/btrfs/space-info.c if ((used + ticket->bytes <= space_info->total_bytes) || used 635 fs/btrfs/space-info.c u64 used; used 651 fs/btrfs/space-info.c used = btrfs_space_info_used(space_info, true); used 659 fs/btrfs/space-info.c if (used > expected) used 660 fs/btrfs/space-info.c to_reclaim = used - expected; used 670 fs/btrfs/space-info.c u64 used, bool system_chunk) used 682 fs/btrfs/space-info.c return (used >= thresh && !btrfs_fs_closing(fs_info) && used 999 fs/btrfs/space-info.c u64 used; used 1008 fs/btrfs/space-info.c used = btrfs_space_info_used(space_info, true); used 1017 fs/btrfs/space-info.c ((used + orig_bytes <= space_info->total_bytes) || used 1052 fs/btrfs/space-info.c used += orig_bytes; used 1060 fs/btrfs/space-info.c used, system_chunk) && used 282 fs/ceph/caps.c ctx->used = 0; used 323 fs/ceph/caps.c ceph_reclaim_caps_nr(mdsc, ctx->used); used 368 fs/ceph/caps.c ctx->used++; used 407 fs/ceph/caps.c int *total, int *avail, int *used, int *reserved, used 418 fs/ceph/caps.c if (used) used 419 fs/ceph/caps.c *used = mdsc->caps_use_count; used 954 fs/ceph/caps.c int used = 0; used 956 fs/ceph/caps.c used |= CEPH_CAP_PIN; used 958 fs/ceph/caps.c used |= CEPH_CAP_FILE_RD; used 962 fs/ceph/caps.c used |= CEPH_CAP_FILE_CACHE; used 964 fs/ceph/caps.c used |= CEPH_CAP_FILE_WR; used 966 fs/ceph/caps.c used |= CEPH_CAP_FILE_BUFFER; used 967 fs/ceph/caps.c return used; used 1270 fs/ceph/caps.c int op, int flags, int used, int want, int retain, used 1326 fs/ceph/caps.c cap->implemented &= cap->issued | used; used 1825 fs/ceph/caps.c int file_wanted, used, cap_used; used 1854 fs/ceph/caps.c used = __ceph_caps_used(ci); used 1859 fs/ceph/caps.c retain = file_wanted | used | CEPH_CAP_PIN; used 1893 fs/ceph/caps.c ceph_cap_string(used), ceph_cap_string(ci->i_dirty_caps), used 1933 fs/ceph/caps.c cap_used = used; used 3103 fs/ceph/caps.c int used, wanted, dirty; used 3260 fs/ceph/caps.c used = __ceph_caps_used(ci); used 3264 fs/ceph/caps.c ceph_cap_string(used), used 3290 fs/ceph/caps.c if (revoking & used & CEPH_CAP_FILE_BUFFER) used 4171 fs/ceph/caps.c int used, dirty; used 4175 fs/ceph/caps.c used = __ceph_caps_used(ci); used 4179 fs/ceph/caps.c inode, mds, ceph_cap_string(used|dirty), ceph_cap_string(drop), used 4183 fs/ceph/caps.c drop &= ~(used | dirty); used 141 fs/ceph/debugfs.c int total, avail, used, reserved, min, i; used 143 fs/ceph/debugfs.c ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); used 149 fs/ceph/debugfs.c total, avail, used, reserved, min); used 1729 fs/ceph/mds_client.c int used, wanted, oissued, mine; used 1736 fs/ceph/mds_client.c used = __ceph_caps_used(ci); used 1742 fs/ceph/mds_client.c ceph_cap_string(used), ceph_cap_string(wanted)); used 1747 fs/ceph/mds_client.c if ((used | wanted) & CEPH_CAP_ANY_WR) used 1757 fs/ceph/mds_client.c if (wanted == 0 && used == CEPH_CAP_FILE_CACHE && used 1759 fs/ceph/mds_client.c used = 0; used 1762 fs/ceph/mds_client.c if ((used | wanted) & ~oissued & mine) used 484 fs/ceph/quota.c u64 total = 0, used, free; used 501 fs/ceph/quota.c used = ci->i_rbytes >> CEPH_BLOCK_SHIFT; used 505 fs/ceph/quota.c free = total > used ? total - used : 0; used 469 fs/ceph/snap.c int used, dirty; used 478 fs/ceph/snap.c used = __ceph_caps_used(ci); used 489 fs/ceph/snap.c if (used & CEPH_CAP_FILE_WR) used 520 fs/ceph/snap.c if (!(used & CEPH_CAP_FILE_WR) && used 564 fs/ceph/snap.c if (used & CEPH_CAP_FILE_WR) { used 697 fs/ceph/super.h int *total, int *avail, int *used, used 62 fs/coredump.c int used, size; used 89 fs/coredump.c free = cn->size - cn->used; used 92 fs/coredump.c need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); used 96 fs/coredump.c cn->used += need; used 121 fs/coredump.c int cur = cn->used; used 134 fs/coredump.c if ((cn->used - cur == 1 && cn->corename[cur] == '.') || used 135 fs/coredump.c (cn->used - cur == 2 && cn->corename[cur] == '.' used 145 fs/coredump.c if (cn->used == cur) used 149 fs/coredump.c for (; cur < cn->used; ++cur) { used 201 fs/coredump.c cn->used = 0; used 235 fs/coredump.c (*argv)[(*argc)++] = cn->used; used 2644 fs/ext4/ext4.h int used, int quota_claim); used 363 fs/ext4/inode.c int used, int quota_claim) used 369 fs/ext4/inode.c trace_ext4_da_update_reserve_space(inode, used, quota_claim); used 370 fs/ext4/inode.c if (unlikely(used > ei->i_reserved_data_blocks)) { used 373 fs/ext4/inode.c __func__, inode->i_ino, used, used 376 fs/ext4/inode.c used = ei->i_reserved_data_blocks; used 380 fs/ext4/inode.c ei->i_reserved_data_blocks -= used; used 381 fs/ext4/inode.c percpu_counter_sub(&sbi->s_dirtyclusters_counter, used); used 387 fs/ext4/inode.c dquot_claim_block(inode, EXT4_C2B(sbi, used)); used 394 fs/ext4/inode.c dquot_release_reservation_block(inode, EXT4_C2B(sbi, used)); used 163 fs/jffs2/debug.c uint32_t free = 0, dirty = 0, used = 0, wasted = 0, used 172 fs/jffs2/debug.c used += c->gcblock->used_size; used 180 fs/jffs2/debug.c used += c->nextblock->used_size; used 188 fs/jffs2/debug.c used += jeb->used_size; used 196 fs/jffs2/debug.c used += jeb->used_size; used 204 fs/jffs2/debug.c used += jeb->used_size; used 212 fs/jffs2/debug.c used += jeb->used_size; used 220 fs/jffs2/debug.c used += jeb->used_size; used 228 fs/jffs2/debug.c used += jeb->used_size; used 236 fs/jffs2/debug.c used += jeb->used_size; used 244 fs/jffs2/debug.c used += jeb->used_size; used 277 fs/jffs2/debug.c check(used); used 151 fs/jfs/jfs_types.h #define setDASDUSED(dasdp, used)\ used 153 fs/jfs/jfs_types.h (dasdp)->used_hi = ((u64)used) >> 32;\ used 154 fs/jfs/jfs_types.h (dasdp)->used_lo = __cpu_to_le32(used);\ used 544 fs/nfs/inode.c inode->i_blocks = nfs_calc_block_size(fattr->du.nfs3.used); used 2019 fs/nfs/inode.c inode->i_blocks = nfs_calc_block_size(fattr->du.nfs3.used); used 625 fs/nfs/internal.h blkcnt_t used = (tsize + 511) >> 9; used 626 fs/nfs/internal.h return (used > ULONG_MAX) ? ULONG_MAX : used; used 646 fs/nfs/nfs3xdr.c p = xdr_decode_size3(p, &fattr->du.nfs3.used); used 4046 fs/nfs/nfs4xdr.c static int decode_attr_space_used(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *used) used 4051 fs/nfs/nfs4xdr.c *used = 0; used 4058 fs/nfs/nfs4xdr.c xdr_decode_hyper(p, used); used 4063 fs/nfs/nfs4xdr.c (unsigned long long)*used); used 4630 fs/nfs/nfs4xdr.c status = decode_attr_space_used(xdr, bitmap, &fattr->du.nfs3.used); used 1851 fs/nfsd/vfs.c size_t used; used 1861 fs/nfsd/vfs.c struct buffered_dirent *de = (void *)(buf->dirent + buf->used); used 1865 fs/nfsd/vfs.c if (buf->used + reclen > PAGE_SIZE) { used 1875 fs/nfsd/vfs.c buf->used += reclen; used 1901 fs/nfsd/vfs.c buf.used = 0; used 1911 fs/nfsd/vfs.c size = buf.used; used 435 fs/ocfs2/ioctl.c int status = 0, used; used 492 fs/ocfs2/ioctl.c used = ocfs2_test_bit(offset, used 499 fs/ocfs2/ioctl.c if (!used) { used 504 fs/ocfs2/ioctl.c if (used && last_chunksize) { used 538 fs/ocfs2/move_extents.c int i, used, last_free_bits = 0, base_bit = *goal_bit; used 545 fs/ocfs2/move_extents.c used = ocfs2_test_bit(i, (unsigned long *)gd->bg_bitmap); used 546 fs/ocfs2/move_extents.c if (used) { used 192 fs/proc/proc_sysctl.c head->used = 0; used 258 fs/proc/proc_sysctl.c p->used++; used 265 fs/proc/proc_sysctl.c if (!--p->used) used 315 fs/proc/proc_sysctl.c if (unlikely(p->used)) { used 1498 fs/reiserfs/do_balan.c tb->used[i] = tb->FEB[i]; used 1501 fs/reiserfs/do_balan.c return tb->used[i]; used 2813 fs/reiserfs/fix_node.c if (tb->used[i]) { used 2815 fs/reiserfs/fix_node.c brelse(tb->used[i]); used 2435 fs/reiserfs/reiserfs.h struct buffer_head *used[MAX_FEB_SIZE]; used 76 fs/ubifs/gc.c wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, used 77 fs/ubifs/gc.c c->leb_size - wbuf->offs - wbuf->used); used 309 fs/ubifs/gc.c int err, new_lnum = wbuf->lnum, new_offs = wbuf->offs + wbuf->used; used 361 fs/ubifs/gc.c avail = c->leb_size - wbuf->offs - wbuf->used - used 383 fs/ubifs/gc.c avail = c->leb_size - wbuf->offs - wbuf->used - used 501 fs/ubifs/gc.c ubifs_assert(c, c->gc_lnum != -1 || wbuf->offs + wbuf->used == 0 || used 693 fs/ubifs/gc.c ubifs_assert(c, !wbuf->used); used 745 fs/ubifs/gc.c space_before = c->leb_size - wbuf->offs - wbuf->used; used 785 fs/ubifs/gc.c space_after = c->leb_size - wbuf->offs - wbuf->used; used 542 fs/ubifs/io.c if (!wbuf->used || wbuf->lnum == -1) used 547 fs/ubifs/io.c wbuf->lnum, wbuf->offs, wbuf->used, dbg_jhead(wbuf->jhead)); used 564 fs/ubifs/io.c sync_len = ALIGN(wbuf->used, c->min_io_size); used 565 fs/ubifs/io.c dirt = sync_len - wbuf->used; used 567 fs/ubifs/io.c ubifs_pad(c, wbuf->buf + wbuf->used, dirt); used 591 fs/ubifs/io.c wbuf->used = 0; used 620 fs/ubifs/io.c ubifs_assert(c, wbuf->used == 0); used 632 fs/ubifs/io.c wbuf->used = 0; used 725 fs/ubifs/io.c dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs + wbuf->used); used 739 fs/ubifs/io.c if (c->leb_size - wbuf->offs - wbuf->used < aligned_len) { used 754 fs/ubifs/io.c memcpy(wbuf->buf + wbuf->used, buf, len); used 771 fs/ubifs/io.c wbuf->used = 0; used 777 fs/ubifs/io.c wbuf->used += aligned_len; used 786 fs/ubifs/io.c if (wbuf->used) { used 794 fs/ubifs/io.c memcpy(wbuf->buf + wbuf->used, buf, wbuf->avail); used 860 fs/ubifs/io.c wbuf->used = aligned_len; used 866 fs/ubifs/io.c int free = c->leb_size - wbuf->offs - wbuf->used; used 873 fs/ubifs/io.c if (wbuf->used) used 1111 fs/ubifs/io.c wbuf->used = 0; used 1146 fs/ubifs/io.c if (wbuf->used) used 118 fs/ubifs/journal.c avail = c->leb_size - wbuf->offs - wbuf->used; used 167 fs/ubifs/journal.c avail = c->leb_size - wbuf->offs - wbuf->used; used 176 fs/ubifs/journal.c lnum, wbuf->lnum, wbuf->offs + wbuf->used); used 277 fs/ubifs/journal.c *offs = c->jheads[jhead].wbuf.offs + c->jheads[jhead].wbuf.used; used 1021 fs/ubifs/lprops.c int cat, lnum = lp->lnum, is_idx = 0, used = 0, free, dirty, ret; used 1139 fs/ubifs/lprops.c used += ALIGN(snod->len, 8); used 1144 fs/ubifs/lprops.c dirty = sleb->endpt - used; used 384 fs/ubifs/replay.c unsigned long long sqnum, int deletion, int *used, used 399 fs/ubifs/replay.c *used += ALIGN(len, 8); used 434 fs/ubifs/replay.c int deletion, int *used) used 454 fs/ubifs/replay.c *used += ALIGN(len, 8); used 674 fs/ubifs/replay.c int err = 0, used = 0, lnum = b->bud->lnum, offs = b->bud->start; used 752 fs/ubifs/replay.c &used, 0, new_size); used 764 fs/ubifs/replay.c &used, 0, new_size); used 779 fs/ubifs/replay.c !le64_to_cpu(dent->inum), &used); used 803 fs/ubifs/replay.c &key, snod->sqnum, 1, &used, used 824 fs/ubifs/replay.c ubifs_assert(c, sleb->endpt - offs >= used); used 827 fs/ubifs/replay.c b->dirty = sleb->endpt - offs - used; used 432 fs/ubifs/tnc_commit.c int lnum, offs, len, next_len, buf_len, buf_offs, used, avail; used 444 fs/ubifs/tnc_commit.c used = 0; used 465 fs/ubifs/tnc_commit.c used = 0; used 469 fs/ubifs/tnc_commit.c offs = buf_offs + used; used 510 fs/ubifs/tnc_commit.c wlen = used + len; used 511 fs/ubifs/tnc_commit.c used += ALIGN(len, 8); used 515 fs/ubifs/tnc_commit.c buf_offs + used + next_len <= c->leb_size && used 520 fs/ubifs/tnc_commit.c buf_offs + used + next_len <= c->leb_size) used 530 fs/ubifs/tnc_commit.c c->leb_size - buf_offs, blen - used, used 536 fs/ubifs/tnc_commit.c used -= blen; used 537 fs/ubifs/tnc_commit.c if (used < 0) used 538 fs/ubifs/tnc_commit.c used = 0; used 539 fs/ubifs/tnc_commit.c avail = buf_len - used; used 543 fs/ubifs/tnc_commit.c blen - used, 0, 0); used 828 fs/ubifs/tnc_commit.c int i, lnum, offs, len, next_len, buf_len, buf_offs, used; used 844 fs/ubifs/tnc_commit.c used = 0; used 863 fs/ubifs/tnc_commit.c idx = c->cbuf + used; used 911 fs/ubifs/tnc_commit.c used = 0; used 914 fs/ubifs/tnc_commit.c offs = buf_offs + used; used 966 fs/ubifs/tnc_commit.c wlen = used + len; used 967 fs/ubifs/tnc_commit.c used += ALIGN(len, 8); used 979 fs/ubifs/tnc_commit.c nxt_offs = buf_offs + used + next_len; used 1004 fs/ubifs/tnc_commit.c used -= blen; used 1005 fs/ubifs/tnc_commit.c if (used < 0) used 1006 fs/ubifs/tnc_commit.c used = 0; used 1007 fs/ubifs/tnc_commit.c avail = buf_len - used; used 1008 fs/ubifs/tnc_commit.c memmove(c->cbuf, c->cbuf + blen, used); used 687 fs/ubifs/ubifs.h int used; used 180 fs/xfs/libxfs/xfs_ag_resv.c xfs_extlen_t used) used 187 fs/xfs/libxfs/xfs_ag_resv.c if (used > ask) used 188 fs/xfs/libxfs/xfs_ag_resv.c ask = used; used 206 fs/xfs/libxfs/xfs_ag_resv.c hidden_space = ask - used; used 234 fs/xfs/libxfs/xfs_ag_resv.c resv->ar_reserved = ask - used; used 249 fs/xfs/libxfs/xfs_ag_resv.c xfs_extlen_t used; used 254 fs/xfs/libxfs/xfs_ag_resv.c ask = used = 0; used 256 fs/xfs/libxfs/xfs_ag_resv.c error = xfs_refcountbt_calc_reserves(mp, tp, agno, &ask, &used); used 260 fs/xfs/libxfs/xfs_ag_resv.c error = xfs_finobt_calc_reserves(mp, tp, agno, &ask, &used); used 265 fs/xfs/libxfs/xfs_ag_resv.c ask, used); used 274 fs/xfs/libxfs/xfs_ag_resv.c ask = used = 0; used 279 fs/xfs/libxfs/xfs_ag_resv.c &used); used 284 fs/xfs/libxfs/xfs_ag_resv.c ask, used); used 292 fs/xfs/libxfs/xfs_ag_resv.c ask = used = 0; used 294 fs/xfs/libxfs/xfs_ag_resv.c error = xfs_rmapbt_calc_reserves(mp, tp, agno, &ask, &used); used 298 fs/xfs/libxfs/xfs_ag_resv.c error = __xfs_ag_resv_init(pag, XFS_AG_RESV_RMAPBT, ask, used); used 520 fs/xfs/libxfs/xfs_dir2_sf.c int used; /* data bytes used */ used 545 fs/xfs/libxfs/xfs_dir2_sf.c used = offset + used 553 fs/xfs/libxfs/xfs_dir2_sf.c if (used + (holefit ? 0 : size) > args->geo->blksize) used 563 fs/xfs/libxfs/xfs_dir2_sf.c if (used + size > args->geo->blksize) used 627 fs/xfs/libxfs/xfs_ialloc_btree.c xfs_extlen_t *used) used 640 fs/xfs/libxfs/xfs_ialloc_btree.c *used += tree_len; used 64 fs/xfs/libxfs/xfs_ialloc_btree.h xfs_agnumber_t agno, xfs_extlen_t *ask, xfs_extlen_t *used); used 407 fs/xfs/libxfs/xfs_refcount_btree.c xfs_extlen_t *used) used 438 fs/xfs/libxfs/xfs_refcount_btree.c *used += tree_len; used 59 fs/xfs/libxfs/xfs_refcount_btree.h xfs_extlen_t *used); used 557 fs/xfs/libxfs/xfs_rmap_btree.c xfs_extlen_t *used) used 588 fs/xfs/libxfs/xfs_rmap_btree.c *used += tree_len; used 55 fs/xfs/libxfs/xfs_rmap_btree.h xfs_agnumber_t agno, xfs_extlen_t *ask, xfs_extlen_t *used); used 148 include/crypto/if_alg.h size_t used; used 185 include/crypto/if_alg.h ctx->used, 0); used 226 include/crypto/if_alg.h void af_alg_pull_tsgl(struct sock *sk, size_t used, struct scatterlist *dst, used 57 include/drm/drm_legacy.h int used; /**< Amount of buffer in use (for DMA) */ used 27 include/linux/ceph/types.h int used; used 26 include/linux/cpu_rmap.h u16 size, used; used 617 include/linux/dmaengine.h dma_cookie_t used; used 1256 include/linux/dmaengine.h dma_cookie_t cookie, dma_cookie_t *last, dma_cookie_t *used) used 1264 include/linux/dmaengine.h if (used) used 1265 include/linux/dmaengine.h *used = state.used; used 1292 include/linux/dmaengine.h dma_set_tx_state(struct dma_tx_state *st, dma_cookie_t last, dma_cookie_t used, u32 residue) used 1296 include/linux/dmaengine.h st->used = used; used 77 include/linux/export.h __attribute__((section("___ksymtab" sec "+" #sym), used)) \ used 83 include/linux/export.h __attribute__((section("___ksymtab" sec "+" #sym), used)) \ used 105 include/linux/export.h __attribute__((section("__ksymtab_strings"), used, aligned(1))) \ used 112 include/linux/export.h __attribute__((section("__ksymtab_strings"), used, aligned(1))) \ used 195 include/linux/lru_cache.h unsigned used; /* number of elements currently on in_use list */ used 59 include/linux/nfs_xdr.h __u64 used; used 210 include/linux/qed/qed_chain.h u16 used; used 212 include/linux/qed/qed_chain.h used = (u16) (((u32)0x10000 + used 216 include/linux/qed/qed_chain.h used -= p_chain->u.chain16.prod_idx / p_chain->elem_per_page - used 219 include/linux/qed/qed_chain.h return (u16)(p_chain->capacity - used); used 224 include/linux/qed/qed_chain.h u32 used; used 226 include/linux/qed/qed_chain.h used = (u32) (((u64)0x100000000ULL + used 230 include/linux/qed/qed_chain.h used -= p_chain->u.chain32.prod_idx / p_chain->elem_per_page - used 233 include/linux/qed/qed_chain.h return p_chain->capacity - used; used 148 include/linux/sysctl.h int used; used 286 include/linux/tracepoint.h __attribute__((section("__tracepoints"), used)) = \ used 63 include/linux/tty.h int used; used 25 include/linux/tty_flip.h if (!change && tb->used < tb->size) { used 27 include/linux/tty_flip.h *flag_buf_ptr(tb, tb->used) = flag; used 28 include/linux/tty_flip.h *char_buf_ptr(tb, tb->used++) = ch; used 80 include/linux/vringh.h unsigned i, used, max_num; used 92 include/linux/vringh.h unsigned i, used, max_num; used 103 include/linux/vringh.h struct vring_used __user *used); used 108 include/linux/vringh.h iov->used = iov->i = 0; used 126 include/linux/vringh.h iov->max_num = iov->used = iov->i = iov->consumed = 0; used 148 include/linux/vringh.h const struct vring_used_elem used[], used 165 include/linux/vringh.h struct vring_used *used); used 170 include/linux/vringh.h kiov->used = kiov->i = 0; used 188 include/linux/vringh.h kiov->max_num = kiov->used = kiov->i = kiov->consumed = 0; used 145 include/net/neighbour.h unsigned long used; used 441 include/net/neighbour.h if (READ_ONCE(neigh->used) != now) used 442 include/net/neighbour.h WRITE_ONCE(neigh->used, now); used 105 include/sound/emux_synth.h int used; /* use counter */ used 39 include/sound/hdaudio.h unsigned int used; used 659 include/sound/hdaudio.h for ((idx) = 0, (ptr) = (array)->list; (idx) < (array)->used; \ used 59 include/sound/hwdep.h int used; /* reference counter */ used 46 include/sound/sb16_csp.h int used; /* usage flag - exclusive */ used 30 include/sound/util_mem.h unsigned int used; /* used memory size */ used 18 include/sound/wavefront.h The method used to do this here ("__attribute__((packed)") is used 1857 include/trace/events/btrfs.h __field( u64, used ) used 1864 include/trace/events/btrfs.h __entry->used = btrfs_block_group_used(&bg_cache->item); used 1869 include/trace/events/btrfs.h __entry->bytenr, __entry->len, __entry->used, __entry->flags, used 93 include/trace/events/neigh.h __field(unsigned long, used) used 133 include/trace/events/neigh.h __entry->used = n->used; used 150 include/trace/events/neigh.h __entry->confirmed, __entry->updated, __entry->used, used 173 include/trace/events/neigh.h __field(unsigned long, used) used 211 include/trace/events/neigh.h __entry->used = n->used; used 223 include/trace/events/neigh.h __entry->confirmed, __entry->updated, __entry->used, used 378 include/uapi/drm/drm.h int used; /**< Amount of buffer in use (for DMA) */ used 248 include/uapi/drm/i810_drm.h int used; /* nr bytes in use */ used 254 include/uapi/drm/i810_drm.h int used; /* nr bytes in use */ used 282 include/uapi/drm/i810_drm.h int used; /* nr bytes in use */ used 430 include/uapi/drm/i915_drm.h int used; /* nr bytes in use */ used 377 include/uapi/drm/mga_drm.h int used; /* bytes in use */ used 899 include/uapi/linux/btrfs_tree.h __le64 used; used 128 include/uapi/linux/virtio_ring.h struct vring_used *used; used 165 include/uapi/linux/virtio_ring.h #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num]) used 173 include/uapi/linux/virtio_ring.h vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) used 535 include/uapi/sound/asequencer.h int used; /* queue is used with this client used 897 include/uapi/sound/asound.h unsigned int used; /* R: count of element IDs set */ used 7775 kernel/sched/fair.c unsigned long used, free; used 7783 kernel/sched/fair.c used = READ_ONCE(rq->avg_rt.util_avg); used 7784 kernel/sched/fair.c used += READ_ONCE(rq->avg_dl.util_avg); used 7786 kernel/sched/fair.c if (unlikely(used >= max)) used 7789 kernel/sched/fair.c free = max - used; used 142 lib/cpu_rmap.c BUG_ON(rmap->used >= rmap->size); used 143 lib/cpu_rmap.c index = rmap->used++; used 233 lib/cpu_rmap.c for (index = 0; index < rmap->used; index++) { used 201 lib/lru_cache.c lc->used = 0; used 239 lib/lru_cache.c lc->name, lc->used, lc->nr_elements, used 393 lib/lru_cache.c lc->used++; used 434 lib/lru_cache.c lc->used++; used 568 lib/lru_cache.c lc->used--; used 74 lib/test_parman.c bool used; used 209 lib/test_parman.c if (!item->used) used 280 lib/test_parman.c if (!item->used) { used 295 lib/test_parman.c item->used = !item->used; used 33 lib/zlib_inflate/inftrees.c unsigned used; /* code entries in table used */ used 194 lib/zlib_inflate/inftrees.c used = 1U << root; /* use root table entries */ used 195 lib/zlib_inflate/inftrees.c mask = used - 1; /* mask for comparing low */ used 198 lib/zlib_inflate/inftrees.c if (type == LENS && used >= ENOUGH - MAXD) used 265 lib/zlib_inflate/inftrees.c used += 1U << curr; used 266 lib/zlib_inflate/inftrees.c if (type == LENS && used >= ENOUGH - MAXD) used 312 lib/zlib_inflate/inftrees.c *table += used; used 37 mm/cma_debug.c unsigned long used; used 41 mm/cma_debug.c used = bitmap_weight(cma->bitmap, (int)cma_bitmap_maxno(cma)); used 43 mm/cma_debug.c *val = (u64)used << cma->order_per_bit; used 4455 mm/memcontrol.c unsigned long used = page_counter_read(&memcg->memory); used 4457 mm/memcontrol.c *pheadroom = min(*pheadroom, ceiling - min(ceiling, used)); used 4948 mm/page_alloc.c unsigned long used = addr + PAGE_ALIGN(size); used 4951 mm/page_alloc.c while (used < alloc_end) { used 4952 mm/page_alloc.c free_page(used); used 4953 mm/page_alloc.c used += PAGE_SIZE; used 83 net/atm/clip.c entry->neigh->used = jiffies; used 96 net/atm/clip.c entry->neigh->used = jiffies; used 750 net/atm/clip.c exp = entry->neigh->used; used 503 net/bridge/br_fdb.c fdb->updated = fdb->used = jiffies; used 662 net/bridge/br_fdb.c ci.ndm_used = jiffies_to_clock_t(now - fdb->used); used 872 net/bridge/br_fdb.c fdb->used = jiffies; used 1141 net/bridge/br_fdb.c fdb->used = jiffies; used 157 net/bridge/br_input.c if (now != dst->used) used 158 net/bridge/br_input.c dst->used = now; used 195 net/bridge/br_private.h unsigned long used; used 406 net/core/neighbour.c n->updated = n->used = now; used 930 net/core/neighbour.c if (time_before(n->used, n->confirmed)) used 931 net/core/neighbour.c n->used = n->confirmed; used 935 net/core/neighbour.c time_after(jiffies, n->used + NEIGH_VAR(n->parms, GC_STALETIME)))) { used 1038 net/core/neighbour.c neigh->used + used 2457 net/core/neighbour.c ci.ndm_used = jiffies_to_clock_t(now - neigh->used); used 400 net/decnet/dn_neigh.c neigh->used = jiffies; used 460 net/decnet/dn_neigh.c neigh->used = jiffies; used 807 net/ipv4/fib_trie.c unsigned long used = child_length(tn); used 808 net/ipv4/fib_trie.c unsigned long threshold = used; used 812 net/ipv4/fib_trie.c used -= tn_info(tn)->empty_children; used 813 net/ipv4/fib_trie.c used += tn_info(tn)->full_children; used 817 net/ipv4/fib_trie.c return (used > 1) && tn->pos && ((50 * used) >= threshold); used 822 net/ipv4/fib_trie.c unsigned long used = child_length(tn); used 823 net/ipv4/fib_trie.c unsigned long threshold = used; used 827 net/ipv4/fib_trie.c used -= tn_info(tn)->empty_children; used 831 net/ipv4/fib_trie.c return (used > 1) && (tn->bits > 1) && ((100 * used) < threshold); used 836 net/ipv4/fib_trie.c unsigned long used = child_length(tn); used 838 net/ipv4/fib_trie.c used -= tn_info(tn)->empty_children; used 842 net/ipv4/fib_trie.c used -= KEY_MAX; used 845 net/ipv4/fib_trie.c return used < 2; used 1635 net/ipv4/tcp.c int used; used 1647 net/ipv4/tcp.c used = recv_actor(desc, skb, offset, len); used 1648 net/ipv4/tcp.c if (used <= 0) { used 1650 net/ipv4/tcp.c copied = used; used 1652 net/ipv4/tcp.c } else if (used <= len) { used 1653 net/ipv4/tcp.c seq += used; used 1654 net/ipv4/tcp.c copied += used; used 1655 net/ipv4/tcp.c offset += used; used 1961 net/ipv4/tcp.c unsigned long used; used 2118 net/ipv4/tcp.c used = skb->len - offset; used 2119 net/ipv4/tcp.c if (len < used) used 2120 net/ipv4/tcp.c used = len; used 2125 net/ipv4/tcp.c if (urg_offset < used) { used 2131 net/ipv4/tcp.c used--; used 2132 net/ipv4/tcp.c if (!used) used 2136 net/ipv4/tcp.c used = urg_offset; used 2141 net/ipv4/tcp.c err = skb_copy_datagram_msg(skb, offset, msg, used); used 2150 net/ipv4/tcp.c WRITE_ONCE(*seq, *seq + used); used 2151 net/ipv4/tcp.c copied += used; used 2152 net/ipv4/tcp.c len -= used; used 2167 net/ipv4/tcp.c if (used + offset < skb->len) used 411 net/lapb/lapb_iface.c int used = 0; used 415 net/lapb/lapb_iface.c used = 1; used 418 net/lapb/lapb_iface.c return used; used 739 net/llc/af_llc.c unsigned long used; used 837 net/llc/af_llc.c used = skb->len - offset; used 838 net/llc/af_llc.c if (len < used) used 839 net/llc/af_llc.c used = len; used 842 net/llc/af_llc.c int rc = skb_copy_datagram_msg(skb, offset, msg, used); used 851 net/llc/af_llc.c *seq += used; used 852 net/llc/af_llc.c copied += used; used 853 net/llc/af_llc.c len -= used; used 866 net/llc/af_llc.c if (used + offset < skb_len) used 1639 net/mac80211/iface.c bool used = false; used 1644 net/mac80211/iface.c used = true; used 1649 net/mac80211/iface.c if (!used) { used 1691 net/mac80211/iface.c bool used = false; used 1704 net/mac80211/iface.c used = true; used 1709 net/mac80211/iface.c if (!used) { used 234 net/ncsi/internal.h bool used; /* Request that has been assigned */ used 355 net/ncsi/ncsi-manage.c if (ndp->requests[i].used) used 359 net/ncsi/ncsi-manage.c nr->used = true; used 367 net/ncsi/ncsi-manage.c if (ndp->requests[i].used) used 371 net/ncsi/ncsi-manage.c nr->used = true; used 399 net/ncsi/ncsi-manage.c nr->used = false; used 1148 net/ncsi/ncsi-rsp.c if (!nr->used) { used 76 net/netfilter/ipset/ip_set_hash_gen.h DECLARE_BITMAP(used, AHASH_MAX_TUNED); used 417 net/netfilter/ipset/ip_set_hash_gen.h if (test_bit(i, n->used)) used 531 net/netfilter/ipset/ip_set_hash_gen.h if (!test_bit(j, n->used)) { used 539 net/netfilter/ipset/ip_set_hash_gen.h clear_bit(j, n->used); used 567 net/netfilter/ipset/ip_set_hash_gen.h if (!test_bit(j, n->used)) used 572 net/netfilter/ipset/ip_set_hash_gen.h set_bit(d, tmp->used); used 711 net/netfilter/ipset/ip_set_hash_gen.h if (!test_bit(j, n->used)) used 768 net/netfilter/ipset/ip_set_hash_gen.h set_bit(m->pos++, m->used); used 840 net/netfilter/ipset/ip_set_hash_gen.h if (!test_bit(j, n->used)) used 909 net/netfilter/ipset/ip_set_hash_gen.h if (!test_bit(i, n->used)) { used 999 net/netfilter/ipset/ip_set_hash_gen.h set_bit(j, n->used); used 1073 net/netfilter/ipset/ip_set_hash_gen.h if (!test_bit(i, n->used)) { used 1084 net/netfilter/ipset/ip_set_hash_gen.h clear_bit(i, n->used); used 1110 net/netfilter/ipset/ip_set_hash_gen.h if (!test_bit(i, n->used)) used 1125 net/netfilter/ipset/ip_set_hash_gen.h if (!test_bit(j, n->used)) used 1129 net/netfilter/ipset/ip_set_hash_gen.h set_bit(k, tmp->used); used 1203 net/netfilter/ipset/ip_set_hash_gen.h if (!test_bit(i, n->used)) used 1259 net/netfilter/ipset/ip_set_hash_gen.h if (!test_bit(i, n->used)) used 1377 net/netfilter/ipset/ip_set_hash_gen.h if (!test_bit(i, n->used)) used 483 net/netfilter/x_tables.c char used[64], allow[64]; used 487 net/netfilter/x_tables.c textify_hooks(used, sizeof(used), used 1001 net/netfilter/x_tables.c char used[64], allow[64]; used 1005 net/netfilter/x_tables.c textify_hooks(used, sizeof(used), used 739 net/openvswitch/datapath.c unsigned long used; used 741 net/openvswitch/datapath.c ovs_flow_stats_get(flow, &stats, &used, &tcp_flags); used 743 net/openvswitch/datapath.c if (used && used 744 net/openvswitch/datapath.c nla_put_u64_64bit(skb, OVS_FLOW_ATTR_USED, ovs_flow_used_time(used), used 100 net/openvswitch/flow.c new_stats->used = jiffies; used 116 net/openvswitch/flow.c stats->used = jiffies; used 127 net/openvswitch/flow.c unsigned long *used, __be16 *tcp_flags) used 131 net/openvswitch/flow.c *used = 0; used 144 net/openvswitch/flow.c if (!*used || time_after(stats->used, *used)) used 145 net/openvswitch/flow.c *used = stats->used; used 165 net/openvswitch/flow.c stats->used = 0; used 200 net/openvswitch/flow.h unsigned long used; /* Last used time (in jiffies). */ used 268 net/openvswitch/flow.h unsigned long *used, __be16 *tcp_flags); used 2387 net/openvswitch/flow_netlink.c int used = (*sfa)->actions_len; used 2394 net/openvswitch/flow_netlink.c return used; used 123 net/openvswitch/meter.c nla_put_u64_64bit(reply, OVS_METER_ATTR_USED, meter->used, used 211 net/openvswitch/meter.c meter->used = div_u64(ktime_get_ns(), 1000 * 1000); used 462 net/openvswitch/meter.c long_delta_ms = (now_ms - meter->used); /* ms */ used 472 net/openvswitch/meter.c meter->used = now_ms; used 40 net/openvswitch/meter.h u64 used; used 311 net/smc/smc_core.c conn->sndbuf_desc->used = 0; used 320 net/smc/smc_core.c conn->rmb_desc->used = 0; used 721 net/smc/smc_core.c if (cmpxchg(&buf_slot->used, 0, 1) == 0) { used 883 net/smc/smc_core.c buf_desc->used = 1; used 152 net/smc/smc_core.h u32 used; /* currently used / unused */ used 500 net/socket.c ssize_t used = 0; used 505 net/socket.c used += len; used 507 net/socket.c if (size < used) used 513 net/socket.c used += len; used 515 net/socket.c if (size < used) used 521 net/socket.c return used; used 1336 samples/vfio-mdev/mtty.c int ports = 0, used = 0; used 1351 samples/vfio-mdev/mtty.c used += mds->nr_ports; used 1353 samples/vfio-mdev/mtty.c return sprintf(buf, "%d\n", (MAX_MTTYS - used)/ports); used 284 scripts/insert-sys-cert.c int *used; used 381 scripts/insert-sys-cert.c used = (int *)used_sym.content; used 389 scripts/insert-sys-cert.c if (cert_size == *used && used 395 scripts/insert-sys-cert.c if (*used > 0) used 403 scripts/insert-sys-cert.c *lsize = *lsize + cert_size - *used; used 404 scripts/insert-sys-cert.c *used = cert_size; used 407 scripts/insert-sys-cert.c info("Used %d bytes out of %d bytes reserved.\n", *used, used 203 security/selinux/avc.c (xpd->used & XPERMS_ALLOWED)) used 206 security/selinux/avc.c (xpd->used & XPERMS_AUDITALLOW)) used 209 security/selinux/avc.c (xpd->used & XPERMS_DONTAUDIT)) used 256 security/selinux/avc.c dest->used = src->used; used 257 security/selinux/avc.c if (dest->used & XPERMS_ALLOWED) used 260 security/selinux/avc.c if (dest->used & XPERMS_AUDITALLOW) used 263 security/selinux/avc.c if (dest->used & XPERMS_DONTAUDIT) used 282 security/selinux/avc.c dest->used = src->used; used 283 security/selinux/avc.c if (dest->used & XPERMS_ALLOWED) used 285 security/selinux/avc.c if (dest->used & XPERMS_AUDITALLOW) used 287 security/selinux/avc.c if (dest->used & XPERMS_DONTAUDIT) used 332 security/selinux/avc.c dest_xpd = avc_xperms_decision_alloc(src->used); used 369 security/selinux/avc.c dest_xpd = avc_xperms_decision_alloc(src_xpd->xpd.used); used 210 security/selinux/include/security.h u8 used; used 961 security/selinux/ss/services.c xpermd->used |= XPERMS_ALLOWED; used 972 security/selinux/ss/services.c xpermd->used |= XPERMS_AUDITALLOW; used 983 security/selinux/ss/services.c xpermd->used |= XPERMS_DONTAUDIT; used 1016 security/selinux/ss/services.c xpermd->used = 0; used 2372 security/tomoyo/common.c unsigned int used = tomoyo_memory_used[i]; used 2374 security/tomoyo/common.c total += used; used 2376 security/tomoyo/common.c tomoyo_memory_headers[i], used); used 2377 security/tomoyo/common.c used = tomoyo_memory_quota[i]; used 2378 security/tomoyo/common.c if (used) used 2379 security/tomoyo/common.c tomoyo_io_printf(head, " (Quota: %10u)", used); used 733 sound/core/control.c list.used = 0; used 742 sound/core/control.c if (copy_to_user(list.pids + list.used, &id, used 747 sound/core/control.c list.used++; used 16 sound/core/control_compat.c u32 used; used 97 sound/core/hwdep.c if (hw->exclusive && hw->used > 0) { used 133 sound/core/hwdep.c hw->used++; used 155 sound/core/hwdep.c if (hw->used > 0) used 156 sound/core/hwdep.c hw->used--; used 1790 sound/core/seq/seq_clientmgr.c int used; used 1792 sound/core/seq/seq_clientmgr.c used = snd_seq_queue_is_used(info->queue, client->number); used 1793 sound/core/seq/seq_clientmgr.c if (used < 0) used 1795 sound/core/seq/seq_clientmgr.c info->used = used; used 1809 sound/core/seq/seq_clientmgr.c if (info->used >= 0) { used 1810 sound/core/seq/seq_clientmgr.c err = snd_seq_queue_use(info->queue, client->number, info->used); used 254 sound/core/seq/seq_memory.c int used; used 257 sound/core/seq/seq_memory.c used = atomic_read(&pool->counter); used 258 sound/core/seq/seq_memory.c if (pool->max_used < used) used 259 sound/core/seq/seq_memory.c pool->max_used = used; used 44 sound/drivers/opl3/opl3_seq.c if (hwdep->used) { used 48 sound/drivers/opl3/opl3_seq.c hwdep->used++; used 85 sound/drivers/opl3/opl3_seq.c hwdep->used--; used 188 sound/drivers/opl4/opl4_local.h int used; used 68 sound/drivers/opl4/opl4_seq.c if (opl4->used) { used 72 sound/drivers/opl4/opl4_seq.c opl4->used++; used 95 sound/drivers/opl4/opl4_seq.c opl4->used--; used 276 sound/firewire/amdtp-am824.c int used; used 278 sound/firewire/amdtp-am824.c used = p->midi_fifo_used[port]; used 279 sound/firewire/amdtp-am824.c if (used == 0) /* common shortcut */ used 282 sound/firewire/amdtp-am824.c used -= MIDI_BYTES_PER_SECOND * s->syt_interval; used 283 sound/firewire/amdtp-am824.c used = max(used, 0); used 284 sound/firewire/amdtp-am824.c p->midi_fifo_used[port] = used; used 286 sound/firewire/amdtp-am824.c return used < p->midi_fifo_limit; used 381 sound/firewire/bebob/bebob_stream.c bool used; used 389 sound/firewire/bebob/bebob_stream.c err = cmp_connection_check_used(conn, &used); used 390 sound/firewire/bebob/bebob_stream.c if ((err >= 0) && used && !amdtp_stream_running(s)) { used 160 sound/firewire/cmp.c int cmp_connection_check_used(struct cmp_connection *c, bool *used) used 169 sound/firewire/cmp.c *used = !!(pcr & cpu_to_be32(PCR_BCAST_CONN | used 42 sound/firewire/cmp.h int cmp_connection_check_used(struct cmp_connection *connection, bool *used); used 227 sound/firewire/digi00x/amdtp-dot.c int used; used 229 sound/firewire/digi00x/amdtp-dot.c used = p->midi_fifo_used[port]; used 230 sound/firewire/digi00x/amdtp-dot.c if (used == 0) used 233 sound/firewire/digi00x/amdtp-dot.c used -= MIDI_BYTES_PER_SECOND * s->syt_interval; used 234 sound/firewire/digi00x/amdtp-dot.c used = max(used, 0); used 235 sound/firewire/digi00x/amdtp-dot.c p->midi_fifo_used[port] = used; used 237 sound/firewire/digi00x/amdtp-dot.c return used < p->midi_fifo_limit; used 107 sound/firewire/fireworks/fireworks_stream.c bool used; used 115 sound/firewire/fireworks/fireworks_stream.c err = cmp_connection_check_used(conn, &used); used 116 sound/firewire/fireworks/fireworks_stream.c if ((err >= 0) && used && !amdtp_stream_running(s)) { used 131 sound/firewire/oxfw/oxfw-stream.c bool used; used 139 sound/firewire/oxfw/oxfw-stream.c err = cmp_connection_check_used(conn, &used); used 140 sound/firewire/oxfw/oxfw-stream.c if ((err >= 0) && used && !amdtp_stream_running(stream)) { used 133 sound/firewire/tascam/amdtp-tascam.c bool used = READ_ONCE(tscm->hwdep->used); used 145 sound/firewire/tascam/amdtp-tascam.c if (used && index > 4 && index < 16) { used 23 sound/hda/array.c if (array->used >= array->alloced) { used 37 sound/hda/array.c return snd_array_elem(array, array->used++); used 48 sound/hda/array.c array->used = 0; used 275 sound/isa/gus/gus_mem.c unsigned int total, used; used 291 sound/isa/gus/gus_mem.c used = 0; used 293 sound/isa/gus/gus_mem.c used += block->size; used 323 sound/isa/gus/gus_mem.c total, used, total - used); used 266 sound/isa/sb/sb16_csp.c if (p->used) { used 270 sound/isa/sb/sb16_csp.c p->used++; used 283 sound/isa/sb/sb16_csp.c p->used--; used 161 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; used 167 sound/oss/dmasound/dmasound_atari.c used = count; used 175 sound/oss/dmasound/dmasound_atari.c *frameUsed += used; used 176 sound/oss/dmasound/dmasound_atari.c return used; used 184 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; used 190 sound/oss/dmasound/dmasound_atari.c used = count; used 193 sound/oss/dmasound/dmasound_atari.c *frameUsed += used; used 194 sound/oss/dmasound/dmasound_atari.c return used; used 202 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; used 207 sound/oss/dmasound/dmasound_atari.c used = count; used 218 sound/oss/dmasound/dmasound_atari.c used = count*2; used 228 sound/oss/dmasound/dmasound_atari.c *frameUsed += used; used 229 sound/oss/dmasound/dmasound_atari.c return used; used 237 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; used 242 sound/oss/dmasound/dmasound_atari.c used = count*2; used 252 sound/oss/dmasound/dmasound_atari.c *frameUsed += used*2; used 256 sound/oss/dmasound/dmasound_atari.c used = count; used 259 sound/oss/dmasound/dmasound_atari.c *frameUsed += used; used 261 sound/oss/dmasound/dmasound_atari.c return used; used 269 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; used 274 sound/oss/dmasound/dmasound_atari.c used = count*2; used 285 sound/oss/dmasound/dmasound_atari.c *frameUsed += used*2; used 289 sound/oss/dmasound/dmasound_atari.c used = count*4; used 298 sound/oss/dmasound/dmasound_atari.c *frameUsed += used; used 300 sound/oss/dmasound/dmasound_atari.c return used; used 308 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; used 314 sound/oss/dmasound/dmasound_atari.c used = count*2; used 325 sound/oss/dmasound/dmasound_atari.c *frameUsed += used*2; used 329 sound/oss/dmasound/dmasound_atari.c used = count*4; used 339 sound/oss/dmasound/dmasound_atari.c *frameUsed += used; used 341 sound/oss/dmasound/dmasound_atari.c return used; used 349 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; used 355 sound/oss/dmasound/dmasound_atari.c used = count*2; used 365 sound/oss/dmasound/dmasound_atari.c *frameUsed += used*2; used 369 sound/oss/dmasound/dmasound_atari.c used = count; used 379 sound/oss/dmasound/dmasound_atari.c *frameUsed += used; used 381 sound/oss/dmasound/dmasound_atari.c return used; used 394 sound/oss/dmasound/dmasound_atari.c ssize_t used, usedf; used 396 sound/oss/dmasound/dmasound_atari.c used = userCount; used 441 sound/oss/dmasound/dmasound_atari.c used -= userCount; used 443 sound/oss/dmasound/dmasound_atari.c return used; used 454 sound/oss/dmasound/dmasound_atari.c ssize_t used, usedf; used 456 sound/oss/dmasound/dmasound_atari.c used = userCount; used 495 sound/oss/dmasound/dmasound_atari.c used -= userCount; used 497 sound/oss/dmasound/dmasound_atari.c return used; used 508 sound/oss/dmasound/dmasound_atari.c ssize_t used, usedf; used 510 sound/oss/dmasound/dmasound_atari.c used = userCount; used 551 sound/oss/dmasound/dmasound_atari.c used -= userCount; used 553 sound/oss/dmasound/dmasound_atari.c return used; used 564 sound/oss/dmasound/dmasound_atari.c ssize_t used, usedf; used 566 sound/oss/dmasound/dmasound_atari.c used = userCount; used 607 sound/oss/dmasound/dmasound_atari.c used -= userCount; used 609 sound/oss/dmasound/dmasound_atari.c return used; used 620 sound/oss/dmasound/dmasound_atari.c ssize_t used, usedf; used 622 sound/oss/dmasound/dmasound_atari.c used = userCount; used 665 sound/oss/dmasound/dmasound_atari.c used -= userCount; used 667 sound/oss/dmasound/dmasound_atari.c return used; used 678 sound/oss/dmasound/dmasound_atari.c ssize_t used, usedf; used 680 sound/oss/dmasound/dmasound_atari.c used = userCount; used 723 sound/oss/dmasound/dmasound_atari.c used -= userCount; used 725 sound/oss/dmasound/dmasound_atari.c return used; used 736 sound/oss/dmasound/dmasound_atari.c ssize_t used, usedf; used 738 sound/oss/dmasound/dmasound_atari.c used = userCount; used 781 sound/oss/dmasound/dmasound_atari.c used -= userCount; used 783 sound/oss/dmasound/dmasound_atari.c return used; used 160 sound/oss/dmasound/dmasound_paula.c ssize_t count, used; used 165 sound/oss/dmasound/dmasound_paula.c used = count; used 172 sound/oss/dmasound/dmasound_paula.c used = count*2; used 180 sound/oss/dmasound/dmasound_paula.c *frameUsed += used; used 181 sound/oss/dmasound/dmasound_paula.c return used; used 194 sound/oss/dmasound/dmasound_paula.c ssize_t count, used; \ used 199 sound/oss/dmasound/dmasound_paula.c used = count; \ used 211 sound/oss/dmasound/dmasound_paula.c used = count*2; \ used 223 sound/oss/dmasound/dmasound_paula.c *frameUsed += used; \ used 224 sound/oss/dmasound/dmasound_paula.c return used; \ used 246 sound/oss/dmasound/dmasound_paula.c ssize_t count, used; \ used 253 sound/oss/dmasound/dmasound_paula.c used = count*2; \ used 268 sound/oss/dmasound/dmasound_paula.c used = count*4; \ used 283 sound/oss/dmasound/dmasound_paula.c *frameUsed += used; \ used 284 sound/oss/dmasound/dmasound_paula.c return used; \ used 67 sound/oss/dmasound/dmasound_q40.c ssize_t count, used; used 70 sound/oss/dmasound/dmasound_q40.c used = count = min_t(size_t, userCount, frameLeft); used 78 sound/oss/dmasound/dmasound_q40.c *frameUsed += used ; used 79 sound/oss/dmasound/dmasound_q40.c return used; used 87 sound/oss/dmasound/dmasound_q40.c ssize_t count, used; used 90 sound/oss/dmasound/dmasound_q40.c used = count = min_t(size_t, userCount, frameLeft); used 98 sound/oss/dmasound/dmasound_q40.c *frameUsed += used; used 99 sound/oss/dmasound/dmasound_q40.c return used; used 106 sound/oss/dmasound/dmasound_q40.c ssize_t count, used; used 109 sound/oss/dmasound/dmasound_q40.c used = count = min_t(size_t, userCount, frameLeft); used 112 sound/oss/dmasound/dmasound_q40.c *frameUsed += used; used 113 sound/oss/dmasound/dmasound_q40.c return used; used 53 sound/pci/ctxfi/ctvmem.c list_move(&entry->list, &vm->used); used 65 sound/pci/ctxfi/ctvmem.c list_add(&block->list, &vm->used); used 201 sound/pci/ctxfi/ctvmem.c INIT_LIST_HEAD(&vm->used); used 222 sound/pci/ctxfi/ctvmem.c while (!list_empty(&vm->used)) { used 223 sound/pci/ctxfi/ctvmem.c pos = vm->used.next; used 46 sound/pci/ctxfi/ctvmem.h struct list_head used; /* List of used blocks */ used 1714 sound/pci/hda/hda_codec.c for (i = 0; i < codec->mixers.used; i++) used 1809 sound/pci/hda/hda_codec.c for (i = 0; i < codec->mixers.used; i++) { used 2210 sound/pci/hda/hda_codec.c if (WARN_ON(codec->spdif_out.used <= idx)) used 2319 sound/pci/hda/hda_codec.c if (WARN_ON(codec->spdif_out.used <= idx)) used 2347 sound/pci/hda/hda_codec.c if (WARN_ON(codec->spdif_out.used <= idx)) used 2377 sound/pci/hda/hda_codec.c if (WARN_ON(codec->spdif_out.used <= idx)) used 2480 sound/pci/hda/hda_codec.c kctl->private_value = codec->spdif_out.used - 1; used 2526 sound/pci/hda/hda_codec.c if (WARN_ON(codec->spdif_out.used <= idx)) used 2548 sound/pci/hda/hda_codec.c if (WARN_ON(codec->spdif_out.used <= idx)) used 2953 sound/pci/hda/hda_codec.c bool forced_resume = !codec->relaxed_resume && codec->jacktbl.used; used 81 sound/pci/hda/hda_generic.c for (i = 0; i < spec->kctls.used; i++) used 287 sound/pci/hda/hda_generic.c if (!spec->paths.used) used 290 sound/pci/hda/hda_generic.c if (idx < 0 || idx >= spec->paths.used) used 306 sound/pci/hda/hda_generic.c if (idx <= 0 || idx > spec->paths.used) used 492 sound/pci/hda/hda_generic.c spec->paths.used--; used 1575 sound/pci/hda/hda_generic.c spec->paths.used -= spec->multi_ios - old_pins; used 5209 sound/pci/hda/hda_generic.c if (spec->kctls.used) { used 77 sound/pci/hda/hda_jack.c for (i = 0; i < codec->jacktbl.used; i++, jack++) used 97 sound/pci/hda/hda_jack.c for (i = 0; i < codec->jacktbl.used; i++, jack++) used 120 sound/pci/hda/hda_jack.c jack->tag = codec->jacktbl.used; used 129 sound/pci/hda/hda_jack.c for (i = 0; i < codec->jacktbl.used; i++, jack++) { used 187 sound/pci/hda/hda_jack.c for (i = 0; i < codec->jacktbl.used; i++, jack++) used 326 sound/pci/hda/hda_jack.c for (i = 0; i < codec->jacktbl.used; i++, jack++) used 334 sound/pci/hda/hda_jack.c for (i = 0; i < codec->jacktbl.used; i++, jack++) used 586 sound/pci/hda/hda_jack.c for (i = 0; i < codec->jacktbl.used; i++, jack++) { used 54 sound/pci/hda/hda_proc.c for (i = 0; i < array->used; i++) { used 343 sound/pci/hda/hda_sysfs.c if (codec->hints.used >= MAX_HINTS) used 3301 sound/pci/trident/trident_main.c snd_iprintf(buffer, "Memory Used : %d\n", trident->tlb.memhdr->used); used 338 sound/pci/via82xx.c int used; used 1011 sound/pci/via82xx.c if (rec->rate && rec->used > 1) /* already set */ used 1179 sound/pci/via82xx.c ratep->used++; used 1319 sound/pci/via82xx.c ratep->used--; used 1320 sound/pci/via82xx.c if (! ratep->used) used 49 sound/soc/sof/intel/hda-codec.c if (codec->jacktbl.used) used 70 sound/soc/sof/intel/hda-codec.c if (codec->jacktbl.used) used 30 sound/synth/emux/emux_proc.c snd_iprintf(buf, "Use Counter: %d\n", emu->used); used 260 sound/synth/emux/emux_seq.c emu->used++; used 266 sound/synth/emux/emux_seq.c emu->used--; used 289 sound/synth/emux/emux_seq.c emu->used--; used 290 sound/synth/emux/emux_seq.c if (emu->used <= 0) used 116 sound/synth/util_mem.c hdr->used += units; used 144 sound/synth/util_mem.c hdr->used -= blk->size; used 169 sound/synth/util_mem.c size = hdr->size - hdr->used; used 184 sound/usb/usx2y/us122l.c if (hw->used >= 2) used 378 tools/include/uapi/drm/drm.h int used; /**< Amount of buffer in use (for DMA) */ used 430 tools/include/uapi/drm/i915_drm.h int used; /* nr bytes in use */ used 897 tools/include/uapi/sound/asound.h unsigned int used; /* R: count of element IDs set */ used 1303 tools/lib/bpf/btf.c bool used; used 1577 tools/lib/bpf/btf.c s->used = true; used 1640 tools/lib/bpf/btf.c strs.ptrs[strs.cnt].used = false; used 1654 tools/lib/bpf/btf.c strs.ptrs[0].used = true; used 1668 tools/lib/bpf/btf.c grp_used = strs.ptrs[0].used; used 1678 tools/lib/bpf/btf.c grp_used = grp_used || strs.ptrs[i].used; used 1699 tools/lib/bpf/btf.c grp_used = strs.ptrs[i].used; used 32 tools/perf/include/bpf/bpf.h struct ____btf_map_##name __attribute__((section(".maps." #name), used)) \ used 50 tools/perf/include/bpf/bpf.h #define SEC(NAME) __attribute__((section(NAME), used)) used 27 tools/perf/tests/bpf-script-example.c #define SEC(NAME) __attribute__((section(NAME), used)) used 10 tools/perf/tests/bpf-script-test-kbuild.c #define SEC(NAME) __attribute__((section(NAME), used)) used 10 tools/perf/tests/bpf-script-test-prologue.c #define SEC(NAME) __attribute__((section(NAME), used)) used 27 tools/perf/tests/bpf-script-test-relocation.c #define SEC(NAME) __attribute__((section(NAME), used)) used 101 tools/perf/util/parse-events.h bool used; used 977 tools/perf/util/pmu.c t->used = true; used 1030 tools/perf/util/pmu.c if (term->used) used 1308 tools/perf/util/pmu.c int used = snprintf(buf, len, "%s/%s", pmu->name, alias->name); used 1312 tools/perf/util/pmu.c used += snprintf(buf + used, sub_non_neg(len, used), used 1317 tools/perf/util/pmu.c if (sub_non_neg(len, used) > 0) { used 1318 tools/perf/util/pmu.c buf[used] = '/'; used 1319 tools/perf/util/pmu.c used++; used 1321 tools/perf/util/pmu.c if (sub_non_neg(len, used) > 0) { used 1322 tools/perf/util/pmu.c buf[used] = '\0'; used 1323 tools/perf/util/pmu.c used++; used 22 tools/testing/selftests/bpf/bpf_helpers.h #define SEC(NAME) __attribute__((section(NAME), used)) used 273 tools/testing/selftests/bpf/bpf_helpers.h __attribute__ ((section(".maps." #name), used)) \ used 800 tools/testing/selftests/bpf/progs/test_xdp_noinline.c __attribute__ ((section("xdp-test"), used)) used 821 tools/testing/selftests/bpf/progs/test_xdp_noinline.c char _license[] __attribute__ ((section("license"), used)) = "GPL"; used 822 tools/testing/selftests/bpf/progs/test_xdp_noinline.c int _version __attribute__ ((section("version"), used)) = 1; used 20 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c __attribute__((used)) void wait_parent(void) used 14 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c __attribute__((used)) void wait_parent(void) used 20 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c __attribute__((used)) void load_vsx(void) used 25 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c __attribute__((used)) void load_vsx_new(void) used 30 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c __attribute__((used)) void load_vsx_ckpt(void) used 35 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c __attribute__((used)) void wait_parent(void) used 19 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c __attribute__((used)) void load_vsx(void) used 24 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c __attribute__((used)) void load_vsx_ckpt(void) used 26 tools/testing/selftests/rseq/param_test.c static int loop_cnt_1 asm("asm_loop_cnt_1") __attribute__((used)); used 27 tools/testing/selftests/rseq/param_test.c static int loop_cnt_2 asm("asm_loop_cnt_2") __attribute__((used)); used 28 tools/testing/selftests/rseq/param_test.c static int loop_cnt_3 asm("asm_loop_cnt_3") __attribute__((used)); used 29 tools/testing/selftests/rseq/param_test.c static int loop_cnt_4 asm("asm_loop_cnt_4") __attribute__((used)); used 30 tools/testing/selftests/rseq/param_test.c static int loop_cnt_5 asm("asm_loop_cnt_5") __attribute__((used)); used 31 tools/testing/selftests/rseq/param_test.c static int loop_cnt_6 asm("asm_loop_cnt_6") __attribute__((used)); used 88 tools/testing/selftests/size/get_size.c unsigned long used; used 105 tools/testing/selftests/size/get_size.c used = info.totalram - info.freeram - info.bufferram; used 111 tools/testing/selftests/size/get_size.c print_k_value(" In use: ", used, info.mem_unit); used 12 tools/testing/selftests/tc-testing/bpf/action.c __attribute__((section("action-ok"),used)) int action_ok(struct __sk_buff *s) used 17 tools/testing/selftests/tc-testing/bpf/action.c __attribute__((section("action-ko"),used)) int action_ko(struct __sk_buff *s) used 23 tools/testing/selftests/tc-testing/bpf/action.c char _license[] __attribute__((section("license"),used)) = "GPL"; used 160 tools/virtio/ringtest/virtio_ring_0_9.c index = ring.used->ring[head].id; used 167 tools/virtio/ringtest/virtio_ring_0_9.c if (ring.used->idx == guest.last_used_idx) used 176 tools/virtio/ringtest/virtio_ring_0_9.c index = ring.used->ring[head].id; used 183 tools/virtio/ringtest/virtio_ring_0_9.c *lenp = ring.used->ring[head].len; used 202 tools/virtio/ringtest/virtio_ring_0_9.c unsigned index = ring.used->ring[head].id; used 206 tools/virtio/ringtest/virtio_ring_0_9.c return ring.used->idx == last_used_idx; used 308 tools/virtio/ringtest/virtio_ring_0_9.c ring.used->ring[used_idx].id = head; used 309 tools/virtio/ringtest/virtio_ring_0_9.c ring.used->ring[used_idx].len = desc->len - 1; used 314 tools/virtio/ringtest/virtio_ring_0_9.c ring.used->idx = host.used_idx; used 70 tools/virtio/virtio_test.c .used_user_addr = (uint64_t)(unsigned long)info->vring.used, used 190 tools/virtio/vringh_test.c vrh.vring.desc, vrh.vring.avail, vrh.vring.used); used 254 tools/virtio/vringh_test.c if (riov.used) { used 260 tools/virtio/vringh_test.c assert(riov.i == riov.used); used 267 tools/virtio/vringh_test.c assert(wiov.i == wiov.used); used 445 tools/virtio/vringh_test.c struct vring_used_elem used[RINGSIZE]; used 492 tools/virtio/vringh_test.c vrh.vring.desc, vrh.vring.avail, vrh.vring.used); used 523 tools/virtio/vringh_test.c assert(riov.used == 1); used 527 tools/virtio/vringh_test.c assert(wiov.used == 1); used 531 tools/virtio/vringh_test.c assert(wiov.used == 2); used 550 tools/virtio/vringh_test.c assert(wiov.i == wiov.used); used 595 tools/virtio/vringh_test.c assert(riov.used == RINGSIZE); used 597 tools/virtio/vringh_test.c assert(riov.used == RINGSIZE * USER_MEM/4); used 600 tools/virtio/vringh_test.c assert(wiov.used == 0); used 611 tools/virtio/vringh_test.c assert(riov.i == riov.used); used 616 tools/virtio/vringh_test.c used[0].id = head; used 617 tools/virtio/vringh_test.c used[0].len = 0; used 618 tools/virtio/vringh_test.c err = vringh_complete_multi_user(&vrh, used, 1); used 644 tools/virtio/vringh_test.c used[i].id = head; used 645 tools/virtio/vringh_test.c used[i].len = 0; used 648 tools/virtio/vringh_test.c assert(vrh.vring.used->idx % RINGSIZE != 0); used 649 tools/virtio/vringh_test.c err = vringh_complete_multi_user(&vrh, used, RINGSIZE); used 734 tools/virtio/vringh_test.c assert(riov.used == 7); used 736 tools/virtio/vringh_test.c assert(riov.used == 28); used 835 tools/vm/slabinfo.c unsigned long used; used 847 tools/vm/slabinfo.c used = s->objects * s->object_size; used 848 tools/vm/slabinfo.c wasted = size - used; used 875 tools/vm/slabinfo.c if (used < min_used) used 876 tools/vm/slabinfo.c min_used = used; used 900 tools/vm/slabinfo.c if (used > max_used) used 901 tools/vm/slabinfo.c max_used = used; used 917 tools/vm/slabinfo.c total_used += used;