/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/ |
H A D | nstackx_util.c | 25 int32_t GetTargetFileSize(const char *dir, uint64_t *size) in GetTargetFileSize() argument 29 if (dir == NULL || size == NULL) { in GetTargetFileSize() 30 LOGE(TAG, "Invalid dir or size"); in GetTargetFileSize() 39 *size = (uint64_t)statbuf.st_size; in GetTargetFileSize()
|
/foundation/window/window_manager/wm/test/unittest/ |
H A D | picture_in_picture_option_test.cpp | 88 ASSERT_NE(0, option->GetControlStatus().size()); in HWTEST_F() 105 ASSERT_NE(0, option->GetControlEnable().size()); in HWTEST_F() 134 ASSERT_NE(option->GetControlGroup().size(), 0); in HWTEST_F()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
H A D | hugetlbpage.c | 183 bool __init arch_hugetlb_valid_size(unsigned long size) in arch_hugetlb_valid_size() argument 185 if (size == PMD_SIZE) in arch_hugetlb_valid_size() 187 else if (size == PUD_SIZE && boot_cpu_has(X86_FEATURE_GBPAGES)) in arch_hugetlb_valid_size()
|
/kernel/linux/linux-5.10/drivers/dma-buf/ |
H A D | dma-fence-array.c | 147 * The caller should allocate the fences array with num_fences size 160 size_t size = sizeof(*array); in dma_fence_array_create() local 163 size += num_fences * sizeof(struct dma_fence_array_cb); in dma_fence_array_create() 164 array = kzalloc(size, GFP_KERNEL); in dma_fence_array_create()
|
/kernel/linux/linux-5.10/arch/mips/ath25/ |
H A D | board.c | 98 * NB: Search region size could be larger than the actual flash size, 102 int __init ath25_find_config(phys_addr_t base, unsigned long size) in ath25_find_config() argument 114 flash_base = ioremap(base, size); in ath25_find_config() 115 flash_limit = flash_base + size; in ath25_find_config()
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
H A D | colibri-pxa270.c | 156 .size = 0x00040000, 161 .size = 0x00400000, 166 .size = MTDPART_SIZ_FULL,
|
/kernel/linux/linux-5.10/arch/mips/netlogic/xlr/ |
H A D | platform-flash.c | 38 .size = MTDPART_SIZ_FULL, 49 .size = 432 * 64 * 2048, 54 .size = MTDPART_SIZ_FULL, 137 * Under this, each flash device has an offset and size given by the
|
H A D | fmn.c | 73 int size = 0, code = 0, src_stnid = 0; in fmn_message_handler() local 90 rv = nlm_fmn_receive(bucket, &size, &code, &src_stnid, in fmn_message_handler() 101 hndlr->action(bucket, src_stnid, size, code, in fmn_message_handler()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | cache.c | 84 seq_printf(m, "size=%dK ", cache->size >> 10); in show_cacheinfo() 119 this_leaf->size = ecag(EXTRACT_SIZE, level, ti); in ci_leaf_init() 120 num_sets = this_leaf->size / this_leaf->coherency_line_size; in ci_leaf_init()
|
H A D | lgr.c | 58 static void cpascii(char *dst, char *src, int size) in cpascii() argument 60 memcpy(dst, src, size); in cpascii() 61 EBCASC(dst, size); in cpascii()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | ssl.c | 38 static int ssl_get_config(char *dev, char *str, int size, char **error_out); 77 static int ssl_get_config(char *dev, char *str, int size, char **error_out) in ssl_get_config() argument 80 size, error_out); in ssl_get_config()
|
H A D | stdio_console.c | 44 static int con_get_config(char *dev, char *str, int size, char **error_out); 82 static int con_get_config(char *dev, char *str, int size, char **error_out) in con_get_config() argument 84 return line_get_config(dev, vts, ARRAY_SIZE(vts), str, size, error_out); in con_get_config()
|
/kernel/linux/linux-5.10/arch/sh/boards/mach-sh7763rdp/ |
H A D | setup.c | 27 .size = (2 * 128 * 1024), 32 .size = (20 * 128 * 1024), 36 .size = MTDPART_SIZ_FULL,
|
/kernel/linux/linux-5.10/arch/s390/appldata/ |
H A D | appldata_os.c | 61 u32 per_cpu_size; /* size of the per-cpu data struct */ 133 if (ops.size != new_size) { in appldata_get_os_data() 145 (unsigned long) ops.data, ops.size, in appldata_get_os_data() 151 ops.size = new_size; in appldata_get_os_data() 169 pr_err("Maximum OS record size %i exceeds the maximum " in appldata_os_init() 170 "record size %i\n", max_size, APPLDATA_MAX_REC_SIZE); in appldata_os_init()
|
/kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
H A D | mach-at2440evb.c | 79 .size = SZ_256K, 84 .size = SZ_2M, 90 .size = MTDPART_SIZ_FULL,
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | sys_ruffian.c | 178 * the memory size in the PALimpure area. Therefore, we use 179 * the Bank Configuration Registers in PYXIS to obtain the size. 193 static unsigned long size[] __initdata = { in ruffian_get_bank_size() 206 if (bank < ARRAY_SIZE(size)) in ruffian_get_bank_size() 207 ret = size[bank]; in ruffian_get_bank_size()
|
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | ahci_seattle.c | 45 ssize_t size); 80 ssize_t size) in seattle_transmit_led_message() 121 return size; in seattle_transmit_led_message() 79 seattle_transmit_led_message(struct ata_port *ap, u32 state, ssize_t size) seattle_transmit_led_message() argument
|
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_reqmgr.h | 68 u16 size; member 206 req->out[i].size, in do_request_cleanup() 214 req->in[i].size, in do_request_cleanup()
|
/kernel/linux/linux-5.10/drivers/mtd/maps/ |
H A D | pxa2xx-flash.c | 63 info->map.size = resource_size(res); in pxa2xx_flash_probe() 65 info->map.virt = ioremap(info->map.phys, info->map.size); in pxa2xx_flash_probe() 72 info->map.cached = ioremap_cache(info->map.phys, info->map.size); in pxa2xx_flash_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_trace.h | 29 __array(__u32, size, MAX_SKB_FRAGS) 44 hns3_shinfo_pack(skb_shinfo(skb), __entry->size); 52 __print_array(__entry->size, MAX_SKB_FRAGS, sizeof(__u32))
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_mbox.h | 137 u16 in_size, u8 size); 153 void hinic_mbox_func_aeqe_handler(void *handle, void *header, u8 size); 155 void hinic_mbox_self_aeqe_handler(void *handle, void *header, u8 size);
|
/kernel/linux/linux-6.6/arch/mips/ath25/ |
H A D | board.c | 98 * NB: Search region size could be larger than the actual flash size, 102 int __init ath25_find_config(phys_addr_t base, unsigned long size) in ath25_find_config() argument 114 flash_base = ioremap(base, size); in ath25_find_config() 115 flash_limit = flash_base + size; in ath25_find_config()
|
/kernel/linux/linux-6.6/arch/hexagon/mm/ |
H A D | init.c | 120 * Pick out the memory size. We look for mem=size, 121 * where size is "size[KkMm]" 125 unsigned long size; in early_mem() local 128 size = memparse(p, &endp); in early_mem() 130 bootmem_lastpg = PFN_DOWN(size); in early_mem() 151 /* Prior to this, bootmem_lastpg is actually mem size */ in setup_arch_memory() 154 /* Memory size needs to be a multiple of 16M */ in setup_arch_memory()
|
/kernel/linux/linux-6.6/arch/ia64/include/asm/ |
H A D | page.h | 28 * PAGE_SHIFT determines the actual kernel page size. 39 # error Unsupported page size! 45 #define PERCPU_PAGE_SHIFT 18 /* log2() of max. size of per-CPU area */ 52 # define HPAGE_SHIFT_DEFAULT 28 /* check ia64 SDM for architecture supported size */ 131 get_order (unsigned long size) in get_order() argument 133 long double d = size - 1; in get_order()
|
/kernel/linux/linux-5.10/tools/testing/selftests/ptrace/ |
H A D | get_syscall_info.c | 116 const size_t size = sizeof(info); in TEST() local 156 pid, size, in TEST() 179 pid, size, in TEST()
|