Home
last modified time | relevance | path

Searched refs:size (Results 5576 - 5600 of 40656) sorted by relevance

1...<<221222223224225226227228229230>>...1627

/kernel/linux/linux-5.10/drivers/block/zram/zram_group/
H A Dzram_group.h75 void zgrp_obj_stats_inc(struct zram_group *zgrp, u16 gid, u32 size);
76 void zgrp_obj_stats_dec(struct zram_group *zgrp, u16 gid, u32 size);
77 void zgrp_fault_stats_inc(struct zram_group *zgrp, u16 gid, u32 size);
94 void wbgrp_obj_stats_inc(struct zram_group *zgrp, u16 gid, u32 eid, u32 size);
95 void wbgrp_obj_stats_dec(struct zram_group *zgrp, u16 gid, u32 eid, u32 size);
96 void wbgrp_fault_stats_inc(struct zram_group *zgrp, u16 gid, u32 eid, u32 size);
/kernel/linux/linux-5.10/drivers/mtd/maps/
H A Drbtx4939-flash.c51 unsigned long size; in rbtx4939_flash_probe() local
67 size = resource_size(res); in rbtx4939_flash_probe()
70 if (!devm_request_mem_region(&dev->dev, res->start, size, in rbtx4939_flash_probe()
76 info->map.size = size; in rbtx4939_flash_probe()
79 info->map.virt = devm_ioremap(&dev->dev, info->map.phys, size); in rbtx4939_flash_probe()
H A Dimpa7.c34 .size = WINDOW_SIZE0,
39 .size = WINDOW_SIZE1,
51 .size = 0x800000,
60 static struct { u_long addr; u_long size; } pt[NUM_FLASHBANKS] = { in init_impa7() member
69 pt[i].size, pt[i].addr); in init_impa7()
72 impa7_map[i].virt = ioremap(pt[i].addr, pt[i].size); in init_impa7()
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/
H A Dgeneric.c37 unsigned long size = resource_size(res); in generic_onenand_probe() local
44 if (!request_mem_region(res->start, size, dev_name(&pdev->dev))) { in generic_onenand_probe()
49 info->onenand.base = ioremap(res->start, size); in generic_onenand_probe()
81 release_mem_region(res->start, size); in generic_onenand_probe()
92 unsigned long size = resource_size(res); in generic_onenand_remove() local
96 release_mem_region(res->start, size); in generic_onenand_remove()
/kernel/linux/linux-5.10/drivers/mtd/tests/
H A Dmtd_test.c79 int mtdtest_read(struct mtd_info *mtd, loff_t addr, size_t size, void *buf) in mtdtest_read() argument
84 err = mtd_read(mtd, addr, size, &read, buf); in mtdtest_read()
88 if (!err && read != size) in mtdtest_read()
96 int mtdtest_write(struct mtd_info *mtd, loff_t addr, size_t size, in mtdtest_write() argument
102 err = mtd_write(mtd, addr, size, &written, buf); in mtdtest_write()
103 if (!err && written != size) in mtdtest_write()
/kernel/linux/linux-5.10/drivers/mtd/ubi/
H A Dmisc.c33 /* The resulting length must be aligned to the minimum flash I/O size */ in ubi_calc_data_len()
62 int size; in ubi_check_volume() local
67 size = vol->last_eb_bytes; in ubi_check_volume()
69 size = vol->usable_leb_size; in ubi_check_volume()
71 err = ubi_eba_read_leb(ubi, vol, i, buf, 0, size, 1); in ubi_check_volume()
129 * @size: buffer size in bytes
134 int ubi_check_pattern(const void *buf, uint8_t patt, int size) in ubi_check_pattern() argument
138 for (i = 0; i < size; i++) in ubi_check_pattern()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_trace.h18 TP_PROTO(const struct pci_dev *pdev, u16 id, u64 size),
19 TP_ARGS(pdev, id, size),
22 __field(u64, size)
26 __entry->size = size;
28 TP_printk("[%s] msg:(0x%x) size:%lld\n", __get_str(dev),
29 __entry->id, __entry->size)
43 TP_printk("[%s] sent %d msg(s) of size:%lld\n", __get_str(dev),
/kernel/linux/linux-6.6/arch/mips/bcm63xx/
H A Dcs.c32 * Configure chipselect base address and size (bytes).
35 int bcm63xx_set_cs_base(unsigned int cs, u32 base, unsigned int size) in bcm63xx_set_cs_base() argument
43 /* sanity check on size */ in bcm63xx_set_cs_base()
44 if (size != roundup_pow_of_two(size)) in bcm63xx_set_cs_base()
47 if (size < 8 * 1024 || size > 256 * 1024 * 1024) in bcm63xx_set_cs_base()
52 val |= (ilog2(size) - ilog2(8 * 1024)) << MPI_CSBASE_SIZE_SHIFT; in bcm63xx_set_cs_base()
92 * configure other chipselect parameter (data bus size, ...)
/kernel/linux/linux-6.6/arch/mips/fw/arc/
H A Dmemory.c143 unsigned long base, size; in prom_meminit() local
147 size = p->pages << ARC_PAGE_SHIFT; in prom_meminit()
154 memblock_add(base, size); in prom_meminit()
157 memblock_reserve(base, size); in prom_meminit()
160 memblock_reserve(base, size); in prom_meminit()
166 prom_mem_size[nr_prom_mem] = size; in prom_meminit()
/kernel/linux/linux-5.10/tools/virtio/ringtest/
H A Dmain.h150 void __read_once_size(const volatile void *p, void *res, int size) in __read_once_size() argument
152 switch (size) { \ in __read_once_size()
159 __builtin_memcpy((void *)res, (const void *)p, size); \ in __read_once_size()
164 static __always_inline void __write_once_size(volatile void *p, void *res, int size) in __write_once_size() argument
166 switch (size) { in __write_once_size()
173 __builtin_memcpy((void *)p, (const void *)res, size); in __write_once_size()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dhwtstamp_config.c20 lookup_value(const char **names, int size, const char *name) in lookup_value() argument
24 for (value = 0; value < size; value++) in lookup_value()
32 lookup_name(const char **names, int size, int value) in lookup_name() argument
34 return (value >= 0 && value < size) ? names[value] : NULL; in lookup_name()
37 static void list_names(FILE *f, const char **names, int size) in list_names() argument
41 for (value = 0; value < size; value++) in list_names()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dmodule.c93 __module_alloc(unsigned long size, unsigned long start, unsigned long end, bool nowarn) in __module_alloc() argument
103 return __vmalloc_node_range(size, 1, start, end, gfp, prot, in __module_alloc()
108 void *module_alloc(unsigned long size) in module_alloc() argument
118 ptr = __module_alloc(size, limit, MODULES_END, true); in module_alloc()
121 ptr = __module_alloc(size, MODULES_VADDR, MODULES_END, false); in module_alloc()
125 return __module_alloc(size, VMALLOC_START, VMALLOC_END, false); in module_alloc()
/kernel/linux/linux-6.6/arch/s390/boot/
H A Dipl_report.c33 size_t size; in get_cert_comp_list_size() local
47 bool ipl_report_certs_intersects(unsigned long addr, unsigned long size, in ipl_report_certs_intersects() argument
56 if (intersects(addr, size, cert->addr, cert->len)) { in ipl_report_certs_intersects()
152 unsigned long size; in save_ipl_cert_comp_list() local
157 size = get_cert_comp_list_size(); in save_ipl_cert_comp_list()
158 early_ipl_comp_list_addr = physmem_alloc_top_down(RR_CERT_COMP_LIST, size, sizeof(int)); in save_ipl_cert_comp_list()
/kernel/linux/linux-6.6/arch/sh/mm/
H A Dflush-sh4.c14 static void sh4__flush_wback_region(void *start, int size) in sh4__flush_wback_region() argument
20 end = (aligned_start + size + L1_CACHE_BYTES-1) in sh4__flush_wback_region()
48 static void sh4__flush_purge_region(void *start, int size) in sh4__flush_purge_region() argument
54 end = (aligned_start + size + L1_CACHE_BYTES-1) in sh4__flush_purge_region()
78 static void sh4__flush_invalidate_region(void *start, int size) in sh4__flush_invalidate_region() argument
84 end = (aligned_start + size + L1_CACHE_BYTES-1) in sh4__flush_invalidate_region()
H A Dtlbflush_32.c47 int size; in local_flush_tlb_range() local
50 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in local_flush_tlb_range()
51 if (size > (MMU_NTLB_ENTRIES/4)) { /* Too many TLB to flush */ in local_flush_tlb_range()
82 int size; in local_flush_tlb_kernel_range() local
85 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in local_flush_tlb_kernel_range()
86 if (size > (MMU_NTLB_ENTRIES/4)) { /* Too many TLB to flush */ in local_flush_tlb_kernel_range()
/kernel/linux/linux-6.6/arch/sparc/lib/
H A Dmcount.S69 .size _mcount,.-_mcount
70 .size mcount,.-mcount
78 .size ftrace_stub,.-ftrace_stub
102 .size ftrace_graph_call,.-ftrace_graph_call
104 .size ftrace_call,.-ftrace_call
105 .size ftrace_caller,.-ftrace_caller
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-roccat-common.h26 void *data, uint size);
28 void const *data, uint size);
30 uint command, void const *buf, uint size);
73 .size = SIZE, \
82 .size = SIZE, \
90 .size = SIZE, \
H A Dhid-vivaldi.c30 ssize_t size = 0; in function_row_physmap_show() local
37 size += sprintf(buf + size, "%02X ", in function_row_physmap_show()
39 size += sprintf(buf + size, "\n"); in function_row_physmap_show()
40 return size; in function_row_physmap_show()
104 * Note that hid_alloc_report_buf() adds 7 bytes to the size in vivaldi_feature_mapping()
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/
H A Ddma-if.c91 * @size: Size of memory to get
93 * Find and return free address of "size" bytes in dma tx buffer.
99 uint32_t size) in ishtp_cl_get_dma_send_buf()
104 int required_slots = (size / DMA_SLOT_SIZE) in ishtp_cl_get_dma_send_buf()
105 + 1 * (size % DMA_SLOT_SIZE != 0); in ishtp_cl_get_dma_send_buf()
139 * @size: Size of memory to get
142 * (from msg_addr, size bytes long)
146 uint8_t size) in ishtp_cl_release_dma_acked_mem()
149 int acked_slots = (size / DMA_SLOT_SIZE) in ishtp_cl_release_dma_acked_mem()
150 + 1 * (size in ishtp_cl_release_dma_acked_mem()
98 ishtp_cl_get_dma_send_buf(struct ishtp_device *dev, uint32_t size) ishtp_cl_get_dma_send_buf() argument
144 ishtp_cl_release_dma_acked_mem(struct ishtp_device *dev, void *msg_addr, uint8_t size) ishtp_cl_release_dma_acked_mem() argument
[all...]
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dsysfs.h21 const char *buf, size_t size) \
38 ret = __ ## fn ## _store(kobj, attr, buf, size); \
79 return strtoul_safe(buf, var) ?: (ssize_t) size; \
88 return size; \
100 return size; \
125 return strtoi_h(buf, &var) ?: (ssize_t) size; \
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_scdc_helper.c46 * @size: size of the block to read
54 size_t size) in drm_scdc_read()
66 .len = size, in drm_scdc_read()
86 * @size: size of the block to write
94 const void *buffer, size_t size) in drm_scdc_write()
99 .len = 1 + size, in drm_scdc_write()
105 data = kmalloc(1 + size, GFP_KERNEL); in drm_scdc_write()
112 memcpy(data + 1, buffer, size); in drm_scdc_write()
53 drm_scdc_read(struct i2c_adapter *adapter, u8 offset, void *buffer, size_t size) drm_scdc_read() argument
93 drm_scdc_write(struct i2c_adapter *adapter, u8 offset, const void *buffer, size_t size) drm_scdc_write() argument
[all...]
/kernel/linux/linux-5.10/drivers/misc/sgi-xp/
H A Dxp_uv.c91 xp_expand_memprotect_uv(unsigned long phys_addr, unsigned long size) in xp_expand_memprotect_uv() argument
96 ret = uv_bios_change_memprotect(phys_addr, size, UV_MEMPROT_ALLOW_RW); in xp_expand_memprotect_uv()
106 ret = sn_change_memprotect(phys_addr, size, SN_MEMPROT_ACCESS_CLASS_1, in xp_expand_memprotect_uv()
120 xp_restrict_memprotect_uv(unsigned long phys_addr, unsigned long size) in xp_restrict_memprotect_uv() argument
125 ret = uv_bios_change_memprotect(phys_addr, size, in xp_restrict_memprotect_uv()
136 ret = sn_change_memprotect(phys_addr, size, SN_MEMPROT_ACCESS_CLASS_0, in xp_restrict_memprotect_uv()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Defivar.c54 /* largest EFI data size we expect */
58 * Read the named EFI variable. Return the size of the actual data in *size
60 * data. It is guaranteed that *return_data will be NULL and *size = 0
65 static int read_efi_var(const char *name, unsigned long *size, in read_efi_var() argument
78 *size = 0; in read_efi_var()
92 /* input: the size of the buffer */ in read_efi_var()
134 *size = temp_size; in read_efi_var()
147 * Return an kalloc'ed array and size of the data.
152 unsigned long *size, voi in read_hfi1_efi_var()
151 read_hfi1_efi_var(struct hfi1_devdata *dd, const char *kind, unsigned long *size, void **return_data) read_hfi1_efi_var() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth-trace.h17 #define TR_BUF_FMT "[%s] vaddr=%p size=%zu dma_addr=%pad map_size=%zu bpid=%d"
34 * name, type and size for arrays. Use __string for variable
96 /* virtual address and size */
98 size_t size,
99 /* dma map address and size */
106 TP_ARGS(netdev, vaddr, size, dma_addr, map_size, bpid),
110 * name, type and size for arrays. Use __string for variable
115 __field(size_t, size)
127 __entry->size = size;
[all...]
/kernel/linux/linux-5.10/drivers/nubus/
H A Dproc.c82 * an instance of the following structure, which gives the location and size
84 * small integer, this integer value is stored directly and size is set to 0.
94 nubus_proc_alloc_pde_data(unsigned char *ptr, unsigned int size) in nubus_proc_alloc_pde_data() argument
103 pde_data->res_size = size; in nubus_proc_alloc_pde_data()
116 if (pde_data->res_size > m->size) in nubus_proc_rsrc_show()
154 unsigned int size) in nubus_proc_add_rsrc_mem()
163 if (size) in nubus_proc_add_rsrc_mem()
164 pde_data = nubus_proc_alloc_pde_data(nubus_dirptr(ent), size); in nubus_proc_add_rsrc_mem()
152 nubus_proc_add_rsrc_mem(struct proc_dir_entry *procdir, const struct nubus_dirent *ent, unsigned int size) nubus_proc_add_rsrc_mem() argument

Completed in 19 milliseconds

1...<<221222223224225226227228229230>>...1627