Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/char/tpm/eventlog/
Dof.c28 const u32 *sizep; in tpm_read_log_of() local
43 sizep = of_get_property(np, "linux,sml-size", NULL); in tpm_read_log_of()
45 if (sizep == NULL && basep == NULL) in tpm_read_log_of()
47 if (sizep == NULL || basep == NULL) in tpm_read_log_of()
60 size = be32_to_cpup((__force __be32 *)sizep); in tpm_read_log_of()
63 size = *sizep; in tpm_read_log_of()
/Linux-v4.19/include/linux/
Discsi_ibft.h37 unsigned long find_ibft_region(unsigned long *sizep);
39 static inline unsigned long find_ibft_region(unsigned long *sizep) in find_ibft_region() argument
41 *sizep = 0; in find_ibft_region()
/Linux-v4.19/arch/powerpc/kernel/
Dcrash_dump.c129 const __be32 *basep, *sizep; in crash_free_reserved_phys_range() local
133 sizep = of_get_property(rtas.dev, "rtas-size", NULL); in crash_free_reserved_phys_range()
135 if (basep && sizep) { in crash_free_reserved_phys_range()
137 rtas_end = rtas_start + be32_to_cpup(sizep); in crash_free_reserved_phys_range()
Dmachine_kexec_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()
Dsetup_64.c498 const __be32 *sizep, *lsizep, *bsizep, *setsp; in parse_cache_info() local
505 sizep = of_get_property(np, propnames[0], NULL); in parse_cache_info()
506 if (sizep != NULL) in parse_cache_info()
507 size = be32_to_cpu(*sizep); in parse_cache_info()
519 if (sizep == NULL || bsizep == NULL || lsizep == NULL) in parse_cache_info()
Drtas.c1191 const u32 *basep, *entryp, *sizep; in early_init_dt_scan_rtas() local
1198 sizep = of_get_flat_dt_prop(node, "rtas-size", NULL); in early_init_dt_scan_rtas()
1200 if (basep && entryp && sizep) { in early_init_dt_scan_rtas()
1203 rtas.size = *sizep; in early_init_dt_scan_rtas()
/Linux-v4.19/tools/lib/api/fs/
Dfs.h34 int filename__read_str(const char *filename, char **buf, size_t *sizep);
38 int procfs__read_str(const char *entry, char **buf, size_t *sizep);
44 int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
Dfs.c358 int filename__read_str(const char *filename, char **buf, size_t *sizep) in filename__read_str() argument
397 *sizep = size; in filename__read_str()
422 int procfs__read_str(const char *entry, char **buf, size_t *sizep) in procfs__read_str() argument
432 return filename__read_str(path, buf, sizep); in procfs__read_str()
472 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str() argument
482 return filename__read_str(path, buf, sizep); in sysfs__read_str()
/Linux-v4.19/drivers/firmware/
Discsi_ibft_find.c95 unsigned long __init find_ibft_region(unsigned long *sizep) in find_ibft_region() argument
106 *sizep = PAGE_ALIGN(ibft_addr->header.length); in find_ibft_region()
110 *sizep = 0; in find_ibft_region()
/Linux-v4.19/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()
/Linux-v4.19/tools/perf/util/
Dtrace-event-info.c62 char buf[BUFSIZ], *sizep; in record_file() local
89 sizep = (char*)&size; in record_file()
91 sizep += sizeof(u64) - hdr_sz; in record_file()
93 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file()
/Linux-v4.19/tools/testing/selftests/kvm/include/
Dtest_util.h26 int test_seq_read(const char *path, char **bufp, size_t *sizep);
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dopal.c104 const void *basep, *entryp, *sizep; in early_init_dt_scan_opal() local
112 sizep = of_get_flat_dt_prop(node, "opal-runtime-size", &runtimesz); in early_init_dt_scan_opal()
114 if (!basep || !entryp || !sizep) in early_init_dt_scan_opal()
119 opal.size = of_read_number(sizep, runtimesz/4); in early_init_dt_scan_opal()
126 opal.size, sizep, runtimesz); in early_init_dt_scan_opal()
/Linux-v4.19/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()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Diommu.c506 const u32 *sizep; in iommu_table_setparms() local
511 sizep = of_get_property(node, "linux,tce-size", NULL); in iommu_table_setparms()
512 if (basep == NULL || sizep == NULL) { in iommu_table_setparms()
521 memset((void *)tbl->it_base, 0, *sizep); in iommu_table_setparms()
/Linux-v4.19/include/net/netfilter/
Dnf_conntrack.h177 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls);
/Linux-v4.19/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.c352 char **nextp, unsigned *sizep) in qh_lines() argument
358 unsigned size = *sizep; in qh_lines()
441 *sizep = size; in qh_lines()
/Linux-v4.19/net/netfilter/
Dnf_conntrack_core.c2097 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls) in nf_ct_alloc_hashtable() argument
2102 if (*sizep > (UINT_MAX / sizeof(struct hlist_nulls_head))) in nf_ct_alloc_hashtable()
2106 nr_slots = *sizep = roundup(*sizep, PAGE_SIZE / sizeof(struct hlist_nulls_head)); in nf_ct_alloc_hashtable()