/linux-master/tools/lib/api/fs/ |
H A 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);
|
H A D | fs.c | 348 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);
|
/linux-master/drivers/char/tpm/eventlog/ |
H A D | of.c | 54 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/arch/sh/mm/ |
H A D | consistent.c | 20 static void __init memchunk_cmdline_override(char *name, unsigned long *sizep) argument 29 *sizep = memparse(p, NULL); 31 name, *sizep);
|
/linux-master/arch/powerpc/kernel/ |
H A D | crash_dump.c | 115 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 D | setup_64.c | 586 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)
|
H A D | rtas.c | 2120 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;
|
/linux-master/arch/powerpc/kexec/ |
H A D | core_64.c | 41 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/tools/perf/util/ |
H A D | trace-event-info.c | 46 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/arch/powerpc/platforms/powernv/ |
H A D | opal.c | 113 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/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mac-fec.c | 427 static int get_regs(struct net_device *dev, void *p, int *sizep) argument 431 if (*sizep < sizeof(struct fec))
|
H A D | fs_enet.h | 91 int (*get_regs)(struct net_device *dev, void *p, int *sizep);
|
H A D | mac-scc.c | 428 static int get_regs(struct net_device *dev, void *p, int *sizep) argument 432 if (*sizep < sizeof(scc_t) + sizeof(scc_enet_t __iomem *))
|
H A D | mac-fcc.c | 481 static int get_regs(struct net_device *dev, void *p, int *sizep) argument 485 if (*sizep < sizeof(fcc_t) + sizeof(fcc_enet_t) + 1)
|
/linux-master/tools/testing/selftests/kvm/include/ |
H A D | test_util.h | 49 int test_seq_read(const char *path, char **bufp, size_t *sizep);
|
/linux-master/include/net/netfilter/ |
H A D | nf_conntrack.h | 197 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls);
|
/linux-master/drivers/usb/host/ |
H A D | ehci-dbg.c | 371 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/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 548 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/net/netfilter/ |
H A D | nf_conntrack_core.c | 2556 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/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 670 * @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 D | fotg210-hcd.c | 354 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
|