/linux/drivers/char/tpm/eventlog/ |
H A D | of.c | 54 const u32 *sizep; in tpm_read_log_of() local 69 sizep = of_get_property(np, "linux,sml-size", NULL); in tpm_read_log_of() 71 if (sizep == NULL && basep == NULL) in tpm_read_log_of() 73 if (sizep == NULL || basep == NULL) in tpm_read_log_of() 87 size = be32_to_cpup((__force __be32 *)sizep); in tpm_read_log_of() 90 size = *sizep; in tpm_read_log_of()
|
/linux/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) in filename__read_str() argument 359 err = io__getdelim(&io, buf, sizep, /*delim=*/-1); in filename__read_str() 385 int procfs__read_str(const char *entry, char **buf, size_t *sizep) in procfs__read_str() argument 395 return filename__read_str(path, buf, sizep); in procfs__read_str() 435 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str() argument 445 return filename__read_str(path, buf, sizep); in sysfs__read_str()
|
/linux/arch/sh/mm/ |
H A D | consistent.c | 20 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 D | core_64.c | 44 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/tools/perf/util/ |
H A D | trace-event-info.c | 46 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/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mac-fec.c | 424 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 D | mac-scc.c | 425 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 D | fs_enet.h | 91 int (*get_regs)(struct net_device *dev, void *p, int *sizep);
|
H A D | mac-fcc.c | 478 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 D | test_util.h | 49 int test_seq_read(const char *path, char **bufp, size_t *sizep);
|
/linux/net/netfilter/ |
H A D | nf_conntrack_core.c | 2508 void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls) in nf_ct_alloc_hashtable() argument 2513 if (*sizep > (INT_MAX / sizeof(struct hlist_nulls_head))) in nf_ct_alloc_hashtable() 2517 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 D | intel_bios.c | 3115 size_t *sizep) in intel_bios_get_vbt() argument 3121 vbt = firmware_get_vbt(display, sizep); in intel_bios_get_vbt() 3124 vbt = intel_opregion_get_vbt(display, sizep); in intel_bios_get_vbt() 3132 vbt = oprom_get_vbt(display, intel_rom_spi(i915), sizep, "SPI flash"); in intel_bios_get_vbt() 3136 vbt = oprom_get_vbt(display, intel_rom_pci(i915), sizep, "PCI ROM"); in intel_bios_get_vbt()
|
/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 739 int nr_bds, bool force, u32 *sizep, int budget) in axienet_free_tx_chain() argument 778 if (sizep) in axienet_free_tx_chain() 779 *sizep += status & XAXIDMA_BD_STS_ACTUAL_LEN_MASK; in axienet_free_tx_chain()
|
/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 354 char **nextp, unsigned *sizep) in qh_lines() argument 360 unsigned size = *sizep; in qh_lines() 436 *sizep = size; in qh_lines()
|