Home
last modified time | relevance | path

Searched refs:sizep (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/char/tpm/eventlog/
Dof.c23 const u32 *sizep; in tpm_read_log_of() local
38 sizep = of_get_property(np, "linux,sml-size", NULL); in tpm_read_log_of()
40 if (sizep == NULL && basep == NULL) in tpm_read_log_of()
42 if (sizep == NULL || basep == NULL) in tpm_read_log_of()
56 size = be32_to_cpup((__force __be32 *)sizep); in tpm_read_log_of()
59 size = *sizep; in tpm_read_log_of()
/kernel/linux/linux-5.10/include/linux/
Discsi_ibft.h29 unsigned long find_ibft_region(unsigned long *sizep);
31 static inline unsigned long find_ibft_region(unsigned long *sizep) in find_ibft_region() argument
33 *sizep = 0; in find_ibft_region()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dcrash_dump.c128 const __be32 *basep, *sizep; in crash_free_reserved_phys_range() local
132 sizep = of_get_property(rtas.dev, "rtas-size", NULL); in crash_free_reserved_phys_range()
134 if (basep && sizep) { in crash_free_reserved_phys_range()
136 rtas_end = rtas_start + be32_to_cpup(sizep); in crash_free_reserved_phys_range()
Dsetup_64.c537 const __be32 *sizep, *lsizep, *bsizep, *setsp; in parse_cache_info() local
544 sizep = of_get_property(np, propnames[0], NULL); in parse_cache_info()
545 if (sizep != NULL) in parse_cache_info()
546 size = be32_to_cpu(*sizep); in parse_cache_info()
560 if (sizep == NULL || bsizep == NULL || lsizep == NULL) in parse_cache_info()
Drtas.c1311 const u32 *basep, *entryp, *sizep; in early_init_dt_scan_rtas() local
1318 sizep = of_get_flat_dt_prop(node, "rtas-size", NULL); in early_init_dt_scan_rtas()
1326 if (basep && entryp && sizep) { in early_init_dt_scan_rtas()
1329 rtas.size = *sizep; in early_init_dt_scan_rtas()
/kernel/linux/linux-5.10/drivers/firmware/
Discsi_ibft_find.c87 unsigned long __init find_ibft_region(unsigned long *sizep) in find_ibft_region() argument
98 *sizep = PAGE_ALIGN(ibft_addr->header.length); in find_ibft_region()
102 *sizep = 0; in find_ibft_region()
/kernel/linux/linux-5.10/tools/lib/api/fs/
Dfs.h48 int filename__read_str(const char *filename, char **buf, size_t *sizep);
52 int procfs__read_str(const char *entry, char **buf, size_t *sizep);
58 int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
Dfs.c377 int filename__read_str(const char *filename, char **buf, size_t *sizep) in filename__read_str() argument
416 *sizep = size; in filename__read_str()
441 int procfs__read_str(const char *entry, char **buf, size_t *sizep) in procfs__read_str() argument
451 return filename__read_str(path, buf, sizep); in procfs__read_str()
491 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str() argument
501 return filename__read_str(path, buf, sizep); in sysfs__read_str()
/kernel/linux/linux-5.10/arch/sh/mm/
Dconsistent.c20 static void __init memchunk_cmdline_override(char *name, unsigned long *sizep) in memchunk_cmdline_override() argument
29 *sizep = memparse(p, NULL); in memchunk_cmdline_override()
31 name, *sizep); in memchunk_cmdline_override()
/kernel/linux/linux-5.10/arch/powerpc/kexec/
Dcore_64.c42 const unsigned int *sizep; in default_machine_kexec_prepare() local
56 sizep = of_get_property(node, "linux,tce-size", NULL); in default_machine_kexec_prepare()
57 if (basep == NULL || sizep == NULL) in default_machine_kexec_prepare()
61 high = low + (*sizep); in default_machine_kexec_prepare()
/kernel/linux/linux-5.10/tools/perf/util/
Dtrace-event-info.c46 char buf[BUFSIZ], *sizep; in record_file() local
73 sizep = (char*)&size; in record_file()
75 sizep += sizeof(u64) - hdr_sz; in record_file()
77 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal.c113 const void *basep, *entryp, *sizep; in early_init_dt_scan_opal() local
121 sizep = of_get_flat_dt_prop(node, "opal-runtime-size", &runtimesz); in early_init_dt_scan_opal()
123 if (!basep || !entryp || !sizep) in early_init_dt_scan_opal()
128 opal.size = of_read_number(sizep, runtimesz/4); in early_init_dt_scan_opal()
135 opal.size, sizep, runtimesz); in early_init_dt_scan_opal()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/
Dtest_util.h39 int test_seq_read(const char *path, char **bufp, size_t *sizep);
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c442 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument
446 if (*sizep < sizeof(struct fec)) in get_regs()
Dmac-scc.c429 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument
433 if (*sizep < sizeof(scc_t) + sizeof(scc_enet_t __iomem *)) in get_regs()
Dfs_enet.h93 int (*get_regs)(struct net_device *dev, void *p, int *sizep);
Dmac-fcc.c483 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument
487 if (*sizep < sizeof(fcc_t) + sizeof(fcc_enet_t) + 1) in get_regs()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Diommu.c500 const u32 *sizep; in iommu_table_setparms() local
505 sizep = of_get_property(node, "linux,tce-size", NULL); in iommu_table_setparms()
506 if (basep == NULL || sizep == NULL) { in iommu_table_setparms()
515 memset((void *)tbl->it_base, 0, *sizep); in iommu_table_setparms()
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_conntrack.h177 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls);
/kernel/linux/linux-5.10/drivers/usb/host/
Dehci-dbg.c371 char **nextp, unsigned *sizep) in qh_lines() argument
378 unsigned size = *sizep; in qh_lines()
466 *sizep = size; in qh_lines()
Dfotg210-hcd.c355 char **nextp, unsigned *sizep) in qh_lines() argument
361 unsigned size = *sizep; in qh_lines()
444 *sizep = size; in qh_lines()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_core.c2433 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls) in nf_ct_alloc_hashtable() argument
2438 if (*sizep > (UINT_MAX / sizeof(struct hlist_nulls_head))) in nf_ct_alloc_hashtable()
2442 nr_slots = *sizep = roundup(*sizep, PAGE_SIZE / sizeof(struct hlist_nulls_head)); in nf_ct_alloc_hashtable()
/kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c614 int nr_bds, u32 *sizep) in axienet_free_tx_chain() argument
656 if (sizep) in axienet_free_tx_chain()
657 *sizep += status & XAXIDMA_BD_STS_ACTUAL_LEN_MASK; in axienet_free_tx_chain()