/Linux-v4.19/drivers/char/tpm/eventlog/ |
D | of.c | 28 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/ |
D | iscsi_ibft.h | 37 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/ |
D | crash_dump.c | 129 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()
|
D | machine_kexec_64.c | 42 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()
|
D | setup_64.c | 498 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()
|
D | rtas.c | 1191 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/ |
D | fs.h | 34 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);
|
D | fs.c | 358 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/ |
D | iscsi_ibft_find.c | 95 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/ |
D | consistent.c | 20 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/ |
D | trace-event-info.c | 62 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/ |
D | test_util.h | 26 int test_seq_read(const char *path, char **bufp, size_t *sizep);
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | opal.c | 104 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/ |
D | mac-fec.c | 442 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()
|
D | mac-scc.c | 429 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()
|
D | fs_enet.h | 93 int (*get_regs)(struct net_device *dev, void *p, int *sizep);
|
D | mac-fcc.c | 483 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/ |
D | iommu.c | 506 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/ |
D | nf_conntrack.h | 177 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls);
|
/Linux-v4.19/drivers/usb/host/ |
D | ehci-dbg.c | 371 char **nextp, unsigned *sizep) in qh_lines() argument 378 unsigned size = *sizep; in qh_lines() 466 *sizep = size; in qh_lines()
|
D | fotg210-hcd.c | 352 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/ |
D | nf_conntrack_core.c | 2097 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()
|