/linux-4.1.27/drivers/char/tpm/ |
H A D | tpm_of.c | 26 const u32 *sizep; read_log() local 40 sizep = of_get_property(np, "linux,sml-size", NULL); read_log() 41 if (sizep == NULL) { read_log() 45 if (*sizep == 0) { read_log() 57 log->bios_event_log = kmalloc(*sizep, GFP_KERNEL); read_log() 64 log->bios_event_log_end = log->bios_event_log + *sizep; read_log() 66 memcpy(log->bios_event_log, __va(be64_to_cpup(basep)), *sizep); read_log()
|
/linux-4.1.27/include/linux/ |
H A D | iscsi_ibft.h | 37 unsigned long find_ibft_region(unsigned long *sizep); 39 static inline unsigned long find_ibft_region(unsigned long *sizep) find_ibft_region() argument 41 *sizep = 0; find_ibft_region()
|
/linux-4.1.27/drivers/firmware/ |
H A D | iscsi_ibft_find.c | 95 unsigned long __init find_ibft_region(unsigned long *sizep) find_ibft_region() argument 106 *sizep = PAGE_ALIGN(ibft_addr->header.length); find_ibft_region() 110 *sizep = 0; find_ibft_region()
|
/linux-4.1.27/arch/sh/mm/ |
H A D | consistent.c | 111 static void __init memchunk_cmdline_override(char *name, unsigned long *sizep) memchunk_cmdline_override() argument 120 *sizep = memparse(p, NULL); memchunk_cmdline_override() 122 name, *sizep); memchunk_cmdline_override()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | crash_dump.c | 129 const __be32 *basep, *sizep; crash_free_reserved_phys_range() local 133 sizep = of_get_property(rtas.dev, "rtas-size", NULL); crash_free_reserved_phys_range() 135 if (basep && sizep) { crash_free_reserved_phys_range() 137 rtas_end = rtas_start + be32_to_cpup(sizep); crash_free_reserved_phys_range()
|
H A D | setup_64.c | 388 const __be32 *sizep, *lsizep; initialize_cache_info() local 393 sizep = of_get_property(np, "d-cache-size", NULL); initialize_cache_info() 394 if (sizep != NULL) initialize_cache_info() 395 size = be32_to_cpu(*sizep); initialize_cache_info() 405 if (sizep == NULL || lsizep == NULL) initialize_cache_info() 407 "sizep: %p, lsizep: %p\n", sizep, lsizep); initialize_cache_info() 416 sizep = of_get_property(np, "i-cache-size", NULL); initialize_cache_info() 417 if (sizep != NULL) initialize_cache_info() 418 size = be32_to_cpu(*sizep); initialize_cache_info() 427 if (sizep == NULL || lsizep == NULL) initialize_cache_info() 429 "sizep: %p, lsizep: %p\n", sizep, lsizep); initialize_cache_info()
|
H A D | machine_kexec_64.c | 40 const unsigned int *sizep; default_machine_kexec_prepare() local 80 sizep = of_get_property(node, "linux,tce-size", NULL); default_machine_kexec_prepare() 81 if (basep == NULL || sizep == NULL) default_machine_kexec_prepare() 85 high = low + (*sizep); default_machine_kexec_prepare()
|
H A D | rtas.c | 1135 const __be32 *basep, *entryp, *sizep; rtas_initialize() local 1138 sizep = of_get_property(rtas.dev, "rtas-size", NULL); rtas_initialize() 1139 if (basep != NULL && sizep != NULL) { rtas_initialize() 1141 rtas.size = __be32_to_cpu(*sizep); rtas_initialize() 1173 const u32 *basep, *entryp, *sizep; early_init_dt_scan_rtas() local 1180 sizep = of_get_flat_dt_prop(node, "rtas-size", NULL); early_init_dt_scan_rtas() 1182 if (basep && entryp && sizep) { early_init_dt_scan_rtas() 1185 rtas.size = *sizep; early_init_dt_scan_rtas()
|
/linux-4.1.27/tools/perf/util/ |
H A D | trace-event-info.c | 63 char buf[BUFSIZ], *sizep; record_file() local 90 sizep = (char*)&size; record_file() 92 sizep += sizeof(u64) - hdr_sz; record_file() 94 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { record_file()
|
H A D | util.c | 490 int filename__read_str(const char *filename, char **buf, size_t *sizep) filename__read_str() argument 529 *sizep = size; filename__read_str()
|
H A D | util.h | 319 int filename__read_str(const char *filename, char **buf, size_t *sizep);
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
H A D | opal.c | 83 const void *basep, *entryp, *sizep; early_init_dt_scan_opal() local 91 sizep = of_get_flat_dt_prop(node, "opal-runtime-size", &runtimesz); early_init_dt_scan_opal() 93 if (!basep || !entryp || !sizep) early_init_dt_scan_opal() 98 opal.size = of_read_number(sizep, runtimesz/4); early_init_dt_scan_opal() 104 pr_debug("OPAL Entry = 0x%llx (sizep=%p runtimesz=%d)\n", early_init_dt_scan_opal() 105 opal.size, sizep, runtimesz); early_init_dt_scan_opal()
|
/linux-4.1.27/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mac-fec.c | 486 static int get_regs(struct net_device *dev, void *p, int *sizep) get_regs() argument 490 if (*sizep < sizeof(struct fec)) get_regs()
|
H A D | mac-scc.c | 463 static int get_regs(struct net_device *dev, void *p, int *sizep) get_regs() argument 467 if (*sizep < sizeof(scc_t) + sizeof(scc_enet_t __iomem *)) get_regs()
|
H A D | fs_enet.h | 95 int (*get_regs)(struct net_device *dev, void *p, int *sizep);
|
H A D | mac-fcc.c | 511 static int get_regs(struct net_device *dev, void *p, int *sizep) get_regs() argument 515 if (*sizep < sizeof(fcc_t) + sizeof(fcc_enet_t) + 1) get_regs()
|
/linux-4.1.27/include/net/netfilter/ |
H A D | nf_conntrack.h | 182 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls);
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 471 const u32 *sizep; iommu_table_setparms() local 476 sizep = of_get_property(node, "linux,tce-size", NULL); iommu_table_setparms() 477 if (basep == NULL || sizep == NULL) { iommu_table_setparms() 486 memset((void *)tbl->it_base, 0, *sizep); iommu_table_setparms()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ehci-dbg.c | 410 unsigned *sizep qh_lines() 418 unsigned size = *sizep; qh_lines() 493 *sizep = size; qh_lines()
|
H A D | fotg210-hcd.c | 380 unsigned *sizep qh_lines() 387 unsigned size = *sizep; qh_lines() 469 *sizep = size; qh_lines()
|
H A D | fusbh200-hcd.c | 368 unsigned *sizep qh_lines() 375 unsigned size = *sizep; qh_lines() 449 *sizep = size; qh_lines()
|
/linux-4.1.27/net/netfilter/ |
H A D | nf_conntrack_core.c | 1514 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls) nf_ct_alloc_hashtable() argument 1521 nr_slots = *sizep = roundup(*sizep, PAGE_SIZE / sizeof(struct hlist_nulls_head)); nf_ct_alloc_hashtable()
|