/kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_mux_codec.c | 14 size_t size) in ipc_mux_tq_cmd_send() 233 __le16 cmd_len, int size) in ipc_mux_dl_cmds_decode_process() 256 if (cmd_len == cpu_to_le16(size)) in ipc_mux_dl_cmds_decode_process() 287 if (cmd_len == cpu_to_le16(size)) in ipc_mux_dl_cmds_decode_process() 319 int size; in ipc_mux_dl_cmd_decode() local 327 size = offsetof(struct mux_lite_cmdh, param) + in ipc_mux_dl_cmd_decode() 332 cmdh->cmd_len, size)) { in ipc_mux_dl_cmd_decode() 337 size_t size = 0; in ipc_mux_dl_cmd_decode() local 346 size = sizeof(u32); in ipc_mux_dl_cmd_decode() 356 mux_cmd, size, fals in ipc_mux_dl_cmd_decode() 13 ipc_mux_tq_cmd_send(struct iosm_imem *ipc_imem, int arg, void *msg, size_t size) ipc_mux_tq_cmd_send() argument 230 ipc_mux_dl_cmds_decode_process(struct iosm_mux *ipc_mux, union mux_cmd_param *param, __le32 command_type, u8 if_id, __le16 cmd_len, int size) ipc_mux_dl_cmds_decode_process() argument 487 ipc_mux_dl_acbcmd_decode(struct iosm_mux *ipc_mux, struct mux_cmdh *cmdh, int size) ipc_mux_dl_acbcmd_decode() argument 524 int size; ipc_mux_dl_acb_decode() local 1481 ipc_mux_tq_ul_trigger_encode(struct iosm_imem *ipc_imem, int arg, void *msg, size_t size) ipc_mux_tq_ul_trigger_encode() argument [all...] |
/kernel/linux/linux-6.6/drivers/hv/ |
H A D | hv_balloon.c | 157 * size: Size of the message in bytes; including the header. 163 __u16 size; member 251 * page_file_size: The accumulated size of all page files 408 * info_size: size of the information blob. 708 unsigned long start_pfn, unsigned long size) in hv_bring_pgs_online() 712 pr_debug("Online %lu pages starting at pfn 0x%lx\n", size, start_pfn); in hv_bring_pgs_online() 713 for (i = 0; i < size; i++) in hv_bring_pgs_online() 717 static void hv_mem_hot_add(unsigned long start, unsigned long size, in hv_mem_hot_add() argument 727 for (i = 0; i < (size/HA_CHUNK); i++) { in hv_mem_hot_add() 862 unsigned long size; in handle_pg_range() local 707 hv_bring_pgs_online(struct hv_hotadd_state *has, unsigned long start_pfn, unsigned long size) hv_bring_pgs_online() argument [all...] |
/kernel/linux/linux-6.6/net/iucv/ |
H A D | iucv.c | 1056 * @size: length of data buffer 1065 size_t size, size_t *residual) in iucv_message_receive_iprmdata() 1076 *residual = abs(size - 8); in iucv_message_receive_iprmdata() 1080 size = (size < 8) ? size : 8; in iucv_message_receive_iprmdata() 1081 for (array = buffer; size > 0; array++) { in iucv_message_receive_iprmdata() 1082 copy = min_t(size_t, size, array->length); in iucv_message_receive_iprmdata() 1086 size -= copy; in iucv_message_receive_iprmdata() 1090 memcpy(buffer, rmmsg, min_t(size_t, size, in iucv_message_receive_iprmdata() 1062 iucv_message_receive_iprmdata(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *buffer, size_t size, size_t *residual) iucv_message_receive_iprmdata() argument 1112 __iucv_message_receive(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *buffer, size_t size, size_t *residual) __iucv_message_receive() argument 1160 iucv_message_receive(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *buffer, size_t size, size_t *residual) iucv_message_receive() argument 1224 iucv_message_reply(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *reply, size_t size) iucv_message_reply() argument 1275 __iucv_message_send(struct iucv_path *path, struct iucv_message *msg, u8 flags, u32 srccls, void *buffer, size_t size) __iucv_message_send() argument 1329 iucv_message_send(struct iucv_path *path, struct iucv_message *msg, u8 flags, u32 srccls, void *buffer, size_t size) iucv_message_send() argument 1361 iucv_message_send2way(struct iucv_path *path, struct iucv_message *msg, u8 flags, u32 srccls, void *buffer, size_t size, void *answer, size_t asize, size_t *residual) iucv_message_send2way() argument [all...] |
/kernel/linux/linux-5.10/drivers/dma-buf/heaps/ |
H A D | cma_heap.c | 51 size_t size = PAGE_ALIGN(len); in cma_heap_allocate() local 52 unsigned long nr_pages = size >> PAGE_SHIFT; in cma_heap_allocate() 53 unsigned long align = get_order(size); in cma_heap_allocate() 67 helper_buffer->size = len; in cma_heap_allocate() 93 memset(page_address(cma_pages), 0, size); in cma_heap_allocate() local
|
/kernel/linux/common_modules/tzdriver/core/ |
H A D | tz_update_crl.c | 55 mb_pack->operation.params[0].memref.size = crl_len;
in send_crl_to_tee() 96 if (context.size > DEVICE_CRL_MAX) {
in tc_ns_update_ta_crl() 97 tloge("crl size is too long\n");
in tc_ns_update_ta_crl() 101 crl_buffer = kmalloc(context.size, GFP_KERNEL);
in tc_ns_update_ta_crl() 109 if (copy_from_user(crl_buffer, buffer_addr, context.size) != 0) {
in tc_ns_update_ta_crl() 114 ret = send_crl_to_tee(crl_buffer, context.size, dev_file);
in tc_ns_update_ta_crl() 185 tloge("alloc crl file buffer(size=%u) failed\n", crl_len);
in tz_update_crl() 192 tloge("read crl file failed, read size/total size=%u/%u\n", read_size, crl_len);
in tz_update_crl()
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
H A D | io.h | 95 extern u64 kern_mem_attribute (unsigned long phys_addr, unsigned long size); 258 extern void __iomem * ioremap(unsigned long offset, unsigned long size); 259 extern void __iomem * ioremap_uc(unsigned long offset, unsigned long size); 261 static inline void __iomem * ioremap_cache (unsigned long phys_addr, unsigned long size) in ioremap_cache() argument 263 return ioremap(phys_addr, size); in ioremap_cache()
|
/kernel/linux/linux-5.10/arch/arm/mach-orion5x/ |
H A D | wrt350n-v2-setup.c | 137 .size = 0x00760000, 141 .size = 0x005c0000, 145 .size = 0x00040000, 149 .size = 0x00020000, 153 .size = 0x00040000,
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
H A D | uaccess.h | 49 #define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs() -size)) 51 #define access_ok(addr, size) \ 52 __range_ok((unsigned long)addr, (unsigned long)size) 55 * size if we just have the right pointer type. Note that the functions
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
H A D | coredump.c | 32 sz = spufs_coredump_read[i].size; in spufs_ctx_note_size() 88 int size = 0, rc, fd; in spufs_coredump_extra_notes_size() local 105 size += rc; in spufs_coredump_extra_notes_size() 112 return size; in spufs_coredump_extra_notes_size() 118 size_t sz = spufs_coredump_read[i].size; in spufs_arch_write_note()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | relocate_kernel.S | 155 .size kexec_args,PTRSIZE*4 169 .size secondary_kexec_args,PTRSIZE*4 178 .size kexec_start_address, PTRSIZE 183 .size kexec_indirection_page, PTRSIZE 190 .size relocate_new_kernel_size, PTRSIZE
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | sc-mips.c | 27 static void mips_sc_wback_inv(unsigned long addr, unsigned long size) in mips_sc_wback_inv() argument 29 blast_scache_range(addr, addr + size); in mips_sc_wback_inv() 35 static void mips_sc_inv(unsigned long addr, unsigned long size) in mips_sc_inv() argument 41 cache_op(Hit_Writeback_Inv_SD, (addr + size - 1) & almask); in mips_sc_inv() 42 blast_inv_scache_range(addr, addr + size); in mips_sc_inv()
|
/kernel/linux/linux-5.10/arch/arm/mach-davinci/ |
H A D | board-dm355-leopard.c | 37 * swap chips, maybe with a different block size, partitioning may 47 .size = 15 * NAND_BLOCK_SIZE, 53 .size = 1 * NAND_BLOCK_SIZE, 58 .size = SZ_4M, 63 .size = SZ_512M, 68 .size = MTDPART_SIZ_FULL,
|
/kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
H A D | mach-amlm5900.c | 55 .size = 0x240000, 60 .size = 0x100000, 64 .size = 0x300000, 68 .size = 0x9A0000, 72 .size = MTDPART_SIZ_FULL,
|
/kernel/linux/linux-5.10/arch/arm/mach-cns3xxx/ |
H A D | cns3420vb.c | 42 .size = 0x00040000, 47 .size = 0x004C0000, 51 .size = 0x7000000, 55 .size = 0x0AE0000, 59 .size = MTDPART_SIZ_FULL,
|
/kernel/linux/linux-5.10/arch/x86/platform/olpc/ |
H A D | olpc_dt.c | 124 void * __init prom_early_alloc(unsigned long size) in prom_early_alloc() argument 130 if (free_mem < size) { in prom_early_alloc() 131 const size_t chunk_size = max(PAGE_SIZE, size); in prom_early_alloc() 151 free_mem -= size; in prom_early_alloc() 153 mem += size; in prom_early_alloc()
|
/kernel/linux/linux-5.10/drivers/char/xilinx_hwicap/ |
H A D | buffer_icap.c | 122 * buffer_icap_set_size - Set the size register. 124 * @data: The size in bytes. 126 * The size register holds the number of 8 bit bytes to transfer between 265 * @size: the size of the partial bitstream in 32 bit words. 268 u32 size) in buffer_icap_set_configuration() 277 for (i = 0, buffer_count = 0; i < size; i++) { in buffer_icap_set_configuration() 322 * @size: the size of the partial bitstream in 32 bit words. 325 u32 size) in buffer_icap_get_configuration() 267 buffer_icap_set_configuration(struct hwicap_drvdata *drvdata, u32 *data, u32 size) buffer_icap_set_configuration() argument 324 buffer_icap_get_configuration(struct hwicap_drvdata *drvdata, u32 *data, u32 size) buffer_icap_get_configuration() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_hmc.h | 22 u64 size; /* size in bytes of one object */ member 159 (hmc_info)->hmc_obj[(type)].size * (index); \ 160 fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\ 183 (hmc_info)->hmc_obj[(type)].size * (idx); \ 184 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); \
|
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | relocate_kernel.S | 153 .size kexec_args,PTRSIZE*4 166 .size secondary_kexec_args,PTRSIZE*4 174 .size kexec_start_address, PTRSIZE 178 .size kexec_indirection_page, PTRSIZE 184 .size relocate_new_kernel_size, PTRSIZE
|
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | relocate.c | 71 const void *area, size_t size) in rotate_xor() 77 if (size < diff + sizeof(hash)) in rotate_xor() 80 size = ALIGN_DOWN(size - diff, sizeof(hash)); in rotate_xor() 82 for (i = 0; i < size / sizeof(hash); i++) { in rotate_xor() 70 rotate_xor(unsigned long hash, const void *area, size_t size) rotate_xor() argument
|
/kernel/linux/linux-6.6/arch/arm64/mm/ |
H A D | fixmap.c | 131 void *__init fixmap_remap_fdt(phys_addr_t dt_phys, int *size, pgprot_t prot) in fixmap_remap_fdt() argument 141 * at least 8 bytes so that we can always access the magic and size in fixmap_remap_fdt() 153 /* map the first chunk so we can read the size from the header */ in fixmap_remap_fdt() 159 *size = fdt_totalsize(dt_virt); in fixmap_remap_fdt() 160 if (*size > MAX_FDT_SIZE) in fixmap_remap_fdt() 163 if (offset + *size > PAGE_SIZE) { in fixmap_remap_fdt() 165 offset + *size, prot); in fixmap_remap_fdt()
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | mlock-random-test.c | 23 #define PAGE_ALIGN(size, ps) (((size) + ((ps) - 1)) & ~((ps) - 1)) 83 * Otherwise the page size(in bytes) is returned. 90 size_t size; in get_proc_page_size() local 98 while (getline(&line, &size, smaps) > 0) { in get_proc_page_size() 102 size = 0; in get_proc_page_size() 130 * The memory region size alloc_size is within the rlimit. 207 * The memory region size alloc_size is above the rlimit.
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/ |
H A D | coredump.c | 32 sz = spufs_coredump_read[i].size; in spufs_ctx_note_size() 88 int size = 0, rc, fd; in spufs_coredump_extra_notes_size() local 105 size += rc; in spufs_coredump_extra_notes_size() 112 return size; in spufs_coredump_extra_notes_size() 118 size_t sz = spufs_coredump_read[i].size; in spufs_arch_write_note()
|
/kernel/linux/linux-6.6/arch/powerpc/mm/ |
H A D | pgtable_32.c | 51 static void __init *early_alloc_pgtable(unsigned long size) in early_alloc_pgtable() argument 53 void *ptr = memblock_alloc(size, size); in early_alloc_pgtable() 57 __func__, size, size); in early_alloc_pgtable()
|
/kernel/linux/linux-6.6/arch/mips/mm/ |
H A D | sc-mips.c | 27 static void mips_sc_wback_inv(unsigned long addr, unsigned long size) in mips_sc_wback_inv() argument 29 blast_scache_range(addr, addr + size); in mips_sc_wback_inv() 35 static void mips_sc_inv(unsigned long addr, unsigned long size) in mips_sc_inv() argument 41 cache_op(Hit_Writeback_Inv_SD, (addr + size - 1) & almask); in mips_sc_inv() 42 blast_inv_scache_range(addr, addr + size); in mips_sc_inv()
|
/kernel/linux/linux-6.6/arch/riscv/include/asm/ |
H A D | sbi.h | 279 unsigned long size, 283 unsigned long size); 286 unsigned long size, 290 unsigned long size); 293 unsigned long size,
|