Searched refs:size (Results 51 - 75 of 2507) sorted by relevance

1234567891011>>

/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 add_memory_region(base, size, BOOT_MEM_RAM);
/arch/unicore32/include/asm/
H A Dio.h37 #define ioremap(cookie, size) __uc32_ioremap(cookie, size)
38 #define ioremap_cached(cookie, size) __uc32_ioremap_cached(cookie, size)
39 #define ioremap_nocache(cookie, size) __uc32_ioremap(cookie, size)
/arch/unicore32/mm/
H A Dioremap.c64 * mask the size back to 4MB aligned or we will overflow in the loop below.
66 static void unmap_area_sections(unsigned long virt, unsigned long size) argument
68 unsigned long addr = virt, end = virt + (size & ~(SZ_4M - 1));
103 size_t size, const struct mem_type *type)
105 unsigned long addr = virt, end = virt + size;
112 unmap_area_sections(virt, size);
130 unsigned long offset, size_t size, unsigned int mtype, void *caller)
159 * Page align the mapping size, taking account of any offset.
161 size = PAGE_ALIGN(offset + size);
102 remap_area_sections(unsigned long virt, unsigned long pfn, size_t size, const struct mem_type *type) argument
129 __uc32_ioremap_pfn_caller(unsigned long pfn, unsigned long offset, size_t size, unsigned int mtype, void *caller) argument
184 __uc32_ioremap_caller(unsigned long phys_addr, size_t size, unsigned int mtype, void *caller) argument
211 __uc32_ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size, unsigned int mtype) argument
220 __uc32_ioremap(unsigned long phys_addr, size_t size) argument
228 __uc32_ioremap_cached(unsigned long phys_addr, size_t size) argument
[all...]
/arch/s390/lib/
H A Duaccess.c35 unsigned long size)
57 " "ALR" %4,%0\n" /* copy remaining size, subtract 1 */
69 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2)
71 return size;
75 unsigned long size)
101 " "ALR" %4,%0\n" /* copy remaining size, subtract 1 */
114 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2)
116 return size;
128 unsigned long size)
152 : "+a" (size), "
34 copy_from_user_mvcos(void *x, const void __user *ptr, unsigned long size) argument
74 copy_from_user_mvcp(void *x, const void __user *ptr, unsigned long size) argument
127 copy_to_user_mvcos(void __user *ptr, const void *x, unsigned long size) argument
157 copy_to_user_mvcs(void __user *ptr, const void *x, unsigned long size) argument
200 copy_in_user_mvcos(void __user *to, const void __user *from, unsigned long size) argument
223 copy_in_user_mvc(void __user *to, const void __user *from, unsigned long size) argument
263 clear_user_mvcos(void __user *to, unsigned long size) argument
291 clear_user_xc(void __user *to, unsigned long size) argument
327 __clear_user(void __user *to, unsigned long size) argument
335 strnlen_user_srst(const char __user *src, unsigned long size) argument
357 __strnlen_user(const char __user *src, unsigned long size) argument
366 __strncpy_from_user(char *dst, const char __user *src, long size) argument
[all...]
/arch/m68k/amiga/
H A Dchipram.c44 void *amiga_chip_alloc(unsigned long size, const char *name) argument
54 p = amiga_chip_alloc_res(size, res);
72 void *amiga_chip_alloc_res(unsigned long size, struct resource *res) argument
77 size = PAGE_ALIGN(size);
79 pr_debug("amiga_chip_alloc_res: allocate %lu bytes\n", size);
80 error = allocate_resource(&chipram_res, res, size, 0, UINT_MAX,
88 atomic_sub(size, &chipavail);
97 unsigned long size; local
106 size
[all...]
/arch/arc/boot/dts/
H A Dskeleton.dtsi18 #size-cells = <1>;
24 #size-cells = <0>;
/arch/arm/include/asm/
H A Ddma-contiguous.h9 void dma_contiguous_early_fixup(phys_addr_t base, unsigned long size);
H A Dmemblock.h7 phys_addr_t arm_memblock_steal(phys_addr_t size, phys_addr_t align);
/arch/arm/mach-orion5x/
H A Dtsx09-common.h12 extern void __init qnap_tsx09_find_mac_addr(u32 mem_base, u32 size);
/arch/cris/include/arch-v32/arch/
H A Dintmem.h4 void* crisv32_intmem_alloc(unsigned size, unsigned align);
/arch/ia64/include/asm/
H A Ddma.h22 void dma_mark_clean(void *addr, size_t size);
/arch/m68k/include/asm/
H A Datari_stram.h9 void *atari_stram_alloc(unsigned long size, const char *owner);
/arch/microblaze/include/asm/
H A Dcmpxchg.h6 void __bad_xchg(volatile void *ptr, int size);
9 int size)
14 switch (size) {
29 __bad_xchg(ptr, size), ret = 0;
8 __xchg(unsigned long x, volatile void *ptr, int size) argument
/arch/powerpc/boot/dts/fsl/
H A Dqoriq-i2c-0.dtsi37 #size-cells = <0>;
47 #size-cells = <0>;
H A Dqoriq-i2c-1.dtsi37 #size-cells = <0>;
47 #size-cells = <0>;
/arch/um/drivers/
H A Dcow_sys.h8 static inline void *cow_malloc(int size) argument
10 return uml_kmalloc(size, UM_GFP_KERNEL);
35 static inline int cow_write_file(int fd, void *buf, int size) argument
37 return os_write_file(fd, buf, size);
/arch/x86/mm/kmemcheck/
H A Dopcode.h6 void kmemcheck_opcode_decode(const uint8_t *op, unsigned int *size);
H A Dselftest.c40 unsigned size; local
42 kmemcheck_opcode_decode(op->insn, &size);
44 if (size == op->expected_size)
47 printk(KERN_WARNING "kmemcheck: opcode %s: expected size %d, got %d\n",
48 op->desc, op->expected_size, size);
/arch/arm/include/asm/xen/
H A Dpage-coherent.h8 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, argument
12 return __generic_dma_ops(hwdev)->alloc(hwdev, size, dma_handle, flags, attrs);
15 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, argument
19 __generic_dma_ops(hwdev)->free(hwdev, size, cpu_addr, dma_handle, attrs);
23 unsigned long offset, size_t size, enum dma_data_direction dir,
26 __generic_dma_ops(hwdev)->map_page(hwdev, page, offset, size, dir, attrs);
30 size_t size, enum dma_data_direction dir,
34 dma_addr_t handle, size_t size, enum dma_data_direction dir);
37 dma_addr_t handle, size_t size, enum dma_data_direction dir);
22 xen_dma_map_page(struct device *hwdev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument
/arch/arm/kernel/
H A Datags_proc.c8 size_t size; member in struct:buffer
16 return simple_read_from_buffer(buf, count, ppos, b->data, b->size);
41 size_t size; local
48 for (; tag->hdr.size; tag = tag_next(tag))
52 size = (char *)tag - atags_copy + sizeof(struct tag_header);
56 b = kmalloc(sizeof(*b) + size, GFP_KERNEL);
60 b->size = size;
61 memcpy(b->data, atags_copy, size);
/arch/powerpc/boot/
H A Dsimpleboot.c33 int node, size, i; local
39 /* Find the #address-cells and #size-cells properties */
43 na = fdt_getprop(_dtb_start, node, "#address-cells", &size);
44 if (!na || (size != 4))
46 ns = fdt_getprop(_dtb_start, node, "#size-cells", &size);
47 if (!ns || (size != 4))
48 fatal("Cannot find #size-cells property");
55 reg = fdt_getprop(_dtb_start, node, "reg", &size);
56 if (size < (*n
[all...]
/arch/xtensa/kernel/
H A Dpci-dma.c34 dma_alloc_coherent(struct device *dev,size_t size,dma_addr_t *handle,gfp_t flag) argument
45 ret = (unsigned long)__get_free_pages(flag, get_order(size));
57 memset((void*) ret, 0, size);
60 __flush_invalidate_dcache_range(ret, size);
67 void dma_free_coherent(struct device *hwdev, size_t size, argument
76 free_pages(addr, get_order(size));
81 void consistent_sync(void *vaddr, size_t size, int direction) argument
88 (unsigned long)size);
94 (unsigned long)size);
/arch/mn10300/include/asm/
H A Dcacheflush.h26 extern void mn10300_local_icache_inv_range2(unsigned long start, unsigned long size);
30 extern void mn10300_local_dcache_inv_range2(unsigned long start, unsigned long size);
34 extern void mn10300_icache_inv_range2(unsigned long start, unsigned long size);
38 extern void mn10300_dcache_inv_range2(unsigned long start, unsigned long size);
43 extern void mn10300_local_dcache_flush_range2(unsigned long start, unsigned long size);
47 extern void mn10300_local_dcache_flush_inv_range2(unsigned long start, unsigned long size);
51 extern void mn10300_dcache_flush_range2(unsigned long start, unsigned long size);
55 extern void mn10300_dcache_flush_inv_range2(unsigned long start, unsigned long size);
60 #define mn10300_local_dcache_flush_range2(start, size) do {} while (0)
67 #define mn10300_local_dcache_flush_inv_range2(start, size) \
[all...]
/arch/sparc/lib/
H A Dbitext.c8 * by align size, should provide fast enough search while maintaining low
46 if (align < 0 || align >= t->size)
48 if (len <= 0 || len > t->size)
59 off_new = find_next_zero_bit(t->map, t->size, offset);
63 if (offset >= t->size)
65 if (count + len > t->size) {
68 "bitmap out: size %d used %d off %d len %d align %d count %d\n",
69 t->size, t->used, offset, len, align, count);
73 if (offset + len > t->size) {
74 count += t->size
120 bit_map_init(struct bit_map *t, unsigned long *map, int size) argument
[all...]
/arch/arm64/mm/
H A Dioremap.c32 static void __iomem *__ioremap_caller(phys_addr_t phys_addr, size_t size, argument
42 * Page align the mapping address and size, taking account of any
46 size = PAGE_ALIGN(size + offset);
49 * Don't allow wraparound, zero size or outside PHYS_MASK.
51 last_addr = phys_addr + size - 1;
52 if (!size || last_addr < phys_addr || (last_addr & ~PHYS_MASK))
61 area = get_vm_area_caller(size, VM_IOREMAP, caller);
66 err = ioremap_page_range(addr, addr + size, phys_addr, prot);
75 void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_ argument
95 ioremap_cache(phys_addr_t phys_addr, size_t size) argument
[all...]

Completed in 1055 milliseconds

1234567891011>>