Home
last modified time | relevance | path

Searched refs:size (Results 13926 - 13950 of 48400) sorted by relevance

1...<<551552553554555556557558559560>>...1936

/kernel/linux/linux-6.6/arch/x86/kernel/
H A Didt.c169 .size = IDT_TABLE_SIZE - 1,
187 idt_setup_from_table(gate_desc *idt, const struct idt_data *t, int size, bool sys) in idt_setup_from_table() argument
191 for (; size > 0; t++, size--) { in idt_setup_from_table()
328 static const struct desc_ptr idt = { .address = 0, .size = 0 }; in idt_invalidate()
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/
H A Dcentaur.c222 centaur_size_cache(struct cpuinfo_x86 *c, unsigned int size) in centaur_size_cache() argument
226 size >>= 8; in centaur_size_cache()
234 (c->x86_stepping == 1) && (size == 65)) in centaur_size_cache()
235 size -= 1; in centaur_size_cache()
236 return size; in centaur_size_cache()
/kernel/linux/linux-6.6/drivers/gpu/drm/armada/
H A Darmada_fbdev.c50 int size, ret; in armada_fbdev_create() local
60 size = mode.pitches[0] * mode.height; in armada_fbdev_create()
61 obj = armada_gem_alloc_private_object(dev, size); in armada_fbdev_create()
98 info->fix.smem_len = obj->obj.size; in armada_fbdev_create()
99 info->screen_size = obj->obj.size; in armada_fbdev_create()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_cache.c55 const int size = boot_cpu_data.x86_clflush_size; in drm_clflush_page() local
61 for (i = 0; i < PAGE_SIZE; i += size) in drm_clflush_page()
153 * @length: Region size.
163 const int size = boot_cpu_data.x86_clflush_size; in drm_clflush_virt_range() local
166 addr = (void *)(((unsigned long)addr) & -size); in drm_clflush_virt_range()
168 for (; addr < end; addr += size) in drm_clflush_virt_range()
190 * transfer size. in drm_need_swiotlb()
226 * Bounce size is not performance tuned, but using a in memcpy_fallback()
300 * @len: The size of the area o transfer in bytes
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dumem.c66 * ib_umem_find_best_pgsz - Find best HW page size to use for this MR
73 * sizes but can do only a single page size in an MR.
99 /* The best result is the smallest page size that results in the minimum in ib_umem_find_best_pgsz()
100 * number of required pages. Compute the largest page size that could in ib_umem_find_best_pgsz()
110 /* Walk SGL and reduce max page size if VA/PA bits differ in ib_umem_find_best_pgsz()
116 * the maximum possible page size as the low bits of the iova in ib_umem_find_best_pgsz()
126 * size that can pass the VA through to the physical. in ib_umem_find_best_pgsz()
139 * @size: length of region to pin
143 size_t size, int access) in ib_umem_get()
157 * If the combination of the addr and size requeste in ib_umem_get()
142 ib_umem_get(struct ib_device *device, unsigned long addr, size_t size, int access) ib_umem_get() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_region_lmem.c32 _resize_bar(struct drm_i915_private *i915, int resno, resource_size_t size) in _resize_bar() argument
35 int bar_size = pci_rebar_bytes_to_size(size); in _resize_bar()
78 "Given bar size is not within supported size, setting it to default: %llu\n", in i915_resize_lmem_bar()
170 u64 *start, u32 *size) in get_legacy_lowmem_region()
176 *size = SZ_1M; in get_legacy_lowmem_region()
179 *start, *start + *size); in get_legacy_lowmem_region()
279 drm_info(&i915->drm, "Local memory IO size: %pa\n", in setup_lmem()
285 drm_info(&i915->drm, "Using a reduced BAR size of %lluMiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS.\n", in setup_lmem()
169 get_legacy_lowmem_region(struct intel_uncore *uncore, u64 *start, u32 *size) get_legacy_lowmem_region() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.h31 /* GPU address space is independent of CPU word size */
76 struct nouveau_bo *nouveau_bo_alloc(struct nouveau_cli *, u64 *size, int *align,
78 int nouveau_bo_init(struct nouveau_bo *, u64 size, int align, u32 domain,
80 int nouveau_bo_new(struct nouveau_cli *, u64 size, int align, u32 domain,
123 nouveau_bo_new_pin_map(struct nouveau_cli *cli, u64 size, int align, u32 domain, in nouveau_bo_new_pin_map() argument
126 int ret = nouveau_bo_new(cli, size, align, domain, in nouveau_bo_new_pin_map()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dumem.c152 u64 size; in nvkm_umem_new() local
157 size = args->v0.size; in nvkm_umem_new()
177 ret = nvkm_mem_new_type(mmu, type, page, size, argv, argc, in nvkm_umem_new()
188 args->v0.size = nvkm_memory_size(umem->memory); in nvkm_umem_new()
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/
H A Dpanfrost_dump.c135 * arbitrary assumption that Panfrost's MMU page size is the same as the CPU's, in panfrost_core_dump()
139 WARN_ON(!IS_ALIGNED(dbo->size, PAGE_SIZE)); in panfrost_core_dump()
141 file_size += dbo->size; in panfrost_core_dump()
142 n_bomap_pages += dbo->size >> PAGE_SHIFT; in panfrost_core_dump()
152 /* Add the size of the headers */ in panfrost_core_dump()
237 memcpy(iter.data, vaddr, bo->base.base.size); in panfrost_core_dump()
244 bo->base.base.size); in panfrost_core_dump()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/core/
H A Dfirmware.c52 blob->data = kmemdup(fw->data, fw->size, GFP_KERNEL); in nvkm_firmware_load_blob()
53 blob->size = fw->size; in nvkm_firmware_load_blob()
97 f, (*fw)->size); in nvkm_firmware_get()
172 .size = nvkm_firmware_mem_size,
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/
H A Dxtensa.c103 u64 addr, size; in nvkm_xtensa_init() local
116 if (fw->size > 0x40000) { in nvkm_xtensa_init()
131 for (i = 0; i < fw->size / 4; i++) in nvkm_xtensa_init()
138 size = nvkm_memory_size(xtensa->gpu_fw); in nvkm_xtensa_init()
149 nvkm_wr32(device, base + 0xcc8, size >> 8); /* XT_REGION_LIMIT */ in nvkm_xtensa_init()
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gem.c130 uint32_t size, in vmw_gem_object_create_with_handle()
139 .size = size, in vmw_gem_object_create_with_handle()
166 req->size, &handle, &vbo); in vmw_gem_object_create_ioctl()
224 id, bo->tbo.base.size, placement, type); in vmw_bo_print_info()
128 vmw_gem_object_create_with_handle(struct vmw_private *dev_priv, struct drm_file *filp, uint32_t size, uint32_t *handle, struct vmw_bo **p_vbo) vmw_gem_object_create_with_handle() argument
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-picolcd.h143 u8 *raw_data, int size);
158 u8 *raw_data, int size) in picolcd_debug_raw_event()
277 struct hid_report *report, u8 *raw_data, int size);
284 struct hid_report *report, u8 *raw_data, int size) in picolcd_raw_cir()
299 int report_id, const u8 *raw_data, int size);
156 picolcd_debug_raw_event(struct picolcd_data *data, struct hid_device *hdev, struct hid_report *report, u8 *raw_data, int size) picolcd_debug_raw_event() argument
283 picolcd_raw_cir(struct picolcd_data *data, struct hid_report *report, u8 *raw_data, int size) picolcd_raw_cir() argument
/kernel/linux/linux-6.6/drivers/mcb/
H A Dmcb-parse.c45 u32 size; in chameleon_parse_gdd() local
57 size = readl(&gdd->size); in chameleon_parse_gdd()
99 mdev->mem.end = mdev->mem.start + size - 1; in chameleon_parse_gdd()
125 cb[i].size = readl(p + 4); in chameleon_parse_bar()
247 pr_debug("%d cell(s) found. Chameleon table size: 0x%04x bytes\n", num_cells, table_size); in chameleon_parse_cells()
/kernel/linux/linux-6.6/drivers/input/gameport/
H A Dns558.c31 int size; member
134 ns558->size = 1 << i; in ns558_isa_probe()
205 ns558->size = iolen; in ns558_pnp_probe()
259 release_region(ns558->io & ~(ns558->size - 1), ns558->size); in ns558_exit()
/kernel/linux/linux-6.6/tools/perf/bench/
H A Dfutex-hash.c133 size_t size; in bench_futex_hash() local
180 size = CPU_ALLOC_SIZE(nrcpus); in bench_futex_hash()
188 CPU_ZERO_S(size, cpuset); in bench_futex_hash()
190 CPU_SET_S(perf_cpu_map__cpu(cpu, i % perf_cpu_map__nr(cpu)).cpu, size, cpuset); in bench_futex_hash()
191 ret = pthread_attr_setaffinity_np(&thread_attr, size, cpuset); in bench_futex_hash()
H A Dfutex-lock-pi.c126 size_t size; in create_threads() local
132 size = CPU_ALLOC_SIZE(nrcpus); in create_threads()
147 CPU_ZERO_S(size, cpuset); in create_threads()
148 CPU_SET_S(perf_cpu_map__cpu(cpu, i % perf_cpu_map__nr(cpu)).cpu, size, cpuset); in create_threads()
150 if (pthread_attr_setaffinity_np(&thread_attr, size, cpuset)) { in create_threads()
H A Dfutex-wake.c102 size_t size; in block_threads() local
108 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
115 CPU_ZERO_S(size, cpuset); in block_threads()
116 CPU_SET_S(perf_cpu_map__cpu(cpu, i % perf_cpu_map__nr(cpu)).cpu, size, cpuset); in block_threads()
118 if (pthread_attr_setaffinity_np(&thread_attr, size, cpuset)) { in block_threads()
/kernel/linux/linux-6.6/tools/firmware/
H A Dihex2fw.c53 static int process_ihex(uint8_t *data, ssize_t size);
132 static int process_ihex(uint8_t *data, ssize_t size) in process_ihex() argument
146 while (i < size) { in process_ihex()
152 if (i + 10 > size) { in process_ihex()
172 if (i + 8 + (record->len * 2) > size) { in process_ihex()
/kernel/linux/linux-6.6/tools/testing/nvdimm/test/
H A Dnfit_test.h178 /* this one has the output first because the variable input data size */
211 resource_size_t offset, unsigned long size);
213 size_t size, unsigned long flags);
216 void *__wrap_memremap(resource_size_t offset, size_t size,
219 void __iomem *__wrap_ioremap(resource_size_t offset, unsigned long size);
220 void __iomem *__wrap_ioremap_wc(resource_size_t offset, unsigned long size);
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/syscalls/
H A Drtas_filter.c50 uint32_t size; member
96 sscanf(buf, "%" SCNx64 " %x", &kregion->addr, &kregion->size); in read_kregion_bounds()
99 if (!(kregion->size && kregion->addr) || in read_kregion_bounds()
100 (kregion->size > (PAGE_SIZE * MAX_PAGES))) { in read_kregion_bounds()
184 rmo_end = rmo_start + rmo_region.size - 1; in test()
187 // Test a permitted call, user-supplied size, buffer inside RMO in test()
189 printf("Test a permitted call, user-supplied size, buffer inside RMO... "); in test()
195 // Test a permitted call, user-supplied size, buffer start outside RMO in test()
197 printf("Test a permitted call, user-supplied size, buffer start outside RMO... "); in test()
203 // Test a permitted call, user-supplied size, buffe in test()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_tag.c122 ssize_t size; in tag_from_alg() local
134 size = write(fd_alg, prog, insns); in tag_from_alg()
135 assert(size == insns); in tag_from_alg()
137 size = read(fd_alg, tag, len); in tag_from_alg()
138 assert(size == len); in tag_from_alg()
/kernel/linux/linux-6.6/tools/testing/selftests/user_events/
H A Dperf_test.c89 unreg.size = sizeof(unreg); in clear()
142 reg.size = sizeof(reg); in TEST_F()
160 pe.size = sizeof(pe); in TEST_F()
184 /* Skip over header and size, move to offset */ in TEST_F()
206 reg.size = sizeof(reg); in TEST_F()
222 pe.size = sizeof(pe); in TEST_F()
/kernel/linux/linux-6.6/sound/isa/sb/
H A Demu8000_patch.c151 if (sp->v.size == 0) in snd_emu8000_sample_new()
158 /* compute true data size to be loaded */ in snd_emu8000_sample_new()
159 truesize = sp->v.size; in snd_emu8000_sample_new()
173 if (!access_ok(data, sp->v.size)) in snd_emu8000_sample_new()
176 if (!access_ok(data, sp->v.size * 2)) in snd_emu8000_sample_new()
190 /* set the total size (store onto obsolete checksum value) */ in snd_emu8000_sample_new()
214 for (i = 0; i < sp->v.size; i++) { in snd_emu8000_sample_new()
/kernel/linux/linux-6.6/drivers/scsi/csiostor/
H A Dcsio_hw_t5.c285 * Each PCI-E Memory Window is programmed with a window size -- or in csio_t5_memory_rw()
345 u32 size; in csio_t5_dfs_create_ext_mem() local
349 size = csio_rd_reg32(hw, MA_EXT_MEMORY_BAR_A); in csio_t5_dfs_create_ext_mem()
351 EXT_MEM_SIZE_G(size)); in csio_t5_dfs_create_ext_mem()
354 size = csio_rd_reg32(hw, MA_EXT_MEMORY1_BAR_A); in csio_t5_dfs_create_ext_mem()
356 EXT_MEM_SIZE_G(size)); in csio_t5_dfs_create_ext_mem()

Completed in 27 milliseconds

1...<<551552553554555556557558559560>>...1936