/linux-master/fs/hfsplus/ |
H A D | xattr_trusted.c | 17 const char *name, void *buffer, size_t size) 19 return hfsplus_getxattr(inode, name, buffer, size, 28 size_t size, int flags) 30 return hfsplus_setxattr(inode, name, buffer, size, flags, 15 hfsplus_trusted_getxattr(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument 24 hfsplus_trusted_setxattr(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument
|
H A D | xattr_user.c | 17 const char *name, void *buffer, size_t size) 20 return hfsplus_getxattr(inode, name, buffer, size, 28 size_t size, int flags) 30 return hfsplus_setxattr(inode, name, buffer, size, flags, 15 hfsplus_user_getxattr(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument 24 hfsplus_user_setxattr(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument
|
/linux-master/kernel/module/ |
H A D | livepatch.c | 20 unsigned int size, symndx; local 23 size = sizeof(*mod->klp_info); 24 mod->klp_info = kmalloc(size, GFP_KERNEL); 29 size = sizeof(mod->klp_info->hdr); 30 memcpy(&mod->klp_info->hdr, info->hdr, size); 33 size = sizeof(*info->sechdrs) * info->hdr->e_shnum; 34 mod->klp_info->sechdrs = kmemdup(info->sechdrs, size, GFP_KERNEL); 41 size = info->sechdrs[info->hdr->e_shstrndx].sh_size; 42 mod->klp_info->secstrings = kmemdup(info->secstrings, size, GFP_KERNEL);
|
/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 | 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/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/lib/ |
H A D | find_bit.c | 12 * size and improve performance, 2015. 26 * @size: The bitmap size in bits 28 #define FIND_FIRST_BIT(FETCH, MUNGE, size) \ 30 unsigned long idx, val, sz = (size); \ 47 * @size: The bitmap size in bits 50 #define FIND_NEXT_BIT(FETCH, MUNGE, size, start) \ 52 unsigned long mask, idx, tmp, sz = (size), __start = (start); \ 71 #define FIND_NTH_BIT(FETCH, size, nu 99 _find_first_bit(const unsigned long *addr, unsigned long size) argument 110 _find_first_and_bit(const unsigned long *addr1, const unsigned long *addr2, unsigned long size) argument 123 _find_first_zero_bit(const unsigned long *addr, unsigned long size) argument 138 __find_nth_bit(const unsigned long *addr, unsigned long size, unsigned long n) argument 144 __find_nth_and_bit(const unsigned long *addr1, const unsigned long *addr2, unsigned long size, unsigned long n) argument 151 __find_nth_andnot_bit(const unsigned long *addr1, const unsigned long *addr2, unsigned long size, unsigned long n) argument 158 __find_nth_and_andnot_bit(const unsigned long *addr1, const unsigned long *addr2, const unsigned long *addr3, unsigned long size, unsigned long n) argument 204 _find_last_bit(const unsigned long *addr, unsigned long size) argument 223 find_next_clump8(unsigned long *clump, const unsigned long *addr, unsigned long size, unsigned long offset) argument 243 _find_first_zero_bit_le(const unsigned long *addr, unsigned long size) argument 252 _find_next_zero_bit_le(const unsigned long *addr, unsigned long size, unsigned long offset) argument 261 _find_next_bit_le(const unsigned long *addr, unsigned long size, unsigned long offset) argument [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...] |