/linux-6.6.21/drivers/char/tpm/eventlog/ |
D | of.c | 54 const u32 *sizep; in tpm_read_log_of() local 69 sizep = of_get_property(np, "linux,sml-size", NULL); in tpm_read_log_of() 71 if (sizep == NULL && basep == NULL) in tpm_read_log_of() 73 if (sizep == NULL || basep == NULL) in tpm_read_log_of() 87 size = be32_to_cpup((__force __be32 *)sizep); in tpm_read_log_of() 90 size = *sizep; in tpm_read_log_of()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | crash_dump.c | 103 const __be32 *basep, *sizep; in crash_free_reserved_phys_range() local 107 sizep = of_get_property(rtas.dev, "rtas-size", NULL); in crash_free_reserved_phys_range() 109 if (basep && sizep) { in crash_free_reserved_phys_range() 111 rtas_end = rtas_start + be32_to_cpup(sizep); in crash_free_reserved_phys_range()
|
D | setup_64.c | 586 const __be32 *sizep, *lsizep, *bsizep, *setsp; in parse_cache_info() local 593 sizep = of_get_property(np, propnames[0], NULL); in parse_cache_info() 594 if (sizep != NULL) in parse_cache_info() 595 size = be32_to_cpu(*sizep); in parse_cache_info() 609 if (sizep == NULL || bsizep == NULL || lsizep == NULL) in parse_cache_info()
|
D | rtas.c | 2026 const u32 *basep, *entryp, *sizep; in early_init_dt_scan_rtas() local 2033 sizep = of_get_flat_dt_prop(node, "rtas-size", NULL); in early_init_dt_scan_rtas() 2041 if (basep && entryp && sizep) { in early_init_dt_scan_rtas() 2044 rtas.size = *sizep; in early_init_dt_scan_rtas()
|
/linux-6.6.21/tools/lib/api/fs/ |
D | fs.h | 48 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);
|
D | fs.c | 349 int filename__read_str(const char *filename, char **buf, size_t *sizep) in filename__read_str() argument 388 *sizep = size; in filename__read_str() 413 int procfs__read_str(const char *entry, char **buf, size_t *sizep) in procfs__read_str() argument 423 return filename__read_str(path, buf, sizep); in procfs__read_str() 463 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str() argument 473 return filename__read_str(path, buf, sizep); in sysfs__read_str()
|
/linux-6.6.21/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-6.6.21/arch/powerpc/kexec/ |
D | core_64.c | 41 const unsigned int *sizep; in machine_kexec_prepare() local 55 sizep = of_get_property(node, "linux,tce-size", NULL); in machine_kexec_prepare() 56 if (basep == NULL || sizep == NULL) in machine_kexec_prepare() 60 high = low + (*sizep); in machine_kexec_prepare()
|
/linux-6.6.21/tools/perf/util/ |
D | trace-event-info.c | 46 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()
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | opal.c | 113 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()
|
/linux-6.6.21/drivers/net/ethernet/freescale/fs_enet/ |
D | mac-fec.c | 427 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument 431 if (*sizep < sizeof(struct fec)) in get_regs()
|
D | mac-scc.c | 428 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument 432 if (*sizep < sizeof(scc_t) + sizeof(scc_enet_t __iomem *)) in get_regs()
|
D | fs_enet.h | 91 int (*get_regs)(struct net_device *dev, void *p, int *sizep);
|
D | mac-fcc.c | 481 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument 485 if (*sizep < sizeof(fcc_t) + sizeof(fcc_enet_t) + 1) in get_regs()
|
/linux-6.6.21/tools/testing/selftests/kvm/include/ |
D | test_util.h | 47 int test_seq_read(const char *path, char **bufp, size_t *sizep);
|
/linux-6.6.21/include/net/netfilter/ |
D | nf_conntrack.h | 201 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls);
|
/linux-6.6.21/arch/powerpc/platforms/pseries/ |
D | iommu.c | 548 const u32 *sizep; in iommu_table_setparms() local 558 sizep = of_get_property(node, "linux,tce-size", NULL); in iommu_table_setparms() 559 if (basep == NULL || sizep == NULL) { in iommu_table_setparms() 570 memset((void *)tbl->it_base, 0, *sizep); in iommu_table_setparms()
|
/linux-6.6.21/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()
|
/linux-6.6.21/net/netfilter/ |
D | nf_conntrack_core.c | 2566 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls) in nf_ct_alloc_hashtable() argument 2571 if (*sizep > (UINT_MAX / sizeof(struct hlist_nulls_head))) in nf_ct_alloc_hashtable() 2575 nr_slots = *sizep = roundup(*sizep, PAGE_SIZE / sizeof(struct hlist_nulls_head)); in nf_ct_alloc_hashtable()
|
/linux-6.6.21/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 657 int nr_bds, bool force, u32 *sizep, int budget) in axienet_free_tx_chain() argument 694 if (sizep) in axienet_free_tx_chain() 695 *sizep += status & XAXIDMA_BD_STS_ACTUAL_LEN_MASK; in axienet_free_tx_chain()
|
/linux-6.6.21/drivers/usb/fotg210/ |
D | fotg210-hcd.c | 354 char **nextp, unsigned *sizep) in qh_lines() argument 360 unsigned size = *sizep; in qh_lines() 440 *sizep = size; in qh_lines()
|