Searched refs:size (Results 1 - 25 of 2507) sorted by relevance

1234567891011>>

/arch/arm/plat-omap/include/plat/
H A Dsram.h3 void omap_map_sram(unsigned long start, unsigned long size,
7 extern void *omap_sram_push_address(unsigned long size);
10 #define omap_sram_push(funcp, size) ({ \
12 void *_sram_address = omap_sram_push_address(size); \
14 _res = fncpy(_sram_address, &(funcp), size); \
/arch/x86/mm/kmemcheck/
H A Dshadow.h13 enum kmemcheck_shadow kmemcheck_shadow_test(void *shadow, unsigned int size);
15 unsigned int size);
16 void kmemcheck_shadow_set(void *shadow, unsigned int size);
/arch/mips/include/asm/
H A Dbcache.h19 void (*bc_wback_inv)(unsigned long page, unsigned long size);
20 void (*bc_inv)(unsigned long page, unsigned long size);
39 static inline void bc_wback_inv(unsigned long page, unsigned long size) argument
41 bcops->bc_wback_inv(page, size);
44 static inline void bc_inv(unsigned long page, unsigned long size) argument
46 bcops->bc_inv(page, size);
55 #define bc_wback_inv(page, size) do { } while (0)
56 #define bc_inv(page, size) do { } while (0)
H A Dclkdev.h22 static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) argument
24 return kzalloc(size, GFP_KERNEL);
/arch/um/include/shared/
H A Dum_malloc.h11 extern void *uml_kmalloc(int size, int flags);
14 extern void *vmalloc(unsigned long size);
/arch/blackfin/mm/
H A Dmaccess.c12 static int validate_memory_access_address(unsigned long addr, int size) argument
14 if (size < 0 || addr == 0)
16 return bfin_mem_access_type(addr, size);
19 long probe_kernel_read(void *dst, const void *src, size_t size) argument
24 mem_type = validate_memory_access_address(lsrc, size);
29 if (size == 2 && lsrc % 2 == 0) {
33 } else if (size == 4 && lsrc % 4 == 0) {
42 return __probe_kernel_read(dst, src, size);
45 if (dma_memcpy(dst, src, size))
49 if (isram_memcpy(dst, src, size))
58 probe_kernel_write(void *dst, const void *src, size_t size) argument
[all...]
/arch/s390/lib/
H A Dfind.c18 unsigned long find_first_bit_inv(const unsigned long *addr, unsigned long size) argument
24 while (size & ~(BITS_PER_LONG - 1)) {
28 size -= BITS_PER_LONG;
30 if (!size)
32 tmp = (*p) & (~0UL << (BITS_PER_LONG - size));
34 return result + size; /* Nope. */
40 unsigned long find_next_bit_inv(const unsigned long *addr, unsigned long size, argument
47 if (offset >= size)
48 return size;
49 size
[all...]
/arch/sparc/lib/
H A Duser_fixup.c21 static unsigned long compute_size(unsigned long start, unsigned long size, unsigned long *offset) argument
24 unsigned long end = start + size;
30 size = end - fault_addr;
32 return size;
35 unsigned long copy_from_user_fixup(void *to, const void __user *from, unsigned long size) argument
39 size = compute_size((unsigned long) from, size, &offset);
40 if (likely(size))
41 memset(to + offset, 0, size);
43 return size;
47 copy_to_user_fixup(void __user *to, const void *from, unsigned long size) argument
55 copy_in_user_fixup(void __user *to, void __user *from, unsigned long size) argument
[all...]
/arch/tile/include/asm/
H A Dedac.h20 static inline void atomic_scrub(void *va, u32 size) argument
/arch/um/kernel/
H A Dmaccess.c13 long probe_kernel_read(void *dst, const void *src, size_t size) argument
17 if ((unsigned long)src < PAGE_SIZE || size <= 0)
20 if (os_mincore(psrc, size + src - psrc) <= 0)
23 return __probe_kernel_read(dst, src, size);
/arch/powerpc/boot/
H A Dpage.h19 /* PAGE_SHIFT determines the page size */
24 /* align addr on a size boundary - adjust address up/down if needed */
25 #define _ALIGN_UP(addr,size) (((addr)+((size)-1))&(~((size)-1)))
26 #define _ALIGN_DOWN(addr,size) ((addr)&(~((size)-1)))
28 /* align addr on a size boundary - adjust address up if needed */
29 #define _ALIGN(addr,size) _ALIGN_UP(addr,size)
[all...]
/arch/metag/mm/
H A Dmaccess.c18 long probe_kernel_write(void *dst, const void *src, size_t size) argument
27 if (!size)
40 (ldst & (size - 1)) || /* destination unaligned */
41 size > 8 || /* more than max write size */
42 (size & (size - 1))) /* non power of 2 size */
43 return __probe_kernel_write(dst, src, size);
46 if (lsrc & (size
[all...]
/arch/sh/include/asm/
H A Dio_trapped.h25 unsigned long size);
31 __ioremap_trapped(unsigned long offset, unsigned long size) argument
33 return match_trapped_io_handler(&trapped_mem, offset, size);
36 #define __ioremap_trapped(offset, size) NULL
43 __ioport_map_trapped(unsigned long offset, unsigned long size) argument
45 return match_trapped_io_handler(&trapped_io, offset, size);
48 #define __ioport_map_trapped(offset, size) NULL
54 #define __ioremap_trapped(offset, size) NULL
55 #define __ioport_map_trapped(offset, size) NULL
/arch/arm/boot/dts/
H A Dskeleton.dtsi9 #size-cells = <1>;
H A Dskeleton64.dtsi9 #size-cells = <2>;
/arch/arm64/boot/dts/
H A Dskeleton.dtsi9 #size-cells = <1>;
/arch/blackfin/include/asm/
H A Dclkdev.h6 static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) argument
8 return kzalloc(size, GFP_KERNEL);
/arch/c6x/include/asm/
H A Dclkdev.h17 static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) argument
19 return kzalloc(size, GFP_KERNEL);
/arch/c6x/kernel/
H A Ddevicetree.c15 void __init early_init_dt_add_memory_arch(u64 base, u64 size) argument
17 c6x_add_memory(base, size);
/arch/m68k/include/asm/
H A Dnubus.h19 unsigned long size)
21 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER);
25 unsigned long size)
27 return __ioremap(physaddr, size, IOMAP_NOCACHE_NONSER);
31 unsigned long size)
33 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH);
37 unsigned long size)
39 return __ioremap(physaddr, size, IOMAP_FULL_CACHING);
18 nubus_remap_nocache_ser(unsigned long physaddr, unsigned long size) argument
24 nubus_remap_nocache_nonser(unsigned long physaddr, unsigned long size) argument
30 nbus_remap_writethrough(unsigned long physaddr, unsigned long size) argument
36 nubus_remap_fullcache(unsigned long physaddr, unsigned long size) argument
H A Dzorro.h19 unsigned long size)
21 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER);
25 unsigned long size)
27 return __ioremap(physaddr, size, IOMAP_NOCACHE_NONSER);
31 unsigned long size)
33 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH);
36 unsigned long size)
38 return __ioremap(physaddr, size, IOMAP_FULL_CACHING);
18 z_remap_nocache_ser(unsigned long physaddr, unsigned long size) argument
24 z_remap_nocache_nonser(unsigned long physaddr, unsigned long size) argument
30 z_remap_writethrough(unsigned long physaddr, unsigned long size) argument
35 z_remap_fullcache(unsigned long physaddr, unsigned long size) argument
/arch/metag/boot/dts/
H A Dskeleton.dtsi10 #size-cells = <1>;
/arch/mips/pci/
H A Dpci-lantiq.h14 unsigned int devfn, int where, int size, u32 *val);
16 unsigned int devfn, int where, int size, u32 val);
/arch/x86/include/asm/
H A Dedac.h6 static inline void atomic_scrub(void *va, u32 size) argument
14 for (i = 0; i < size / 4; i++, virt_addr++)
/arch/x86/tools/
H A Dcalc_run_size.pl16 my $size = hex($1);
18 $mem_size += $size;
24 next if ($file_offset + $mem_size == $offset + $size);
29 printf STDERR "size: 0x%lx\n", $size;

Completed in 4858 milliseconds

1234567891011>>