| /OK3568_Linux_fs/kernel/drivers/char/tpm/eventlog/ |
| H A D | of.c | 23 const u32 *sizep; in tpm_read_log_of() local 38 sizep = of_get_property(np, "linux,sml-size", NULL); in tpm_read_log_of() 40 if (sizep == NULL && basep == NULL) in tpm_read_log_of() 42 if (sizep == NULL || basep == NULL) in tpm_read_log_of() 56 size = be32_to_cpup((__force __be32 *)sizep); in tpm_read_log_of() 59 size = *sizep; in tpm_read_log_of()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | iscsi_ibft.h | 29 unsigned long find_ibft_region(unsigned long *sizep); 31 static inline unsigned long find_ibft_region(unsigned long *sizep) in find_ibft_region() argument 33 *sizep = 0; in find_ibft_region()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | crash_dump.c | 128 const __be32 *basep, *sizep; in crash_free_reserved_phys_range() local 132 sizep = of_get_property(rtas.dev, "rtas-size", NULL); in crash_free_reserved_phys_range() 134 if (basep && sizep) { in crash_free_reserved_phys_range() 136 rtas_end = rtas_start + be32_to_cpup(sizep); in crash_free_reserved_phys_range()
|
| H A D | setup_64.c | 537 const __be32 *sizep, *lsizep, *bsizep, *setsp; in parse_cache_info() local 544 sizep = of_get_property(np, propnames[0], NULL); in parse_cache_info() 545 if (sizep != NULL) in parse_cache_info() 546 size = be32_to_cpu(*sizep); in parse_cache_info() 560 if (sizep == NULL || bsizep == NULL || lsizep == NULL) in parse_cache_info()
|
| H A D | rtas.c | 1299 const u32 *basep, *entryp, *sizep; in early_init_dt_scan_rtas() local 1306 sizep = of_get_flat_dt_prop(node, "rtas-size", NULL); in early_init_dt_scan_rtas() 1314 if (basep && entryp && sizep) { in early_init_dt_scan_rtas() 1317 rtas.size = *sizep; in early_init_dt_scan_rtas()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | fdtdec.h | 314 fdt_size_t *sizep, bool translate); 335 int node, const char *prop_name, int index, fdt_size_t *sizep, 361 const char *prop_name, int index, fdt_size_t *sizep, 416 const char *prop_name, fdt_size_t *sizep); 817 fdt_addr_t *basep, fdt_size_t *sizep); 875 fdt_addr_t *basep, fdt_size_t *sizep);
|
| /OK3568_Linux_fs/kernel/drivers/firmware/ |
| H A D | iscsi_ibft_find.c | 87 unsigned long __init find_ibft_region(unsigned long *sizep) in find_ibft_region() argument 98 *sizep = PAGE_ALIGN(ibft_addr->header.length); in find_ibft_region() 102 *sizep = 0; in find_ibft_region()
|
| /OK3568_Linux_fs/kernel/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 | 377 int filename__read_str(const char *filename, char **buf, size_t *sizep) in filename__read_str() argument 416 *sizep = size; in filename__read_str() 441 int procfs__read_str(const char *entry, char **buf, size_t *sizep) in procfs__read_str() argument 451 return filename__read_str(path, buf, sizep); in procfs__read_str() 491 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str() argument 501 return filename__read_str(path, buf, sizep); in sysfs__read_str()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | bootstage.c | 18 ulong *sizep) in get_base_size() argument 23 *sizep = CONFIG_BOOTSTAGE_STASH_SIZE; in get_base_size() 31 *sizep = simple_strtoul(argv[2], &endp, 16); in get_base_size()
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | fdtdec.c | 86 fdt_size_t *sizep, bool translate) in fdtdec_get_addr_size_fixed() argument 118 if (sizep) { in fdtdec_get_addr_size_fixed() 119 *sizep = fdtdec_get_number(prop_size, ns); in fdtdec_get_addr_size_fixed() 121 (unsigned long long)*sizep); in fdtdec_get_addr_size_fixed() 130 int node, const char *prop_name, int index, fdt_size_t *sizep, in fdtdec_get_addr_size_auto_parent() argument 152 ns, sizep, translate); in fdtdec_get_addr_size_auto_parent() 156 const char *prop_name, int index, fdt_size_t *sizep, in fdtdec_get_addr_size_auto_noparent() argument 170 index, sizep, translate); in fdtdec_get_addr_size_auto_noparent() 174 const char *prop_name, fdt_size_t *sizep) in fdtdec_get_addr_size() argument 176 int ns = sizep ? (sizeof(fdt_size_t) / sizeof(fdt32_t)) : 0; in fdtdec_get_addr_size() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kexec/ |
| H A D | core_64.c | 42 const unsigned int *sizep; in default_machine_kexec_prepare() local 56 sizep = of_get_property(node, "linux,tce-size", NULL); in default_machine_kexec_prepare() 57 if (basep == NULL || sizep == NULL) in default_machine_kexec_prepare() 61 high = low + (*sizep); in default_machine_kexec_prepare()
|
| /OK3568_Linux_fs/u-boot/lib/efi/ |
| H A D | efi_info.c | 14 int efi_info_get(enum efi_entry_t type, void **datap, int *sizep) in efi_info_get() argument 36 *sizep = entry->size; in efi_info_get()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/u-boot/include/dm/ |
| H A D | read.h | 147 fdt_size_t *sizep); 549 fdt_size_t *sizep) in dev_read_addr_size() argument 551 return ofnode_get_addr_size(dev_ofnode(dev), propname, sizep); in dev_read_addr_size()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/ |
| H A D | opal.c | 113 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()
|
| /OK3568_Linux_fs/u-boot/drivers/core/ |
| H A D | read.c | 85 fdt_size_t *sizep) in dev_read_addr_size() argument 87 return ofnode_get_addr_size(dev_ofnode(dev), property, sizep); in dev_read_addr_size()
|
| H A D | ofnode.c | 573 fdt_size_t *sizep) in ofnode_get_addr_size() argument 585 *sizep = of_read_number(prop + na, ns); in ofnode_get_addr_size() 590 sizep); in ofnode_get_addr_size()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/include/ |
| H A D | test_util.h | 39 int test_seq_read(const char *path, char **bufp, size_t *sizep);
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | ifdtool.c | 601 int open_for_read(const char *fname, int *sizep) in open_for_read() argument 610 *sizep = buf.st_size; in open_for_read() 611 debug("File %s is %d bytes\n", fname, *sizep); in open_for_read()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/fs_enet/ |
| H A D | mac-fec.c | 442 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument 446 if (*sizep < sizeof(struct fec)) in get_regs()
|
| H A D | mac-scc.c | 429 static int get_regs(struct net_device *dev, void *p, int *sizep) in get_regs() argument 433 if (*sizep < sizeof(scc_t) + sizeof(scc_enet_t __iomem *)) in get_regs()
|
| /OK3568_Linux_fs/external/xserver/mi/ |
| H A D | miarc.c | 1738 addCap(miArcCapPtr * capsp, int *ncapsp, int *sizep, int end, int arcIndex) in addCap() argument 1743 if (*ncapsp == *sizep) { in addCap() 1744 newsize = *sizep + ADD_REALLOC_STEP; in addCap() 1748 *sizep = newsize; in addCap() 1760 int *sizep, in addJoin() argument 1766 if (*njoinsp == *sizep) { in addJoin() 1767 newsize = *sizep + ADD_REALLOC_STEP; in addJoin() 1771 *sizep = newsize; in addJoin() 1785 addArc(miArcDataPtr * arcsp, int *narcsp, int *sizep, xArc * xarc) in addArc() argument 1790 if (*narcsp == *sizep) { in addArc() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/ |
| H A D | iommu.c | 500 const u32 *sizep; in iommu_table_setparms() local 505 sizep = of_get_property(node, "linux,tce-size", NULL); in iommu_table_setparms() 506 if (basep == NULL || sizep == NULL) { in iommu_table_setparms() 515 memset((void *)tbl->it_base, 0, *sizep); in iommu_table_setparms()
|