Home
last modified time | relevance | path

Searched refs:size (Results 11976 - 12000 of 57195) sorted by relevance

1...<<471472473474475476477478479480>>...2288

/foundation/distributedhardware/distributed_input/utils/test/unittest/
H A Ddinput_context_test.cpp85 EXPECT_EQ(SIZE_AFTER_GET, DInputContext::GetInstance().sinkScreenInfoMap_.size()); in HWTEST_F()
128 EXPECT_EQ(SIZE_AFTER_GET, DInputContext::GetInstance().srcScreenInfoMap_.size()); in HWTEST_F()
185 EXPECT_NE(0, devInfo.networkId.size()); in HWTEST_F()
191 EXPECT_NE(0, ret.size()); in HWTEST_F()
198 EXPECT_EQ(0, ret.size()); in HWTEST_F()
202 EXPECT_EQ(0, ret.size()); in HWTEST_F()
215 EXPECT_EQ(0, ret.size()); in HWTEST_F()
232 EXPECT_NE(0, ret.size()); in HWTEST_F()
239 EXPECT_EQ(0, ret.size()); in HWTEST_F()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_dfinder_mgt_msg_log.c281 static int32_t UnpackLogToStr(DeviceInfo *dev, char *msg, uint32_t size) in UnpackLogToStr() argument
301 DUMP_MSG_ADD_CHECK(ret, msg, wroteLen, size, "deviceId: %s ", anonyDevId); in UnpackLogToStr()
302 DUMP_MSG_ADD_CHECK(ret, msg, wroteLen, size, "devicename: %s, ", dev->deviceName); in UnpackLogToStr()
303 DUMP_MSG_ADD_CHECK(ret, msg, wroteLen, size, "type: %u, ", dev->deviceType); in UnpackLogToStr()
304 DUMP_MSG_ADD_CHECK(ret, msg, wroteLen, size, "mode: %s, ", GetModeTypeStr(dev->mode)); in UnpackLogToStr()
305 DUMP_MSG_ADD_CHECK(ret, msg, wroteLen, size, in UnpackLogToStr()
307 DUMP_MSG_ADD_CHECK(ret, msg, wroteLen, size, "wlanIp: %s, ", ipStr); in UnpackLogToStr()
308 DUMP_MSG_ADD_CHECK(ret, msg, wroteLen, size, in UnpackLogToStr()
311 DUMP_MSG_ADD_CHECK(ret, msg, wroteLen, size, in UnpackLogToStr()
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
H A Dboard-h2.c95 .size = SZ_128K,
102 .size = SZ_128K,
109 .size = SZ_2M,
116 .size = MTDPART_SIZ_FULL,
152 .size = 64 * 1024,
158 .size = 256 * 1024,
164 .size = 192 * 1024,
169 .size = 2 * SZ_1M,
174 .size = MTDPART_SIZ_FULL,
H A Dboard-h3.c102 .size = SZ_128K,
109 .size = SZ_128K,
116 .size = SZ_2M,
123 .size = MTDPART_SIZ_FULL,
156 .size = 64 * 1024,
162 .size = 256 * 1024,
168 .size = 192 * 1024,
173 .size = 2 * SZ_1M,
178 .size = MTDPART_SIZ_FULL,
/kernel/linux/linux-5.10/arch/arm64/mm/
H A Dinit.c73 * is delayed until DMA zone memory range size initilazation performed in
82 * range for shrinking its size via /sys/kernel/kexec_crash_size interface.
116 pr_warn("cannot allocate crashkernel (size:0x%llx)\n", in reserve_crashkernel()
277 * Limit the memory size that was specified via FDT.
306 usablemem->size = dt_mem_next_cell(dt_root_size_cells, &reg); in early_init_dt_scan_usablemem()
314 .size = 0, in fdt_enforce_memory_region()
319 if (reg.size) in fdt_enforce_memory_region()
320 memblock_cap_memory_range(reg.base, reg.size); in fdt_enforce_memory_region()
330 /* Remove memory above our supported physical address size */ in arm64_memblock_init()
380 u64 size in arm64_memblock_init() local
[all...]
/kernel/linux/linux-5.10/arch/loongarch/loongson64/
H A Dnuma.c63 static void * __init pcpu_fc_alloc(unsigned int cpu, size_t size, in pcpu_fc_alloc() argument
66 return memblock_alloc_try_nid(size, align, __pa(MAX_DMA_ADDRESS), in pcpu_fc_alloc()
70 static void __init pcpu_fc_free(void *ptr, size_t size) in pcpu_fc_free() argument
72 memblock_free_early(__pa(ptr), size); in pcpu_fc_free() local
103 pr_warn("%s allocator failed (%d), falling back to page size\n", in setup_per_cpu_areas()
264 static void __init add_node_intersection(u32 node, u64 start, u64 size, u32 type) in add_node_intersection() argument
268 num_physpages += (size >> PAGE_SHIFT); in add_node_intersection()
270 node, type, start, size); in add_node_intersection()
272 start >> PAGE_SHIFT, (start + size) >> PAGE_SHIFT, num_physpages); in add_node_intersection()
273 memblock_set_node(start, size, in add_node_intersection()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/boot/
H A Ddevtree.c18 void dt_fixup_memory(u64 start, u64 size) in dt_fixup_memory() argument
32 if (getprop(root, "#size-cells", &nsize, sizeof(nsize)) < 0) in dt_fixup_memory()
37 fatal("Can't cope with #size-cells == %d in /\n\r", nsize); in dt_fixup_memory()
44 memreg[i++] = cpu_to_be32(size >> 32); in dt_fixup_memory()
45 memreg[i++] = cpu_to_be32(size & 0xffffffff); in dt_fixup_memory()
56 printf("> (%ldMB)\n\r", (unsigned long)(size >> 20)); in dt_fixup_memory()
143 if (getprop(node, "#size-cells", nsize, 4) != 4) in dt_get_reg_format()
233 * reg block is tracked; size is ignored except in ranges.
238 unsigned long *size) in dt_xlate()
313 if (size) in dt_xlate()
237 dt_xlate(void *node, int res, int reglen, unsigned long *addr, unsigned long *size) dt_xlate() argument
319 dt_xlate_reg(void *node, int res, unsigned long *addr, unsigned long *size) dt_xlate_reg() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dpci_of_scan.c119 u64 base, size; in of_pci_parse_addrs() local
142 size = of_read_number(&addrs[3], 2); in of_pci_parse_addrs()
143 if (!size) in of_pci_parse_addrs()
146 pr_debug(" base: %llx, size: %llx, i: %x\n", in of_pci_parse_addrs()
148 (unsigned long long)size, i); in of_pci_parse_addrs()
164 region.end = base + size - 1; in of_pci_parse_addrs()
260 u64 size; in of_scan_pci_bridge() local
296 /* PCI #address-cells == 3 and #size-cells == 2 always */ in of_scan_pci_bridge()
306 size = of_read_number(&ranges[6], 2); in of_scan_pci_bridge()
307 if (flags == 0 || size in of_scan_pci_bridge()
[all...]
/kernel/linux/linux-5.10/arch/mips/pci/
H A Dpci-ar724x.c74 int where, int size, u32 value) in ar724x_pci_local_write()
80 WARN_ON(where & (size - 1)); in ar724x_pci_local_write()
88 switch (size) { in ar724x_pci_local_write()
114 int size, uint32_t *value) in ar724x_pci_read()
130 switch (size) { in ar724x_pci_read()
149 if (where == PCI_BASE_ADDRESS_0 && size == 4 && in ar724x_pci_read()
161 int size, uint32_t value) in ar724x_pci_write()
175 if (soc_is_ar7240() && where == PCI_BASE_ADDRESS_0 && size == 4) { in ar724x_pci_write()
199 switch (size) { in ar724x_pci_write()
73 ar724x_pci_local_write(struct ar724x_pci_controller *apc, int where, int size, u32 value) ar724x_pci_local_write() argument
113 ar724x_pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, uint32_t *value) ar724x_pci_read() argument
160 ar724x_pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, uint32_t value) ar724x_pci_write() argument
/kernel/linux/linux-5.10/arch/x86/entry/vdso/
H A Dvma.c49 BUG_ON(image->size % PAGE_SIZE != 0); in init_vdso_image()
64 if (!image || (vmf->pgoff << PAGE_SHIFT) >= image->size) in vdso_fault()
95 if (image->size != new_size) in vdso_mremap()
150 unsigned long size = vma->vm_end - vma->vm_start; in vdso_join_timens() local
153 zap_page_range(vma, vma->vm_start, size); in vdso_join_timens()
274 image->size - image->sym_vvar_start, 0, 0); in map_vdso()
287 image->size, in map_vdso()
306 do_munmap(mm, text_start, image->size, NULL); in map_vdso()
364 unsigned long addr = vdso_addr(current->mm->start_stack, image->size-image->sym_vvar_start); in map_vdso_randomized()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dksysfs.c44 .size = sizeof(boot_params),
92 static int __init get_setup_data_size(int nr, size_t *size) in get_setup_data_size() argument
117 *size = indirect->len; in get_setup_data_size()
119 *size = data->len; in get_setup_data_size()
121 *size = data->len; in get_setup_data_size()
275 size_t size; in create_setup_data_node() local
284 ret = get_setup_data_size(nr, &size); in create_setup_data_node()
288 data_attr.size = size; in create_setup_data_node()
/kernel/linux/linux-6.6/arch/m68k/mm/
H A Dmcfmmu.c40 unsigned long address, size; in paging_init() local
53 size = num_pages * sizeof(pte_t); in paging_init()
54 size = (size + PAGE_SIZE) & ~(PAGE_SIZE-1); in paging_init()
55 next_pgtable = (unsigned long) memblock_alloc(size, PAGE_SIZE); in paging_init()
58 __func__, size, PAGE_SIZE); in paging_init()
60 bootmem_end = (next_pgtable + size + PAGE_SIZE) & PAGE_MASK; in paging_init()
166 m68k_memory[0].size = _ramend - _rambase; in cf_bootmem_alloc()
168 memblock_add_node(m68k_memory[0].addr, m68k_memory[0].size, 0, in cf_bootmem_alloc()
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/
H A Dsetup.c36 static int divide_memory_pool(void *virt, unsigned long size) in divide_memory_pool() argument
40 hyp_early_alloc_init(virt, size); in divide_memory_pool()
70 static int recreate_hyp_mappings(phys_addr_t phys, unsigned long size, in recreate_hyp_mappings() argument
110 ret = pkvm_create_mappings(virt, virt + size, PAGE_HYP); in recreate_hyp_mappings()
238 ret = kvm_pgtable_walk(&pkvm_pgtable, start, reg->size, &walker); in fix_host_ownership()
314 int __pkvm_init(phys_addr_t phys, unsigned long size, unsigned long nr_cpus, in __pkvm_init() argument
324 if (!PAGE_ALIGNED(phys) || !PAGE_ALIGNED(size)) in __pkvm_init()
330 ret = divide_memory_pool(virt, size); in __pkvm_init()
334 ret = recreate_hyp_mappings(phys, size, per_cpu_base, hyp_va_bits); in __pkvm_init()
/kernel/linux/linux-6.6/arch/powerpc/boot/
H A Ddevtree.c18 void dt_fixup_memory(u64 start, u64 size) in dt_fixup_memory() argument
32 if (getprop(root, "#size-cells", &nsize, sizeof(nsize)) < 0) in dt_fixup_memory()
37 fatal("Can't cope with #size-cells == %d in /\n\r", nsize); in dt_fixup_memory()
44 memreg[i++] = cpu_to_be32(size >> 32); in dt_fixup_memory()
45 memreg[i++] = cpu_to_be32(size & 0xffffffff); in dt_fixup_memory()
56 printf("> (%ldMB)\n\r", (unsigned long)(size >> 20)); in dt_fixup_memory()
143 if (getprop(node, "#size-cells", nsize, 4) != 4) in dt_get_reg_format()
233 * reg block is tracked; size is ignored except in ranges.
238 unsigned long *size) in dt_xlate()
313 if (size) in dt_xlate()
237 dt_xlate(void *node, int res, int reglen, unsigned long *addr, unsigned long *size) dt_xlate() argument
319 dt_xlate_reg(void *node, int res, unsigned long *addr, unsigned long *size) dt_xlate_reg() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
H A Dopenat2_test.c39 size_t size; member
54 .size = sizeof(struct open_how) }, in test_openat2_struct()
58 .size = sizeof(struct open_how_ext) }, in test_openat2_struct()
64 .arg.inner.flags = O_RDONLY, .size = 0, .err = -EINVAL }, in test_openat2_struct()
67 .size = OPEN_HOW_SIZE_VER0 - 1, .err = -EINVAL }, in test_openat2_struct()
72 .size = sizeof(struct open_how_ext), .err = -E2BIG }, in test_openat2_struct()
75 .size = sizeof(struct open_how_ext), .err = -E2BIG }, in test_openat2_struct()
78 .size = sizeof(struct open_how_ext), .err = -E2BIG }, in test_openat2_struct()
116 fd = raw_openat2(AT_FDCWD, ".", how_copy, test->size); in test_openat2_struct()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dpci_of_scan.c119 u64 base, size; in of_pci_parse_addrs() local
142 size = of_read_number(&addrs[3], 2); in of_pci_parse_addrs()
143 if (!size) in of_pci_parse_addrs()
146 pr_debug(" base: %llx, size: %llx, i: %x\n", in of_pci_parse_addrs()
148 (unsigned long long)size, i); in of_pci_parse_addrs()
164 region.end = base + size - 1; in of_pci_parse_addrs()
260 u64 size; in of_scan_pci_bridge() local
296 /* PCI #address-cells == 3 and #size-cells == 2 always */ in of_scan_pci_bridge()
306 size = of_read_number(&ranges[6], 2); in of_scan_pci_bridge()
307 if (flags == 0 || size in of_scan_pci_bridge()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/fp/
H A Dsve-ptrace.c32 static void dump(const void *buf, size_t size) in dump() argument
37 for (i = 0; i < size; ++i) in dump()
69 static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) in get_sve() argument
77 if (*size < sz) { in get_sve()
85 *size = sz; in get_sve()
94 if (sve->size <= sz) in get_sve()
97 sz = sve->size; in get_sve()
111 iov.iov_len = sve->size; in set_sve()
259 new_sve->size = SVE_PT_SVE_ZREG_OFFSET(vq, 1); in do_parent()
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
H A Dfib.sh109 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10
131 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100
138 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10
146 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100
152 # Test the different error paths of the notifiers by limiting the size
227 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
252 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
277 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 100
284 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
292 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
[all...]
/kernel/linux/linux-6.6/arch/mips/pci/
H A Dpci-ar724x.c74 int where, int size, u32 value) in ar724x_pci_local_write()
80 WARN_ON(where & (size - 1)); in ar724x_pci_local_write()
88 switch (size) { in ar724x_pci_local_write()
114 int size, uint32_t *value) in ar724x_pci_read()
130 switch (size) { in ar724x_pci_read()
149 if (where == PCI_BASE_ADDRESS_0 && size == 4 && in ar724x_pci_read()
161 int size, uint32_t value) in ar724x_pci_write()
175 if (soc_is_ar7240() && where == PCI_BASE_ADDRESS_0 && size == 4) { in ar724x_pci_write()
199 switch (size) { in ar724x_pci_write()
73 ar724x_pci_local_write(struct ar724x_pci_controller *apc, int where, int size, u32 value) ar724x_pci_local_write() argument
113 ar724x_pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, uint32_t *value) ar724x_pci_read() argument
160 ar724x_pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, uint32_t value) ar724x_pci_write() argument
/kernel/linux/linux-6.6/arch/sparc/mm/
H A Dinit_32.c104 unsigned long size; in find_ramdisk() local
121 size = initrd_end - initrd_start; in find_ramdisk()
122 memblock_reserve(initrd_start, size); in find_ramdisk()
133 unsigned long start_pfn, bytes_avail, size; in bootmem_init() local
192 size = (start_pfn << PAGE_SHIFT) - phys_base; in bootmem_init()
193 memblock_reserve(phys_base, size); in bootmem_init()
194 memblock_add(phys_base, size); in bootmem_init()
196 size = memblock_phys_mem_size() - memblock_reserved_size(); in bootmem_init()
197 *pages_avail = (size >> PAGE_SHIFT) - high_pages; in bootmem_init()
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-opal.c89 req.size = cpu_to_be32(msgs[0].len); in i2c_opal_master_xfer()
100 req.size = cpu_to_be32(msgs[1].len); in i2c_opal_master_xfer()
114 u8 command, int size, union i2c_smbus_data *data) in i2c_opal_smbus_xfer()
124 switch (size) { in i2c_opal_smbus_xfer()
127 req.size = cpu_to_be32(1); in i2c_opal_smbus_xfer()
135 req.size = cpu_to_be32(1); in i2c_opal_smbus_xfer()
147 req.size = cpu_to_be32(2); in i2c_opal_smbus_xfer()
155 req.size = cpu_to_be32(data->block[0]); in i2c_opal_smbus_xfer()
166 if (!rc && read_write && size == I2C_SMBUS_WORD_DATA) { in i2c_opal_smbus_xfer()
112 i2c_opal_smbus_xfer(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) i2c_opal_smbus_xfer() argument
H A Di2c-cros-ec-tunnel.c49 int size; in ec_i2c_count_message() local
51 size = sizeof(struct ec_params_i2c_passthru); in ec_i2c_count_message()
52 size += num * sizeof(struct ec_params_i2c_passthru_msg); in ec_i2c_count_message()
55 size += i2c_msgs[i].len; in ec_i2c_count_message()
57 return size; in ec_i2c_count_message()
117 int size; in ec_i2c_count_response() local
120 size = sizeof(struct ec_response_i2c_passthru); in ec_i2c_count_response()
123 size += i2c_msgs[i].len; in ec_i2c_count_response()
125 return size; in ec_i2c_count_response()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dintel_gtt.c167 unsigned long size; in setup_scratch_page() local
170 * In order to utilize 64K pages for an object with a size < 2M, we will in setup_scratch_page()
180 size = I915_GTT_PAGE_SIZE_4K; in setup_scratch_page()
183 size = I915_GTT_PAGE_SIZE_64K; in setup_scratch_page()
188 obj = vm->alloc_pt_dma(vm, size); in setup_scratch_page()
196 if (obj->mm.page_sizes.sg < size) in setup_scratch_page()
200 if (__px_dma(obj) & (size - 1)) in setup_scratch_page()
215 vm->scratch_order = get_order(size); in setup_scratch_page()
221 if (size == I915_GTT_PAGE_SIZE_4K) in setup_scratch_page()
224 size in setup_scratch_page()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
H A Dbtcx-risc.c51 pci_free_consistent(pci, risc->size, risc->cpu, risc->dma); in btcx_riscmem_free()
57 unsigned int size) in btcx_riscmem_alloc()
62 if (NULL != risc->cpu && risc->size < size) in btcx_riscmem_alloc()
65 cpu = pci_alloc_consistent(pci, size, &dma); in btcx_riscmem_alloc()
70 risc->size = size; in btcx_riscmem_alloc()
73 dprintk("btcx: riscmem alloc [%d] dma=%lx cpu=%p size=%d\n", in btcx_riscmem_alloc()
74 memcnt, (unsigned long)dma, cpu, size); in btcx_riscmem_alloc()
76 memset(risc->cpu,0,risc->size); in btcx_riscmem_alloc()
55 btcx_riscmem_alloc(struct pci_dev *pci, struct btcx_riscmem *risc, unsigned int size) btcx_riscmem_alloc() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/venc/
H A Dvenc_vp8_if.c53 * @pic_w: picture width. Picture size is visible stream resolution, in pixels,
55 * size.
57 * @buf_w: buffer width (with 16 alignment). Buffer size is stream resolution
60 * @gop_size: group of picture size (key frame)
83 * @size: buffer size (in bytes)
88 u32 size; member
98 * The work_bufs here is for storing the 'size' info shared to AP side.
100 * in AP side. The AP driver will copy the 'size' from here to the one in
148 if (inst->work_bufs[i].size in vp8_enc_free_work_buf()
[all...]

Completed in 27 milliseconds

1...<<471472473474475476477478479480>>...2288