Home
last modified time | relevance | path

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

/linux/drivers/char/tpm/eventlog/
H A Dof.c48 const u32 *sizep; in tpm_read_log_of() local
63 sizep = of_get_property(np, "linux,sml-size", NULL); in tpm_read_log_of()
65 if (sizep == NULL && basep == NULL) in tpm_read_log_of()
67 if (sizep == NULL || basep == NULL) in tpm_read_log_of()
81 size = be32_to_cpup((__force __be32 *)sizep); in tpm_read_log_of()
84 size = *sizep; in tpm_read_log_of()
/linux/tools/lib/api/fs/
H A Dfs.h48 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);
/linux/arch/sh/mm/
H A 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/arch/powerpc/kexec/
H A Dcore_64.c44 const unsigned int *sizep; in machine_kexec_prepare() local
58 sizep = of_get_property(node, "linux,tce-size", NULL); in machine_kexec_prepare()
59 if (basep == NULL || sizep == NULL) in machine_kexec_prepare()
63 high = low + (*sizep); in machine_kexec_prepare()
/linux/arch/powerpc/kernel/
H A Dsetup_64.c583 const __be32 *sizep, *lsizep, *bsizep, *setsp; in parse_cache_info() local
590 sizep = of_get_property(np, propnames[0], NULL); in parse_cache_info()
591 if (sizep != NULL) in parse_cache_info()
592 size = be32_to_cpu(*sizep); in parse_cache_info()
606 if (sizep == NULL || bsizep == NULL || lsizep == NULL) in parse_cache_info()
H A Drtas.c2081 const u32 *basep, *entryp, *sizep; in early_init_dt_scan_rtas() local
2088 sizep = of_get_flat_dt_prop(node, "rtas-size", NULL); in early_init_dt_scan_rtas()
2096 if (basep && entryp && sizep) { in early_init_dt_scan_rtas()
2099 rtas.size = *sizep; in early_init_dt_scan_rtas()
/linux/tools/perf/util/
H A Dtrace-event-info.c46 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/arch/powerpc/platforms/powernv/
H A Dopal.c113 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/drivers/net/ethernet/freescale/fs_enet/
H A Dmac-fec.c424 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument
428 if (*sizep < sizeof(struct fec)) in get_regs()
H A Dmac-scc.c425 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument
429 if (*sizep < sizeof(scc_t) + sizeof(scc_enet_t __iomem *)) in get_regs()
H A Dfs_enet.h91 int (*get_regs)(struct net_device *dev, void *p, int *sizep);
H A Dmac-fcc.c478 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument
482 if (*sizep < sizeof(fcc_t) + sizeof(fcc_enet_t) + 1) in get_regs()
/linux/tools/testing/selftests/kvm/include/
H A Dtest_util.h51 int test_seq_read(const char *path, char **bufp, size_t *sizep);
/linux/drivers/usb/host/
H A Dehci-dbg.c371 char **nextp, unsigned *sizep) in qh_lines() argument
378 unsigned size = *sizep; in qh_lines()
466 *sizep = size; in qh_lines()
/linux/include/net/netfilter/
H A Dnf_conntrack.h196 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls);
/linux/fs/
H A Dposix_acl.c834 size_t *sizep, gfp_t gfp) in posix_acl_to_xattr() argument
867 *sizep = size; in posix_acl_to_xattr()
/linux/arch/powerpc/platforms/pseries/
H A Diommu.c587 const u32 *sizep; in iommu_table_setparms() local
597 sizep = of_get_property(node, "linux,tce-size", NULL); in iommu_table_setparms()
598 if (basep == NULL || sizep == NULL) { in iommu_table_setparms()
609 memset((void *)tbl->it_base, 0, *sizep); in iommu_table_setparms()
/linux/net/netfilter/
H A Dnf_conntrack_core.c2524 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls) in nf_ct_alloc_hashtable() argument
2529 if (*sizep > (INT_MAX / sizeof(struct hlist_nulls_head))) in nf_ct_alloc_hashtable()
2533 nr_slots = *sizep = roundup(*sizep, PAGE_SIZE / sizeof(struct hlist_nulls_head)); in nf_ct_alloc_hashtable()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_bios.c3202 size_t *sizep) in intel_bios_get_vbt() argument
3206 vbt = firmware_get_vbt(display, sizep); in intel_bios_get_vbt()
3209 vbt = intel_opregion_get_vbt(display, sizep); in intel_bios_get_vbt()
3217 vbt = oprom_get_vbt(display, intel_rom_spi(display->drm), sizep, "SPI flash"); in intel_bios_get_vbt()
3221 vbt = oprom_get_vbt(display, intel_rom_pci(display->drm), sizep, "PCI ROM"); in intel_bios_get_vbt()
/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c773 * @sizep: Pointer to a u32 accumulating the total byte count of
783 int nr_bds, bool force, u32 *sizep, int budget) in axienet_free_tx_chain() argument
808 if (sizep) in axienet_free_tx_chain()
809 *sizep += cur_p->skb->len; in axienet_free_tx_chain()
/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.c354 char **nextp, unsigned *sizep) in qh_lines() argument
360 unsigned size = *sizep; in qh_lines()
436 *sizep = size; in qh_lines()