array 1509 arch/ia64/kernel/unwind.c e = &table->array[mid]; array 2092 arch/ia64/kernel/unwind.c table->array = start; array 56 arch/ia64/kernel/unwind_i.h const struct unw_table_entry *array; array 216 arch/mips/include/asm/mach-au1x00/gpio-au1300.h static inline int gpio_request_array(struct gpio *array, size_t num) array 225 arch/mips/include/asm/mach-au1x00/gpio-au1300.h static inline void gpio_free_array(struct gpio *array, size_t num) array 777 arch/powerpc/kvm/e500_mmu.c num_pages = DIV_ROUND_UP(cfg->array + array_len - 1, PAGE_SIZE) - array 778 arch/powerpc/kvm/e500_mmu.c cfg->array / PAGE_SIZE; array 783 arch/powerpc/kvm/e500_mmu.c ret = get_user_pages_fast(cfg->array, num_pages, FOLL_WRITE, pages); array 826 arch/powerpc/kvm/e500_mmu.c (virt + (cfg->array & (PAGE_SIZE - 1))); array 44 arch/s390/include/asm/ccwdev.h ccw_device_id_match(const struct ccw_device_id *array, array 47 arch/s390/include/asm/ccwdev.h const struct ccw_device_id *id = array; array 49 arch/s390/include/asm/ccwdev.h for (id = array; id->match_flags; id++) { array 37 arch/s390/include/asm/ctl_reg.h #define __ctl_load(array, low, high) do { \ array 38 arch/s390/include/asm/ctl_reg.h typedef struct { char _[sizeof(array)]; } addrtype; \ array 44 arch/s390/include/asm/ctl_reg.h : "Q" (*(addrtype *)(&array)), "i" (low), "i" (high) \ array 48 arch/s390/include/asm/ctl_reg.h #define __ctl_store(array, low, high) do { \ array 49 arch/s390/include/asm/ctl_reg.h typedef struct { char _[sizeof(array)]; } addrtype; \ array 54 arch/s390/include/asm/ctl_reg.h : "=Q" (*(addrtype *)(&array)) \ array 126 arch/s390/tools/gen_facilities.c unsigned long long *array; array 128 arch/s390/tools/gen_facilities.c array = calloc(1, 8); array 129 arch/s390/tools/gen_facilities.c if (!array) array 136 arch/s390/tools/gen_facilities.c array = realloc(array, (dword + 1) * 8); array 137 arch/s390/tools/gen_facilities.c if (!array) array 139 arch/s390/tools/gen_facilities.c memset(array + high + 1, 0, (dword - high) * 8); array 142 arch/s390/tools/gen_facilities.c array[dword] |= 1ULL << bit; array 146 arch/s390/tools/gen_facilities.c printf("_AC(0x%016llx,UL)%c", array[i], i < high ? ',' : '\n'); array 147 arch/s390/tools/gen_facilities.c free(array); array 883 arch/sparc/kernel/visemul.c array(regs, insn, opf); array 43 arch/x86/include/asm/msr.h struct saved_msr *array; array 1761 arch/x86/mm/pageattr.c pgprot_t mask, int array) array 1764 arch/x86/mm/pageattr.c (array ? CPA_ARRAY : 0), NULL); array 1768 arch/x86/mm/pageattr.c pgprot_t mask, int array) array 1771 arch/x86/mm/pageattr.c (array ? CPA_ARRAY : 0), NULL); array 119 arch/x86/mm/pf_in.c #define CHECK_OP_TYPE(opcode, array, type) \ array 120 arch/x86/mm/pf_in.c for (i = 0; i < ARRAY_SIZE(array); i++) { \ array 121 arch/x86/mm/pf_in.c if (array[i] == opcode) { \ array 39 arch/x86/power/cpu.c struct saved_msr *msr = ctxt->saved_msrs.array; array 50 arch/x86/power/cpu.c struct saved_msr *msr = ctxt->saved_msrs.array; array 412 arch/x86/power/cpu.c if (saved_msrs->array) { array 417 arch/x86/power/cpu.c memcpy(msr_array, saved_msrs->array, array 420 arch/x86/power/cpu.c kfree(saved_msrs->array); array 429 arch/x86/power/cpu.c saved_msrs->array = msr_array; array 28 drivers/dma-buf/dma-fence-array.c static void dma_fence_array_set_pending_error(struct dma_fence_array *array, array 36 drivers/dma-buf/dma-fence-array.c cmpxchg(&array->base.error, PENDING_ERROR, error); array 39 drivers/dma-buf/dma-fence-array.c static void dma_fence_array_clear_pending_error(struct dma_fence_array *array) array 42 drivers/dma-buf/dma-fence-array.c cmpxchg(&array->base.error, PENDING_ERROR, 0); array 47 drivers/dma-buf/dma-fence-array.c struct dma_fence_array *array = container_of(wrk, typeof(*array), work); array 49 drivers/dma-buf/dma-fence-array.c dma_fence_array_clear_pending_error(array); array 51 drivers/dma-buf/dma-fence-array.c dma_fence_signal(&array->base); array 52 drivers/dma-buf/dma-fence-array.c dma_fence_put(&array->base); array 60 drivers/dma-buf/dma-fence-array.c struct dma_fence_array *array = array_cb->array; array 62 drivers/dma-buf/dma-fence-array.c dma_fence_array_set_pending_error(array, f->error); array 64 drivers/dma-buf/dma-fence-array.c if (atomic_dec_and_test(&array->num_pending)) array 65 drivers/dma-buf/dma-fence-array.c irq_work_queue(&array->work); array 67 drivers/dma-buf/dma-fence-array.c dma_fence_put(&array->base); array 72 drivers/dma-buf/dma-fence-array.c struct dma_fence_array *array = to_dma_fence_array(fence); array 73 drivers/dma-buf/dma-fence-array.c struct dma_fence_array_cb *cb = (void *)(&array[1]); array 76 drivers/dma-buf/dma-fence-array.c for (i = 0; i < array->num_fences; ++i) { array 77 drivers/dma-buf/dma-fence-array.c cb[i].array = array; array 86 drivers/dma-buf/dma-fence-array.c dma_fence_get(&array->base); array 87 drivers/dma-buf/dma-fence-array.c if (dma_fence_add_callback(array->fences[i], &cb[i].cb, array 89 drivers/dma-buf/dma-fence-array.c int error = array->fences[i]->error; array 91 drivers/dma-buf/dma-fence-array.c dma_fence_array_set_pending_error(array, error); array 92 drivers/dma-buf/dma-fence-array.c dma_fence_put(&array->base); array 93 drivers/dma-buf/dma-fence-array.c if (atomic_dec_and_test(&array->num_pending)) { array 94 drivers/dma-buf/dma-fence-array.c dma_fence_array_clear_pending_error(array); array 105 drivers/dma-buf/dma-fence-array.c struct dma_fence_array *array = to_dma_fence_array(fence); array 107 drivers/dma-buf/dma-fence-array.c return atomic_read(&array->num_pending) <= 0; array 112 drivers/dma-buf/dma-fence-array.c struct dma_fence_array *array = to_dma_fence_array(fence); array 115 drivers/dma-buf/dma-fence-array.c for (i = 0; i < array->num_fences; ++i) array 116 drivers/dma-buf/dma-fence-array.c dma_fence_put(array->fences[i]); array 118 drivers/dma-buf/dma-fence-array.c kfree(array->fences); array 155 drivers/dma-buf/dma-fence-array.c struct dma_fence_array *array; array 156 drivers/dma-buf/dma-fence-array.c size_t size = sizeof(*array); array 160 drivers/dma-buf/dma-fence-array.c array = kzalloc(size, GFP_KERNEL); array 161 drivers/dma-buf/dma-fence-array.c if (!array) array 164 drivers/dma-buf/dma-fence-array.c spin_lock_init(&array->lock); array 165 drivers/dma-buf/dma-fence-array.c dma_fence_init(&array->base, &dma_fence_array_ops, &array->lock, array 167 drivers/dma-buf/dma-fence-array.c init_irq_work(&array->work, irq_dma_fence_array_work); array 169 drivers/dma-buf/dma-fence-array.c array->num_fences = num_fences; array 170 drivers/dma-buf/dma-fence-array.c atomic_set(&array->num_pending, signal_on_any ? 1 : num_fences); array 171 drivers/dma-buf/dma-fence-array.c array->fences = fences; array 173 drivers/dma-buf/dma-fence-array.c array->base.error = PENDING_ERROR; array 175 drivers/dma-buf/dma-fence-array.c return array; array 190 drivers/dma-buf/dma-fence-array.c struct dma_fence_array *array = to_dma_fence_array(fence); array 196 drivers/dma-buf/dma-fence-array.c for (i = 0; i < array->num_fences; i++) { array 197 drivers/dma-buf/dma-fence-array.c if (array->fences[i]->context != context) array 132 drivers/dma-buf/sync_debug.c struct dma_fence_array *array = to_dma_fence_array(sync_file->fence); array 134 drivers/dma-buf/sync_debug.c for (i = 0; i < array->num_fences; ++i) array 135 drivers/dma-buf/sync_debug.c sync_print_fence(s, array->fences[i], true); array 151 drivers/dma-buf/sync_file.c struct dma_fence_array *array; array 163 drivers/dma-buf/sync_file.c array = dma_fence_array_create(num_fences, fences, array 166 drivers/dma-buf/sync_file.c if (!array) array 169 drivers/dma-buf/sync_file.c sync_file->fence = &array->base; array 179 drivers/dma-buf/sync_file.c struct dma_fence_array *array = to_dma_fence_array(sync_file->fence); array 181 drivers/dma-buf/sync_file.c *num_fences = array->num_fences; array 182 drivers/dma-buf/sync_file.c return array->fences; array 85 drivers/gpio/gpiolib-legacy.c int gpio_request_array(const struct gpio *array, size_t num) array 89 drivers/gpio/gpiolib-legacy.c for (i = 0; i < num; i++, array++) { array 90 drivers/gpio/gpiolib-legacy.c err = gpio_request_one(array->gpio, array->flags, array->label); array 98 drivers/gpio/gpiolib-legacy.c gpio_free((--array)->gpio); array 108 drivers/gpio/gpiolib-legacy.c void gpio_free_array(const struct gpio *array, size_t num) array 111 drivers/gpio/gpiolib-legacy.c gpio_free((array++)->gpio); array 4799 drivers/gpio/gpiolib.c struct gpio_descs *array; array 4804 drivers/gpio/gpiolib.c array = kzalloc(struct_size(descs, desc, count) + array 4807 drivers/gpio/gpiolib.c if (!array) { array 4812 drivers/gpio/gpiolib.c memcpy(array, descs, array 4816 drivers/gpio/gpiolib.c descs = array; array 67 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c struct amdgpu_bo_list_entry *array; array 89 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c array = amdgpu_bo_list_array_entry(list, 0); array 90 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c memset(array, 0, num_entries * sizeof(struct amdgpu_bo_list_entry)); array 114 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c entry = &array[--first_userptr]; array 116 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c entry = &array[last_entry++]; array 144 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(array[i].tv.bo); array 149 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(array[i].tv.bo); array 69 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h struct amdgpu_bo_list_entry *array = (void *)&list[1]; array 71 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h return &array[index]; array 1610 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct dma_fence **array; array 1615 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c array = kcalloc(fence_count, sizeof(struct dma_fence *), GFP_KERNEL); array 1617 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c if (array == NULL) array 1628 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c array[i] = fence; array 1636 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c r = dma_fence_wait_any_timeout(array, fence_count, true, timeout, array 1646 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c if (first < fence_count && array[first]) array 1647 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c r = array[first]->error; array 1653 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c dma_fence_put(array[i]); array 1654 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c kfree(array); array 160 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c struct dma_fence_array *array; array 162 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c array = dma_fence_array_create(count, fences, array 165 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c if (!array) array 168 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c dma_resv_add_excl_fence(obj, &array->base); array 169 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c dma_fence_put(&array->base); array 481 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c VCEClockInfoArray *array = (VCEClockInfoArray *) array 488 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 1 + array->ucNumEntries * sizeof(VCEClockInfo)); array 493 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 1 + (array->ucNumEntries * sizeof (VCEClockInfo)) + array 512 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ((u8 *)&array->entries[0] + array 528 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ((u8 *)&array->entries[0] + array 544 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c UVDClockInfoArray *array = (UVDClockInfoArray *) array 551 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 1 + (array->ucNumEntries * sizeof (UVDClockInfo))); array 566 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ((u8 *)&array->entries[0] + array 129 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c struct dma_fence_array *array; array 131 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c array = dma_fence_array_create(count, fences, context, array 133 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c if (!array) { array 137 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c fence = &array->base; array 228 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c struct dma_fence_array *array; array 235 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c array = dma_fence_array_create(i, fences, fence_context, array 237 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c if (!array) { array 244 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c r = amdgpu_sync_fence(adev, sync, &array->base, false); array 246 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c ring->vmid_wait = &array->base; array 1110 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const UVDClockInfoArray *array) array 1127 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c &array->entries[table->entries[i].ucUVDClockInfoIndex]; array 1143 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const VCEClockInfoArray *array) array 1158 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const VCEClockInfo *entry = &array->entries[table->entries[i].ucVCEClockInfoIndex]; array 1256 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const VCEClockInfoArray *array = (const VCEClockInfoArray *) array 1264 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c table, array); array 1271 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const UVDClockInfoArray *array = (const UVDClockInfoArray *) array 1278 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c &hwmgr->dyn_state.uvd_clock_voltage_dependency_table, ptable, array); array 476 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t array = smu_data->dpm_table_start + array 503 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c result = ci_copy_bytes_to_smc(hwmgr, array, array 2766 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t array = smu_data->dpm_table_start + array 2789 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c clk_activity_offset = array + (sizeof(SMU7_Discrete_GraphicsLevel) * i) array 2801 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c up_hyst_offset = array + (sizeof(SMU7_Discrete_GraphicsLevel) * i) array 2803 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c down_hyst_offset = array + (sizeof(SMU7_Discrete_GraphicsLevel) * i) array 1014 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint32_t array = smu_data->smu7_data.dpm_table_start + array 1090 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c result = smu7_copy_bytes_to_smc(hwmgr, array, (uint8_t *)levels, array 1230 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint32_t array = smu_data->smu7_data.dpm_table_start + array 1269 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c result = smu7_copy_bytes_to_smc(hwmgr, array, (uint8_t *)levels, array 2558 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint32_t array = smu_data->smu7_data.dpm_table_start + array 2581 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c clk_activity_offset = array + (sizeof(SMU73_Discrete_GraphicsLevel) * i) array 2593 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c up_hyst_offset = array + (sizeof(SMU73_Discrete_GraphicsLevel) * i) array 2595 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c down_hyst_offset = array + (sizeof(SMU73_Discrete_GraphicsLevel) * i) array 987 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t array = smu_data->smu7_data.dpm_table_start + array 1064 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c result = smu7_copy_bytes_to_smc(hwmgr, array, (uint8_t *)levels, array 1131 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t array = smu_data->smu7_data.dpm_table_start + array 1168 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c result = smu7_copy_bytes_to_smc(hwmgr, array, (uint8_t *)levels, array 2471 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t array = smu_data->smu7_data.dpm_table_start + array 2494 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c clk_activity_offset = array + (sizeof(SMU74_Discrete_GraphicsLevel) * i) array 2506 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c up_hyst_offset = array + (sizeof(SMU74_Discrete_GraphicsLevel) * i) array 2508 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c down_hyst_offset = array + (sizeof(SMU74_Discrete_GraphicsLevel) * i) array 3154 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c uint32_t array = smu_data->smu7_data.dpm_table_start + array 3177 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c clk_activity_offset = array + (sizeof(SMU72_Discrete_GraphicsLevel) * i) array 3189 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c up_hyst_offset = array + (sizeof(SMU72_Discrete_GraphicsLevel) * i) array 3191 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c down_hyst_offset = array + (sizeof(SMU72_Discrete_GraphicsLevel) * i) array 871 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t array = smu_data->smu7_data.dpm_table_start + array 954 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c result = smu7_copy_bytes_to_smc(hwmgr, array, (uint8_t *)levels, array 1038 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t array = smu_data->smu7_data.dpm_table_start + array 1076 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c result = smu7_copy_bytes_to_smc(hwmgr, array, (uint8_t *)levels, array 1760 drivers/gpu/drm/i915/display/intel_dp.c const int *array, int nelem) array 1767 drivers/gpu/drm/i915/display/intel_dp.c int r = snprintf(str, len, "%s%d", i ? ", " : "", array[i]); array 121 drivers/gpu/drm/i915/gem/i915_gem_wait.c struct dma_fence_array *array = to_dma_fence_array(fence); array 124 drivers/gpu/drm/i915/gem/i915_gem_wait.c for (i = 0; i < array->num_fences; i++) array 125 drivers/gpu/drm/i915/gem/i915_gem_wait.c __fence_set_priority(array->fences[i], attr); array 493 drivers/gpu/drm/i915/gvt/handlers.c i915_reg_t *array = force_nonpriv_white_list; array 498 drivers/gpu/drm/i915/gvt/handlers.c if (reg > array[mid].reg) array 500 drivers/gpu/drm/i915/gvt/handlers.c else if (reg < array[mid].reg) array 950 drivers/gpu/drm/i915/i915_request.c struct dma_fence_array *array = to_dma_fence_array(fence); array 952 drivers/gpu/drm/i915/i915_request.c child = array->fences; array 953 drivers/gpu/drm/i915/i915_request.c nchild = array->num_fences; array 1003 drivers/gpu/drm/i915/i915_request.c struct dma_fence_array *array = to_dma_fence_array(fence); array 1007 drivers/gpu/drm/i915/i915_request.c child = array->fences; array 1008 drivers/gpu/drm/i915/i915_request.c nchild = array->num_fences; array 1074 drivers/gpu/drm/radeon/r600_dpm.c VCEClockInfoArray *array = (VCEClockInfoArray *) array 1081 drivers/gpu/drm/radeon/r600_dpm.c 1 + array->ucNumEntries * sizeof(VCEClockInfo)); array 1086 drivers/gpu/drm/radeon/r600_dpm.c 1 + (array->ucNumEntries * sizeof (VCEClockInfo)) + array 1105 drivers/gpu/drm/radeon/r600_dpm.c ((u8 *)&array->entries[0] + array 1120 drivers/gpu/drm/radeon/r600_dpm.c ((u8 *)&array->entries[0] + array 1136 drivers/gpu/drm/radeon/r600_dpm.c UVDClockInfoArray *array = (UVDClockInfoArray *) array 1143 drivers/gpu/drm/radeon/r600_dpm.c 1 + (array->ucNumEntries * sizeof (UVDClockInfo))); array 1158 drivers/gpu/drm/radeon/r600_dpm.c ((u8 *)&array->entries[0] + array 687 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h SVGA3dArray array; array 1596 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c &decl->array.surfaceId, NULL); array 1434 drivers/hid/hid-core.c static int search(__s32 *array, __s32 value, unsigned n) array 1437 drivers/hid/hid-core.c if (*array++ == value) array 323 drivers/iio/accel/adxl372.c static int adxl372_find_closest_match(const int *array, array 329 drivers/iio/accel/adxl372.c if (val <= array[i]) array 159 drivers/iio/adc/ad7124.c static int ad7124_find_closest_match(const int *array, array 169 drivers/iio/adc/ad7124.c diff_new = abs(val - array[i]); array 246 drivers/iio/dac/ad5758.c static int ad5758_find_closest_match(const int *array, array 252 drivers/iio/dac/ad5758.c if (val <= array[i]) array 547 drivers/infiniband/hw/hfi1/user_exp_rcv.c u32 *array; array 556 drivers/infiniband/hw/hfi1/user_exp_rcv.c array = kcalloc(uctxt->expected_count, sizeof(*array), GFP_KERNEL); array 557 drivers/infiniband/hw/hfi1/user_exp_rcv.c if (!array) array 562 drivers/infiniband/hw/hfi1/user_exp_rcv.c memcpy(array, fd->invalid_tids, sizeof(*array) * array 580 drivers/infiniband/hw/hfi1/user_exp_rcv.c array, sizeof(*array) * tinfo->tidcnt)) array 583 drivers/infiniband/hw/hfi1/user_exp_rcv.c kfree(array); array 130 drivers/infiniband/hw/hns/hns_roce_cq.c ret = xa_err(xa_store(&cq_table->array, hr_cq->cqn, hr_cq, GFP_KERNEL)); array 163 drivers/infiniband/hw/hns/hns_roce_cq.c xa_erase(&cq_table->array, hr_cq->cqn); array 193 drivers/infiniband/hw/hns/hns_roce_cq.c xa_erase(&cq_table->array, hr_cq->cqn); array 526 drivers/infiniband/hw/hns/hns_roce_cq.c cq = xa_load(&hr_dev->cq_table.array, cqn & (hr_dev->caps.num_cqs - 1)); array 542 drivers/infiniband/hw/hns/hns_roce_cq.c cq = xa_load(&cq_table->array, cqn & (hr_dev->caps.num_cqs - 1)); array 561 drivers/infiniband/hw/hns/hns_roce_cq.c xa_init(&cq_table->array); array 561 drivers/infiniband/hw/hns/hns_roce_device.h struct xarray array; array 54 drivers/infiniband/hw/mlx5/srq.h struct xarray array; array 86 drivers/infiniband/hw/mlx5/srq_cmd.c xa_lock(&table->array); array 87 drivers/infiniband/hw/mlx5/srq_cmd.c srq = xa_load(&table->array, srqn); array 90 drivers/infiniband/hw/mlx5/srq_cmd.c xa_unlock(&table->array); array 598 drivers/infiniband/hw/mlx5/srq_cmd.c err = xa_err(xa_store_irq(&table->array, srq->srqn, srq, GFP_KERNEL)); array 616 drivers/infiniband/hw/mlx5/srq_cmd.c tmp = xa_erase_irq(&table->array, srq->srqn); array 675 drivers/infiniband/hw/mlx5/srq_cmd.c xa_lock(&table->array); array 676 drivers/infiniband/hw/mlx5/srq_cmd.c srq = xa_load(&table->array, srqn); array 679 drivers/infiniband/hw/mlx5/srq_cmd.c xa_unlock(&table->array); array 696 drivers/infiniband/hw/mlx5/srq_cmd.c xa_init_flags(&table->array, XA_FLAGS_LOCK_IRQ); array 118 drivers/infiniband/hw/mthca/mthca_allocator.c void *mthca_array_get(struct mthca_array *array, int index) array 122 drivers/infiniband/hw/mthca/mthca_allocator.c if (array->page_list[p].page) array 123 drivers/infiniband/hw/mthca/mthca_allocator.c return array->page_list[p].page[index & MTHCA_ARRAY_MASK]; array 128 drivers/infiniband/hw/mthca/mthca_allocator.c int mthca_array_set(struct mthca_array *array, int index, void *value) array 133 drivers/infiniband/hw/mthca/mthca_allocator.c if (!array->page_list[p].page) array 134 drivers/infiniband/hw/mthca/mthca_allocator.c array->page_list[p].page = (void **) get_zeroed_page(GFP_ATOMIC); array 136 drivers/infiniband/hw/mthca/mthca_allocator.c if (!array->page_list[p].page) array 139 drivers/infiniband/hw/mthca/mthca_allocator.c array->page_list[p].page[index & MTHCA_ARRAY_MASK] = value; array 140 drivers/infiniband/hw/mthca/mthca_allocator.c ++array->page_list[p].used; array 145 drivers/infiniband/hw/mthca/mthca_allocator.c void mthca_array_clear(struct mthca_array *array, int index) array 149 drivers/infiniband/hw/mthca/mthca_allocator.c if (--array->page_list[p].used == 0) { array 150 drivers/infiniband/hw/mthca/mthca_allocator.c free_page((unsigned long) array->page_list[p].page); array 151 drivers/infiniband/hw/mthca/mthca_allocator.c array->page_list[p].page = NULL; array 153 drivers/infiniband/hw/mthca/mthca_allocator.c array->page_list[p].page[index & MTHCA_ARRAY_MASK] = NULL; array 155 drivers/infiniband/hw/mthca/mthca_allocator.c if (array->page_list[p].used < 0) array 157 drivers/infiniband/hw/mthca/mthca_allocator.c array, index, p, array->page_list[p].used); array 160 drivers/infiniband/hw/mthca/mthca_allocator.c int mthca_array_init(struct mthca_array *array, int nent) array 165 drivers/infiniband/hw/mthca/mthca_allocator.c array->page_list = kmalloc_array(npage, sizeof(*array->page_list), array 167 drivers/infiniband/hw/mthca/mthca_allocator.c if (!array->page_list) array 171 drivers/infiniband/hw/mthca/mthca_allocator.c array->page_list[i].page = NULL; array 172 drivers/infiniband/hw/mthca/mthca_allocator.c array->page_list[i].used = 0; array 178 drivers/infiniband/hw/mthca/mthca_allocator.c void mthca_array_cleanup(struct mthca_array *array, int nent) array 183 drivers/infiniband/hw/mthca/mthca_allocator.c free_page((unsigned long) array->page_list[i].page); array 185 drivers/infiniband/hw/mthca/mthca_allocator.c kfree(array->page_list); array 419 drivers/infiniband/hw/mthca/mthca_dev.h void *mthca_array_get(struct mthca_array *array, int index); array 420 drivers/infiniband/hw/mthca/mthca_dev.h int mthca_array_set(struct mthca_array *array, int index, void *value); array 421 drivers/infiniband/hw/mthca/mthca_dev.h void mthca_array_clear(struct mthca_array *array, int index); array 422 drivers/infiniband/hw/mthca/mthca_dev.h int mthca_array_init(struct mthca_array *array, int nent); array 423 drivers/infiniband/hw/mthca/mthca_dev.h void mthca_array_cleanup(struct mthca_array *array, int nent); array 468 drivers/leds/leds-lp5523.c static void lp5523_mux_to_array(u16 led_mux, char *array) array 472 drivers/leds/leds-lp5523.c pos += sprintf(array + pos, "%x", LED_ACTIVE(led_mux, i)); array 474 drivers/leds/leds-lp5523.c array[pos] = '\0'; array 254 drivers/md/bcache/util.h #define array_alloc(array) \ array 256 drivers/md/bcache/util.h typeof((array)->freelist) _ret = (array)->freelist; \ array 259 drivers/md/bcache/util.h (array)->freelist = *((typeof((array)->freelist) *) _ret);\ array 264 drivers/md/bcache/util.h #define array_free(array, ptr) \ array 266 drivers/md/bcache/util.h typeof((array)->freelist) _ptr = ptr; \ array 268 drivers/md/bcache/util.h *((typeof((array)->freelist) *) _ptr) = (array)->freelist; \ array 269 drivers/md/bcache/util.h (array)->freelist = _ptr; \ array 272 drivers/md/bcache/util.h #define array_allocator_init(array) \ array 274 drivers/md/bcache/util.h typeof((array)->freelist) _i; \ array 276 drivers/md/bcache/util.h BUILD_BUG_ON(sizeof((array)->data[0]) < sizeof(void *)); \ array 277 drivers/md/bcache/util.h (array)->freelist = NULL; \ array 279 drivers/md/bcache/util.h for (_i = (array)->data; \ array 280 drivers/md/bcache/util.h _i < (array)->data + ARRAY_SIZE((array)->data); \ array 282 drivers/md/bcache/util.h array_free(array, _i); \ array 285 drivers/md/bcache/util.h #define array_freelist_empty(array) ((array)->freelist == NULL) array 37 drivers/media/common/tveeprom.c #define STRM(array, i) \ array 38 drivers/media/common/tveeprom.c (i < sizeof(array) / sizeof(char *) ? array[i] : "unknown") array 480 drivers/media/i2c/ir-kbd-i2c.c static int find_slot(u16 *array, unsigned int size, u16 val) array 485 drivers/media/i2c/ir-kbd-i2c.c if (get_unaligned_be16(&array[i]) == val) { array 487 drivers/media/i2c/ir-kbd-i2c.c } else if (!array[i]) { array 488 drivers/media/i2c/ir-kbd-i2c.c put_unaligned_be16(val, &array[i]); array 156 drivers/media/radio/si4713/si4713.c static int usecs_to_dev(unsigned long usecs, unsigned long const array[], array 163 drivers/media/radio/si4713/si4713.c if (array[(i * 2) + 1] >= usecs) { array 164 drivers/media/radio/si4713/si4713.c rval = array[i * 2]; array 235 drivers/media/rc/bpf-lirc.c struct bpf_prog_array *array; array 237 drivers/media/rc/bpf-lirc.c array = lirc_rcu_dereference(rcdev->raw->progs); array 238 drivers/media/rc/bpf-lirc.c if (!array) array 241 drivers/media/rc/bpf-lirc.c for (item = array->items; item->prog; item++) array 244 drivers/media/rc/bpf-lirc.c bpf_prog_array_free(array); array 66 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c } array; array 287 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c if (width > hdcs->array.width) array 288 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c width = hdcs->array.width; array 292 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c if (height + 2 * hdcs->array.border + HDCS_1020_BOTTOM_Y_SKIP array 293 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c > hdcs->array.height) array 294 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c height = hdcs->array.height - 2 * hdcs->array.border - array 297 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c y = (hdcs->array.height - HDCS_1020_BOTTOM_Y_SKIP - height) / 2 array 298 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c + hdcs->array.top; array 300 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c if (height > hdcs->array.height) array 301 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c height = hdcs->array.height; array 303 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c y = hdcs->array.top + (hdcs->array.height - height) / 2; array 306 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c x = hdcs->array.left + (hdcs->array.width - width) / 2; array 375 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.left = 8; array 376 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.top = 8; array 377 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.width = HDCS_1X00_DEF_WIDTH; array 378 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.height = HDCS_1X00_DEF_HEIGHT; array 379 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.border = 4; array 437 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.left = 24; array 438 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.top = 4; array 439 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.width = HDCS_1020_DEF_WIDTH; array 440 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.height = 304; array 441 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.border = 4; array 517 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c return hdcs_set_size(sd, hdcs->array.width, hdcs->array.height); array 158 drivers/media/v4l2-core/v4l2-common.c __v4l2_find_nearest_size(const void *array, size_t array_size, array 166 drivers/media/v4l2-core/v4l2-common.c if (!array) array 169 drivers/media/v4l2-core/v4l2-common.c for (i = 0; i < array_size; i++, array += entry_size) { array 170 drivers/media/v4l2-core/v4l2-common.c const u32 *entry_width = array + width_offset; array 171 drivers/media/v4l2-core/v4l2-common.c const u32 *entry_height = array + height_offset; array 178 drivers/media/v4l2-core/v4l2-common.c best = array; array 137 drivers/media/v4l2-core/v4l2-fwnode.c u32 array[1 + V4L2_FWNODE_CSI2_MAX_DATA_LANES]; array 157 drivers/media/v4l2-core/v4l2-fwnode.c array[i] = bus->data_lanes[i]; array 158 drivers/media/v4l2-core/v4l2-fwnode.c if (array[i]) array 171 drivers/media/v4l2-core/v4l2-fwnode.c fwnode_property_read_u32_array(fwnode, "data-lanes", array, array 182 drivers/media/v4l2-core/v4l2-fwnode.c if (lanes_used & BIT(array[i])) { array 185 drivers/media/v4l2-core/v4l2-fwnode.c array[i]); array 188 drivers/media/v4l2-core/v4l2-fwnode.c lanes_used |= BIT(array[i]); array 191 drivers/media/v4l2-core/v4l2-fwnode.c pr_debug("lane %u position %u\n", i, array[i]); array 244 drivers/media/v4l2-core/v4l2-fwnode.c bus->data_lanes[i] = array[i]; array 249 drivers/media/v4l2-core/v4l2-fwnode.c "lane-polarities", array, array 253 drivers/media/v4l2-core/v4l2-fwnode.c bus->lane_polarities[i] = array[i]; array 255 drivers/media/v4l2-core/v4l2-fwnode.c i, array[i] ? "" : "not "); array 20 drivers/mfd/si476x-prop.c const u16 array[], array 26 drivers/mfd/si476x-prop.c if (element == array[i]) array 19 drivers/misc/vmw_vmci/vmci_handle_array.c struct vmci_handle_arr *array; array 28 drivers/misc/vmw_vmci/vmci_handle_array.c array = kmalloc(handle_arr_calc_size(capacity), GFP_ATOMIC); array 29 drivers/misc/vmw_vmci/vmci_handle_array.c if (!array) array 32 drivers/misc/vmw_vmci/vmci_handle_array.c array->capacity = capacity; array 33 drivers/misc/vmw_vmci/vmci_handle_array.c array->max_capacity = max_capacity; array 34 drivers/misc/vmw_vmci/vmci_handle_array.c array->size = 0; array 36 drivers/misc/vmw_vmci/vmci_handle_array.c return array; array 39 drivers/misc/vmw_vmci/vmci_handle_array.c void vmci_handle_arr_destroy(struct vmci_handle_arr *array) array 41 drivers/misc/vmw_vmci/vmci_handle_array.c kfree(array); array 47 drivers/misc/vmw_vmci/vmci_handle_array.c struct vmci_handle_arr *array = *array_ptr; array 49 drivers/misc/vmw_vmci/vmci_handle_array.c if (unlikely(array->size >= array->capacity)) { array 52 drivers/misc/vmw_vmci/vmci_handle_array.c u32 capacity_bump = min(array->max_capacity - array->capacity, array 53 drivers/misc/vmw_vmci/vmci_handle_array.c array->capacity); array 54 drivers/misc/vmw_vmci/vmci_handle_array.c size_t new_size = handle_arr_calc_size(array->capacity + array 57 drivers/misc/vmw_vmci/vmci_handle_array.c if (array->size >= array->max_capacity) array 60 drivers/misc/vmw_vmci/vmci_handle_array.c new_array = krealloc(array, new_size, GFP_ATOMIC); array 65 drivers/misc/vmw_vmci/vmci_handle_array.c *array_ptr = array = new_array; array 68 drivers/misc/vmw_vmci/vmci_handle_array.c array->entries[array->size] = handle; array 69 drivers/misc/vmw_vmci/vmci_handle_array.c array->size++; array 77 drivers/misc/vmw_vmci/vmci_handle_array.c struct vmci_handle vmci_handle_arr_remove_entry(struct vmci_handle_arr *array, array 83 drivers/misc/vmw_vmci/vmci_handle_array.c for (i = 0; i < array->size; i++) { array 84 drivers/misc/vmw_vmci/vmci_handle_array.c if (vmci_handle_is_equal(array->entries[i], entry_handle)) { array 85 drivers/misc/vmw_vmci/vmci_handle_array.c handle = array->entries[i]; array 86 drivers/misc/vmw_vmci/vmci_handle_array.c array->size--; array 87 drivers/misc/vmw_vmci/vmci_handle_array.c array->entries[i] = array->entries[array->size]; array 88 drivers/misc/vmw_vmci/vmci_handle_array.c array->entries[array->size] = VMCI_INVALID_HANDLE; array 99 drivers/misc/vmw_vmci/vmci_handle_array.c struct vmci_handle vmci_handle_arr_remove_tail(struct vmci_handle_arr *array) array 103 drivers/misc/vmw_vmci/vmci_handle_array.c if (array->size) { array 104 drivers/misc/vmw_vmci/vmci_handle_array.c array->size--; array 105 drivers/misc/vmw_vmci/vmci_handle_array.c handle = array->entries[array->size]; array 106 drivers/misc/vmw_vmci/vmci_handle_array.c array->entries[array->size] = VMCI_INVALID_HANDLE; array 116 drivers/misc/vmw_vmci/vmci_handle_array.c vmci_handle_arr_get_entry(const struct vmci_handle_arr *array, u32 index) array 118 drivers/misc/vmw_vmci/vmci_handle_array.c if (unlikely(index >= array->size)) array 121 drivers/misc/vmw_vmci/vmci_handle_array.c return array->entries[index]; array 124 drivers/misc/vmw_vmci/vmci_handle_array.c bool vmci_handle_arr_has_entry(const struct vmci_handle_arr *array, array 129 drivers/misc/vmw_vmci/vmci_handle_array.c for (i = 0; i < array->size; i++) array 130 drivers/misc/vmw_vmci/vmci_handle_array.c if (vmci_handle_is_equal(array->entries[i], entry_handle)) array 140 drivers/misc/vmw_vmci/vmci_handle_array.c struct vmci_handle *vmci_handle_arr_get_handles(struct vmci_handle_arr *array) array 142 drivers/misc/vmw_vmci/vmci_handle_array.c if (array->size) array 143 drivers/misc/vmw_vmci/vmci_handle_array.c return array->entries; array 33 drivers/misc/vmw_vmci/vmci_handle_array.h void vmci_handle_arr_destroy(struct vmci_handle_arr *array); array 36 drivers/misc/vmw_vmci/vmci_handle_array.h struct vmci_handle vmci_handle_arr_remove_entry(struct vmci_handle_arr *array, array 39 drivers/misc/vmw_vmci/vmci_handle_array.h struct vmci_handle vmci_handle_arr_remove_tail(struct vmci_handle_arr *array); array 41 drivers/misc/vmw_vmci/vmci_handle_array.h vmci_handle_arr_get_entry(const struct vmci_handle_arr *array, u32 index); array 42 drivers/misc/vmw_vmci/vmci_handle_array.h bool vmci_handle_arr_has_entry(const struct vmci_handle_arr *array, array 44 drivers/misc/vmw_vmci/vmci_handle_array.h struct vmci_handle *vmci_handle_arr_get_handles(struct vmci_handle_arr *array); array 47 drivers/misc/vmw_vmci/vmci_handle_array.h const struct vmci_handle_arr *array) array 49 drivers/misc/vmw_vmci/vmci_handle_array.h return array->size; array 394 drivers/net/ethernet/intel/ice/ice_lib.c static int ice_get_free_slot(void *array, int size, int curr) array 396 drivers/net/ethernet/intel/ice/ice_lib.c int **tmp_array = (int **)array; array 286 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h u32 array[QLC_83XX_MAX_RESET_SEQ_ENTRIES]; array 1778 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c value = p_dev->ahw->reset.array[p_rmw_hdr->index_a]; array 1955 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c p_dev->ahw->reset.array[index++] = j; array 62 drivers/net/wireless/ath/ath9k/ar5008_phy.c struct ar5416IniArray *array = &ah->iniBank6; array 68 drivers/net/wireless/ath/ath9k/ar5008_phy.c for (r = 0; r < array->ia_rows; r++) { array 69 drivers/net/wireless/ath/ath9k/ar5008_phy.c REG_WRITE(ah, INI_RA(array, r, 0), data[r]); array 1016 drivers/net/wireless/ath/ath9k/ar9003_hw.c struct ar5416IniArray *array; array 1043 drivers/net/wireless/ath/ath9k/ar9003_hw.c array = power_off ? &ah->iniPcieSerdes : array 1046 drivers/net/wireless/ath/ath9k/ar9003_hw.c for (i = 0; i < array->ia_rows; i++) { array 1048 drivers/net/wireless/ath/ath9k/ar9003_hw.c INI_RA(array, i, 0), array 1049 drivers/net/wireless/ath/ath9k/ar9003_hw.c INI_RA(array, i, 1)); array 36 drivers/net/wireless/ath/ath9k/calib.h #define STATIC_INI_ARRAY(array) { \ array 37 drivers/net/wireless/ath/ath9k/calib.h .ia_array = (u32 *)(array), \ array 38 drivers/net/wireless/ath/ath9k/calib.h .ia_rows = ARRAY_SIZE(array), \ array 39 drivers/net/wireless/ath/ath9k/calib.h .ia_columns = ARRAY_SIZE(array[0]), \ array 42 drivers/net/wireless/ath/ath9k/calib.h #define INIT_INI_ARRAY(iniarray, array) do { \ array 43 drivers/net/wireless/ath/ath9k/calib.h (iniarray)->ia_array = (u32 *)(array); \ array 44 drivers/net/wireless/ath/ath9k/calib.h (iniarray)->ia_rows = ARRAY_SIZE(array); \ array 45 drivers/net/wireless/ath/ath9k/calib.h (iniarray)->ia_columns = ARRAY_SIZE(array[0]); \ array 111 drivers/net/wireless/ath/ath9k/hw.c void ath9k_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray *array, array 117 drivers/net/wireless/ath/ath9k/hw.c for (r = 0; r < array->ia_rows; r++) { array 118 drivers/net/wireless/ath/ath9k/hw.c REG_WRITE(ah, INI_RA(array, r, 0), array 119 drivers/net/wireless/ath/ath9k/hw.c INI_RA(array, r, column)); array 125 drivers/net/wireless/ath/ath9k/hw.c void ath9k_hw_read_array(struct ath_hw *ah, u32 array[][2], int size) array 143 drivers/net/wireless/ath/ath9k/hw.c tmp_reg_list[i] = array[i][0]; array 148 drivers/net/wireless/ath/ath9k/hw.c array[i][1] = tmp_data[i]; array 141 drivers/net/wireless/ath/ath9k/hw.h #define REG_READ_ARRAY(ah, array, size) \ array 142 drivers/net/wireless/ath/ath9k/hw.h ath9k_hw_read_array(ah, array, size) array 1042 drivers/net/wireless/ath/ath9k/hw.h void ath9k_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray *array, array 1044 drivers/net/wireless/ath/ath9k/hw.h void ath9k_hw_read_array(struct ath_hw *ah, u32 array[][2], int size); array 4580 drivers/net/wireless/broadcom/b43/phy_n.c u16 array[4]; array 4581 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_read_bulk(dev, B43_NTAB16(0xF, 0x50), 4, array); array 4583 drivers/net/wireless/broadcom/b43/phy_n.c b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_NPHY_TXIQW0, array[0]); array 4584 drivers/net/wireless/broadcom/b43/phy_n.c b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_NPHY_TXIQW1, array[1]); array 4585 drivers/net/wireless/broadcom/b43/phy_n.c b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_NPHY_TXIQW2, array[2]); array 4586 drivers/net/wireless/broadcom/b43/phy_n.c b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_NPHY_TXIQW3, array[3]); array 287 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c struct brcmf_msgbuf_pktid *array; array 297 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c struct brcmf_msgbuf_pktid *array; array 300 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c array = kcalloc(nr_array_entries, sizeof(*array), GFP_KERNEL); array 301 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c if (!array) array 306 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c kfree(array); array 309 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c pktids->array = array; array 322 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c struct brcmf_msgbuf_pktid *array; array 325 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c array = pktids->array; array 342 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c if (array[*idx].allocated.counter == 0) array 343 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c if (atomic_cmpxchg(&array[*idx].allocated, 0, 1) == 0) array 351 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c array[*idx].data_offset = data_offset; array 352 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c array[*idx].physaddr = *physaddr; array 353 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c array[*idx].skb = skb; array 373 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c if (pktids->array[idx].allocated.counter) { array 374 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c pktid = &pktids->array[idx]; array 393 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c struct brcmf_msgbuf_pktid *array; array 397 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c array = pktids->array; array 400 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c if (array[count].allocated.counter) { array 401 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c pktid = &array[count]; array 410 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c kfree(array); array 426 drivers/net/wireless/ralink/rt2x00/rt2800lib.c const enum rt2800_eeprom_word array, array 431 drivers/net/wireless/ralink/rt2x00/rt2800lib.c index = rt2800_eeprom_word_index(rt2x00dev, array); array 1393 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h struct rtl8xxxu_reg32val *array); array 2145 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct rtl8xxxu_reg8val *array = priv->fops->mactable; array 2151 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c reg = array[i].reg; array 2152 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val = array[i].val; array 2173 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct rtl8xxxu_reg32val *array) array 2180 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c reg = array[i].reg; array 2181 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val = array[i].val; array 2338 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct rtl8xxxu_rfregval *array, array 2346 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c reg = array[i].reg; array 2347 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val = array[i].val; array 712 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c u8 array[2]; array 714 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c array[0] = 0xff; array 715 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c array[1] = *((u8 *)val); array 717 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 2, array); array 526 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c u8 array[2]; array 528 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c array[0] = 0xff; array 529 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c array[1] = *((u8 *)val); array 530 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c rtl92c_fill_h2c_cmd(hw, H2C_92C_KEEP_ALIVE_CTRL, 2, array); array 1892 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c u8 array[2]; array 1894 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c array[0] = 0xff; array 1895 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c array[1] = *((u8 *)val); array 1897 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c array); array 660 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c u8 array[2]; array 662 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c array[0] = 0xff; array 663 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c array[1] = *((u8 *)val); array 664 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl92ee_fill_h2c_cmd(hw, H2C_92E_KEEP_ALIVE_CTRL, 2, array); array 678 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c v1 = array[i]; \ array 679 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c v2 = array[i+1]; \ array 686 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u32 *array; array 693 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c array = RTL8192EE_PHY_REG_ARRAY; array 696 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c v1 = array[i]; array 697 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c v2 = array[i+1]; array 705 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c if (!_check_condition(hw , array[i])) { array 734 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c array = RTL8192EE_AGC_TAB_ARRAY; array 737 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c v1 = array[i]; array 738 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c v2 = array[i+1]; array 740 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c rtl_set_bbreg(hw, array[i], MASKDWORD, array 741 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c array[i + 1]); array 749 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c if (!_check_condition(hw , array[i])) { array 769 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c array[i], array 771 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c array[i + 1]); array 784 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c array[i], array 785 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c array[i + 1]); array 903 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c v1 = array[i]; \ array 904 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c v2 = array[i+1]; \ array 912 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u32 *array; array 919 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c array = RTL8192EE_RADIOA_ARRAY; array 924 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c v1 = array[i]; array 925 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c v2 = array[i+1]; array 934 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c if (!_check_condition(hw , array[i])) { array 966 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c array = RTL8192EE_RADIOB_ARRAY; array 971 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c v1 = array[i]; array 972 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c v2 = array[i+1]; array 981 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c if (!_check_condition(hw , array[i])) { array 701 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c u8 array[2]; array 702 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c array[0] = 0xff; array 703 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c array[1] = *((u8 *)val); array 704 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c rtl8723be_fill_h2c_cmd(hw, H2C_8723B_KEEP_ALIVE_CTRL, 2, array); array 775 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 array[2]; array 776 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c array[0] = 0xff; array 777 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c array[1] = *((u8 *)val); array 779 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c array); array 1774 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 **array; array 1778 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c array = RTL8812AE_TXPWR_LMT; array 1781 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c array = RTL8821AE_TXPWR_LMT; array 1788 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 *regulation = array[i]; array 1789 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 *band = array[i+1]; array 1790 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 *bandwidth = array[i+2]; array 1791 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 *rate = array[i+3]; array 1792 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 *rf_path = array[i+4]; array 1793 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 *chnl = array[i+5]; array 1794 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 *val = array[i+6]; array 2007 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u32 *array; array 2013 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c array = RTL8812AE_PHY_REG_ARRAY_PG; array 2016 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c array = RTL8821AE_PHY_REG_ARRAY_PG; array 2025 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c v1 = array[i]; array 2026 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c v2 = array[i+1]; array 2027 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c v3 = array[i+2]; array 2028 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c v4 = array[i+3]; array 2029 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c v5 = array[i+4]; array 2030 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c v6 = array[i+5]; array 2060 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c v1 = array[i]; array 2061 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c v2 = array[i+1]; array 2062 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c v3 = array[i+2]; array 2065 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c v1 = array[i]; array 2066 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c v2 = array[i+1]; array 2067 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c v3 = array[i+2]; array 3160 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 *array, u8 path, array 3170 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c _rtl8821ae_get_txpower_index(hw, path, array[i], array 3174 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c array[i]); array 85 drivers/platform/x86/intel-hid.c struct input_dev *array; array 238 drivers/platform/x86/intel-hid.c if (!priv->array) array 327 drivers/platform/x86/intel-hid.c priv->array = devm_input_allocate_device(&device->dev); array 328 drivers/platform/x86/intel-hid.c if (!priv->array) array 331 drivers/platform/x86/intel-hid.c ret = sparse_keymap_setup(priv->array, intel_array_keymap, NULL); array 335 drivers/platform/x86/intel-hid.c priv->array->name = "Intel HID 5 button array"; array 336 drivers/platform/x86/intel-hid.c priv->array->id.bustype = BUS_HOST; array 338 drivers/platform/x86/intel-hid.c return input_register_device(priv->array); array 358 drivers/platform/x86/intel-hid.c if (event == 0xc0 || !priv->array) array 361 drivers/platform/x86/intel-hid.c if (!sparse_keymap_entry_from_scancode(priv->array, event)) { array 378 drivers/platform/x86/intel-hid.c if (!priv->array) { array 394 drivers/platform/x86/intel-hid.c if (!priv->array || array 395 drivers/platform/x86/intel-hid.c !sparse_keymap_report_event(priv->array, event, 1, true)) array 490 drivers/platform/x86/intel-hid.c if (priv->array) { array 814 drivers/platform/x86/intel_ips.c static u16 calc_avg_temp(struct ips_driver *ips, u16 *array) array 821 drivers/platform/x86/intel_ips.c total += (u64)(array[i] * 100); array 912 drivers/platform/x86/intel_ips.c static u32 calc_avg_power(struct ips_driver *ips, u32 *array) array 919 drivers/platform/x86/intel_ips.c total += array[i]; array 145 drivers/power/supply/adp5061.c static int adp5061_get_array_index(const int *array, u8 size, int val) array 150 drivers/power/supply/adp5061.c if (val < array[i]) array 248 drivers/power/supply/ds2760_battery.c static int battery_interpolate(int array[], int temp) array 253 drivers/power/supply/ds2760_battery.c return array[0]; array 255 drivers/power/supply/ds2760_battery.c return array[4]; array 260 drivers/power/supply/ds2760_battery.c return array[index] + (((array[index + 1] - array[index]) * dt) / 10); array 95 drivers/ras/cec.c u64 *array; /* container page */ array 147 drivers/ras/cec.c u8 decay = DECAY(ca->array[i]); array 154 drivers/ras/cec.c ca->array[i] &= ~(DECAY_MASK << COUNT_BITS); array 155 drivers/ras/cec.c ca->array[i] |= (decay << COUNT_BITS); array 194 drivers/ras/cec.c this_pfn = PFN(ca->array[i]); array 238 drivers/ras/cec.c memmove((void *)&ca->array[idx], array 239 drivers/ras/cec.c (void *)&ca->array[idx + 1], array 251 drivers/ras/cec.c unsigned int this = FULL_COUNT(ca->array[i]); array 261 drivers/ras/cec.c return PFN(ca->array[min_idx]); array 290 drivers/ras/cec.c u64 this = PFN(ca->array[i]); array 303 drivers/ras/cec.c u64 this = PFN(ca->array[i]); array 305 drivers/ras/cec.c pr_info(" %03d: [%016llx|%03llx]\n", i, this, FULL_COUNT(ca->array[i])); array 322 drivers/ras/cec.c if (!ce_arr.array || ce_arr.disabled) array 338 drivers/ras/cec.c memmove((void *)&ca->array[to + 1], array 339 drivers/ras/cec.c (void *)&ca->array[to], array 342 drivers/ras/cec.c ca->array[to] = pfn << PAGE_SHIFT; array 347 drivers/ras/cec.c ca->array[to] |= DECAY_MASK << COUNT_BITS; array 348 drivers/ras/cec.c ca->array[to]++; array 351 drivers/ras/cec.c count = COUNT(ca->array[to]); array 353 drivers/ras/cec.c u64 pfn = ca->array[to] >> PAGE_SHIFT; array 447 drivers/ras/cec.c u64 this = PFN(ca->array[i]); array 450 drivers/ras/cec.c i, this, bins[DECAY(ca->array[i])], COUNT(ca->array[i])); array 485 drivers/ras/cec.c struct dentry *d, *pfn, *decay, *count, *array; array 516 drivers/ras/cec.c array = debugfs_create_file("array", S_IRUSR, d, NULL, &array_ops); array 517 drivers/ras/cec.c if (!array) { array 535 drivers/ras/cec.c ce_arr.array = (void *)get_zeroed_page(GFP_KERNEL); array 536 drivers/ras/cec.c if (!ce_arr.array) { array 542 drivers/ras/cec.c free_page((unsigned long)ce_arr.array); array 47 drivers/reset/core.c bool array; array 273 drivers/reset/core.c return rstc->array; array 890 drivers/reset/core.c resets->base.array = true; array 1005 drivers/s390/block/dasd.c static void dasd_stats_array(struct seq_file *m, unsigned int *array) array 1010 drivers/s390/block/dasd.c seq_printf(m, "%u ", array[i]); array 184 drivers/s390/block/dasd_proc.c static void dasd_statistics_array(struct seq_file *m, unsigned int *array, int factor) array 189 drivers/s390/block/dasd_proc.c seq_printf(m, "%7d ", array[i] / factor); array 453 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_outsb(struct ahd_softc * ahd, long port, uint8_t *array, int count) array 463 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_outb(ahd, port, *array++); array 467 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_insb(struct ahd_softc * ahd, long port, uint8_t *array, int count) array 477 drivers/scsi/aic7xxx/aic79xx_osm.c *array++ = ahd_inb(ahd, port); array 424 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_outsb(struct ahc_softc * ahc, long port, uint8_t *array, int count) array 434 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_outb(ahc, port, *array++); array 438 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_insb(struct ahc_softc * ahc, long port, uint8_t *array, int count) array 448 drivers/scsi/aic7xxx/aic7xxx_osm.c *array++ = ahc_inb(ahc, port); array 320 drivers/scsi/isci/host.c frame_header = ihost->uf_control.buffers.array[frame_index].header; array 321 drivers/scsi/isci/host.c ihost->uf_control.buffers.array[frame_index].state = UNSOLICITED_FRAME_IN_USE; array 85 drivers/scsi/isci/unsolicited_frame_control.c uf_control->headers.array = virt + SCI_UFI_BUF_SIZE; array 95 drivers/scsi/isci/unsolicited_frame_control.c uf_control->address_table.array = virt + SCI_UFI_BUF_SIZE + SCI_UFI_HDR_SIZE; array 110 drivers/scsi/isci/unsolicited_frame_control.c uf = &uf_control->buffers.array[i]; array 112 drivers/scsi/isci/unsolicited_frame_control.c uf_control->address_table.array[i] = dma; array 115 drivers/scsi/isci/unsolicited_frame_control.c uf->header = &uf_control->headers.array[i]; array 136 drivers/scsi/isci/unsolicited_frame_control.c *frame_header = &uf_control->buffers.array[frame_index].header->data; array 149 drivers/scsi/isci/unsolicited_frame_control.c *frame_buffer = uf_control->buffers.array[frame_index].buffer; array 171 drivers/scsi/isci/unsolicited_frame_control.c while (lower_32_bits(uf_control->address_table.array[frame_get]) == 0 && array 172 drivers/scsi/isci/unsolicited_frame_control.c upper_32_bits(uf_control->address_table.array[frame_get]) == 0 && array 184 drivers/scsi/isci/unsolicited_frame_control.c uf_control->buffers.array[frame_index].state = UNSOLICITED_FRAME_RELEASED; array 198 drivers/scsi/isci/unsolicited_frame_control.c while (uf_control->buffers.array[frame_get].state == UNSOLICITED_FRAME_RELEASED) { array 199 drivers/scsi/isci/unsolicited_frame_control.c uf_control->buffers.array[frame_get].state = UNSOLICITED_FRAME_EMPTY; array 172 drivers/scsi/isci/unsolicited_frame_control.h struct scu_unsolicited_frame_header *array; array 195 drivers/scsi/isci/unsolicited_frame_control.h struct sci_unsolicited_frame array[SCU_MAX_UNSOLICITED_FRAMES]; array 217 drivers/scsi/isci/unsolicited_frame_control.h u64 *array; array 244 drivers/scsi/qla2xxx/qla_nx2.c value = vha->reset_tmplt.array[p_rmw_hdr->index_a]; array 921 drivers/scsi/qla2xxx/qla_nx2.c vha->reset_tmplt.array[index++] = value; array 273 drivers/scsi/qla2xxx/qla_nx2.h uint32_t array[QLA8044_MAX_RESET_SEQ_ENTRIES]; array 900 drivers/scsi/qla4xxx/ql4_83xx.c value = ha->reset_tmplt.array[p_rmw_hdr->index_a]; array 1075 drivers/scsi/qla4xxx/ql4_83xx.c ha->reset_tmplt.array[index++] = value; array 233 drivers/scsi/qla4xxx/ql4_83xx.h uint32_t array[QLA83XX_MAX_RESET_SEQ_ENTRIES]; array 25 drivers/soc/qcom/qcom_gsbi.c const u32 (*array)[MAX_GSBI]; array 43 drivers/soc/qcom/qcom_gsbi.c .array = crci_ipq8064, array 61 drivers/soc/qcom/qcom_gsbi.c .array = crci_apq8064, array 79 drivers/soc/qcom/qcom_gsbi.c .array = crci_msm8960, array 107 drivers/soc/qcom/qcom_gsbi.c .array = crci_msm8660, array 199 drivers/soc/qcom/qcom_gsbi.c mask = config->array[i][gsbi_num - 1]; array 395 drivers/staging/comedi/drivers/adl_pci9111.c unsigned short *array = data; array 403 drivers/staging/comedi/drivers/adl_pci9111.c array[i] = ((array[i] >> shift) & maxdata) ^ invert; array 604 drivers/staging/comedi/drivers/adl_pci9118.c unsigned short *array = data; array 611 drivers/staging/comedi/drivers/adl_pci9118.c array[i] = be16_to_cpu(barray[i]); array 613 drivers/staging/comedi/drivers/adl_pci9118.c array[i] ^= 0x8000; array 615 drivers/staging/comedi/drivers/adl_pci9118.c array[i] = (array[i] >> 4) & 0x0fff; array 920 drivers/staging/comedi/drivers/amplc_pci224.c unsigned short *array = data; array 921 drivers/staging/comedi/drivers/amplc_pci224.c unsigned int length = num_bytes / sizeof(*array); array 939 drivers/staging/comedi/drivers/amplc_pci224.c array[i] = (array[i] << shift) - offset; array 792 drivers/staging/comedi/drivers/das16.c struct comedi_subdevice *s, void *array, array 796 drivers/staging/comedi/drivers/das16.c unsigned short *data = array; array 799 drivers/staging/comedi/drivers/das16.c __le16 *buf = array; array 126 drivers/staging/comedi/drivers/das16m1.c unsigned short *array = data; array 136 drivers/staging/comedi/drivers/das16m1.c array[i] = DAS16M1_AI_TO_SAMPLE(array[i]); array 328 drivers/staging/comedi/drivers/das1800.c unsigned short *array = data; array 336 drivers/staging/comedi/drivers/das1800.c array[i] = comedi_offset_munge(s, array[i]); array 1404 drivers/staging/comedi/drivers/ni_mio_common.c unsigned short *array = data; array 1417 drivers/staging/comedi/drivers/ni_mio_common.c array[i] = le16_to_cpu(barray[i]); array 1422 drivers/staging/comedi/drivers/ni_mio_common.c array[i] += devpriv->ai_offset[chan_index]; array 2522 drivers/staging/comedi/drivers/ni_mio_common.c unsigned short *array = data; array 2530 drivers/staging/comedi/drivers/ni_mio_common.c unsigned short val = array[i]; array 2542 drivers/staging/comedi/drivers/ni_mio_common.c array[i] = val; array 299 drivers/staging/iio/adc/ad7280a.c unsigned int *array) array 327 drivers/staging/iio/adc/ad7280a.c if (array) array 328 drivers/staging/iio/adc/ad7280a.c array[i] = tmp; array 239 drivers/staging/media/imx/imx-media-utils.c const struct imx_media_pixfmt *array, array 246 drivers/staging/media/imx/imx-media-utils.c fmt = &array[i]; array 386 drivers/staging/media/imx/imx-media-utils.c const struct imx_media_pixfmt *array, *fmt, *ret = NULL; array 393 drivers/staging/media/imx/imx-media-utils.c array = ipu_yuv_formats; array 397 drivers/staging/media/imx/imx-media-utils.c array = ipu_rgb_formats; array 401 drivers/staging/media/imx/imx-media-utils.c array = ipu_yuv_formats; array 411 drivers/staging/media/imx/imx-media-utils.c fmt = &array[i]; array 75 drivers/staging/media/ipu3/ipu3-css-fw.h } array[IMGU_ABI_PARAM_CLASS_NUM]; array 1588 drivers/staging/qlge/qlge_dbg.c #define DUMP_QDEV_ARRAY(qdev, type, array, index, field) \ array 1590 drivers/staging/qlge/qlge_dbg.c #array, index, #field, qdev->array[index].field); array 149 drivers/staging/rtl8188eu/hal/bb_cfg.c u32 *array = array_agc_tab_1t_8188e; array 152 drivers/staging/rtl8188eu/hal/bb_cfg.c u32 v1 = array[i]; array 153 drivers/staging/rtl8188eu/hal/bb_cfg.c u32 v2 = array[i + 1]; array 384 drivers/staging/rtl8188eu/hal/bb_cfg.c u32 *array = array_phy_reg_1t_8188e; array 387 drivers/staging/rtl8188eu/hal/bb_cfg.c u32 v1 = array[i]; array 388 drivers/staging/rtl8188eu/hal/bb_cfg.c u32 v2 = array[i + 1]; array 564 drivers/staging/rtl8188eu/hal/bb_cfg.c u32 *array = array_phy_reg_pg_8188e; array 567 drivers/staging/rtl8188eu/hal/bb_cfg.c u32 v1 = array[i]; array 568 drivers/staging/rtl8188eu/hal/bb_cfg.c u32 v2 = array[i + 1]; array 569 drivers/staging/rtl8188eu/hal/bb_cfg.c u32 v3 = array[i + 2]; array 145 drivers/staging/rtl8188eu/hal/rf_cfg.c i += 2; v1 = array[i]; \ array 146 drivers/staging/rtl8188eu/hal/rf_cfg.c v2 = array[i+1]; \ array 189 drivers/staging/rtl8188eu/hal/rf_cfg.c u32 *array = Array_RadioA_1T_8188E; array 192 drivers/staging/rtl8188eu/hal/rf_cfg.c u32 v1 = array[i]; array 193 drivers/staging/rtl8188eu/hal/rf_cfg.c u32 v2 = array[i+1]; array 199 drivers/staging/rtl8188eu/hal/rf_cfg.c if (!check_condition(adapt, array[i])) { array 129 drivers/staging/uwb/drp-avail.c unsigned long get_val(u8 *array, size_t itr, size_t len) array 138 drivers/staging/uwb/drp-avail.c val |= array[top - 1]; array 372 drivers/staging/vt6656/baseband.c u8 array[256]; array 450 drivers/staging/vt6656/baseband.c memcpy(array, addr, length); array 453 drivers/staging/vt6656/baseband.c MESSAGE_REQUEST_BBREG, length, array); array 457 drivers/staging/vt6656/baseband.c memcpy(array, agc, length_agc); array 460 drivers/staging/vt6656/baseband.c MESSAGE_REQUEST_BBAGC, length_agc, array); array 820 drivers/staging/vt6656/rf.c u8 array[256]; array 867 drivers/staging/vt6656/rf.c memcpy(array, addr1, length1); array 870 drivers/staging/vt6656/rf.c MESSAGE_REQUEST_RF_INIT, length1, array); array 882 drivers/staging/vt6656/rf.c memcpy(array, addr2, length); array 885 drivers/staging/vt6656/rf.c MESSAGE_REQUEST_RF_CH0, length, array); array 902 drivers/staging/vt6656/rf.c memcpy(array, addr3, length); array 905 drivers/staging/vt6656/rf.c MESSAGE_REQUEST_RF_CH1, length, array); array 920 drivers/staging/vt6656/rf.c memcpy(array, addr1, length1); array 924 drivers/staging/vt6656/rf.c MESSAGE_REQUEST_RF_INIT2, length1, array); array 936 drivers/staging/vt6656/rf.c memcpy(array, addr2, length); array 940 drivers/staging/vt6656/rf.c array); array 94 drivers/target/iscsi/iscsi_target_seq_pdu_list.c static void iscsit_create_random_array(u32 *array, u32 count) array 99 drivers/target/iscsi/iscsi_target_seq_pdu_list.c array[0] = 0; array 109 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if ((array[k] & 0x80000000) && (array[k] == j)) array 112 drivers/target/iscsi/iscsi_target_seq_pdu_list.c array[i] = j; array 116 drivers/target/iscsi/iscsi_target_seq_pdu_list.c array[i] &= ~0x80000000; array 124 drivers/target/iscsi/iscsi_target_seq_pdu_list.c u32 *array, pdu_count, seq_count = 0, seq_no = 0, seq_offset = 0; array 132 drivers/target/iscsi/iscsi_target_seq_pdu_list.c array = kcalloc(seq_count, sizeof(u32), GFP_KERNEL); array 133 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (!array) { array 138 drivers/target/iscsi/iscsi_target_seq_pdu_list.c iscsit_create_random_array(array, seq_count); array 141 drivers/target/iscsi/iscsi_target_seq_pdu_list.c cmd->pdu_list[seq_offset+i].pdu_send_order = array[i]; array 143 drivers/target/iscsi/iscsi_target_seq_pdu_list.c kfree(array); array 152 drivers/target/iscsi/iscsi_target_seq_pdu_list.c array = kcalloc(seq_count, sizeof(u32), GFP_KERNEL); array 153 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (!array) { array 158 drivers/target/iscsi/iscsi_target_seq_pdu_list.c iscsit_create_random_array(array, seq_count); array 161 drivers/target/iscsi/iscsi_target_seq_pdu_list.c cmd->pdu_list[seq_offset+i].pdu_send_order = array[i]; array 163 drivers/target/iscsi/iscsi_target_seq_pdu_list.c kfree(array); array 174 drivers/target/iscsi/iscsi_target_seq_pdu_list.c u32 *array, seq_count = cmd->seq_count; array 184 drivers/target/iscsi/iscsi_target_seq_pdu_list.c array = kcalloc(seq_count, sizeof(u32), GFP_KERNEL); array 185 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (!array) { array 189 drivers/target/iscsi/iscsi_target_seq_pdu_list.c iscsit_create_random_array(array, seq_count); array 194 drivers/target/iscsi/iscsi_target_seq_pdu_list.c cmd->seq_list[i].seq_send_order = array[j++]; array 197 drivers/target/iscsi/iscsi_target_seq_pdu_list.c kfree(array); array 172 drivers/tee/optee/optee_private.h void optee_free_pages_list(void *array, size_t num_entries); array 97 drivers/thermal/intel/int340x_thermal/int3406_thermal.c static int int3406_thermal_get_index(int *array, int nr, int value) array 102 drivers/thermal/intel/int340x_thermal/int3406_thermal.c if (array[i] == value) array 1234 drivers/tty/hvc/hvc_iucv.c void *array, *old_filter; array 1239 drivers/tty/hvc/hvc_iucv.c array = NULL; array 1255 drivers/tty/hvc/hvc_iucv.c array = kcalloc(size, 8, GFP_KERNEL); array 1256 drivers/tty/hvc/hvc_iucv.c if (!array) array 1263 drivers/tty/hvc/hvc_iucv.c array + ((size - count) * 8)); array 1266 drivers/tty/hvc/hvc_iucv.c kfree(array); array 1276 drivers/tty/hvc/hvc_iucv.c hvc_iucv_filter = array; array 2083 drivers/usb/gadget/function/uvc_configfs.c struct uvc_descriptor_header ***array = priv3; array 2086 drivers/usb/gadget/function/uvc_configfs.c **array = *dest; array 2087 drivers/usb/gadget/function/uvc_configfs.c ++*array; array 657 drivers/usb/host/r8a66597-hcd.c u16 array[R8A66597_MAX_NUM_PIPE], i = 0, min; array 659 drivers/usb/host/r8a66597-hcd.c memset(array, 0, sizeof(array)); array 663 drivers/usb/host/r8a66597-hcd.c array[i++] = 4; array 665 drivers/usb/host/r8a66597-hcd.c array[i++] = 3; array 666 drivers/usb/host/r8a66597-hcd.c array[i++] = 5; array 671 drivers/usb/host/r8a66597-hcd.c array[i++] = 6; array 672 drivers/usb/host/r8a66597-hcd.c array[i++] = 7; array 673 drivers/usb/host/r8a66597-hcd.c array[i++] = 8; array 675 drivers/usb/host/r8a66597-hcd.c array[i++] = 9; array 679 drivers/usb/host/r8a66597-hcd.c array[i++] = 2; array 681 drivers/usb/host/r8a66597-hcd.c array[i++] = 1; array 689 drivers/usb/host/r8a66597-hcd.c min = array[0]; array 690 drivers/usb/host/r8a66597-hcd.c while (array[i] != 0) { array 691 drivers/usb/host/r8a66597-hcd.c if (r8a66597->pipe_cnt[min] > r8a66597->pipe_cnt[array[i]]) array 692 drivers/usb/host/r8a66597-hcd.c min = array[i]; array 175 drivers/video/backlight/tdo24m.c static int tdo24m_writes(struct tdo24m *lcd, const uint32_t *array) array 178 drivers/video/backlight/tdo24m.c const uint32_t *p = array; array 114 drivers/video/fbdev/ssd1307fb.c struct ssd1307fb_array *array; array 116 drivers/video/fbdev/ssd1307fb.c array = kzalloc(sizeof(struct ssd1307fb_array) + len, GFP_KERNEL); array 117 drivers/video/fbdev/ssd1307fb.c if (!array) array 120 drivers/video/fbdev/ssd1307fb.c array->type = type; array 122 drivers/video/fbdev/ssd1307fb.c return array; array 126 drivers/video/fbdev/ssd1307fb.c struct ssd1307fb_array *array, u32 len) array 132 drivers/video/fbdev/ssd1307fb.c ret = i2c_master_send(client, (u8 *)array, len); array 143 drivers/video/fbdev/ssd1307fb.c struct ssd1307fb_array *array; array 146 drivers/video/fbdev/ssd1307fb.c array = ssd1307fb_alloc_array(1, SSD1307FB_COMMAND); array 147 drivers/video/fbdev/ssd1307fb.c if (!array) array 150 drivers/video/fbdev/ssd1307fb.c array->data[0] = cmd; array 152 drivers/video/fbdev/ssd1307fb.c ret = ssd1307fb_write_array(client, array, 1); array 153 drivers/video/fbdev/ssd1307fb.c kfree(array); array 160 drivers/video/fbdev/ssd1307fb.c struct ssd1307fb_array *array; array 166 drivers/video/fbdev/ssd1307fb.c array = ssd1307fb_alloc_array(par->width * pages, SSD1307FB_DATA); array 167 drivers/video/fbdev/ssd1307fb.c if (!array) array 203 drivers/video/fbdev/ssd1307fb.c array->data[array_idx] = 0; array 211 drivers/video/fbdev/ssd1307fb.c array->data[array_idx] |= bit << k; array 216 drivers/video/fbdev/ssd1307fb.c ssd1307fb_write_array(par->client, array, par->width * pages); array 217 drivers/video/fbdev/ssd1307fb.c kfree(array); array 241 fs/afs/dir.c req = kzalloc(struct_size(req, array, nr_inline), GFP_KERNEL); array 251 fs/afs/dir.c req->pages = req->array; array 198 fs/afs/file.c if (req->pages != req->array) array 315 fs/afs/file.c req = kzalloc(struct_size(req, array, 1), GFP_KERNEL); array 327 fs/afs/file.c req->pages = req->array; array 465 fs/afs/file.c req = kzalloc(struct_size(req, array, n), GFP_NOFS); array 474 fs/afs/file.c req->pages = req->array; array 238 fs/afs/internal.h struct page *array[]; array 47 fs/afs/write.c req = kzalloc(struct_size(req, array, 1), GFP_KERNEL); array 55 fs/afs/write.c req->pages = req->array; array 255 fs/befs/datastream.c const befs_block_run *array = data->direct; array 261 fs/befs/datastream.c sum += array[i].len, i++) { array 262 fs/befs/datastream.c if (blockno >= sum && blockno < sum + (array[i].len)) { array 265 fs/befs/datastream.c run->allocation_group = array[i].allocation_group; array 266 fs/befs/datastream.c run->start = array[i].start + offset; array 267 fs/befs/datastream.c run->len = array[i].len - offset; array 315 fs/befs/datastream.c befs_disk_block_run *array; array 337 fs/befs/datastream.c array = (befs_disk_block_run *) indirblock->b_data; array 340 fs/befs/datastream.c int len = fs16_to_cpu(sb, array[j].len); array 345 fs/befs/datastream.c fs32_to_cpu(sb, array[j].allocation_group); array 347 fs/befs/datastream.c fs16_to_cpu(sb, array[j].start) + offset; array 349 fs/befs/datastream.c fs16_to_cpu(sb, array[j].len) - offset; array 1286 fs/btrfs/compression.c static void radix_sort(struct bucket_item *array, struct bucket_item *array_buf, array 1302 fs/btrfs/compression.c max_num = array[0].count; array 1304 fs/btrfs/compression.c buf_num = array[i].count; array 1317 fs/btrfs/compression.c buf_num = array[i].count; array 1326 fs/btrfs/compression.c buf_num = array[i].count; array 1330 fs/btrfs/compression.c array_buf[new_addr] = array[i]; array 1357 fs/btrfs/compression.c array[new_addr] = array_buf[i]; array 959 fs/debugfs/file.c void *array; array 964 fs/debugfs/file.c u32 *array, int array_size) array 972 fs/debugfs/file.c len = snprintf(buf, bufsize, "%u%c", *array++, term); array 999 fs/debugfs/file.c u32_format_array(buf, size, data->array, data->elements); array 1045 fs/debugfs/file.c struct dentry *parent, u32 *array, u32 elements) array 1052 fs/debugfs/file.c data->array = array; array 62 fs/dlm/member.c struct rcom_slot *ro0, struct dlm_slot *array, array 72 fs/dlm/member.c if (array) { array 74 fs/dlm/member.c if (!array[i].nodeid) array 78 fs/dlm/member.c array[i].slot, array[i].nodeid); array 168 fs/dlm/member.c struct dlm_slot *array; array 218 fs/dlm/member.c array = kcalloc(array_size, sizeof(*array), GFP_NOFS); array 219 fs/dlm/member.c if (!array) array 232 fs/dlm/member.c kfree(array); array 236 fs/dlm/member.c array[memb->slot - 1].nodeid = memb->nodeid; array 237 fs/dlm/member.c array[memb->slot - 1].slot = memb->slot; array 248 fs/dlm/member.c if (array[i].nodeid) array 253 fs/dlm/member.c array[i].nodeid = memb->nodeid; array 254 fs/dlm/member.c array[i].slot = memb->slot; array 264 fs/dlm/member.c kfree(array); array 271 fs/dlm/member.c log_slots(ls, gen, num, NULL, array, array_size); array 279 fs/dlm/member.c kfree(array); array 284 fs/dlm/member.c *slots_out = array; array 387 fs/dlm/member.c int i, w, x = 0, total = 0, all_zero = 0, *array; array 405 fs/dlm/member.c array = kmalloc_array(total, sizeof(*array), GFP_NOFS); array 406 fs/dlm/member.c if (!array) array 421 fs/dlm/member.c array[x++] = memb->nodeid; array 424 fs/dlm/member.c ls->ls_node_array = array; array 174 fs/ext4/xattr.h struct ext4_xattr_inode_array **array, array 176 fs/ext4/xattr.h extern void ext4_xattr_inode_array_free(struct ext4_xattr_inode_array *array); array 4087 fs/f2fs/segment.c struct curseg_info *array; array 4090 fs/f2fs/segment.c array = f2fs_kzalloc(sbi, array_size(NR_CURSEG_TYPE, sizeof(*array)), array 4092 fs/f2fs/segment.c if (!array) array 4095 fs/f2fs/segment.c SM_I(sbi)->curseg_array = array; array 4098 fs/f2fs/segment.c mutex_init(&array[i].curseg_mutex); array 4099 fs/f2fs/segment.c array[i].sum_blk = f2fs_kzalloc(sbi, PAGE_SIZE, GFP_KERNEL); array 4100 fs/f2fs/segment.c if (!array[i].sum_blk) array 4102 fs/f2fs/segment.c init_rwsem(&array[i].journal_rwsem); array 4103 fs/f2fs/segment.c array[i].journal = f2fs_kzalloc(sbi, array 4105 fs/f2fs/segment.c if (!array[i].journal) array 4107 fs/f2fs/segment.c array[i].segno = NULL_SEGNO; array 4108 fs/f2fs/segment.c array[i].next_blkoff = 0; array 4482 fs/f2fs/segment.c struct curseg_info *array = SM_I(sbi)->curseg_array; array 4485 fs/f2fs/segment.c if (!array) array 4489 fs/f2fs/segment.c kvfree(array[i].sum_blk); array 4490 fs/f2fs/segment.c kvfree(array[i].journal); array 4492 fs/f2fs/segment.c kvfree(array); array 219 fs/hpfs/hpfs.h } array[31]; /* unknown length */ array 79 fs/hpfs/map.c cpds = le32_to_cpu(cp->array[0].code_page_data); array 80 fs/hpfs/map.c cpi = le16_to_cpu(cp->array[0].index); array 3950 fs/io_uring.c p->sq_off.array = (char *)ctx->sq_array - (char *)ctx->rings; array 144 fs/nfs/dir.c struct nfs_cache_array_entry array[0]; array 168 fs/nfs/dir.c struct nfs_cache_array *array; array 170 fs/nfs/dir.c array = kmap_atomic(page); array 171 fs/nfs/dir.c memset(array, 0, sizeof(struct nfs_cache_array)); array 172 fs/nfs/dir.c array->eof_index = -1; array 173 fs/nfs/dir.c kunmap_atomic(array); array 182 fs/nfs/dir.c struct nfs_cache_array *array; array 185 fs/nfs/dir.c array = kmap_atomic(page); array 186 fs/nfs/dir.c for (i = 0; i < array->size; i++) array 187 fs/nfs/dir.c kfree(array->array[i].string.name); array 188 fs/nfs/dir.c array->size = 0; array 189 fs/nfs/dir.c kunmap_atomic(array); array 216 fs/nfs/dir.c struct nfs_cache_array *array = kmap(page); array 220 fs/nfs/dir.c cache_entry = &array->array[array->size]; array 233 fs/nfs/dir.c array->last_cookie = entry->cookie; array 234 fs/nfs/dir.c array->size++; array 236 fs/nfs/dir.c array->eof_index = array->size; array 243 fs/nfs/dir.c int nfs_readdir_search_for_pos(struct nfs_cache_array *array, nfs_readdir_descriptor_t *desc) array 250 fs/nfs/dir.c if (diff >= array->size) { array 251 fs/nfs/dir.c if (array->eof_index >= 0) array 257 fs/nfs/dir.c *desc->dir_cookie = array->array[index].cookie; array 275 fs/nfs/dir.c int nfs_readdir_search_for_cookie(struct nfs_cache_array *array, nfs_readdir_descriptor_t *desc) array 281 fs/nfs/dir.c for (i = 0; i < array->size; i++) { array 282 fs/nfs/dir.c if (array->array[i].cookie == *desc->dir_cookie) { array 298 fs/nfs/dir.c desc->file, array->array[i].string.len, array 299 fs/nfs/dir.c array->array[i].string.name, *desc->dir_cookie); array 312 fs/nfs/dir.c if (array->eof_index >= 0) { array 314 fs/nfs/dir.c if (*desc->dir_cookie == array->last_cookie) array 324 fs/nfs/dir.c struct nfs_cache_array *array; array 327 fs/nfs/dir.c array = kmap(desc->page); array 330 fs/nfs/dir.c status = nfs_readdir_search_for_pos(array, desc); array 332 fs/nfs/dir.c status = nfs_readdir_search_for_cookie(array, desc); array 335 fs/nfs/dir.c desc->last_cookie = array->last_cookie; array 336 fs/nfs/dir.c desc->current_index += array->size; array 541 fs/nfs/dir.c struct nfs_cache_array *array; array 575 fs/nfs/dir.c array = kmap(page); array 576 fs/nfs/dir.c array->eof_index = array->size; array 621 fs/nfs/dir.c struct nfs_cache_array *array; array 642 fs/nfs/dir.c array = kmap(page); array 660 fs/nfs/dir.c } while (array->eof_index < 0); array 768 fs/nfs/dir.c struct nfs_cache_array *array = NULL; array 771 fs/nfs/dir.c array = kmap(desc->page); array 772 fs/nfs/dir.c for (i = desc->cache_entry_index; i < array->size; i++) { array 775 fs/nfs/dir.c ent = &array->array[i]; array 782 fs/nfs/dir.c if (i < (array->size-1)) array 783 fs/nfs/dir.c *desc->dir_cookie = array->array[i+1].cookie; array 785 fs/nfs/dir.c *desc->dir_cookie = array->last_cookie; array 789 fs/nfs/dir.c if (array->eof_index >= 0) array 524 fs/ocfs2/uptodate.c sector_t *array = ci->ci_cache.ci_array; array 541 fs/ocfs2/uptodate.c memmove(&array[index], &array[index + 1], bytes); array 690 fs/splice.c struct bio_vec *array = kcalloc(nbufs, sizeof(struct bio_vec), array 694 fs/splice.c if (unlikely(!array)) array 710 fs/splice.c kfree(array); array 712 fs/splice.c array = kcalloc(nbufs, sizeof(struct bio_vec), array 714 fs/splice.c if (!array) { array 739 fs/splice.c array[n].bv_page = buf->page; array 740 fs/splice.c array[n].bv_len = this_len; array 741 fs/splice.c array[n].bv_offset = buf->offset; array 745 fs/splice.c iov_iter_bvec(&from, WRITE, array, n, sd.total_len - left); array 773 fs/splice.c kfree(array); array 118 include/asm-generic/gpio.h extern int gpio_request_array(const struct gpio *array, size_t num); array 119 include/asm-generic/gpio.h extern void gpio_free_array(const struct gpio *array, size_t num); array 54 include/linux/assoc_array.h static inline void assoc_array_init(struct assoc_array *array) array 56 include/linux/assoc_array.h array->root = NULL; array 57 include/linux/assoc_array.h array->nr_leaves_on_tree = 0; array 60 include/linux/assoc_array.h extern int assoc_array_iterate(const struct assoc_array *array, array 64 include/linux/assoc_array.h extern void *assoc_array_find(const struct assoc_array *array, array 67 include/linux/assoc_array.h extern void assoc_array_destroy(struct assoc_array *array, array 69 include/linux/assoc_array.h extern struct assoc_array_edit *assoc_array_insert(struct assoc_array *array, array 75 include/linux/assoc_array.h extern struct assoc_array_edit *assoc_array_delete(struct assoc_array *array, array 78 include/linux/assoc_array.h extern struct assoc_array_edit *assoc_array_clear(struct assoc_array *array, array 82 include/linux/assoc_array.h extern int assoc_array_gc(struct assoc_array *array, array 76 include/linux/assoc_array_priv.h struct assoc_array *array; array 483 include/linux/bpf.h bool bpf_prog_array_compatible(struct bpf_array *array, const struct bpf_prog *fp); array 524 include/linux/bpf.h bool bpf_prog_array_is_empty(struct bpf_prog_array *array); array 530 include/linux/bpf.h int bpf_prog_array_copy_info(struct bpf_prog_array *array, array 538 include/linux/bpf.h #define __BPF_PROG_RUN_ARRAY(array, ctx, func, check_non_null) \ array 546 include/linux/bpf.h _array = rcu_dereference(array); \ array 583 include/linux/bpf.h #define BPF_PROG_CGROUP_INET_EGRESS_RUN_ARRAY(array, ctx, func) \ array 593 include/linux/bpf.h _array = rcu_dereference(array); \ array 611 include/linux/bpf.h #define BPF_PROG_RUN_ARRAY(array, ctx, func) \ array 612 include/linux/bpf.h __BPF_PROG_RUN_ARRAY(array, ctx, func, false) array 614 include/linux/bpf.h #define BPF_PROG_RUN_ARRAY_CHECK(array, ctx, func) \ array 615 include/linux/bpf.h __BPF_PROG_RUN_ARRAY(array, ctx, func, true) array 137 include/linux/debugfs.h struct dentry *parent, u32 *array, u32 elements); array 356 include/linux/debugfs.h struct dentry *parent, u32 *array, array 25 include/linux/dma-fence-array.h struct dma_fence_array *array; array 127 include/linux/gpio.h static inline int gpio_request_array(const struct gpio *array, size_t num) array 140 include/linux/gpio.h static inline void gpio_free_array(const struct gpio *array, size_t num) array 46 include/linux/linkmode.h static inline void linkmode_set_bit_array(const int *array, int array_size, array 52 include/linux/linkmode.h linkmode_set_bit(array[i], addr); array 435 include/linux/moduleparam.h #define module_param_array_named(name, array, type, nump, perm) \ array 436 include/linux/moduleparam.h param_check_##type(name, &(array)[0]); \ array 438 include/linux/moduleparam.h = { .max = ARRAY_SIZE(array), .num = nump, \ array 440 include/linux/moduleparam.h .elemsize = sizeof(array[0]), .elem = array }; \ array 306 include/linux/ptr_ring.h void **array, int n) array 315 include/linux/ptr_ring.h array[i] = ptr; array 372 include/linux/ptr_ring.h void **array, int n) array 377 include/linux/ptr_ring.h ret = __ptr_ring_consume_batched(r, array, n); array 384 include/linux/ptr_ring.h void **array, int n) array 389 include/linux/ptr_ring.h ret = __ptr_ring_consume_batched(r, array, n); array 396 include/linux/ptr_ring.h void **array, int n) array 402 include/linux/ptr_ring.h ret = __ptr_ring_consume_batched(r, array, n); array 409 include/linux/ptr_ring.h void **array, int n) array 414 include/linux/ptr_ring.h ret = __ptr_ring_consume_batched(r, array, n); array 18 include/linux/ring_buffer.h u32 array[]; array 107 include/linux/skb_array.h struct sk_buff **array, int n) array 109 include/linux/skb_array.h return ptr_ring_consume_batched(&a->ring, (void **)array, n); array 118 include/linux/skb_array.h struct sk_buff **array, int n) array 120 include/linux/skb_array.h return ptr_ring_consume_batched_irq(&a->ring, (void **)array, n); array 129 include/linux/skb_array.h struct sk_buff **array, int n) array 131 include/linux/skb_array.h return ptr_ring_consume_batched_any(&a->ring, (void **)array, n); array 141 include/linux/skb_array.h struct sk_buff **array, int n) array 143 include/linux/skb_array.h return ptr_ring_consume_batched_bh(&a->ring, (void **)array, n); array 198 include/linux/string.h int match_string(const char * const *array, size_t n, const char *string); array 199 include/linux/string.h int __sysfs_match_string(const char * const *array, size_t n, const char *s); array 428 include/linux/sunrpc/xdr.h const __u32 *array, size_t array_size) array 436 include/linux/sunrpc/xdr.h for (; array_size > 0; p++, array++, array_size--) array 437 include/linux/sunrpc/xdr.h *p = cpu_to_be32p(array); array 532 include/linux/sunrpc/xdr.h __u32 *array, size_t array_size) array 543 include/linux/sunrpc/xdr.h if (array == NULL) array 547 include/linux/sunrpc/xdr.h memset(array+len, 0, (array_size-len)*sizeof(*array)); array 552 include/linux/sunrpc/xdr.h for (; array_size > 0; p++, array++, array_size--) array 553 include/linux/sunrpc/xdr.h *array = be32_to_cpup(p); array 1093 include/linux/xarray.h struct xarray *array; /* The array we belong to */ array 1291 include/linux/xarray.h #define __XA_STATE(array, index, shift, sibs) { \ array 1292 include/linux/xarray.h .xa = array, \ array 1311 include/linux/xarray.h #define XA_STATE(name, array, index) \ array 1312 include/linux/xarray.h struct xa_state name = __XA_STATE(array, index, 0, 0) array 1325 include/linux/xarray.h #define XA_STATE_ORDER(name, array, index, order) \ array 1326 include/linux/xarray.h struct xa_state name = __XA_STATE(array, \ array 408 include/media/v4l2-common.h #define v4l2_find_nearest_size(array, array_size, width_field, height_field, \ array 411 include/media/v4l2-common.h BUILD_BUG_ON(sizeof((array)->width_field) != sizeof(u32) || \ array 412 include/media/v4l2-common.h sizeof((array)->height_field) != sizeof(u32)); \ array 413 include/media/v4l2-common.h (typeof(&(array)[0]))__v4l2_find_nearest_size( \ array 414 include/media/v4l2-common.h (array), array_size, sizeof(*(array)), \ array 415 include/media/v4l2-common.h offsetof(typeof(*(array)), width_field), \ array 416 include/media/v4l2-common.h offsetof(typeof(*(array)), height_field), \ array 420 include/media/v4l2-common.h __v4l2_find_nearest_size(const void *array, size_t array_size, array 638 include/sound/hdaudio.h void *snd_array_new(struct snd_array *array); array 639 include/sound/hdaudio.h void snd_array_free(struct snd_array *array); array 640 include/sound/hdaudio.h static inline void snd_array_init(struct snd_array *array, unsigned int size, array 643 include/sound/hdaudio.h array->elem_size = size; array 644 include/sound/hdaudio.h array->alloc_align = align; array 647 include/sound/hdaudio.h static inline void *snd_array_elem(struct snd_array *array, unsigned int idx) array 649 include/sound/hdaudio.h return array->list + idx * array->elem_size; array 652 include/sound/hdaudio.h static inline unsigned int snd_array_index(struct snd_array *array, void *ptr) array 654 include/sound/hdaudio.h return (unsigned long)(ptr - array->list) / array->elem_size; array 658 include/sound/hdaudio.h #define snd_array_for_each(array, idx, ptr) \ array 659 include/sound/hdaudio.h for ((idx) = 0, (ptr) = (array)->list; (idx) < (array)->used; \ array 660 include/sound/hdaudio.h (ptr) = snd_array_elem(array, ++(idx))) array 336 include/trace/trace_events.h #define __print_array(array, count, el_size) \ array 340 include/trace/trace_events.h trace_print_array_seq(p, array, count, el_size); \ array 98 include/uapi/linux/io_uring.h __u32 array; array 1123 include/uapi/linux/kvm.h __u64 array; array 50 include/uapi/linux/sem.h unsigned short __user *array; /* array for GETALL & SETALL */ array 238 include/uapi/sound/asoc.h struct snd_soc_tplg_vendor_array array[0]; array 1417 ipc/sem.c ushort __user *array = p; array 1451 ipc/sem.c if (copy_to_user(array, sem_io, nsems*sizeof(ushort))) array 19 kernel/bpf/arraymap.c static void bpf_array_free_percpu(struct bpf_array *array) array 23 kernel/bpf/arraymap.c for (i = 0; i < array->map.max_entries; i++) { array 24 kernel/bpf/arraymap.c free_percpu(array->pptrs[i]); array 29 kernel/bpf/arraymap.c static int bpf_array_alloc_percpu(struct bpf_array *array) array 34 kernel/bpf/arraymap.c for (i = 0; i < array->map.max_entries; i++) { array 35 kernel/bpf/arraymap.c ptr = __alloc_percpu_gfp(array->elem_size, 8, array 38 kernel/bpf/arraymap.c bpf_array_free_percpu(array); array 41 kernel/bpf/arraymap.c array->pptrs[i] = ptr; array 79 kernel/bpf/arraymap.c struct bpf_array *array; array 104 kernel/bpf/arraymap.c array_size = sizeof(*array); array 120 kernel/bpf/arraymap.c array = bpf_map_area_alloc(array_size, numa_node); array 121 kernel/bpf/arraymap.c if (!array) { array 125 kernel/bpf/arraymap.c array->index_mask = index_mask; array 126 kernel/bpf/arraymap.c array->map.unpriv_array = unpriv; array 129 kernel/bpf/arraymap.c bpf_map_init_from_attr(&array->map, attr); array 130 kernel/bpf/arraymap.c bpf_map_charge_move(&array->map.memory, &mem); array 131 kernel/bpf/arraymap.c array->elem_size = elem_size; array 133 kernel/bpf/arraymap.c if (percpu && bpf_array_alloc_percpu(array)) { array 134 kernel/bpf/arraymap.c bpf_map_charge_finish(&array->map.memory); array 135 kernel/bpf/arraymap.c bpf_map_area_free(array); array 139 kernel/bpf/arraymap.c return &array->map; array 145 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 148 kernel/bpf/arraymap.c if (unlikely(index >= array->map.max_entries)) array 151 kernel/bpf/arraymap.c return array->value + array->elem_size * (index & array->index_mask); array 157 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 164 kernel/bpf/arraymap.c *imm = (unsigned long)array->value; array 171 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 172 kernel/bpf/arraymap.c u64 base = (unsigned long)array->value; array 173 kernel/bpf/arraymap.c u64 range = array->elem_size; array 187 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 198 kernel/bpf/arraymap.c *insn++ = BPF_ALU32_IMM(BPF_AND, ret, array->index_mask); array 217 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 220 kernel/bpf/arraymap.c if (unlikely(index >= array->map.max_entries)) array 223 kernel/bpf/arraymap.c return this_cpu_ptr(array->pptrs[index & array->index_mask]); array 228 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 234 kernel/bpf/arraymap.c if (unlikely(index >= array->map.max_entries)) array 243 kernel/bpf/arraymap.c pptr = array->pptrs[index & array->index_mask]; array 255 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 259 kernel/bpf/arraymap.c if (index >= array->map.max_entries) { array 264 kernel/bpf/arraymap.c if (index == array->map.max_entries - 1) array 275 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 283 kernel/bpf/arraymap.c if (unlikely(index >= array->map.max_entries)) array 295 kernel/bpf/arraymap.c if (array->map.map_type == BPF_MAP_TYPE_PERCPU_ARRAY) { array 296 kernel/bpf/arraymap.c memcpy(this_cpu_ptr(array->pptrs[index & array->index_mask]), array 299 kernel/bpf/arraymap.c val = array->value + array 300 kernel/bpf/arraymap.c array->elem_size * (index & array->index_mask); array 312 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 322 kernel/bpf/arraymap.c if (unlikely(index >= array->map.max_entries)) array 338 kernel/bpf/arraymap.c pptr = array->pptrs[index & array->index_mask]; array 356 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 365 kernel/bpf/arraymap.c if (array->map.map_type == BPF_MAP_TYPE_PERCPU_ARRAY) array 366 kernel/bpf/arraymap.c bpf_array_free_percpu(array); array 368 kernel/bpf/arraymap.c bpf_map_area_free(array); array 395 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 403 kernel/bpf/arraymap.c pptr = array->pptrs[index & array->index_mask]; array 487 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 493 kernel/bpf/arraymap.c for (i = 0; i < array->map.max_entries; i++) array 494 kernel/bpf/arraymap.c BUG_ON(array->ptrs[i] != NULL); array 496 kernel/bpf/arraymap.c bpf_map_area_free(array); array 528 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 535 kernel/bpf/arraymap.c if (index >= array->map.max_entries) array 543 kernel/bpf/arraymap.c old_ptr = xchg(array->ptrs + index, new_ptr); array 552 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 556 kernel/bpf/arraymap.c if (index >= array->map.max_entries) array 559 kernel/bpf/arraymap.c old_ptr = xchg(array->ptrs + index, NULL); array 571 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 577 kernel/bpf/arraymap.c if (!bpf_prog_array_compatible(array, prog)) { array 598 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 601 kernel/bpf/arraymap.c for (i = 0; i < array->map.max_entries; i++) array 705 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 710 kernel/bpf/arraymap.c for (i = 0; i < array->map.max_entries; i++) { array 711 kernel/bpf/arraymap.c ee = READ_ONCE(array->ptrs[i]); array 806 kernel/bpf/arraymap.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 817 kernel/bpf/arraymap.c *insn++ = BPF_ALU32_IMM(BPF_AND, ret, array->index_mask); array 1875 kernel/bpf/btf.c const struct btf_array *array = btf_type_array(t); array 1876 kernel/bpf/btf.c u32 meta_needed = sizeof(*array); array 1909 kernel/bpf/btf.c if (!array->type || !BTF_TYPE_ID_VALID(array->type)) { array 1914 kernel/bpf/btf.c if (!array->index_type || !BTF_TYPE_ID_VALID(array->index_type)) { array 1927 kernel/bpf/btf.c const struct btf_array *array = btf_type_array(v->t); array 1934 kernel/bpf/btf.c index_type_id = array->index_type; array 1954 kernel/bpf/btf.c elem_type_id = array->type; array 1978 kernel/bpf/btf.c if (array->nelems && elem_size > U32_MAX / array->nelems) { array 1984 kernel/bpf/btf.c env_stack_pop_resolved(env, elem_type_id, elem_size * array->nelems); array 1992 kernel/bpf/btf.c const struct btf_array *array = btf_type_array(t); array 1995 kernel/bpf/btf.c array->type, array->index_type, array->nelems); array 2002 kernel/bpf/btf.c const struct btf_array *array = btf_type_array(t); array 2007 kernel/bpf/btf.c elem_type_id = array->type; array 2011 kernel/bpf/btf.c for (i = 0; i < array->nelems; i++) { array 3016 kernel/bpf/btf.c const struct btf_array *array = btf_type_array(t); array 3018 kernel/bpf/btf.c u32 elem_type_id = array->type; array 3023 kernel/bpf/btf.c (array->nelems * elem_size == array 140 kernel/bpf/cgroup.c struct bpf_prog_array **array) array 178 kernel/bpf/cgroup.c *array = progs; array 1460 kernel/bpf/core.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 1464 kernel/bpf/core.c if (unlikely(index >= array->map.max_entries)) array 1471 kernel/bpf/core.c prog = READ_ONCE(array->ptrs[index]); array 1649 kernel/bpf/core.c bool bpf_prog_array_compatible(struct bpf_array *array, array 1655 kernel/bpf/core.c if (!array->owner_prog_type) { array 1659 kernel/bpf/core.c array->owner_prog_type = fp->type; array 1660 kernel/bpf/core.c array->owner_jited = fp->jited; array 1665 kernel/bpf/core.c return array->owner_prog_type == fp->type && array 1666 kernel/bpf/core.c array->owner_jited == fp->jited; array 1676 kernel/bpf/core.c struct bpf_array *array; array 1681 kernel/bpf/core.c array = container_of(map, struct bpf_array, map); array 1682 kernel/bpf/core.c if (!bpf_prog_array_compatible(array, fp)) array 1804 kernel/bpf/core.c int bpf_prog_array_length(struct bpf_prog_array *array) array 1809 kernel/bpf/core.c for (item = array->items; item->prog; item++) array 1815 kernel/bpf/core.c bool bpf_prog_array_is_empty(struct bpf_prog_array *array) array 1819 kernel/bpf/core.c for (item = array->items; item->prog; item++) array 1825 kernel/bpf/core.c static bool bpf_prog_array_copy_core(struct bpf_prog_array *array, array 1832 kernel/bpf/core.c for (item = array->items; item->prog; item++) { array 1845 kernel/bpf/core.c int bpf_prog_array_copy_to_user(struct bpf_prog_array *array, array 1861 kernel/bpf/core.c nospc = bpf_prog_array_copy_core(array, ids, cnt); array 1871 kernel/bpf/core.c void bpf_prog_array_delete_safe(struct bpf_prog_array *array, array 1876 kernel/bpf/core.c for (item = array->items; item->prog; item++) array 1890 kernel/bpf/core.c struct bpf_prog_array *array; array 1926 kernel/bpf/core.c array = bpf_prog_array_alloc(new_prog_cnt + 1, GFP_KERNEL); array 1927 kernel/bpf/core.c if (!array) array 1936 kernel/bpf/core.c array->items[new_prog_idx++].prog = array 1941 kernel/bpf/core.c array->items[new_prog_idx++].prog = include_prog; array 1942 kernel/bpf/core.c array->items[new_prog_idx].prog = NULL; array 1943 kernel/bpf/core.c *new_array = array; array 1947 kernel/bpf/core.c int bpf_prog_array_copy_info(struct bpf_prog_array *array, array 1953 kernel/bpf/core.c if (array) array 1954 kernel/bpf/core.c cnt = bpf_prog_array_length(array); array 1963 kernel/bpf/core.c return bpf_prog_array_copy_core(array, prog_ids, request_cnt) ? -ENOSPC array 51 kernel/bpf/reuseport_array.c struct reuseport_array *array = reuseport_array(map); array 54 kernel/bpf/reuseport_array.c if (unlikely(index >= array->map.max_entries)) array 57 kernel/bpf/reuseport_array.c return rcu_dereference(array->ptrs[index]); array 63 kernel/bpf/reuseport_array.c struct reuseport_array *array = reuseport_array(map); array 71 kernel/bpf/reuseport_array.c if (!rcu_access_pointer(array->ptrs[index])) array 76 kernel/bpf/reuseport_array.c sk = rcu_dereference_protected(array->ptrs[index], array 81 kernel/bpf/reuseport_array.c RCU_INIT_POINTER(array->ptrs[index], NULL); array 95 kernel/bpf/reuseport_array.c struct reuseport_array *array = reuseport_array(map); array 128 kernel/bpf/reuseport_array.c sk = rcu_dereference(array->ptrs[i]); array 138 kernel/bpf/reuseport_array.c RCU_INIT_POINTER(array->ptrs[i], NULL); array 147 kernel/bpf/reuseport_array.c bpf_map_area_free(array); array 153 kernel/bpf/reuseport_array.c struct reuseport_array *array; array 160 kernel/bpf/reuseport_array.c array_size = sizeof(*array); array 168 kernel/bpf/reuseport_array.c array = bpf_map_area_alloc(array_size, numa_node); array 169 kernel/bpf/reuseport_array.c if (!array) { array 175 kernel/bpf/reuseport_array.c bpf_map_init_from_attr(&array->map, attr); array 176 kernel/bpf/reuseport_array.c bpf_map_charge_move(&array->map.memory, &mem); array 178 kernel/bpf/reuseport_array.c return &array->map; array 204 kernel/bpf/reuseport_array.c reuseport_array_update_check(const struct reuseport_array *array, array 251 kernel/bpf/reuseport_array.c struct reuseport_array *array = reuseport_array(map); array 285 kernel/bpf/reuseport_array.c err = reuseport_array_update_check(array, nsk, array 286 kernel/bpf/reuseport_array.c rcu_access_pointer(array->ptrs[index]), array 300 kernel/bpf/reuseport_array.c osk = rcu_dereference_protected(array->ptrs[index], array 304 kernel/bpf/reuseport_array.c err = reuseport_array_update_check(array, nsk, osk, reuse, map_flags); array 313 kernel/bpf/reuseport_array.c WRITE_ONCE(nsk->sk_user_data, &array->ptrs[index]); array 314 kernel/bpf/reuseport_array.c rcu_assign_pointer(array->ptrs[index], nsk); array 337 kernel/bpf/reuseport_array.c struct reuseport_array *array = reuseport_array(map); array 341 kernel/bpf/reuseport_array.c if (index >= array->map.max_entries) { array 346 kernel/bpf/reuseport_array.c if (index == array->map.max_entries - 1) array 375 kernel/bpf/syscall.c const struct bpf_array *array; array 380 kernel/bpf/syscall.c array = container_of(map, struct bpf_array, map); array 381 kernel/bpf/syscall.c owner_prog_type = array->owner_prog_type; array 382 kernel/bpf/syscall.c owner_jited = array->owner_jited; array 333 kernel/cgroup/cgroup-v1.c pid_t *array; array 349 kernel/cgroup/cgroup-v1.c array = kvmalloc_array(length, sizeof(pid_t), GFP_KERNEL); array 350 kernel/cgroup/cgroup-v1.c if (!array) array 363 kernel/cgroup/cgroup-v1.c array[n++] = pid; array 368 kernel/cgroup/cgroup-v1.c sort(array, length, sizeof(pid_t), cmppid, NULL); array 370 kernel/cgroup/cgroup-v1.c length = pidlist_uniq(array, length); array 374 kernel/cgroup/cgroup-v1.c kvfree(array); array 380 kernel/cgroup/cgroup-v1.c l->list = array; array 82 kernel/relay.c static void relay_free_page_array(struct page **array) array 84 kernel/relay.c kvfree(array); array 78 kernel/sched/rt.c struct rt_prio_array *array; array 81 kernel/sched/rt.c array = &rt_rq->active; array 83 kernel/sched/rt.c INIT_LIST_HEAD(array->queue + i); array 84 kernel/sched/rt.c __clear_bit(i, array->bitmap); array 87 kernel/sched/rt.c __set_bit(MAX_RT_PRIO, array->bitmap); array 1103 kernel/sched/rt.c struct rt_prio_array *array = &rt_rq->active; array 1106 kernel/sched/rt.c sched_find_first_bit(array->bitmap); array 1221 kernel/sched/rt.c static void __delist_rt_entity(struct sched_rt_entity *rt_se, struct rt_prio_array *array) array 1225 kernel/sched/rt.c if (list_empty(array->queue + rt_se_prio(rt_se))) array 1226 kernel/sched/rt.c __clear_bit(rt_se_prio(rt_se), array->bitmap); array 1234 kernel/sched/rt.c struct rt_prio_array *array = &rt_rq->active; array 1236 kernel/sched/rt.c struct list_head *queue = array->queue + rt_se_prio(rt_se); array 1246 kernel/sched/rt.c __delist_rt_entity(rt_se, array); array 1257 kernel/sched/rt.c __set_bit(rt_se_prio(rt_se), array->bitmap); array 1268 kernel/sched/rt.c struct rt_prio_array *array = &rt_rq->active; array 1272 kernel/sched/rt.c __delist_rt_entity(rt_se, array); array 1360 kernel/sched/rt.c struct rt_prio_array *array = &rt_rq->active; array 1361 kernel/sched/rt.c struct list_head *queue = array->queue + rt_se_prio(rt_se); array 1542 kernel/sched/rt.c struct rt_prio_array *array = &rt_rq->active; array 1547 kernel/sched/rt.c idx = sched_find_first_bit(array->bitmap); array 1550 kernel/sched/rt.c queue = array->queue + idx; array 350 kernel/trace/bpf_trace.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 359 kernel/trace/bpf_trace.c if (unlikely(index >= array->map.max_entries)) array 362 kernel/trace/bpf_trace.c ee = READ_ONCE(array->ptrs[index]); array 423 kernel/trace/bpf_trace.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 431 kernel/trace/bpf_trace.c if (unlikely(index >= array->map.max_entries)) array 434 kernel/trace/bpf_trace.c ee = READ_ONCE(array->ptrs[index]); array 565 kernel/trace/bpf_trace.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 568 kernel/trace/bpf_trace.c if (unlikely(idx >= array->map.max_entries)) array 571 kernel/trace/bpf_trace.c cgrp = READ_ONCE(array->ptrs[idx]); array 128 kernel/trace/ring_buffer.c #define RB_EVNT_HDR_SIZE (offsetof(struct ring_buffer_event, array)) array 168 kernel/trace/ring_buffer.c length = event->array[0]; array 185 kernel/trace/ring_buffer.c return event->array[0] + RB_EVNT_HDR_SIZE; array 240 kernel/trace/ring_buffer.c if (length > RB_MAX_SMALL_DATA + sizeof(event->array[0])) array 241 kernel/trace/ring_buffer.c length -= sizeof(event->array[0]); array 255 kernel/trace/ring_buffer.c return (void *)&event->array[0]; array 257 kernel/trace/ring_buffer.c return (void *)&event->array[1]; array 291 kernel/trace/ring_buffer.c ts = event->array[0]; array 2188 kernel/trace/ring_buffer.c event->array[0] = (BUF_PAGE_SIZE - tail) - RB_EVNT_HDR_SIZE; array 2318 kernel/trace/ring_buffer.c event->array[0] = delta >> TS_SHIFT; array 2322 kernel/trace/ring_buffer.c event->array[0] = 0; array 2370 kernel/trace/ring_buffer.c event->array[0] = length; array 2384 kernel/trace/ring_buffer.c length += sizeof(event.array[0]); array 2553 kernel/trace/ring_buffer.c event->array[0] = rb_event_data_length(event) - RB_EVNT_HDR_SIZE; array 139 kernel/trace/ring_buffer_benchmark.c inc = event->array[0] + 4; array 151 kernel/trace/ring_buffer_benchmark.c if (!event->array[0]) { array 155 kernel/trace/ring_buffer_benchmark.c inc = event->array[0] + 4; array 820 kernel/trace/trace.c ring_buffer_write(buffer, event->array[0], &event->array[1]); array 2502 kernel/trace/trace.c entry->array[0] = len; array 1041 kernel/trace/trace_events_hist.c const char *prefix = NULL, *field_type = argv[0], *field_name, *array; array 1064 kernel/trace/trace_events_hist.c array = strchr(field_name, '['); array 1065 kernel/trace/trace_events_hist.c if (array) array 1066 kernel/trace/trace_events_hist.c len -= strlen(array); array 1079 kernel/trace/trace_events_hist.c if (array) array 1080 kernel/trace/trace_events_hist.c len += strlen(array); array 1092 kernel/trace/trace_events_hist.c if (array) { array 1093 kernel/trace/trace_events_hist.c strcat(field->type, array); array 105 kernel/trace/trace_probe_tmpl.h goto array; array 109 kernel/trace/trace_probe_tmpl.h goto array; array 143 kernel/trace/trace_probe_tmpl.h array: array 173 kernel/trace/tracing_map.h #define TRACING_MAP_ARRAY_ELT(array, idx) \ array 174 kernel/trace/tracing_map.h (array->pages[idx >> array->entry_shift] + \ array 175 kernel/trace/tracing_map.h ((idx & array->entry_mask) << array->entry_size_shift)) array 177 kernel/trace/tracing_map.h #define TRACING_MAP_ENTRY(array, idx) \ array 178 kernel/trace/tracing_map.h ((struct tracing_map_entry *)TRACING_MAP_ARRAY_ELT(array, idx)) array 180 kernel/trace/tracing_map.h #define TRACING_MAP_ELT(array, idx) \ array 181 kernel/trace/tracing_map.h ((struct tracing_map_elt **)TRACING_MAP_ARRAY_ELT(array, idx)) array 133 lib/assoc_array.c int assoc_array_iterate(const struct assoc_array *array, array 138 lib/assoc_array.c struct assoc_array_ptr *root = READ_ONCE(array->root); /* Address dependency. */ array 170 lib/assoc_array.c assoc_array_walk(const struct assoc_array *array, array 185 lib/assoc_array.c cursor = READ_ONCE(array->root); /* Address dependency. */ array 304 lib/assoc_array.c void *assoc_array_find(const struct assoc_array *array, array 314 lib/assoc_array.c if (assoc_array_walk(array, ops, index_key, &result) != array 441 lib/assoc_array.c void assoc_array_destroy(struct assoc_array *array, array 444 lib/assoc_array.c assoc_array_destroy_subtree(array->root, ops); array 445 lib/assoc_array.c array->root = NULL; array 464 lib/assoc_array.c edit->set[0].ptr = &edit->array->root; array 704 lib/assoc_array.c edit->set[0].ptr = &edit->array->root; array 825 lib/assoc_array.c edit->set[0].ptr = &edit->array->root; array 964 lib/assoc_array.c struct assoc_array_edit *assoc_array_insert(struct assoc_array *array, array 984 lib/assoc_array.c edit->array = array; array 989 lib/assoc_array.c switch (assoc_array_walk(array, ops, index_key, &result)) { array 1079 lib/assoc_array.c struct assoc_array_edit *assoc_array_delete(struct assoc_array *array, array 1096 lib/assoc_array.c edit->array = array; array 1100 lib/assoc_array.c switch (assoc_array_walk(array, ops, index_key, &result)) { array 1126 lib/assoc_array.c BUG_ON(array->nr_leaves_on_tree <= 0); array 1139 lib/assoc_array.c if (array->nr_leaves_on_tree == 1) { array 1140 lib/assoc_array.c edit->set[1].ptr = &array->root; array 1143 lib/assoc_array.c edit->excised_subtree = array->root; array 1231 lib/assoc_array.c edit->set[1].ptr = &array->root; array 1275 lib/assoc_array.c struct assoc_array_edit *assoc_array_clear(struct assoc_array *array, array 1282 lib/assoc_array.c if (!array->root) array 1288 lib/assoc_array.c edit->array = array; array 1290 lib/assoc_array.c edit->set[1].ptr = &array->root; array 1292 lib/assoc_array.c edit->excised_subtree = array->root; array 1374 lib/assoc_array.c if (edit->array->root == NULL) { array 1375 lib/assoc_array.c edit->array->nr_leaves_on_tree = 0; array 1394 lib/assoc_array.c edit->array->nr_leaves_on_tree += edit->adjust_count_by; array 1454 lib/assoc_array.c int assoc_array_gc(struct assoc_array *array, array 1469 lib/assoc_array.c if (!array->root) array 1475 lib/assoc_array.c edit->array = array; array 1478 lib/assoc_array.c edit->set[0].ptr = &array->root; array 1479 lib/assoc_array.c edit->excised_subtree = array->root; array 1483 lib/assoc_array.c cursor = array->root; array 1712 lib/assoc_array.c array->nr_leaves_on_tree = nr_leaves_on_tree; array 294 lib/radix-tree.c ret->array = root; array 46 lib/sha1.c #define W(x) (array[(x)&15]) array 82 lib/sha1.c void sha_transform(__u32 *digest, const char *data, __u32 *array) array 688 lib/string.c int match_string(const char * const *array, size_t n, const char *string) array 694 lib/string.c item = array[index]; array 714 lib/string.c int __sysfs_match_string(const char * const *array, size_t n, const char *str) array 720 lib/string.c item = array[index]; array 137 lib/test_rhashtable.c static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array, array 149 lib/test_rhashtable.c if (array[i / 2].value.id == TEST_INSERT_FAIL) array 208 lib/test_rhashtable.c static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, array 223 lib/test_rhashtable.c struct test_obj *obj = &array[i]; array 239 lib/test_rhashtable.c test_rht_lookup(ht, array, entries); array 250 lib/test_rhashtable.c if (array[i].value.id != TEST_INSERT_FAIL) { array 448 lib/test_rhashtable.c static int __init test_rhashtable_max(struct test_obj *array, array 460 lib/test_rhashtable.c struct test_obj *obj = &array[i]; array 470 lib/test_rhashtable.c err = insert_retry(&ht, &array[ht.max_elems], test_rht_params); array 1578 lib/test_xarray.c XA_STATE(xas, node->array, 0); array 1579 lib/test_xarray.c XA_BUG_ON(xa, node->array != xa); array 1581 lib/test_xarray.c xas.xa_node = xa_parent_locked(node->array, node); array 1685 lib/test_xarray.c static DEFINE_XARRAY(array); array 1689 lib/test_xarray.c check_xa_err(&array); array 1690 lib/test_xarray.c check_xas_retry(&array); array 1691 lib/test_xarray.c check_xa_load(&array); array 1692 lib/test_xarray.c check_xa_mark(&array); array 1693 lib/test_xarray.c check_xa_shrink(&array); array 1694 lib/test_xarray.c check_xas_erase(&array); array 1695 lib/test_xarray.c check_insert(&array); array 1696 lib/test_xarray.c check_cmpxchg(&array); array 1697 lib/test_xarray.c check_reserve(&array); array 1699 lib/test_xarray.c check_multi_store(&array); array 1701 lib/test_xarray.c check_find(&array); array 1702 lib/test_xarray.c check_find_entry(&array); array 1703 lib/test_xarray.c check_pause(&array); array 1704 lib/test_xarray.c check_account(&array); array 1705 lib/test_xarray.c check_destroy(&array); array 1706 lib/test_xarray.c check_move(&array); array 1707 lib/test_xarray.c check_create_range(&array); array 1708 lib/test_xarray.c check_store_range(&array); array 1709 lib/test_xarray.c check_store_iter(&array); array 1712 lib/test_xarray.c check_workingset(&array, 0); array 1713 lib/test_xarray.c check_workingset(&array, 64); array 1714 lib/test_xarray.c check_workingset(&array, 4096); array 834 lib/vsprintf.c const char *array[4], *s; array 855 lib/vsprintf.c array[i] = READ_ONCE(d->d_name.name); array 858 lib/vsprintf.c array[i] = ""; array 863 lib/vsprintf.c s = array[--i]; array 870 lib/vsprintf.c s = array[--i]; array 257 lib/xarray.c node->array = XA_RCU_FREE; array 390 lib/xarray.c node->array = xas->xa; array 2022 lib/xarray.c node->array, node->private_list.prev, node->private_list.next); array 3073 mm/hugetlb.c static unsigned int cpuset_mems_nr(unsigned int *array) array 3079 mm/hugetlb.c nr += array[node]; array 169 mm/swap_cgroup.c void *array; array 180 mm/swap_cgroup.c array = vzalloc(array_size); array 181 mm/swap_cgroup.c if (!array) array 187 mm/swap_cgroup.c ctrl->map = array; array 194 mm/swap_cgroup.c vfree(array); array 455 mm/workingset.c XA_STATE(xas, node->array, 0); array 471 mm/workingset.c mapping = container_of(node->array, struct address_space, i_pages); array 53 net/8021q/vlan.c struct net_device **array; array 61 net/8021q/vlan.c array = vg->vlan_devices_arrays[pidx][vidx]; array 62 net/8021q/vlan.c if (array != NULL) array 66 net/8021q/vlan.c array = kzalloc(size, GFP_KERNEL); array 67 net/8021q/vlan.c if (array == NULL) array 70 net/8021q/vlan.c vg->vlan_devices_arrays[pidx][vidx] = array; array 56 net/8021q/vlan.h struct net_device **array; array 58 net/8021q/vlan.h array = vg->vlan_devices_arrays[pidx] array 60 net/8021q/vlan.h return array ? array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] : NULL; array 74 net/8021q/vlan.h struct net_device **array; array 77 net/8021q/vlan.h array = vg->vlan_devices_arrays[vlan_proto_idx(vlan_proto)] array 79 net/8021q/vlan.h array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] = dev; array 4058 net/core/filter.c struct bpf_array *array = container_of(map, struct bpf_array, map); array 4065 net/core/filter.c if (unlikely(idx >= array->map.max_entries)) array 4068 net/core/filter.c cgrp = READ_ONCE(array->ptrs[idx]); array 1035 net/dccp/feat.c static u8 dccp_feat_prefer(u8 preferred_value, u8 *array, u8 array_len) array 1039 net/dccp/feat.c if (array != NULL) { array 1041 net/dccp/feat.c if (array[i] == preferred_value) { array 1042 net/dccp/feat.c array[i] = array[0]; array 1046 net/dccp/feat.c array[0] = preferred_value; array 1064 net/ipv4/cipso_ipv4.c u16 array[CIPSO_V4_TAG_RNG_CAT_MAX * 2]; array 1080 net/ipv4/cipso_ipv4.c array[array_cnt++] = iter; array 1088 net/ipv4/cipso_ipv4.c array[array_cnt++] = iter; array 1092 net/ipv4/cipso_ipv4.c *((__be16 *)&net_cat[iter]) = htons(array[--array_cnt]); array 1095 net/ipv4/cipso_ipv4.c if (array[array_cnt] != 0) { array 1096 net/ipv4/cipso_ipv4.c *((__be16 *)&net_cat[iter]) = htons(array[array_cnt]); array 5404 net/ipv6/addrconf.c __s32 *array, int bytes) array 5408 net/ipv6/addrconf.c memset(array, 0, bytes); array 5409 net/ipv6/addrconf.c array[DEVCONF_FORWARDING] = cnf->forwarding; array 5410 net/ipv6/addrconf.c array[DEVCONF_HOPLIMIT] = cnf->hop_limit; array 5411 net/ipv6/addrconf.c array[DEVCONF_MTU6] = cnf->mtu6; array 5412 net/ipv6/addrconf.c array[DEVCONF_ACCEPT_RA] = cnf->accept_ra; array 5413 net/ipv6/addrconf.c array[DEVCONF_ACCEPT_REDIRECTS] = cnf->accept_redirects; array 5414 net/ipv6/addrconf.c array[DEVCONF_AUTOCONF] = cnf->autoconf; array 5415 net/ipv6/addrconf.c array[DEVCONF_DAD_TRANSMITS] = cnf->dad_transmits; array 5416 net/ipv6/addrconf.c array[DEVCONF_RTR_SOLICITS] = cnf->rtr_solicits; array 5417 net/ipv6/addrconf.c array[DEVCONF_RTR_SOLICIT_INTERVAL] = array 5419 net/ipv6/addrconf.c array[DEVCONF_RTR_SOLICIT_MAX_INTERVAL] = array 5421 net/ipv6/addrconf.c array[DEVCONF_RTR_SOLICIT_DELAY] = array 5423 net/ipv6/addrconf.c array[DEVCONF_FORCE_MLD_VERSION] = cnf->force_mld_version; array 5424 net/ipv6/addrconf.c array[DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL] = array 5426 net/ipv6/addrconf.c array[DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL] = array 5428 net/ipv6/addrconf.c array[DEVCONF_USE_TEMPADDR] = cnf->use_tempaddr; array 5429 net/ipv6/addrconf.c array[DEVCONF_TEMP_VALID_LFT] = cnf->temp_valid_lft; array 5430 net/ipv6/addrconf.c array[DEVCONF_TEMP_PREFERED_LFT] = cnf->temp_prefered_lft; array 5431 net/ipv6/addrconf.c array[DEVCONF_REGEN_MAX_RETRY] = cnf->regen_max_retry; array 5432 net/ipv6/addrconf.c array[DEVCONF_MAX_DESYNC_FACTOR] = cnf->max_desync_factor; array 5433 net/ipv6/addrconf.c array[DEVCONF_MAX_ADDRESSES] = cnf->max_addresses; array 5434 net/ipv6/addrconf.c array[DEVCONF_ACCEPT_RA_DEFRTR] = cnf->accept_ra_defrtr; array 5435 net/ipv6/addrconf.c array[DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT] = cnf->accept_ra_min_hop_limit; array 5436 net/ipv6/addrconf.c array[DEVCONF_ACCEPT_RA_PINFO] = cnf->accept_ra_pinfo; array 5438 net/ipv6/addrconf.c array[DEVCONF_ACCEPT_RA_RTR_PREF] = cnf->accept_ra_rtr_pref; array 5439 net/ipv6/addrconf.c array[DEVCONF_RTR_PROBE_INTERVAL] = array 5442 net/ipv6/addrconf.c array[DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN] = cnf->accept_ra_rt_info_min_plen; array 5443 net/ipv6/addrconf.c array[DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN] = cnf->accept_ra_rt_info_max_plen; array 5446 net/ipv6/addrconf.c array[DEVCONF_PROXY_NDP] = cnf->proxy_ndp; array 5447 net/ipv6/addrconf.c array[DEVCONF_ACCEPT_SOURCE_ROUTE] = cnf->accept_source_route; array 5449 net/ipv6/addrconf.c array[DEVCONF_OPTIMISTIC_DAD] = cnf->optimistic_dad; array 5450 net/ipv6/addrconf.c array[DEVCONF_USE_OPTIMISTIC] = cnf->use_optimistic; array 5453 net/ipv6/addrconf.c array[DEVCONF_MC_FORWARDING] = cnf->mc_forwarding; array 5455 net/ipv6/addrconf.c array[DEVCONF_DISABLE_IPV6] = cnf->disable_ipv6; array 5456 net/ipv6/addrconf.c array[DEVCONF_ACCEPT_DAD] = cnf->accept_dad; array 5457 net/ipv6/addrconf.c array[DEVCONF_FORCE_TLLAO] = cnf->force_tllao; array 5458 net/ipv6/addrconf.c array[DEVCONF_NDISC_NOTIFY] = cnf->ndisc_notify; array 5459 net/ipv6/addrconf.c array[DEVCONF_SUPPRESS_FRAG_NDISC] = cnf->suppress_frag_ndisc; array 5460 net/ipv6/addrconf.c array[DEVCONF_ACCEPT_RA_FROM_LOCAL] = cnf->accept_ra_from_local; array 5461 net/ipv6/addrconf.c array[DEVCONF_ACCEPT_RA_MTU] = cnf->accept_ra_mtu; array 5462 net/ipv6/addrconf.c array[DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN] = cnf->ignore_routes_with_linkdown; array 5464 net/ipv6/addrconf.c array[DEVCONF_USE_OIF_ADDRS_ONLY] = cnf->use_oif_addrs_only; array 5465 net/ipv6/addrconf.c array[DEVCONF_DROP_UNICAST_IN_L2_MULTICAST] = cnf->drop_unicast_in_l2_multicast; array 5466 net/ipv6/addrconf.c array[DEVCONF_DROP_UNSOLICITED_NA] = cnf->drop_unsolicited_na; array 5467 net/ipv6/addrconf.c array[DEVCONF_KEEP_ADDR_ON_DOWN] = cnf->keep_addr_on_down; array 5468 net/ipv6/addrconf.c array[DEVCONF_SEG6_ENABLED] = cnf->seg6_enabled; array 5470 net/ipv6/addrconf.c array[DEVCONF_SEG6_REQUIRE_HMAC] = cnf->seg6_require_hmac; array 5472 net/ipv6/addrconf.c array[DEVCONF_ENHANCED_DAD] = cnf->enhanced_dad; array 5473 net/ipv6/addrconf.c array[DEVCONF_ADDR_GEN_MODE] = cnf->addr_gen_mode; array 5474 net/ipv6/addrconf.c array[DEVCONF_DISABLE_POLICY] = cnf->disable_policy; array 5475 net/ipv6/addrconf.c array[DEVCONF_NDISC_TCLASS] = cnf->ndisc_tclass; array 1113 net/iucv/iucv.c struct iucv_array *array; array 1127 net/iucv/iucv.c for (array = buffer; size > 0; array++) { array 1128 net/iucv/iucv.c copy = min_t(size_t, size, array->length); array 1129 net/iucv/iucv.c memcpy((u8 *)(addr_t) array->address, array 122 net/netfilter/nf_conntrack_ftp.c static int try_number(const char *data, size_t dlen, u_int32_t array[], array 127 net/netfilter/nf_conntrack_ftp.c memset(array, 0, sizeof(array[0])*array_size); array 132 net/netfilter/nf_conntrack_ftp.c array[i] = array[i]*10 + *data - '0'; array 159 net/netfilter/nf_conntrack_ftp.c u_int32_t array[6]; array 161 net/netfilter/nf_conntrack_ftp.c length = try_number(data, dlen, array, 6, ',', term); array 165 net/netfilter/nf_conntrack_ftp.c cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) | array 166 net/netfilter/nf_conntrack_ftp.c (array[2] << 8) | array[3]); array 167 net/netfilter/nf_conntrack_ftp.c cmd->u.tcp.port = htons((array[4] << 8) | array[5]); array 252 net/netfilter/nf_conntrack_ftp.c u_int32_t array[4]; array 255 net/netfilter/nf_conntrack_ftp.c length = try_number(data + 3, dlen - 3, array, 4, '.', delim); array 257 net/netfilter/nf_conntrack_ftp.c cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) array 258 net/netfilter/nf_conntrack_ftp.c | (array[2] << 8) | array[3]); array 706 net/sched/sch_fq.c struct rb_root *array; array 714 net/sched/sch_fq.c array = kvmalloc_node(sizeof(struct rb_root) << log, GFP_KERNEL | __GFP_RETRY_MAYFAIL, array 716 net/sched/sch_fq.c if (!array) array 720 net/sched/sch_fq.c array[idx] = RB_ROOT; array 726 net/sched/sch_fq.c fq_rehash(q, old_fq_root, q->fq_trees_log, array, log); array 728 net/sched/sch_fq.c q->fq_root = array; array 235 net/sunrpc/auth.c rpcauth_list_flavors(rpc_authflavor_t *array, int size) array 252 net/sunrpc/auth.c array[result++] = ops->au_flavor; array 265 net/sunrpc/auth.c array[result++] = pseudos[i]; array 511 samples/bpf/xdp_monitor_user.c void *array; array 515 samples/bpf/xdp_monitor_user.c array = malloc(size); array 516 samples/bpf/xdp_monitor_user.c memset(array, 0, size); array 517 samples/bpf/xdp_monitor_user.c if (!array) { array 521 samples/bpf/xdp_monitor_user.c return array; array 212 samples/bpf/xdp_redirect_cpu_user.c struct datarec *array; array 216 samples/bpf/xdp_redirect_cpu_user.c array = malloc(size); array 217 samples/bpf/xdp_redirect_cpu_user.c memset(array, 0, size); array 218 samples/bpf/xdp_redirect_cpu_user.c if (!array) { array 222 samples/bpf/xdp_redirect_cpu_user.c return array; array 200 samples/bpf/xdp_rxq_info_user.c struct datarec *array; array 204 samples/bpf/xdp_rxq_info_user.c array = malloc(size); array 205 samples/bpf/xdp_rxq_info_user.c memset(array, 0, size); array 206 samples/bpf/xdp_rxq_info_user.c if (!array) { array 210 samples/bpf/xdp_rxq_info_user.c return array; array 216 samples/bpf/xdp_rxq_info_user.c struct record *array; array 220 samples/bpf/xdp_rxq_info_user.c array = malloc(size); array 221 samples/bpf/xdp_rxq_info_user.c memset(array, 0, size); array 222 samples/bpf/xdp_rxq_info_user.c if (!array) { array 226 samples/bpf/xdp_rxq_info_user.c return array; array 24 samples/trace_events/trace-events-sample.c int array[6]; array 32 samples/trace_events/trace-events-sample.c array[i] = i + 1; array 33 samples/trace_events/trace-events-sample.c array[i] = 0; array 36 samples/trace_events/trace-events-sample.c trace_foo_bar("hello", cnt, array, random_strings[len], array 33 scripts/dtc/dtc-parser.y } array; array 68 scripts/dtc/dtc-parser.y %type <array> arrayprefix array 19 sound/hda/array.c void *snd_array_new(struct snd_array *array) array 21 sound/hda/array.c if (snd_BUG_ON(!array->elem_size)) array 23 sound/hda/array.c if (array->used >= array->alloced) { array 24 sound/hda/array.c int num = array->alloced + array->alloc_align; array 25 sound/hda/array.c int oldsize = array->alloced * array->elem_size; array 26 sound/hda/array.c int size = (num + 1) * array->elem_size; array 30 sound/hda/array.c nlist = krealloc(array->list, size, GFP_KERNEL); array 34 sound/hda/array.c array->list = nlist; array 35 sound/hda/array.c array->alloced = num; array 37 sound/hda/array.c return snd_array_elem(array, array->used++); array 45 sound/hda/array.c void snd_array_free(struct snd_array *array) array 47 sound/hda/array.c kfree(array->list); array 48 sound/hda/array.c array->used = 0; array 49 sound/hda/array.c array->alloced = 0; array 50 sound/hda/array.c array->list = NULL; array 196 sound/isa/cmi8328.c static int array_find(int array[], int item) array 200 sound/isa/cmi8328.c for (i = 0; array[i] != -1; i++) array 201 sound/isa/cmi8328.c if (array[i] == item) array 207 sound/isa/cmi8328.c static int array_find_l(long array[], long item) array 211 sound/isa/cmi8328.c for (i = 0; array[i] != -1; i++) array 212 sound/isa/cmi8328.c if (array[i] == item) array 461 sound/pci/hda/hda_codec.c struct snd_array *array, array 467 sound/pci/hda/hda_codec.c snd_array_for_each(array, i, pin) { array 284 sound/pci/hda/hda_generic.c struct nid_path *array = spec->paths.list; array 289 sound/pci/hda/hda_generic.c idx = path - array; array 49 sound/pci/hda/hda_proc.c struct snd_array *array) array 52 sound/pci/hda/hda_proc.c struct hda_nid_item *items = array->list, *item; array 54 sound/pci/hda/hda_proc.c for (i = 0; i < array->used; i++) { array 265 sound/pci/lola/lola.h struct lola_mixer_array __iomem *array; array 119 sound/pci/lola/lola_mixer.c chip->mixer.array = (struct lola_mixer_array __iomem *) array 215 sound/pci/lola/lola_mixer.c oldval = val = readl(&chip->mixer.array->src_gain_enable); array 222 sound/pci/lola/lola_mixer.c (gain == readw(&chip->mixer.array->src_gain[id]))) array 228 sound/pci/lola/lola_mixer.c writew(gain, &chip->mixer.array->src_gain[id]); array 229 sound/pci/lola/lola_mixer.c writel(val, &chip->mixer.array->src_gain_enable); array 246 sound/pci/lola/lola_mixer.c writew(*gains, &chip->mixer.array->src_gain[i]); array 250 sound/pci/lola/lola_mixer.c writel(mask, &chip->mixer.array->src_gain_enable); array 278 sound/pci/lola/lola_mixer.c writew(gain, &chip->mixer.array->dest_mix_gain[dest][src]); array 279 sound/pci/lola/lola_mixer.c val = readl(&chip->mixer.array->dest_mix_gain_enable[dest]); array 284 sound/pci/lola/lola_mixer.c writel(val, &chip->mixer.array->dest_mix_gain_enable[dest]); array 301 sound/pci/lola/lola_mixer.c writew(*gains, &chip->mixer.array->dest_mix_gain[id][i]); array 305 sound/pci/lola/lola_mixer.c writel(mask, &chip->mixer.array->dest_mix_gain_enable[id]); array 342 sound/pci/lola/lola_mixer.c memcpy_fromio(chip->mixer.array_saved, chip->mixer.array, array 343 sound/pci/lola/lola_mixer.c sizeof(*chip->mixer.array)); array 355 sound/pci/lola/lola_mixer.c memcpy_toio(chip->mixer.array, chip->mixer.array_saved, array 356 sound/pci/lola/lola_mixer.c sizeof(*chip->mixer.array)); array 457 sound/pci/lola/lola_mixer.c memset_io(chip->mixer.array, 0, sizeof(*chip->mixer.array)); array 679 sound/pci/lola/lola_mixer.c mask = readl(&chip->mixer.array->src_gain_enable); array 686 sound/pci/lola/lola_mixer.c val = readw(&chip->mixer.array->src_gain[idx]) + 1; array 762 sound/pci/lola/lola_mixer.c mask = readl(&chip->mixer.array->dest_mix_gain_enable[dst]); array 769 sound/pci/lola/lola_mixer.c val = readw(&chip->mixer.array->dest_mix_gain[dst][src]) + 1; array 340 sound/soc/codecs/tas5086.c static int index_in_array(const int *array, int len, int needle) array 345 sound/soc/codecs/tas5086.c if (array[i] == needle) array 2510 sound/soc/intel/skylake/skl-topology.c struct snd_soc_tplg_vendor_array *array; array 2520 sound/soc/intel/skylake/skl-topology.c array = (struct snd_soc_tplg_vendor_array *)(pvt_data + off); array 2522 sound/soc/intel/skylake/skl-topology.c off += array->size; array 2524 sound/soc/intel/skylake/skl-topology.c switch (array->type) { array 2532 sound/soc/intel/skylake/skl-topology.c array->uuid); array 2535 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_get_token(dev, array->value, skl, array 2542 sound/soc/intel/skylake/skl-topology.c tuple_size += sizeof(*array->uuid); array 2547 sound/soc/intel/skylake/skl-topology.c tkn_elem = array->value; array 2552 sound/soc/intel/skylake/skl-topology.c while (tkn_count <= (array->num_elems - 1)) { array 2574 sound/soc/intel/skylake/skl-topology.c struct snd_soc_tplg_vendor_array *array) array 2578 sound/soc/intel/skylake/skl-topology.c tkn_elem = array->value; array 2765 sound/soc/intel/skylake/skl-topology.c struct snd_soc_tplg_vendor_array *array; array 2778 sound/soc/intel/skylake/skl-topology.c array = (struct snd_soc_tplg_vendor_array *)tplg_w->priv.data; array 2779 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_get_desc_blocks(dev, array); array 2784 sound/soc/intel/skylake/skl-topology.c off += array->size; array 2787 sound/soc/intel/skylake/skl-topology.c array = (struct snd_soc_tplg_vendor_array *) array 2790 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_get_desc_blocks(dev, array); array 2795 sound/soc/intel/skylake/skl-topology.c off += array->size; array 2797 sound/soc/intel/skylake/skl-topology.c array = (struct snd_soc_tplg_vendor_array *) array 2800 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_get_desc_blocks(dev, array); array 2805 sound/soc/intel/skylake/skl-topology.c off += array->size; array 2807 sound/soc/intel/skylake/skl-topology.c array = (struct snd_soc_tplg_vendor_array *) array 3063 sound/soc/intel/skylake/skl-topology.c struct snd_soc_tplg_vendor_array *array, array 3069 sound/soc/intel/skylake/skl-topology.c str_elem = (struct snd_soc_tplg_vendor_string_elem *)array->value; array 3070 sound/soc/intel/skylake/skl-topology.c while (tkn_count < array->num_elems) { array 3348 sound/soc/intel/skylake/skl-topology.c struct snd_soc_tplg_vendor_array *array; array 3355 sound/soc/intel/skylake/skl-topology.c array = (struct snd_soc_tplg_vendor_array *)(pvt_data + off); array 3356 sound/soc/intel/skylake/skl-topology.c off += array->size; array 3357 sound/soc/intel/skylake/skl-topology.c switch (array->type) { array 3359 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_get_str_tkn(dev, array, skl); array 3370 sound/soc/intel/skylake/skl-topology.c if (array->uuid->token != SKL_TKN_UUID) { array 3372 sound/soc/intel/skylake/skl-topology.c array->uuid->token); array 3380 sound/soc/intel/skylake/skl-topology.c (guid_t *)&array->uuid->uuid); array 3382 sound/soc/intel/skylake/skl-topology.c tuple_size += sizeof(*array->uuid); array 3386 sound/soc/intel/skylake/skl-topology.c tkn_elem = array->value; array 3391 sound/soc/intel/skylake/skl-topology.c while (tkn_count <= array->num_elems - 1) { array 3414 sound/soc/intel/skylake/skl-topology.c struct snd_soc_tplg_vendor_array *array; array 3420 sound/soc/intel/skylake/skl-topology.c array = (struct snd_soc_tplg_vendor_array *)manifest->priv.data; array 3421 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_get_desc_blocks(dev, array); array 3426 sound/soc/intel/skylake/skl-topology.c off += array->size; array 3429 sound/soc/intel/skylake/skl-topology.c array = (struct snd_soc_tplg_vendor_array *) array 3431 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_get_desc_blocks(dev, array); array 3436 sound/soc/intel/skylake/skl-topology.c off += array->size; array 3438 sound/soc/intel/skylake/skl-topology.c array = (struct snd_soc_tplg_vendor_array *) array 3441 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_get_desc_blocks(dev, array); array 3446 sound/soc/intel/skylake/skl-topology.c off += array->size; array 3448 sound/soc/intel/skylake/skl-topology.c array = (struct snd_soc_tplg_vendor_array *) array 491 sound/soc/sh/rcar/core.c enum rsnd_mod_type *array, array 496 sound/soc/sh/rcar/core.c int max = array ? array_size : RSND_MOD_MAX; array 499 sound/soc/sh/rcar/core.c type = (array) ? array[*iterator] : *iterator; array 438 sound/soc/sh/rcar/rsnd.h enum rsnd_mod_type *array, array 443 sound/soc/sh/rcar/rsnd.h #define for_each_rsnd_mod_arrays(iterator, pos, io, array, size) \ array 445 sound/soc/sh/rcar/rsnd.h (pos = rsnd_mod_next(&iterator, io, array, size)); iterator++) array 446 sound/soc/sh/rcar/rsnd.h #define for_each_rsnd_mod_array(iterator, pos, io, array) \ array 447 sound/soc/sh/rcar/rsnd.h for_each_rsnd_mod_arrays(iterator, pos, io, array, ARRAY_SIZE(array)) array 847 sound/soc/sof/topology.c struct snd_soc_tplg_vendor_array *array) array 853 sound/soc/sof/topology.c for (i = 0; i < le32_to_cpu(array->num_elems); i++) { array 854 sound/soc/sof/topology.c elem = &array->uuid[i]; array 877 sound/soc/sof/topology.c struct snd_soc_tplg_vendor_array *array) array 883 sound/soc/sof/topology.c for (i = 0; i < le32_to_cpu(array->num_elems); i++) { array 884 sound/soc/sof/topology.c elem = &array->string[i]; array 907 sound/soc/sof/topology.c struct snd_soc_tplg_vendor_array *array) array 917 sound/soc/sof/topology.c for (i = 0; i < le32_to_cpu(array->num_elems); i++) { array 918 sound/soc/sof/topology.c elem = &array->value[i]; array 979 sound/soc/sof/topology.c struct snd_soc_tplg_vendor_array *array, array 986 sound/soc/sof/topology.c asize = le32_to_cpu(array->size); array 1004 sound/soc/sof/topology.c switch (le32_to_cpu(array->type)) { array 1007 sound/soc/sof/topology.c array); array 1011 sound/soc/sof/topology.c array); array 1018 sound/soc/sof/topology.c array); array 1022 sound/soc/sof/topology.c array->type); array 1027 sound/soc/sof/topology.c array = (struct snd_soc_tplg_vendor_array *)((u8 *)array array 1198 sound/soc/sof/topology.c ARRAY_SIZE(dai_tokens), private->array, array 1207 sound/soc/sof/topology.c ARRAY_SIZE(comp_tokens), private->array, array 1256 sound/soc/sof/topology.c ARRAY_SIZE(buffer_tokens), private->array, array 1329 sound/soc/sof/topology.c ARRAY_SIZE(pcm_tokens), private->array, array 1338 sound/soc/sof/topology.c ARRAY_SIZE(comp_tokens), private->array, array 1445 sound/soc/sof/topology.c ARRAY_SIZE(sched_tokens), private->array, array 1495 sound/soc/sof/topology.c ARRAY_SIZE(comp_tokens), private->array, array 1542 sound/soc/sof/topology.c ARRAY_SIZE(comp_tokens), private->array, array 1600 sound/soc/sof/topology.c ARRAY_SIZE(volume_tokens), private->array, array 1608 sound/soc/sof/topology.c ARRAY_SIZE(comp_tokens), private->array, array 1667 sound/soc/sof/topology.c ARRAY_SIZE(src_tokens), private->array, array 1676 sound/soc/sof/topology.c ARRAY_SIZE(comp_tokens), private->array, array 1726 sound/soc/sof/topology.c ARRAY_SIZE(tone_tokens), private->array, array 1735 sound/soc/sof/topology.c ARRAY_SIZE(comp_tokens), private->array, array 1895 sound/soc/sof/topology.c ARRAY_SIZE(comp_tokens), private->array, array 1981 sound/soc/sof/topology.c ARRAY_SIZE(process_tokens), private->array, array 2466 sound/soc/sof/topology.c ARRAY_SIZE(ssp_tokens), private->array, array 2567 sound/soc/sof/topology.c ARRAY_SIZE(dmic_tokens), private->array, array 2602 sound/soc/sof/topology.c ARRAY_SIZE(dmic_pdm_tokens), private->array, array 2748 sound/soc/sof/topology.c ARRAY_SIZE(hda_tokens), private->array, array 2850 sound/soc/sof/topology.c ARRAY_SIZE(dai_link_tokens), private->array, array 425 tools/bpf/bpftool/btf_dumper.c const struct btf_array *array; array 454 tools/bpf/bpftool/btf_dumper.c array = (struct btf_array *)(t + 1); array 455 tools/bpf/bpftool/btf_dumper.c BTF_PRINT_TYPE(array->type); array 456 tools/bpf/bpftool/btf_dumper.c BTF_PRINT_ARG("[%d]", array->nelems); array 5 tools/firewire/nosy-dump.h #define array_length(array) (sizeof(array) / sizeof(array[0])) array 24 tools/include/linux/stacktrace.h void *array[64]; array 27 tools/include/linux/stacktrace.h size = backtrace(array, 64); array 28 tools/include/linux/stacktrace.h backtrace_symbols_fd(array, size, 1); array 1123 tools/include/uapi/linux/kvm.h __u64 array; array 43 tools/io_uring/io_uring-bench.c unsigned *array; array 208 tools/io_uring/io_uring-bench.c ring->array[index] = index; array 432 tools/io_uring/io_uring-bench.c ptr = mmap(0, p.sq_off.array + p.sq_entries * sizeof(__u32), array 441 tools/io_uring/io_uring-bench.c sring->array = ptr + p.sq_off.array; array 25 tools/io_uring/liburing.h unsigned *array; array 99 tools/io_uring/queue.c sq->array[ktail & mask] = sq->sqe_head & mask; array 17 tools/io_uring/setup.c sq->ring_sz = p->sq_off.array + p->sq_entries * sizeof(unsigned); array 28 tools/io_uring/setup.c sq->array = ptr + p->sq_off.array; array 231 tools/lib/bpf/btf.c const struct btf_array *array; array 259 tools/lib/bpf/btf.c array = btf_array(t); array 260 tools/lib/bpf/btf.c if (nelems && array->nelems > UINT32_MAX / nelems) array 262 tools/lib/bpf/btf.c nelems *= array->nelems; array 263 tools/lib/bpf/btf.c type_id = array->type; array 5721 tools/lib/bpf/libbpf.c __u32 *array = (__u32 *)info; array 5724 tools/lib/bpf/libbpf.c return array[offset / sizeof(__u32)]; array 5730 tools/lib/bpf/libbpf.c __u64 *array = (__u64 *)info; array 5733 tools/lib/bpf/libbpf.c return array[offset / sizeof(__u64)]; array 5740 tools/lib/bpf/libbpf.c __u32 *array = (__u32 *)info; array 5743 tools/lib/bpf/libbpf.c array[offset / sizeof(__u32)] = val; array 5749 tools/lib/bpf/libbpf.c __u64 *array = (__u64 *)info; array 5752 tools/lib/bpf/libbpf.c array[offset / sizeof(__u64)] = val; array 158 tools/perf/bench/epoll-wait.c static void shuffle(void *array, size_t n, size_t size) array 160 tools/perf/bench/epoll-wait.c char *carray = array; array 673 tools/perf/builtin-trace.c #define STRARRAY(name, array) \ array 675 tools/perf/builtin-trace.c .parm = &strarray__##array, } array 677 tools/perf/builtin-trace.c #define STRARRAY_FLAGS(name, array) \ array 679 tools/perf/builtin-trace.c .parm = &strarray__##array, } array 110 tools/perf/lib/include/perf/event.h __u64 array[]; array 149 tools/perf/tests/dwarf-unwind.c struct thread *array[2] = {thread, thread}; array 161 tools/perf/tests/dwarf-unwind.c _bsearch(array, &thread, 2, sizeof(struct thread **), array 16 tools/perf/trace/beauty/beauty.h #define DEFINE_STRARRAY(array, _prefix) struct strarray strarray__##array = { \ array 17 tools/perf/trace/beauty/beauty.h .nr_entries = ARRAY_SIZE(array), \ array 18 tools/perf/trace/beauty/beauty.h .entries = array, \ array 22 tools/perf/trace/beauty/beauty.h #define DEFINE_STRARRAY_OFFSET(array, _prefix, off) struct strarray strarray__##array = { \ array 24 tools/perf/trace/beauty/beauty.h .nr_entries = ARRAY_SIZE(array), \ array 25 tools/perf/trace/beauty/beauty.h .entries = array, \ array 47 tools/perf/trace/beauty/beauty.h #define DEFINE_STRARRAYS(array) struct strarrays strarrays__##array = { \ array 48 tools/perf/trace/beauty/beauty.h .nr_entries = ARRAY_SIZE(array), \ array 49 tools/perf/trace/beauty/beauty.h .entries = array, \ array 819 tools/perf/util/bpf-loader.c struct parse_events_array array; array 837 tools/perf/util/bpf-loader.c parse_events__clear_array(&op->k.array); array 869 tools/perf/util/bpf-loader.c if (term->array.nr_ranges) { array 870 tools/perf/util/bpf-loader.c size_t memsz = term->array.nr_ranges * array 871 tools/perf/util/bpf-loader.c sizeof(op->k.array.ranges[0]); array 873 tools/perf/util/bpf-loader.c op->k.array.ranges = memdup(term->array.ranges, memsz); array 874 tools/perf/util/bpf-loader.c if (!op->k.array.ranges) { array 879 tools/perf/util/bpf-loader.c op->k.array.nr_ranges = term->array.nr_ranges; array 918 tools/perf/util/bpf-loader.c size_t memsz = op->k.array.nr_ranges * array 919 tools/perf/util/bpf-loader.c sizeof(op->k.array.ranges[0]); array 921 tools/perf/util/bpf-loader.c newop->k.array.ranges = memdup(op->k.array.ranges, memsz); array 922 tools/perf/util/bpf-loader.c if (!newop->k.array.ranges) { array 1140 tools/perf/util/bpf-loader.c struct parse_events_array *array = &term->array; array 1144 tools/perf/util/bpf-loader.c if (!array->nr_ranges) array 1146 tools/perf/util/bpf-loader.c if (!array->ranges) { array 1148 tools/perf/util/bpf-loader.c map_name, (int)array->nr_ranges); array 1159 tools/perf/util/bpf-loader.c for (i = 0; i < array->nr_ranges; i++) { array 1160 tools/perf/util/bpf-loader.c unsigned int start = array->ranges[i].start; array 1161 tools/perf/util/bpf-loader.c size_t length = array->ranges[i].length; array 1290 tools/perf/util/bpf-loader.c for (i = 0; i < op->k.array.nr_ranges; i++) { array 1291 tools/perf/util/bpf-loader.c unsigned int start = op->k.array.ranges[i].start; array 1292 tools/perf/util/bpf-loader.c size_t length = op->k.array.ranges[i].length; array 74 tools/perf/util/data-convert-bt.c struct bt_ctf_field_type *array[6]; array 1441 tools/perf/util/data-convert-bt.c for (i = 0; i < ARRAY_SIZE(cw->data.array); i++) array 1442 tools/perf/util/data-convert-bt.c bt_ctf_field_type_put(cw->data.array[i]); array 262 tools/perf/util/debug.c void *array[16]; array 263 tools/perf/util/debug.c size_t size = backtrace(array, ARRAY_SIZE(array)); array 264 tools/perf/util/debug.c char **strings = backtrace_symbols(array, size); array 48 tools/perf/util/demangle-java.c int array = 0; array 86 tools/perf/util/demangle-java.c while (array--) array 88 tools/perf/util/demangle-java.c array = 0; array 96 tools/perf/util/demangle-java.c while (array--) array 98 tools/perf/util/demangle-java.c array = 0; array 105 tools/perf/util/demangle-java.c array++; array 493 tools/perf/util/evlist.c const __u64 *array = event->sample.array; array 501 tools/perf/util/evlist.c *id = array[evlist->id_pos]; array 506 tools/perf/util/evlist.c *id = array[n]; array 105 tools/perf/util/evlist.h #define perf_evlist__add_default_attrs(evlist, array) \ array 106 tools/perf/util/evlist.h __perf_evlist__add_default_attrs(evlist, array, ARRAY_SIZE(array)) array 1848 tools/perf/util/evsel.c const __u64 *array = event->sample.array; array 1852 tools/perf/util/evsel.c array += ((event->header.size - array 1856 tools/perf/util/evsel.c sample->id = *array; array 1857 tools/perf/util/evsel.c array--; array 1861 tools/perf/util/evsel.c u.val64 = *array; array 1869 tools/perf/util/evsel.c array--; array 1873 tools/perf/util/evsel.c sample->stream_id = *array; array 1874 tools/perf/util/evsel.c array--; array 1878 tools/perf/util/evsel.c sample->id = *array; array 1879 tools/perf/util/evsel.c array--; array 1883 tools/perf/util/evsel.c sample->time = *array; array 1884 tools/perf/util/evsel.c array--; array 1888 tools/perf/util/evsel.c u.val64 = *array; array 1898 tools/perf/util/evsel.c array--; array 1938 tools/perf/util/evsel.c const __u64 *array; array 1964 tools/perf/util/evsel.c array = event->sample.array; array 1970 tools/perf/util/evsel.c data->id = *array; array 1971 tools/perf/util/evsel.c array++; array 1975 tools/perf/util/evsel.c data->ip = *array; array 1976 tools/perf/util/evsel.c array++; array 1980 tools/perf/util/evsel.c u.val64 = *array; array 1990 tools/perf/util/evsel.c array++; array 1994 tools/perf/util/evsel.c data->time = *array; array 1995 tools/perf/util/evsel.c array++; array 1999 tools/perf/util/evsel.c data->addr = *array; array 2000 tools/perf/util/evsel.c array++; array 2004 tools/perf/util/evsel.c data->id = *array; array 2005 tools/perf/util/evsel.c array++; array 2009 tools/perf/util/evsel.c data->stream_id = *array; array 2010 tools/perf/util/evsel.c array++; array 2015 tools/perf/util/evsel.c u.val64 = *array; array 2023 tools/perf/util/evsel.c array++; array 2027 tools/perf/util/evsel.c data->period = *array; array 2028 tools/perf/util/evsel.c array++; array 2034 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2036 tools/perf/util/evsel.c data->read.group.nr = *array; array 2038 tools/perf/util/evsel.c data->read.one.value = *array; array 2040 tools/perf/util/evsel.c array++; array 2043 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2044 tools/perf/util/evsel.c data->read.time_enabled = *array; array 2045 tools/perf/util/evsel.c array++; array 2049 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2050 tools/perf/util/evsel.c data->read.time_running = *array; array 2051 tools/perf/util/evsel.c array++; array 2063 tools/perf/util/evsel.c OVERFLOW_CHECK(array, sz, max_size); array 2065 tools/perf/util/evsel.c (struct sample_read_value *)array; array 2066 tools/perf/util/evsel.c array = (void *)array + sz; array 2068 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2069 tools/perf/util/evsel.c data->read.one.id = *array; array 2070 tools/perf/util/evsel.c array++; array 2077 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2078 tools/perf/util/evsel.c data->callchain = (struct ip_callchain *)array++; array 2082 tools/perf/util/evsel.c OVERFLOW_CHECK(array, sz, max_size); array 2083 tools/perf/util/evsel.c array = (void *)array + sz; array 2087 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2088 tools/perf/util/evsel.c u.val64 = *array; array 2108 tools/perf/util/evsel.c mem_bswap_64((void *) array, data->raw_size); array 2110 tools/perf/util/evsel.c array = (void *)array + sizeof(u32); array 2112 tools/perf/util/evsel.c OVERFLOW_CHECK(array, data->raw_size, max_size); array 2113 tools/perf/util/evsel.c data->raw_data = (void *)array; array 2114 tools/perf/util/evsel.c array = (void *)array + data->raw_size; array 2121 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2122 tools/perf/util/evsel.c data->branch_stack = (struct branch_stack *)array++; array 2127 tools/perf/util/evsel.c OVERFLOW_CHECK(array, sz, max_size); array 2128 tools/perf/util/evsel.c array = (void *)array + sz; array 2132 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2133 tools/perf/util/evsel.c data->user_regs.abi = *array; array 2134 tools/perf/util/evsel.c array++; array 2140 tools/perf/util/evsel.c OVERFLOW_CHECK(array, sz, max_size); array 2142 tools/perf/util/evsel.c data->user_regs.regs = (u64 *)array; array 2143 tools/perf/util/evsel.c array = (void *)array + sz; array 2148 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2149 tools/perf/util/evsel.c sz = *array++; array 2151 tools/perf/util/evsel.c data->user_stack.offset = ((char *)(array - 1) array 2157 tools/perf/util/evsel.c OVERFLOW_CHECK(array, sz, max_size); array 2158 tools/perf/util/evsel.c data->user_stack.data = (char *)array; array 2159 tools/perf/util/evsel.c array = (void *)array + sz; array 2160 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2161 tools/perf/util/evsel.c data->user_stack.size = *array++; array 2169 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2170 tools/perf/util/evsel.c data->weight = *array; array 2171 tools/perf/util/evsel.c array++; array 2175 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2176 tools/perf/util/evsel.c data->data_src = *array; array 2177 tools/perf/util/evsel.c array++; array 2181 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2182 tools/perf/util/evsel.c data->transaction = *array; array 2183 tools/perf/util/evsel.c array++; array 2188 tools/perf/util/evsel.c OVERFLOW_CHECK_u64(array); array 2189 tools/perf/util/evsel.c data->intr_regs.abi = *array; array 2190 tools/perf/util/evsel.c array++; array 2196 tools/perf/util/evsel.c OVERFLOW_CHECK(array, sz, max_size); array 2198 tools/perf/util/evsel.c data->intr_regs.regs = (u64 *)array; array 2199 tools/perf/util/evsel.c array = (void *)array + sz; array 2205 tools/perf/util/evsel.c data->phys_addr = *array; array 2206 tools/perf/util/evsel.c array++; array 2217 tools/perf/util/evsel.c const __u64 *array; array 2236 tools/perf/util/evsel.c array = event->sample.array; array 2242 tools/perf/util/evsel.c array++; array 2245 tools/perf/util/evsel.c array++; array 2248 tools/perf/util/evsel.c array++; array 2251 tools/perf/util/evsel.c *timestamp = *array; array 2789 tools/perf/util/parse-events.c if (term->array.nr_ranges) array 2790 tools/perf/util/parse-events.c zfree(&term->array.ranges); array 93 tools/perf/util/parse-events.h struct parse_events_array array; array 96 tools/perf/util/parse-events.y %type <array> array array 97 tools/perf/util/parse-events.y %type <array> array_term array 98 tools/perf/util/parse-events.y %type <array> array_terms array 110 tools/perf/util/parse-events.y struct parse_events_array array; array 623 tools/perf/util/parse-events.y PE_NAME array '=' PE_NAME array 630 tools/perf/util/parse-events.y term->array = $2; array 634 tools/perf/util/parse-events.y PE_NAME array '=' PE_VALUE array 640 tools/perf/util/parse-events.y term->array = $2; array 653 tools/perf/util/parse-events.y array: array 688 tools/perf/util/parse-events.y struct parse_events_array array; array 690 tools/perf/util/parse-events.y array.nr_ranges = 1; array 691 tools/perf/util/parse-events.y array.ranges = malloc(sizeof(array.ranges[0])); array 692 tools/perf/util/parse-events.y ABORT_ON(!array.ranges); array 693 tools/perf/util/parse-events.y array.ranges[0].start = $1; array 694 tools/perf/util/parse-events.y array.ranges[0].length = 1; array 695 tools/perf/util/parse-events.y $$ = array; array 700 tools/perf/util/parse-events.y struct parse_events_array array; array 703 tools/perf/util/parse-events.y array.nr_ranges = 1; array 704 tools/perf/util/parse-events.y array.ranges = malloc(sizeof(array.ranges[0])); array 705 tools/perf/util/parse-events.y ABORT_ON(!array.ranges); array 706 tools/perf/util/parse-events.y array.ranges[0].start = $1; array 707 tools/perf/util/parse-events.y array.ranges[0].length = $3 - $1 + 1; array 708 tools/perf/util/parse-events.y $$ = array; array 127 tools/perf/util/session.h #define perf_session__set_tracepoints_handlers(session, array) \ array 128 tools/perf/util/session.h __perf_session__set_tracepoints_handlers(session, array, ARRAY_SIZE(array)) array 1237 tools/perf/util/synthetic-events.c __u64 *array; array 1245 tools/perf/util/synthetic-events.c array = event->sample.array; array 1248 tools/perf/util/synthetic-events.c *array = sample->id; array 1249 tools/perf/util/synthetic-events.c array++; array 1253 tools/perf/util/synthetic-events.c *array = sample->ip; array 1254 tools/perf/util/synthetic-events.c array++; array 1260 tools/perf/util/synthetic-events.c *array = u.val64; array 1261 tools/perf/util/synthetic-events.c array++; array 1265 tools/perf/util/synthetic-events.c *array = sample->time; array 1266 tools/perf/util/synthetic-events.c array++; array 1270 tools/perf/util/synthetic-events.c *array = sample->addr; array 1271 tools/perf/util/synthetic-events.c array++; array 1275 tools/perf/util/synthetic-events.c *array = sample->id; array 1276 tools/perf/util/synthetic-events.c array++; array 1280 tools/perf/util/synthetic-events.c *array = sample->stream_id; array 1281 tools/perf/util/synthetic-events.c array++; array 1287 tools/perf/util/synthetic-events.c *array = u.val64; array 1288 tools/perf/util/synthetic-events.c array++; array 1292 tools/perf/util/synthetic-events.c *array = sample->period; array 1293 tools/perf/util/synthetic-events.c array++; array 1298 tools/perf/util/synthetic-events.c *array = sample->read.group.nr; array 1300 tools/perf/util/synthetic-events.c *array = sample->read.one.value; array 1301 tools/perf/util/synthetic-events.c array++; array 1304 tools/perf/util/synthetic-events.c *array = sample->read.time_enabled; array 1305 tools/perf/util/synthetic-events.c array++; array 1309 tools/perf/util/synthetic-events.c *array = sample->read.time_running; array 1310 tools/perf/util/synthetic-events.c array++; array 1317 tools/perf/util/synthetic-events.c memcpy(array, sample->read.group.values, sz); array 1318 tools/perf/util/synthetic-events.c array = (void *)array + sz; array 1320 tools/perf/util/synthetic-events.c *array = sample->read.one.id; array 1321 tools/perf/util/synthetic-events.c array++; array 1327 tools/perf/util/synthetic-events.c memcpy(array, sample->callchain, sz); array 1328 tools/perf/util/synthetic-events.c array = (void *)array + sz; array 1333 tools/perf/util/synthetic-events.c *array = u.val64; array 1334 tools/perf/util/synthetic-events.c array = (void *)array + sizeof(u32); array 1336 tools/perf/util/synthetic-events.c memcpy(array, sample->raw_data, sample->raw_size); array 1337 tools/perf/util/synthetic-events.c array = (void *)array + sample->raw_size; array 1343 tools/perf/util/synthetic-events.c memcpy(array, sample->branch_stack, sz); array 1344 tools/perf/util/synthetic-events.c array = (void *)array + sz; array 1349 tools/perf/util/synthetic-events.c *array++ = sample->user_regs.abi; array 1351 tools/perf/util/synthetic-events.c memcpy(array, sample->user_regs.regs, sz); array 1352 tools/perf/util/synthetic-events.c array = (void *)array + sz; array 1354 tools/perf/util/synthetic-events.c *array++ = 0; array 1360 tools/perf/util/synthetic-events.c *array++ = sz; array 1362 tools/perf/util/synthetic-events.c memcpy(array, sample->user_stack.data, sz); array 1363 tools/perf/util/synthetic-events.c array = (void *)array + sz; array 1364 tools/perf/util/synthetic-events.c *array++ = sz; array 1369 tools/perf/util/synthetic-events.c *array = sample->weight; array 1370 tools/perf/util/synthetic-events.c array++; array 1374 tools/perf/util/synthetic-events.c *array = sample->data_src; array 1375 tools/perf/util/synthetic-events.c array++; array 1379 tools/perf/util/synthetic-events.c *array = sample->transaction; array 1380 tools/perf/util/synthetic-events.c array++; array 1385 tools/perf/util/synthetic-events.c *array++ = sample->intr_regs.abi; array 1387 tools/perf/util/synthetic-events.c memcpy(array, sample->intr_regs.regs, sz); array 1388 tools/perf/util/synthetic-events.c array = (void *)array + sz; array 1390 tools/perf/util/synthetic-events.c *array++ = 0; array 1395 tools/perf/util/synthetic-events.c *array = sample->phys_addr; array 1396 tools/perf/util/synthetic-events.c array++; array 17 tools/testing/radix-tree/iteration_check.c static DEFINE_XARRAY(array); array 54 tools/testing/radix-tree/iteration_check.c my_item_insert(&array, pgoff); array 69 tools/testing/radix-tree/iteration_check.c XA_STATE(xas, &array, 0); array 102 tools/testing/radix-tree/iteration_check.c XA_STATE(xas, &array, 0); array 143 tools/testing/radix-tree/iteration_check.c item = xa_erase(&array, pgoff); array 158 tools/testing/radix-tree/iteration_check.c tag_tagged_items(&array, 0, MAX_IDX, 10, TAG, NEW_TAG); array 209 tools/testing/radix-tree/iteration_check.c item_kill_tree(&array); array 57 tools/testing/radix-tree/iteration_check_2.c DEFINE_XARRAY(array); array 64 tools/testing/radix-tree/iteration_check_2.c xa_store(&array, 100, xa_mk_value(100), GFP_KERNEL); array 65 tools/testing/radix-tree/iteration_check_2.c xa_set_mark(&array, 100, XA_MARK_0); array 67 tools/testing/radix-tree/iteration_check_2.c if (pthread_create(&threads[0], NULL, iterator, &array)) { array 71 tools/testing/radix-tree/iteration_check_2.c if (pthread_create(&threads[1], NULL, throbber, &array)) { array 86 tools/testing/radix-tree/iteration_check_2.c xa_destroy(&array); array 214 tools/testing/radix-tree/multiorder.c static DEFINE_XARRAY(array); array 218 tools/testing/radix-tree/multiorder.c multiorder_iteration(&array); array 219 tools/testing/radix-tree/multiorder.c multiorder_tagged_iteration(&array); array 220 tools/testing/radix-tree/multiorder.c multiorder_iteration_race(&array); array 8 tools/testing/scatterlist/main.c static void set_pages(struct page **pages, const unsigned *array, unsigned num) array 15 tools/testing/scatterlist/main.c ((1 + array[i]) * PAGE_SIZE); array 12 tools/testing/selftests/bpf/progs/sample_map_ret0.c struct bpf_map_def SEC("maps") array = { array 29 tools/testing/selftests/bpf/progs/sample_map_ret0.c value = bpf_map_lookup_elem(&array, &key64); array 277 tools/testing/selftests/net/so_txtime.c static int parse_io(const char *optarg, struct timed_send *array) array 293 tools/testing/selftests/net/so_txtime.c array->delay_us = strtol(tok, NULL, 0) * 1000; array 294 tools/testing/selftests/net/so_txtime.c array++; array 296 tools/testing/selftests/net/so_txtime.c array->data = tok[0]; array 301 tools/testing/selftests/rseq/param_test.c struct percpu_buffer_node **array; array 318 tools/testing/selftests/rseq/param_test.c struct percpu_memcpy_buffer_node *array; array 704 tools/testing/selftests/rseq/param_test.c targetptr_spec = (intptr_t *)&buffer->c[cpu].array[offset]; array 744 tools/testing/selftests/rseq/param_test.c head = RSEQ_READ_ONCE(buffer->c[cpu].array[offset - 1]); array 748 tools/testing/selftests/rseq/param_test.c (intptr_t *)&buffer->c[cpu].array[offset - 1], array 772 tools/testing/selftests/rseq/param_test.c head = buffer->c[cpu].array[offset - 1]; array 826 tools/testing/selftests/rseq/param_test.c buffer.c[i].array = array 827 tools/testing/selftests/rseq/param_test.c malloc(sizeof(*buffer.c[i].array) * CPU_SETSIZE * array 829 tools/testing/selftests/rseq/param_test.c assert(buffer.c[i].array); array 846 tools/testing/selftests/rseq/param_test.c buffer.c[i].array[j - 1] = node; array 880 tools/testing/selftests/rseq/param_test.c free(buffer.c[i].array); array 909 tools/testing/selftests/rseq/param_test.c destptr = (char *)&buffer->c[cpu].array[offset]; array 954 tools/testing/selftests/rseq/param_test.c srcptr = (char *)&buffer->c[cpu].array[offset - 1]; array 986 tools/testing/selftests/rseq/param_test.c memcpy(item, &buffer->c[cpu].array[offset - 1], sizeof(*item)); array 1041 tools/testing/selftests/rseq/param_test.c buffer.c[i].array = array 1042 tools/testing/selftests/rseq/param_test.c malloc(sizeof(*buffer.c[i].array) * CPU_SETSIZE * array 1044 tools/testing/selftests/rseq/param_test.c assert(buffer.c[i].array); array 1056 tools/testing/selftests/rseq/param_test.c buffer.c[i].array[j - 1].data1 = j; array 1057 tools/testing/selftests/rseq/param_test.c buffer.c[i].array[j - 1].data2 = j + 1; array 1092 tools/testing/selftests/rseq/param_test.c free(buffer.c[i].array); array 115 tools/virtio/ringtest/ptr_ring.c static struct ptr_ring array ____cacheline_aligned_in_smp; array 120 tools/virtio/ringtest/ptr_ring.c int ret = ptr_ring_init(&array, ring_size, 0); array 124 tools/virtio/ringtest/ptr_ring.c array.batch = param; array 132 tools/virtio/ringtest/ptr_ring.c ret = __ptr_ring_produce(&array, buf); array 151 tools/virtio/ringtest/ptr_ring.c if (tailcnt == headcnt || __ptr_ring_full(&array)) array 163 tools/virtio/ringtest/ptr_ring.c return (tailcnt == headcnt || __ptr_ring_full(&array)); array 194 tools/virtio/ringtest/ptr_ring.c return __ptr_ring_empty(&array); array 201 tools/virtio/ringtest/ptr_ring.c ptr = __ptr_ring_consume(&array);