/linux-master/include/linux/ |
H A D | aperture.h | 14 resource_size_t size); 16 int aperture_remove_conflicting_devices(resource_size_t base, resource_size_t size, 25 resource_size_t size) 30 static inline int aperture_remove_conflicting_devices(resource_size_t base, resource_size_t size, argument 23 devm_aperture_acquire_for_platform_device(struct platform_device *pdev, resource_size_t base, resource_size_t size) argument
|
H A D | syscall_user_dispatch.h | 19 int syscall_user_dispatch_get_config(struct task_struct *task, unsigned long size, 22 int syscall_user_dispatch_set_config(struct task_struct *task, unsigned long size, 38 unsigned long size, void __user *data) 44 unsigned long size, void __user *data) 37 syscall_user_dispatch_get_config(struct task_struct *task, unsigned long size, void __user *data) argument 43 syscall_user_dispatch_set_config(struct task_struct *task, unsigned long size, void __user *data) argument
|
H A D | seq_buf.h | 18 * @size: size of the buffer 23 size_t size; member in struct:seq_buf 30 .size = SIZE, \ 36 if (s->size) 41 seq_buf_init(struct seq_buf *s, char *buf, unsigned int size) argument 44 s->size = size; 50 * len is set to be greater than size. 55 return s->len > s->size; [all...] |
/linux-master/tools/perf/trace/beauty/ |
H A D | arch_prctl.c | 25 static size_t x86_arch_prctl__scnprintf_code(int option, char *bf, size_t size, bool show_prefix) argument 27 return strarrays__scnprintf(&strarrays__x86_arch_prctl_codes, bf, size, "%#x", show_prefix, option); 30 size_t syscall_arg__scnprintf_x86_arch_prctl_code(char *bf, size_t size, struct syscall_arg *arg) argument 34 return x86_arch_prctl__scnprintf_code(code, bf, size, arg->show_string_prefix);
|
H A D | fs_at_flags.c | 24 static size_t fs_at__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument 26 return strarray__scnprintf_flags(&strarray__fs_at_flags, bf, size, show_prefix, flags); 29 size_t syscall_arg__scnprintf_fs_at_flags(char *bf, size_t size, struct syscall_arg *arg) argument 34 return fs_at__scnprintf_flags(flags, bf, size, show_prefix); 37 static size_t faccessat2__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument 45 printed += scnprintf(bf + printed, size - printed, "%sEACCESS%s", 49 return strarray__scnprintf_flags(&strarray__fs_at_flags, bf + printed, size - printed, show_prefix, flags); 52 size_t syscall_arg__scnprintf_faccessat2_flags(char *bf, size_t size, struct syscall_arg *arg) argument 57 return faccessat2__scnprintf_flags(flags, bf, size, show_prefix);
|
H A D | ioctl.c | 21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) argument 42 return scnprintf(bf, size, "%s", strarray__ioctl_tty_cmd.entries[nr]); 44 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'T', nr, dir); 47 static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size) argument 53 return scnprintf(bf, size, "DRM_%s", strarray__drm_ioctl_cmds.entries[nr]); 55 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'd', nr, dir); 58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) argument 64 return scnprintf(bf, size, "SNDRV_PCM_%s", strarray__sndrv_pcm_ioctl_cmds.entries[nr]); 66 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'A', nr, dir); 69 static size_t ioctl__scnprintf_sndrv_ctl_cmd(int nr, int dir, char *bf, size_t size) argument 80 ioctl__scnprintf_kvm_cmd(int nr, int dir, char *bf, size_t size) argument 91 ioctl__scnprintf_vhost_virtio_cmd(int nr, int dir, char *bf, size_t size) argument 104 ioctl__scnprintf_perf_cmd(int nr, int dir, char *bf, size_t size) argument 115 ioctl__scnprintf_usbdevfs_cmd(int nr, int dir, char *bf, size_t size) argument 126 ioctl__scnprintf_cmd(unsigned long cmd, char *bf, size_t size, bool show_prefix) argument 175 syscall_arg__scnprintf_ioctl_cmd(char *bf, size_t size, struct syscall_arg *arg) argument [all...] |
/linux-master/arch/arm64/mm/ |
H A D | ioremap.c | 6 void __iomem *ioremap_prot(phys_addr_t phys_addr, size_t size, argument 9 unsigned long last_addr = phys_addr + size - 1; 19 return generic_ioremap_prot(phys_addr, size, __pgprot(prot)); 31 bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size, argument
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramgp102.c | 16 u64 size = fb->func->vidmem.size(fb); local 19 ret = nvkm_ram_new_(&gp102_ram, fb, type, size, pram); 27 (size - rsvd_head - rsvd_tail) >> NVKM_RAM_MM_SHIFT,
|
/linux-master/kernel/ |
H A D | iomem.c | 9 static void *arch_memremap_wb(resource_size_t offset, unsigned long size) argument 12 return (__force void *)ioremap_cache(offset, size); 14 return (__force void *)ioremap(offset, size); 20 static bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size, argument 27 static void *try_ram_remap(resource_size_t offset, size_t size, argument 34 arch_memremap_can_ram_remap(offset, size, flags)) 43 * @size: size of remap 68 void *memremap(resource_size_t offset, size_t size, unsigned long flags) argument 70 int is_ram = region_intersects(offset, size, 136 devm_memremap(struct device *dev, resource_size_t offset, size_t size, unsigned long flags) argument [all...] |
H A D | stacktrace.c | 40 * @size: Size of the print buffer 47 int stack_trace_snprint(char *buf, size_t size, const unsigned long *entries, argument 55 for (i = 0; i < nr_entries && size; i++) { 56 generated = snprintf(buf, size, "%*c%pS\n", 1 + spaces, ' ', 60 if (generated >= size) { 61 buf += size; 62 size = 0; 65 size -= generated; 77 unsigned int size; member in struct:stacktrace_cookie 86 if (c->len >= c->size) 112 stack_trace_save(unsigned long *store, unsigned int size, unsigned int skipnr) argument 136 stack_trace_save_tsk(struct task_struct *tsk, unsigned long *store, unsigned int size, unsigned int skipnr) argument 165 stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, unsigned int size, unsigned int skipnr) argument 192 stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, unsigned int size) argument 223 stack_trace_save_user(unsigned long *store, unsigned int size) argument 268 stack_trace_save(unsigned long *store, unsigned int size, unsigned int skipnr) argument 291 stack_trace_save_tsk(struct task_struct *task, unsigned long *store, unsigned int size, unsigned int skipnr) argument 316 stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, unsigned int size, unsigned int skipnr) argument 342 stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, unsigned int size) argument 363 stack_trace_save_user(unsigned long *store, unsigned int size) argument [all...] |
/linux-master/mm/ |
H A D | ioremap.c | 15 void __iomem *generic_ioremap_prot(phys_addr_t phys_addr, size_t size, argument 26 /* Disallow wrap-around or zero size */ 27 last_addr = phys_addr + size - 1; 28 if (!size || last_addr < phys_addr) 34 size = PAGE_ALIGN(size + offset); 36 area = __get_vm_area_caller(size, VM_IOREMAP, IOREMAP_START, 43 if (ioremap_page_range(vaddr, vaddr + size, phys_addr, prot)) { 52 void __iomem *ioremap_prot(phys_addr_t phys_addr, size_t size, argument 55 return generic_ioremap_prot(phys_addr, size, __pgpro [all...] |
H A D | early_ioremap.c | 36 unsigned long size, 100 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) argument 119 __func__, &phys_addr, size)) 122 /* Don't allow wraparound or zero size */ 123 last_addr = phys_addr + size - 1; 124 if (WARN_ON(!size || last_addr < phys_addr)) 127 prev_size[slot] = size; 133 size = PAGE_ALIGN(last_addr + 1) - phys_addr; 138 nrpages = size >> PAGE_SHIFT; 156 __func__, &phys_addr, size, slo 35 early_memremap_pgprot_adjust(resource_size_t phys_addr, unsigned long size, pgprot_t prot) argument 162 early_iounmap(void __iomem *addr, unsigned long size) argument 211 early_ioremap(resource_size_t phys_addr, unsigned long size) argument 218 early_memremap(resource_size_t phys_addr, unsigned long size) argument 227 early_memremap_ro(resource_size_t phys_addr, unsigned long size) argument 238 early_memremap_prot(resource_size_t phys_addr, unsigned long size, unsigned long prot_val) argument 248 copy_from_early_mem(void *dest, phys_addr_t src, unsigned long size) argument 270 early_ioremap(resource_size_t phys_addr, unsigned long size) argument 277 early_memremap(resource_size_t phys_addr, unsigned long size) argument 282 early_memremap_ro(resource_size_t phys_addr, unsigned long size) argument 287 early_iounmap(void __iomem *addr, unsigned long size) argument 294 early_memunmap(void *addr, unsigned long size) argument [all...] |
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_alloc.h | 15 u32 size; member in struct:i40e_dma_mem 20 u32 size; member in struct:i40e_virt_mem 26 u64 size, u32 alignment); 31 u32 size);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | efivar.h | 14 unsigned long *size, void **return_data);
|
/linux-master/drivers/mtd/spi-nor/ |
H A D | everspin.c | 14 .size = SZ_16K, 20 .size = SZ_32K, 26 .size = SZ_128K, 31 .size = SZ_512K,
|
/linux-master/arch/arm64/include/asm/stacktrace/ |
H A D | common.h | 47 unsigned long sp, unsigned long size) 52 if (sp < info->low || sp + size < sp || sp + size > info->high) 65 unsigned long size) 70 if (stackinfo_on_stack(info, sp, size)) 84 * @size: the size of the object. 90 unsigned long size) 94 if (stackinfo_on_stack(&state->stack, sp, size)) 97 next = unwind_find_next_stack(state, sp, size); 46 stackinfo_on_stack(const struct stack_info *info, unsigned long sp, unsigned long size) argument 63 unwind_find_next_stack(const struct unwind_state *state, unsigned long sp, unsigned long size) argument 88 unwind_consume_stack(struct unwind_state *state, unsigned long sp, unsigned long size) argument [all...] |
/linux-master/security/apparmor/include/ |
H A D | procattr.h | 15 int aa_setprocattr_changehat(char *args, size_t size, int flags);
|
/linux-master/drivers/misc/vmw_vmci/ |
H A D | vmci_handle_array.c | 28 array->size = 0; 43 if (unlikely(array->size >= array->capacity)) { 51 if (array->size >= array->max_capacity) 62 array->entries[array->size] = handle; 63 array->size++; 77 for (i = 0; i < array->size; i++) { 80 array->size--; 81 array->entries[i] = array->entries[array->size]; 82 array->entries[array->size] = VMCI_INVALID_HANDLE; 97 if (array->size) { [all...] |
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/ |
H A D | trace_marker.tc | 8 sed -ne 's/^.*data.*size:\([0-9][0-9]*\).*/\1/p' events/header_page 43 size=$1 45 str=`make_str $size` 58 size=`get_buffer_data_size` 59 oneline_size=$((size-marker_meta)) 60 echo size = $size 61 echo meta size = $marker_meta 65 str=`write_buffer $size`
|
/linux-master/fs/btrfs/ |
H A D | xattr.h | 18 void *buffer, size_t size); 20 const char *name, const void *value, size_t size, int flags); 22 const void *value, size_t size, int flags); 23 ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
|
/linux-master/sound/soc/sof/ |
H A D | sof-utils.h | 17 unsigned char *page_table, size_t size);
|
/linux-master/arch/um/kernel/ |
H A D | um_arch.h | 6 extern void * __init uml_load_file(const char *filename, unsigned long long *size);
|
/linux-master/scripts/ |
H A D | checkstack.pl | 31 # $1 (first bracket) matches the size of the stack growth 120 my $size = 0; 124 $size = $line_arg =~ tr/,//; 125 $size = ($size + 1) * 4; 128 return $size; 164 my $size = $1; 165 $size = hex($size) if ($size [all...] |
/linux-master/tools/testing/memblock/tests/ |
H A D | alloc_exact_nid_api.c | 24 * has enough memory to allocate a region of the requested size. 33 phys_addr_t size; local 40 ASSERT_LE(SZ_4, req_node->size); 41 size = req_node->size / SZ_4; 45 allocated_ptr = memblock_alloc_exact_nid_raw(size, SMP_CACHE_BYTES, 50 ASSERT_MEM_NE(allocated_ptr, 0, size); 52 ASSERT_EQ(new_rgn->size, size); 53 ASSERT_EQ(new_rgn->base, region_end(req_node) - size); 86 phys_addr_t size; local 146 phys_addr_t size = SZ_512; local 204 phys_addr_t size; local 263 phys_addr_t size = SZ_64; local 302 phys_addr_t size; local 355 phys_addr_t size; local 417 phys_addr_t size = SZ_512; local 475 phys_addr_t size; local 534 phys_addr_t size = SZ_64; local 582 phys_addr_t size; local 623 phys_addr_t size; local 667 phys_addr_t size; local 714 phys_addr_t size = SZ_512; local 757 phys_addr_t size = SZ_64; local 796 phys_addr_t size = MEM_SIZE / SZ_2; local 846 phys_addr_t size = req_node->size; local 917 phys_addr_t size = SZ_256; local [all...] |
/linux-master/drivers/mtd/maps/ |
H A D | scx200_docflash.c | 28 static unsigned size = 0x1000000; /* 16 MiB the whole ISA address space */ variable 34 module_param(size, int, 0); 35 MODULE_PARM_DESC(size, "Size of the flash mapping"); 52 .size = 0xc0000 57 .size = 0x40000 62 .size = ~0 /* calculate from flash size */ 66 .offset = ~0, /* calculate from flash size */ 67 .size = 0x80000 110 size [all...] |