Searched refs:sizep (Results 1 - 21 of 21) sorted by path

/linux-master/arch/powerpc/kernel/
H A Dcrash_dump.c115 const __be32 *basep, *sizep; local
119 sizep = of_get_property(rtas.dev, "rtas-size", NULL);
121 if (basep && sizep) {
123 rtas_end = rtas_start + be32_to_cpup(sizep);
H A Drtas.c2120 const u32 *basep, *entryp, *sizep; local
2127 sizep = of_get_flat_dt_prop(node, "rtas-size", NULL);
2135 if (basep && entryp && sizep) {
2138 rtas.size = *sizep;
H A Dsetup_64.c586 const __be32 *sizep, *lsizep, *bsizep, *setsp; local
593 sizep = of_get_property(np, propnames[0], NULL);
594 if (sizep != NULL)
595 size = be32_to_cpu(*sizep);
609 if (sizep == NULL || bsizep == NULL || lsizep == NULL)
/linux-master/arch/powerpc/kexec/
H A Dcore_64.c41 const unsigned int *sizep; local
55 sizep = of_get_property(node, "linux,tce-size", NULL);
56 if (basep == NULL || sizep == NULL)
60 high = low + (*sizep);
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal.c113 const void *basep, *entryp, *sizep; local
121 sizep = of_get_flat_dt_prop(node, "opal-runtime-size", &runtimesz);
123 if (!basep || !entryp || !sizep)
128 opal.size = of_read_number(sizep, runtimesz/4);
134 pr_debug("OPAL Entry = 0x%llx (sizep=%p runtimesz=%d)\n",
135 opal.size, sizep, runtimesz);
/linux-master/arch/powerpc/platforms/pseries/
H A Diommu.c548 const u32 *sizep; local
558 sizep = of_get_property(node, "linux,tce-size", NULL);
559 if (basep == NULL || sizep == NULL) {
570 memset((void *)tbl->it_base, 0, *sizep);
/linux-master/arch/sh/mm/
H A Dconsistent.c20 static void __init memchunk_cmdline_override(char *name, unsigned long *sizep) argument
29 *sizep = memparse(p, NULL);
31 name, *sizep);
/linux-master/drivers/char/tpm/eventlog/
H A Dof.c54 const u32 *sizep; local
69 sizep = of_get_property(np, "linux,sml-size", NULL);
71 if (sizep == NULL && basep == NULL)
73 if (sizep == NULL || basep == NULL)
87 size = be32_to_cpup((__force __be32 *)sizep);
90 size = *sizep;
/linux-master/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet.h91 int (*get_regs)(struct net_device *dev, void *p, int *sizep);
H A Dmac-fcc.c481 static int get_regs(struct net_device *dev, void *p, int *sizep) argument
485 if (*sizep < sizeof(fcc_t) + sizeof(fcc_enet_t) + 1)
H A Dmac-fec.c427 static int get_regs(struct net_device *dev, void *p, int *sizep) argument
431 if (*sizep < sizeof(struct fec))
H A Dmac-scc.c428 static int get_regs(struct net_device *dev, void *p, int *sizep) argument
432 if (*sizep < sizeof(scc_t) + sizeof(scc_enet_t __iomem *))
/linux-master/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c670 * @sizep: Pointer to a u32 filled with the total sum of all bytes
679 int nr_bds, bool force, u32 *sizep, int budget)
716 if (sizep)
717 *sizep += status & XAXIDMA_BD_STS_ACTUAL_LEN_MASK;
678 axienet_free_tx_chain(struct axienet_local *lp, u32 first_bd, int nr_bds, bool force, u32 *sizep, int budget) argument
/linux-master/drivers/usb/fotg210/
H A Dfotg210-hcd.c354 char **nextp, unsigned *sizep)
360 unsigned size = *sizep;
436 *sizep = size;
353 qh_lines(struct fotg210_hcd *fotg210, struct fotg210_qh *qh, char **nextp, unsigned *sizep) argument
/linux-master/drivers/usb/host/
H A Dehci-dbg.c371 char **nextp, unsigned *sizep)
378 unsigned size = *sizep;
466 *sizep = size;
370 qh_lines(struct ehci_hcd *ehci, struct ehci_qh *qh, char **nextp, unsigned *sizep) argument
/linux-master/include/net/netfilter/
H A Dnf_conntrack.h197 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls);
/linux-master/net/netfilter/
H A Dnf_conntrack_core.c2556 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls) argument
2561 if (*sizep > (UINT_MAX / sizeof(struct hlist_nulls_head)))
2565 nr_slots = *sizep = roundup(*sizep, PAGE_SIZE / sizeof(struct hlist_nulls_head));
/linux-master/tools/lib/api/fs/
H A Dfs.c348 int filename__read_str(const char *filename, char **buf, size_t *sizep) argument
359 err = io__getdelim(&io, buf, sizep, /*delim=*/-1);
385 int procfs__read_str(const char *entry, char **buf, size_t *sizep) argument
395 return filename__read_str(path, buf, sizep);
435 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) argument
445 return filename__read_str(path, buf, sizep);
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-master/tools/perf/util/
H A Dtrace-event-info.c46 char buf[BUFSIZ], *sizep; local
73 sizep = (char*)&size;
75 sizep += sizeof(u64) - hdr_sz;
77 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) {
/linux-master/tools/testing/selftests/kvm/include/
H A Dtest_util.h49 int test_seq_read(const char *path, char **bufp, size_t *sizep);

Completed in 327 milliseconds