Searched refs:size (Results 151 - 175 of 11135) sorted by relevance

1234567891011>>

/linux-master/sound/pci/ctxfi/
H A Dctvmem.c26 * Find or create vm block based on requested @size.
27 * @size must be page aligned.
30 get_vm_block(struct ct_vm *vm, unsigned int size, struct ct_atc *atc) argument
35 size = CT_PAGE_ALIGN(size);
36 if (size > vm->size) {
45 if (entry->size >= size)
51 if (entry->size
124 ct_vm_map(struct ct_vm *vm, struct snd_pcm_substream *substream, int size) argument
[all...]
/linux-master/tools/perf/trace/beauty/tracepoints/
H A Dx86_msr.c24 static size_t x86_MSR__scnprintf(unsigned long msr, char *bf, size_t size, bool show_prefix) argument
26 return strarrays__scnprintf(&strarrays__x86_MSRs_tables, bf, size, "%#x", show_prefix, msr);
29 size_t syscall_arg__scnprintf_x86_MSR(char *bf, size_t size, struct syscall_arg *arg) argument
33 return x86_MSR__scnprintf(flags, bf, size, arg->show_string_prefix);
36 bool syscall_arg__strtoul_x86_MSR(char *bf, size_t size, struct syscall_arg *arg __maybe_unused, u64 *ret) argument
38 return strarrays__strtoul(&strarrays__x86_MSRs_tables, bf, size, ret);
/linux-master/include/linux/
H A Diommu-helper.h10 static inline unsigned long iommu_device_max_index(unsigned long size, argument
14 if (size + offset > dma_mask)
17 return size;
29 extern unsigned long iommu_area_alloc(unsigned long *map, unsigned long size,
39 unsigned long size = (addr & (io_page_size - 1)) + len; local
41 return DIV_ROUND_UP(size, io_page_size);
H A Dkcsan-checks.h34 * @size: size of access
37 void __kcsan_check_access(const volatile void *ptr, size_t size, int type);
143 size_t size; member in struct:kcsan_scoped_access
168 * @size: size of access
173 kcsan_begin_scoped_access(const volatile void *ptr, size_t size, int type,
189 static inline void __kcsan_check_access(const volatile void *ptr, size_t size, argument
209 kcsan_begin_scoped_access(const volatile void *ptr, size_t size, int type, argument
229 static inline void kcsan_check_access(const volatile void *ptr, size_t size, argument
[all...]
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dearly_alloc.c26 unsigned long size = (nr_pages << PAGE_SHIFT); local
32 if (end - cur < size)
35 cur += size;
36 memset(ret, 0, size);
49 void hyp_early_alloc_init(void *virt, unsigned long size) argument
52 end = base + size;
/linux-master/include/trace/events/
H A Dswiotlb.h11 TP_PROTO(struct device *dev, dma_addr_t dev_addr, size_t size),
12 TP_ARGS(dev, dev_addr, size),
18 __field(size_t, size)
26 __entry->size = size;
30 TP_printk("dev_name: %s dma_mask=%llx dev_addr=%llx size=%zu %s",
34 __entry->size,
/linux-master/drivers/media/platform/chips-media/coda/
H A Dcoda-mpeg2.c62 * Returns the detected header size in bytes or 0.
64 u32 coda_mpeg2_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size) argument
72 if (size < 22 ||
76 if ((size == 22 ||
77 (size >= 25 && memcmp(buf + 22, u.start_code_prefix, 3) == 0)) &&
81 if ((size == 86 ||
82 (size > 89 && memcmp(buf + 86, u.start_code_prefix, 3) == 0)) &&
/linux-master/arch/mips/sgi-ip32/
H A Dip32-memory.c24 u64 base, size; local
34 size = (bankctl & CRIME_MEM_BANK_CONTROL_SDRAM_SIZE) ? 128 : 32;
35 size <<= 20;
36 if (base + size > (256 << 20))
39 printk("CRIME MC: bank %u base 0x%016Lx size %LuMiB\n",
40 bank, base, size >> 20);
41 memblock_add(base, size);
/linux-master/arch/s390/crypto/
H A Dcrc32be-vx.c72 * @size: Size of the buffer, must be 64 bytes or greater.
80 u32 crc32_be_vgfm_16(u32 crc, unsigned char const *buf, size_t size) argument
93 size -= 64;
95 while (size >= 64) {
111 size -= 64;
119 while (size >= 16) {
123 size -= 16;
/linux-master/lib/
H A Dsort.c20 * is_aligned - is this pointer & size okay for word-wide copying?
22 * @size: size of each element
26 * The size must be a multiple of the alignment, and the base address must
33 static bool is_aligned(const void *base, size_t size, unsigned char align) argument
35 unsigned char lsbits = (unsigned char)size;
48 * @n: element size (must be a multiple of 4)
71 * @n: element size (must be a multiple of 8)
107 * @n: element size
139 static void do_swap(void *a, void *b, size_t size, swap_r_func_ argument
184 parent(size_t i, unsigned int lsbit, size_t size) argument
210 sort_r(void *base, size_t num, size_t size, cmp_r_func_t cmp_func, swap_r_func_t swap_func, const void *priv) argument
291 sort(void *base, size_t num, size_t size, cmp_func_t cmp_func, swap_func_t swap_func) argument
[all...]
/linux-master/arch/m68k/amiga/
H A Dchipram.c45 void *amiga_chip_alloc(unsigned long size, const char *name) argument
55 p = amiga_chip_alloc_res(size, res);
73 void *amiga_chip_alloc_res(unsigned long size, struct resource *res) argument
78 size = PAGE_ALIGN(size);
80 pr_debug("amiga_chip_alloc_res: allocate %lu bytes\n", size);
81 error = allocate_resource(&chipram_res, res, size, 0, UINT_MAX,
89 atomic_sub(size, &chipavail);
98 unsigned long size; local
107 size
[all...]
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/gc/gc_1.0/
H A Dia_css_gc.host.h29 unsigned int size);
35 unsigned int size);
41 unsigned int size);
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/
H A Dia_css_ynr.host.h29 unsigned int size);
35 unsigned int size);
60 size_t size);
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr_1.0/
H A Dia_css_tnr.host.h30 unsigned int size);
44 unsigned int size);
52 size_t size);
/linux-master/arch/um/kernel/
H A Dinitrd.c20 unsigned long long size; local
26 area = uml_load_file(initrd, &size);
31 initrd_end = initrd_start + size;
H A Ddtb.c15 long long size; local
18 area = uml_load_file(dtb, &size);
22 memblock_free(area, size);
/linux-master/drivers/gpu/drm/i915/
H A Di915_mm.h18 unsigned long addr, unsigned long pfn, unsigned long size,
23 unsigned long addr, unsigned long pfn, unsigned long size,
32 unsigned long addr, unsigned long size,
22 remap_io_mapping(struct vm_area_struct *vma, unsigned long addr, unsigned long pfn, unsigned long size, struct io_mapping *iomap) argument
H A Di915_ioctl.c27 u8 size; member in struct:reg_whitelist
36 .size = 8
57 GEM_BUG_ON(!is_power_of_2(entry->size));
58 GEM_BUG_ON(entry->size > 8);
59 GEM_BUG_ON(entry_offset & (entry->size - 1));
62 entry_offset == (reg->offset & -entry->size))
71 flags = reg->offset & (entry->size - 1);
74 if (entry->size == 8 && flags == I915_REG_READ_8B_WA)
78 else if (entry->size == 8 && flags == 0)
81 else if (entry->size
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_wopcm.h14 * @size: Size of overall WOPCM.
17 * @guc.size: Size of the GuC WOPCM region.
20 u32 size; member in struct:intel_wopcm
23 u32 size; member in struct:intel_wopcm::__anon718
46 * Returns size of the WOPCM shadowed region.
50 * Otherwise, the GuC WOPCM size.
54 return wopcm->guc.size;
/linux-master/sound/soc/intel/avs/
H A Dtrace.c19 void trace_avs_msg_payload(const void *data, size_t size) argument
21 size_t remaining = size;
28 trace_avs_ipc_msg_payload(data, chunk, offset, size);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dmmsch_v3_0.h93 size = sizeof(struct mmsch_v3_0_cmd_direct_read_modify_write); \
94 size_dw = size / 4; \
98 memcpy((void *)table_loc, &direct_rd_mod_wt, size); \
104 size = sizeof(struct mmsch_v3_0_cmd_direct_write); \
105 size_dw = size / 4; \
108 memcpy((void *)table_loc, &direct_wt, size); \
114 size = sizeof(struct mmsch_v3_0_cmd_direct_polling); \
115 size_dw = size / 4; \
119 memcpy((void *)table_loc, &direct_poll, size); \
125 size
[all...]
/linux-master/arch/x86/platform/intel-quark/
H A Dimr_selftest.c62 size_t size = virt_to_phys(&__end_rodata) - base; local
71 ret = imr_add_range(base, size, IMR_CPU, IMR_CPU);
72 imr_self_test_result(ret < 0, fmt_over, __va(base), __va(base + size));
75 base += size - IMR_ALIGN;
76 ret = imr_add_range(base, size, IMR_CPU, IMR_CPU);
77 imr_self_test_result(ret < 0, fmt_over, __va(base), __va(base + size));
80 base -= size + IMR_ALIGN * 2;
81 ret = imr_add_range(base, size, IMR_CPU, IMR_CPU);
82 imr_self_test_result(ret < 0, fmt_over, __va(base), __va(base + size));
98 size
[all...]
/linux-master/arch/arm/include/asm/
H A Dmemblock.h8 phys_addr_t arm_memblock_steal(phys_addr_t size, phys_addr_t align);
/linux-master/arch/sparc/include/asm/
H A Dvdso.h10 unsigned long size; /* Always a multiple of PAGE_SIZE */ member in struct:vdso_image
/linux-master/arch/arm/mach-orion5x/
H A Dtsx09-common.h13 extern void __init qnap_tsx09_find_mac_addr(u32 mem_base, u32 size);

Completed in 233 milliseconds

1234567891011>>