Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/char/tpm/
Dtpm_of.c26 const u32 *sizep; in read_log() local
40 sizep = of_get_property(np, "linux,sml-size", NULL); in read_log()
41 if (sizep == NULL) { in read_log()
45 if (*sizep == 0) { in read_log()
56 log->bios_event_log = kmalloc(*sizep, GFP_KERNEL); in read_log()
64 log->bios_event_log_end = log->bios_event_log + *sizep; in read_log()
66 memcpy(log->bios_event_log, __va(*basep), *sizep); in read_log()
/linux-4.4.14/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-4.4.14/arch/powerpc/kernel/
Dsetup_64.c411 const __be32 *sizep, *lsizep; in initialize_cache_info() local
416 sizep = of_get_property(np, "d-cache-size", NULL); in initialize_cache_info()
417 if (sizep != NULL) in initialize_cache_info()
418 size = be32_to_cpu(*sizep); in initialize_cache_info()
428 if (sizep == NULL || lsizep == NULL) in initialize_cache_info()
430 "sizep: %p, lsizep: %p\n", sizep, lsizep); in initialize_cache_info()
439 sizep = of_get_property(np, "i-cache-size", NULL); in initialize_cache_info()
440 if (sizep != NULL) in initialize_cache_info()
441 size = be32_to_cpu(*sizep); in initialize_cache_info()
450 if (sizep == NULL || lsizep == NULL) in initialize_cache_info()
[all …]
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.c55 const unsigned int *sizep; in default_machine_kexec_prepare() local
95 sizep = of_get_property(node, "linux,tce-size", NULL); in default_machine_kexec_prepare()
96 if (basep == NULL || sizep == NULL) in default_machine_kexec_prepare()
100 high = low + (*sizep); in default_machine_kexec_prepare()
Drtas.c1137 const __be32 *basep, *entryp, *sizep; in rtas_initialize() local
1140 sizep = of_get_property(rtas.dev, "rtas-size", NULL); in rtas_initialize()
1141 if (basep != NULL && sizep != NULL) { in rtas_initialize()
1143 rtas.size = __be32_to_cpu(*sizep); in rtas_initialize()
1175 const u32 *basep, *entryp, *sizep; in early_init_dt_scan_rtas() local
1182 sizep = of_get_flat_dt_prop(node, "rtas-size", NULL); in early_init_dt_scan_rtas()
1184 if (basep && entryp && sizep) { in early_init_dt_scan_rtas()
1187 rtas.size = *sizep; in early_init_dt_scan_rtas()
/linux-4.4.14/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-4.4.14/arch/sh/mm/
Dconsistent.c111 static void __init memchunk_cmdline_override(char *name, unsigned long *sizep) in memchunk_cmdline_override() argument
120 *sizep = memparse(p, NULL); in memchunk_cmdline_override()
122 name, *sizep); in memchunk_cmdline_override()
/linux-4.4.14/tools/perf/util/
Dtrace-event-info.c63 char buf[BUFSIZ], *sizep; in record_file() local
90 sizep = (char*)&size; in record_file()
92 sizep += sizeof(u64) - hdr_sz; in record_file()
94 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file()
Dutil.c541 int filename__read_str(const char *filename, char **buf, size_t *sizep) in filename__read_str() argument
580 *sizep = size; in filename__read_str()
Dutil.h322 int filename__read_str(const char *filename, char **buf, size_t *sizep);
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal.c77 const void *basep, *entryp, *sizep; in early_init_dt_scan_opal() local
85 sizep = of_get_flat_dt_prop(node, "opal-runtime-size", &runtimesz); in early_init_dt_scan_opal()
87 if (!basep || !entryp || !sizep) in early_init_dt_scan_opal()
92 opal.size = of_read_number(sizep, runtimesz/4); in early_init_dt_scan_opal()
99 opal.size, sizep, runtimesz); in early_init_dt_scan_opal()
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c486 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument
490 if (*sizep < sizeof(struct fec)) in get_regs()
Dmac-scc.c463 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument
467 if (*sizep < sizeof(scc_t) + sizeof(scc_enet_t __iomem *)) in get_regs()
Dfs_enet.h95 int (*get_regs)(struct net_device *dev, void *p, int *sizep);
Dmac-fcc.c511 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument
515 if (*sizep < sizeof(fcc_t) + sizeof(fcc_enet_t) + 1) in get_regs()
/linux-4.4.14/include/net/netfilter/
Dnf_conntrack.h182 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls);
/linux-4.4.14/arch/powerpc/platforms/pseries/
Diommu.c541 const u32 *sizep; in iommu_table_setparms() local
546 sizep = of_get_property(node, "linux,tce-size", NULL); in iommu_table_setparms()
547 if (basep == NULL || sizep == NULL) { in iommu_table_setparms()
556 memset((void *)tbl->it_base, 0, *sizep); in iommu_table_setparms()
/linux-4.4.14/drivers/usb/host/
Dehci-dbg.c410 unsigned *sizep in qh_lines() argument
418 unsigned size = *sizep; in qh_lines()
493 *sizep = size; in qh_lines()
Dfotg210-hcd.c365 char **nextp, unsigned *sizep) in qh_lines() argument
371 unsigned size = *sizep; in qh_lines()
454 *sizep = size; in qh_lines()
/linux-4.4.14/net/netfilter/
Dnf_conntrack_core.c1539 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls) in nf_ct_alloc_hashtable() argument
1546 nr_slots = *sizep = roundup(*sizep, PAGE_SIZE / sizeof(struct hlist_nulls_head)); in nf_ct_alloc_hashtable()