Searched refs:size (Results 76 - 100 of 11135) sorted by relevance

1234567891011>>

/linux-master/tools/testing/memblock/tests/
H A Dbasic_api.c37 * and size to the collection of available memory regions (memblock.memory).
49 .size = SZ_4M
55 memblock_add(r.base, r.size);
58 ASSERT_EQ(rgn->size, r.size);
61 ASSERT_EQ(memblock.memory.total_size, r.size);
69 * A simple test that adds a memory block of a specified base address, size,
82 .size = SZ_16M
88 memblock_add_node(r.base, r.size, 1, MEMBLOCK_HOTPLUG);
91 ASSERT_EQ(rgn->size,
441 phys_addr_t base, size = SZ_64; local
[all...]
/linux-master/tools/perf/trace/beauty/
H A Dfspick.c11 static size_t fspick__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument
16 return strarray__scnprintf_flags(&strarray__fspick_flags, bf, size, show_prefix, flags);
19 size_t syscall_arg__scnprintf_fspick_flags(char *bf, size_t size, struct syscall_arg *arg) argument
23 return fspick__scnprintf_flags(flags, bf, size, arg->show_string_prefix);
H A Dmove_mount.c11 static size_t move_mount__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument
16 return strarray__scnprintf_flags(&strarray__move_mount_flags, bf, size, show_prefix, flags);
19 size_t syscall_arg__scnprintf_move_mount_flags(char *bf, size_t size, struct syscall_arg *arg) argument
23 return move_mount__scnprintf_flags(flags, bf, size, arg->show_string_prefix);
H A Dfutex_val3.c8 static size_t syscall_arg__scnprintf_futex_val3(char *bf, size_t size, struct syscall_arg *arg) argument
14 return scnprintf(bf, size, "%s%s", arg->show_string_prefix ? prefix : "", "MATCH_ANY");
16 return scnprintf(bf, size, "%#xd", bitset);
H A Dfsmount.c12 static size_t fsmount__scnprintf_attr_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument
19 printed += strarray__scnprintf_flags(&strarray__fsmount_attr_flags, bf, size, show_prefix, flags);
22 printed += scnprintf(bf + printed, size - printed, "%s%s%s",
29 size_t syscall_arg__scnprintf_fsmount_attr_flags(char *bf, size_t size, struct syscall_arg *arg) argument
33 return fsmount__scnprintf_attr_flags(flags, bf, size, arg->show_string_prefix);
H A Dsync_file_range.c12 static size_t sync_file_range__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument
19 printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? "SYNC_FILE_RANGE_" : "", "WRITE_AND_WAIT");
23 return printed + strarray__scnprintf_flags(&strarray__sync_file_range_flags, bf + printed, size - printed, show_prefix, flags);
26 size_t syscall_arg__scnprintf_sync_file_range_flags(char *bf, size_t size, struct syscall_arg *arg) argument
30 return sync_file_range__scnprintf_flags(flags, bf, size, arg->show_string_prefix);
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/conversion/conversion_1.0/
H A Dia_css_conversion.host.h28 unsigned int size);
/linux-master/include/xen/interface/hvm/
H A Ddm_op.h11 xen_ulong_t size; member in struct:xen_dm_op_buf
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/hdr/
H A Dia_css_hdr.host.h29 unsigned int size);
/linux-master/arch/um/kernel/
H A Dum_arch.h6 extern void * __init uml_load_file(const char *filename, unsigned long long *size);
H A Dmaccess.c10 bool copy_from_kernel_nofault_allowed(const void *src, size_t size) argument
14 if ((unsigned long)src < PAGE_SIZE || size <= 0)
16 if (os_mincore(psrc, size + src - psrc) <= 0)
/linux-master/arch/mips/mm/
H A Ddma-noncoherent.c47 void arch_dma_prep_coherent(struct page *page, size_t size) argument
49 dma_cache_wback_inv((unsigned long)page_address(page), size);
52 void *arch_dma_set_uncached(void *addr, size_t size) argument
57 static inline void dma_sync_virt_for_device(void *addr, size_t size, argument
62 dma_cache_wback((unsigned long)addr, size);
65 dma_cache_inv((unsigned long)addr, size);
68 dma_cache_wback_inv((unsigned long)addr, size);
75 static inline void dma_sync_virt_for_cpu(void *addr, size_t size, argument
83 dma_cache_inv((unsigned long)addr, size);
95 static inline void dma_sync_phys(phys_addr_t paddr, size_t size, argument
124 arch_sync_dma_for_device(phys_addr_t paddr, size_t size, enum dma_data_direction dir) argument
131 arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, enum dma_data_direction dir) argument
140 arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, bool coherent) argument
[all...]
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Ddevlink_resources.sh45 local size
53 size=$(devlink_resource_get kvd "$i" | jq '.["size_min"]')
54 devlink_resource_size_set "$size" kvd "$i"
65 log_test "'$i' minimize [$size]"
72 local size
81 # Calculate the maximum possible size for the given partition
82 size=$(devlink_resource_size_get kvd)
87 size=$((size - min_size))
91 # Test almost maximum size
[all...]
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
H A Dia_css_eed1_8.host.h26 size_t size);
32 size_t size);
37 size_t size);
/linux-master/arch/xtensa/kernel/
H A Dpci-dma.c24 static void do_cache_op(phys_addr_t paddr, size_t size, argument
32 fn((unsigned long)phys_to_virt(paddr), size);
34 while (size > 0) {
35 size_t sz = min_t(size_t, size, PAGE_SIZE - off);
42 size -= sz;
46 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, argument
52 do_cache_op(paddr, size, __invalidate_dcache_range);
64 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, argument
71 do_cache_op(paddr, size, __flush_dcache_range);
83 void arch_dma_prep_coherent(struct page *page, size_t size) argument
94 arch_dma_set_uncached(void *p, size_t size) argument
[all...]
/linux-master/arch/um/include/asm/
H A Duaccess.h13 #define __under_task_size(addr, size) \
15 (((unsigned long) (addr) + (size)) < TASK_SIZE))
17 #define __access_ok_vsyscall(addr, size) \
19 ((unsigned long) (addr) + (size) <= FIXADDR_USER_END) && \
20 ((unsigned long) (addr) + (size) >= (unsigned long)(addr)))
22 #define __addr_range_nowrap(addr, size) \
23 ((unsigned long) (addr) <= ((unsigned long) (addr) + (size)))
28 static inline int __access_ok(const void __user *ptr, unsigned long size);
39 static inline int __access_ok(const void __user *ptr, unsigned long size) argument
42 return __addr_range_nowrap(addr, size)
[all...]
/linux-master/drivers/net/ethernet/freescale/fman/
H A Dfman_muram.h16 struct muram_info *fman_muram_init(phys_addr_t base, size_t size);
21 unsigned long fman_muram_alloc(struct muram_info *muram, size_t size);
24 size_t size);
/linux-master/arch/x86/kernel/cpu/mtrr/
H A Damd.c11 unsigned long *size, mtrr_type *type)
27 *size = 0;
31 * This needs a little explaining. The size is stored as an
35 * So to get a size we do invert the mask and add 1 to the lowest
36 * mask bit (4 as its 2 bits in). This gives us a size we then shift
46 *size = (low + 4) << (15 - PAGE_SHIFT);
54 * @size The size of the region. If this is 0 the region is disabled.
60 amd_set_mtrr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type) argument
71 if (size
10 amd_get_mtrr(unsigned int reg, unsigned long *base, unsigned long *size, mtrr_type *type) argument
96 amd_validate_add_page(unsigned long base, unsigned long size, unsigned int type) argument
[all...]
/linux-master/arch/riscv/include/asm/
H A Ddma-noncoherent.h19 void (*wback)(phys_addr_t paddr, size_t size);
20 void (*inv)(phys_addr_t paddr, size_t size);
21 void (*wback_inv)(phys_addr_t paddr, size_t size);
/linux-master/arch/s390/crypto/
H A Dcrc32-vx.h8 u32 crc32_be_vgfm_16(u32 crc, unsigned char const *buf, size_t size);
9 u32 crc32_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size);
10 u32 crc32c_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size);
/linux-master/include/linux/
H A Dslab.h227 struct kmem_cache *kmem_cache_create(const char *name, unsigned int size,
231 unsigned int size, unsigned int align,
272 * ksize - Report actual allocation size of associated object
277 * allocation size. Either use krealloc() or round up the allocation size
279 * access beyond the originally requested allocation size, UBSAN_BOUNDS
281 * originally allocated size via the __alloc_size attribute.
353 /* Maximum allocatable size */
355 /* Maximum size for which we actually use a slab cache */
369 * Page size i
472 __kmalloc_index(size_t size, bool size_is_constant) argument
543 kfree_bulk(size_t size, void **p) argument
619 kmalloc(size_t size, gfp_t flags) argument
635 kmalloc_node(size_t size, gfp_t flags, int node) argument
657 kmalloc_array(size_t n, size_t size, gfp_t flags) argument
694 kcalloc(size_t n, size_t size, gfp_t flags) argument
717 kmalloc_array_node(size_t n, size_t size, gfp_t flags, int node) argument
729 kcalloc_node(size_t n, size_t size, gfp_t flags, int node) argument
747 kzalloc(size_t size, gfp_t flags) argument
758 kzalloc_node(size_t size, gfp_t flags, int node) argument
764 kvmalloc(size_t size, gfp_t flags) argument
768 kvzalloc_node(size_t size, gfp_t flags, int node) argument
772 kvzalloc(size_t size, gfp_t flags) argument
777 kvmalloc_array(size_t n, size_t size, gfp_t flags) argument
787 kvcalloc(size_t n, size_t size, gfp_t flags) argument
[all...]
/linux-master/lib/
H A Dtest_meminit.c29 static int __init count_nonzero_bytes(void *ptr, size_t size) argument
34 for (i = 0; i < size; i++)
41 static void __init fill_with_garbage_skip(void *ptr, int size, size_t skip) argument
46 WARN_ON(skip > size);
47 size -= skip;
49 while (size >= sizeof(*p)) {
52 size -= sizeof(*p);
54 if (size)
55 memset(&p[i], GARBAGE_BYTE, size);
58 static void __init fill_with_garbage(void *ptr, size_t size) argument
67 size_t size = PAGE_SIZE << order; local
105 do_kmalloc_size(size_t size, int *total_failures) argument
129 do_vmalloc_size(size_t size, int *total_failures) argument
156 int i, size; local
187 check_buf(void *buf, int size, bool want_ctor, bool want_rcu, bool want_zero) argument
216 do_kmem_cache_size(size_t size, bool want_ctor, bool want_rcu, bool want_zero, int *total_failures) argument
292 do_kmem_cache_rcu_persistent(int size, int *total_failures) argument
347 do_kmem_cache_size_bulk(int size, int *total_failures) argument
381 int i, flags, size; local
406 int i, size; local
[all...]
/linux-master/tools/perf/util/
H A Dtrace-event-read.c28 static int __do_read(int fd, void *buf, int size) argument
30 int rsize = size;
32 while (size) {
33 int ret = read(fd, buf, size);
47 size -= ret;
54 static int do_read(void *data, int size) argument
58 r = __do_read(input_fd, data, size);
60 pr_debug("reading input file (size expected=%d received=%d)",
61 size, r);
71 static void skip(int size) argument
105 int size = 0; local
147 unsigned int size; local
170 unsigned int size; local
197 unsigned long long size; local
246 read_ftrace_file(struct tep_handle *pevent, unsigned long long size) argument
271 read_event_file(struct tep_handle *pevent, char *sys, unsigned long long size) argument
297 unsigned long long size; local
315 unsigned long long size; local
346 unsigned long long size; local
383 ssize_t size = -1; local
[all...]
/linux-master/arch/powerpc/boot/
H A Dfsl-soc.c24 int size; local
27 size = getprop(soc, "#address-cells", prop_buf, MAX_PROP_LEN);
28 if (size == 4)
36 size = getprop(soc, "ranges", prop_buf, MAX_PROP_LEN);
38 if (size < 12)
/linux-master/include/acpi/
H A Dacpi_io.h11 acpi_size size)
13 return ioremap_cache(phys, size);
20 *acpi_os_map_iomem(acpi_physical_address phys, acpi_size size);
21 void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size);
22 void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size);
10 acpi_os_ioremap(acpi_physical_address phys, acpi_size size) argument

Completed in 233 milliseconds

1234567891011>>