Home
last modified time | relevance | path

Searched refs:dsize (Results 1 – 11 of 11) sorted by relevance

/arch/powerpc/platforms/powernv/
Dopal-secvar.c58 u8 *data, uint64_t *dsize) in opal_get_variable() argument
62 if (!key || !dsize) in opal_get_variable()
65 *dsize = cpu_to_be64(*dsize); in opal_get_variable()
67 rc = opal_secvar_get(key, ksize, data, dsize); in opal_get_variable()
69 *dsize = be64_to_cpu(*dsize); in opal_get_variable()
92 uint64_t dsize) in opal_set_variable() argument
99 rc = opal_secvar_enqueue_update(key, ksize, data, dsize); in opal_set_variable()
/arch/powerpc/kernel/
Dsecvar-sysfs.c50 uint64_t dsize; in size_show() local
53 rc = secvar_ops->get(kobj->name, strlen(kobj->name) + 1, NULL, &dsize); in size_show()
60 return sprintf(buf, "%llu\n", dsize); in size_show()
67 uint64_t dsize; in data_read() local
71 rc = secvar_ops->get(kobj->name, strlen(kobj->name) + 1, NULL, &dsize); in data_read()
76 pr_debug("dsize is %llu\n", dsize); in data_read()
78 data = kzalloc(dsize, GFP_KERNEL); in data_read()
82 rc = secvar_ops->get(kobj->name, strlen(kobj->name) + 1, data, &dsize); in data_read()
88 rc = memory_read_from_buffer(buf, count, &off, data, dsize); in data_read()
Dprom_init.c309 size_t dsize = prom_strlen(dest); in prom_strlcat() local
311 size_t res = dsize + len; in prom_strlcat()
314 if (dsize >= count) in prom_strlcat()
317 dest += dsize; in prom_strlcat()
318 count -= dsize; in prom_strlcat()
/arch/s390/lib/
Dstring.c171 size_t dsize = __strend(dest) - dest; in strlcat() local
173 size_t res = dsize + len; in strlcat()
175 if (dsize < n) { in strlcat()
176 dest += dsize; in strlcat()
177 n -= dsize; in strlcat()
/arch/powerpc/platforms/cell/
Diommu.c297 unsigned long dbase, unsigned long dsize, in cell_iommu_setup_stab() argument
303 segments = max(dbase + dsize, fbase + fsize) >> IO_SEGMENT_SHIFT; in cell_iommu_setup_stab()
876 struct device_node *np, unsigned long dbase, unsigned long dsize, in cell_iommu_setup_fixed_ptab() argument
881 ptab = cell_iommu_alloc_ptab(iommu, fbase, fsize, dbase, dsize, 24); in cell_iommu_setup_fixed_ptab()
900 if (ioaddr >= dbase && ioaddr < (dbase + dsize)) { in cell_iommu_setup_fixed_ptab()
913 unsigned long dbase, dsize, fbase, fsize, hbase, hend; in cell_iommu_fixed_mapping_init() local
942 cell_iommu_get_window(np, &dbase, &dsize); in cell_iommu_fixed_mapping_init()
943 fbase = max(fbase, dbase + dsize); in cell_iommu_fixed_mapping_init()
974 cell_iommu_get_window(np, &dbase, &dsize); in cell_iommu_fixed_mapping_init()
976 if (hbase < dbase || (hend > (dbase + dsize))) { in cell_iommu_fixed_mapping_init()
[all …]
/arch/alpha/include/uapi/asm/
Da.out.h30 __u64 dsize; member
67 #define a_data ah.dsize
/arch/mips/boot/
Decoff.h41 int32_t dsize; /* initialized data " " */ member
Delf2ecoff.c237 a->dsize = swab32(a->dsize); in convert_ecoff_aouthdr()
423 eah.dsize = data.len; in main()
466 esecs[1].s_size = eah.dsize; in main()
/arch/powerpc/boot/
Drs6000.h44 unsigned char dsize[4]; /* initialized data " " */ member
/arch/alpha/boot/tools/
Dobjstrip.c218 fil_size = aout->ah.tsize + aout->ah.dsize; in main()
/arch/ia64/include/asm/
Dpal.h471 dsize : 16, /* size of dynamic member
683 #define pmci_proc_dynamic_state_size pme_processor.dsize