/linux-master/security/integrity/platform_certs/ |
H A D | load_powerpc.c | 64 u64 dsize = 0; local 91 data = get_cert_list("db", 3, &dsize); 99 extract_esl(db, data, dsize, offset); 101 rc = parse_efi_signature_list("powerpc:db", db, dsize, 108 data = get_cert_list("dbx", 4, &dsize); 116 extract_esl(dbx, data, dsize, offset); 118 rc = parse_efi_signature_list("powerpc:dbx", dbx, dsize, 125 data = get_cert_list("trustedcadb", 12, &dsize); 132 extract_esl(trustedca, data, dsize, offset); 134 rc = parse_efi_signature_list("powerpc:trustedca", trustedca, dsize, [all...] |
/linux-master/drivers/video/fbdev/core/ |
H A D | softcursor.c | 27 unsigned int i, size, dsize, s_pitch, d_pitch; local 35 dsize = s_pitch * cursor->image.height; 37 if (dsize + sizeof(struct fb_image) != ops->cursor_size) { 39 ops->cursor_size = dsize + sizeof(struct fb_image); 60 for (i = 0; i < dsize; i++) 65 for (i = 0; i < dsize; i++) 70 memcpy(src, image->data, dsize);
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-secvar.c | 57 static int opal_get_variable(const char *key, u64 ksize, u8 *data, u64 *dsize) argument 61 if (!key || !dsize) 64 *dsize = cpu_to_be64(*dsize); 66 rc = opal_secvar_get(key, ksize, data, dsize); 68 *dsize = be64_to_cpu(*dsize); 89 static int opal_set_variable(const char *key, u64 ksize, u8 *data, u64 dsize) argument 96 rc = opal_secvar_enqueue_update(key, ksize, data, dsize);
|
/linux-master/lib/crypto/mpi/ |
H A D | mpih-div.c | 190 mpi_ptr_t np, mpi_size_t nsize, mpi_ptr_t dp, mpi_size_t dsize) 194 switch (dsize) { 200 * not to call it with dsize == 0, so this should not happen 202 return 1 / dsize; 300 np += nsize - dsize; 301 dX = dp[dsize - 1]; 302 d1 = dp[dsize - 2]; 303 n0 = np[dsize - 1]; 307 || mpihelp_cmp(np, dp, dsize - 1) >= 0) { 308 mpihelp_sub_n(np, np, dp, dsize); 189 mpihelp_divrem(mpi_ptr_t qp, mpi_size_t qextra_limbs, mpi_ptr_t np, mpi_size_t nsize, mpi_ptr_t dp, mpi_size_t dsize) argument [all...] |
H A D | mpi-div.c | 88 mpi_size_t dsize = den->nlimbs; local 104 qsize = rsize - dsize; /* qsize cannot be bigger than this. */ 130 if (dsize == 1) { 158 qp = rp + dsize; 160 normalization_steps = count_leading_zeros(dp[dsize - 1]); 174 tp = marker[markidx++] = mpi_alloc_limb_space(dsize); 175 mpihelp_lshift(tp, dp, dsize, normalization_steps); 195 tp = marker[markidx++] = mpi_alloc_limb_space(dsize); 196 MPN_COPY(tp, dp, dsize); 207 q_limb = mpihelp_divrem(qp, 0, rp, rsize, dp, dsize); [all...] |
/linux-master/drivers/isdn/hardware/mISDN/ |
H A D | isdnhdlc.h | 62 int slen, int *count, u8 *dst, int dsize); 67 u16 slen, int *count, u8 *dst, int dsize);
|
H A D | isdnhdlc.c | 114 dsize - destination buffer size 119 int *count, u8 *dst, int dsize) 288 if (hdlc->dstpos < dsize) 338 dsize - destination buffer size 342 int *count, u8 *dst, int dsize) 355 while (dsize > 0) { 385 while (dsize--) 387 return dsize; 397 dsize--; 557 if (dsize > 118 isdnhdlc_decode(struct isdnhdlc_vars *hdlc, const u8 *src, int slen, int *count, u8 *dst, int dsize) argument 341 isdnhdlc_encode(struct isdnhdlc_vars *hdlc, const u8 *src, u16 slen, int *count, u8 *dst, int dsize) argument [all...] |
/linux-master/fs/jffs2/ |
H A D | read.c | 53 jffs2_dbg(1, "Node read from %08x: node_crc %08x, calculated CRC %08x. dsize %x, csize %x, offset %x, buf %p\n", 55 crc, je32_to_cpu(ri->dsize), je32_to_cpu(ri->csize), 63 /* There was a bug where we wrote hole nodes out with csize/dsize 65 if (ri->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(ri->dsize) && 67 ri->dsize = ri->csize; 71 D1(if(ofs + len > je32_to_cpu(ri->dsize)) { 73 len, ofs, je32_to_cpu(ri->dsize)); 90 if (ri->compr == JFFS2_COMPR_NONE && len == je32_to_cpu(ri->dsize)) { 100 if (len < je32_to_cpu(ri->dsize)) { 101 decomprbuf = kmalloc(je32_to_cpu(ri->dsize), GFP_KERNE [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | secvar-sysfs.c | 41 u64 dsize; local 44 rc = secvar_ops->get(kobj->name, strlen(kobj->name) + 1, NULL, &dsize); 51 return sysfs_emit(buf, "%llu\n", dsize); 59 u64 dsize; local 62 rc = secvar_ops->get(kobj->name, strlen(kobj->name) + 1, NULL, &dsize); 68 pr_debug("dsize is %llu\n", dsize); 70 data = kzalloc(dsize, GFP_KERNEL); 74 rc = secvar_ops->get(kobj->name, strlen(kobj->name) + 1, data, &dsize); 80 rc = memory_read_from_buffer(buf, count, &off, data, dsize); [all...] |
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_bitmap_ipmac.c | 74 #define get_elem(extensions, id, dsize) \ 75 (struct bitmap_ipmac_elem *)(extensions + (id) * (dsize)) 77 #define get_const_elem(extensions, id, dsize) \ 78 (const struct bitmap_ipmac_elem *)(extensions + (id) * (dsize)) 84 const struct bitmap_ipmac *map, size_t dsize) 90 elem = get_const_elem(map->extensions, e->id, dsize); 98 bitmap_ipmac_gc_test(u16 id, const struct bitmap_ipmac *map, size_t dsize) argument 104 elem = get_const_elem(map->extensions, id, dsize); 144 struct bitmap_ipmac *map, u32 flags, size_t dsize) 148 elem = get_elem(map->extensions, e->id, dsize); 83 bitmap_ipmac_do_test(const struct bitmap_ipmac_adt_elem *e, const struct bitmap_ipmac *map, size_t dsize) argument 143 bitmap_ipmac_do_add(const struct bitmap_ipmac_adt_elem *e, struct bitmap_ipmac *map, u32 flags, size_t dsize) argument 188 bitmap_ipmac_do_list(struct sk_buff *skb, const struct bitmap_ipmac *map, u32 id, size_t dsize) argument [all...] |
H A D | ip_set_hash_gen.h | 92 #define ext_size(n, dsize) \ 93 (sizeof(struct hbucket) + (n) * (dsize)) 382 #define ahash_data(n, i, dsize) \ 383 ((struct mtype_elem *)((n)->value + ((i) * (dsize)))) 392 ip_set_ext_destroy(set, ahash_data(n, i, set->dsize)); 489 size_t dsize = set->dsize; local 506 data = ahash_data(n, j, dsize); 525 ext_size(n->size, dsize); 531 (n->size - AHASH_INIT_SIZE) * dsize, 627 size_t hsize, dsize = set->dsize; local 1045 size_t dsize = set->dsize; local [all...] |
H A D | ip_set_bitmap_gen.h | 36 #define get_ext(set, map, id) ((map)->extensions + ((set)->dsize * (id))) 63 if (set->dsize && set->extensions & IPSET_EXT_DESTROY) 85 mtype_memsize(const struct mtype *map, size_t dsize) argument 88 map->elements * dsize; 96 size_t memsize = mtype_memsize(map, set->dsize) + set->ext_size; 122 int ret = mtype_do_test(e, map, set->dsize); 136 int ret = mtype_do_add(e, map, flags, set->dsize); 239 if (mtype_do_list(skb, map, id, set->dsize)) 277 if (mtype_gc_test(id, map, set->dsize)) {
|
H A D | ip_set_bitmap_port.c | 59 const struct bitmap_port *map, size_t dsize) 65 bitmap_port_gc_test(u16 id, const struct bitmap_port *map, size_t dsize) argument 72 struct bitmap_port *map, u32 flags, size_t dsize) 86 size_t dsize) 268 set->dsize = ip_set_elem_len(set, tb, 0, 0); 269 map = ip_set_alloc(sizeof(*map) + elements * set->dsize); 58 bitmap_port_do_test(const struct bitmap_port_adt_elem *e, const struct bitmap_port *map, size_t dsize) argument 71 bitmap_port_do_add(const struct bitmap_port_adt_elem *e, struct bitmap_port *map, u32 flags, size_t dsize) argument 85 bitmap_port_do_list(struct sk_buff *skb, const struct bitmap_port *map, u32 id, size_t dsize) argument
|
/linux-master/arch/s390/lib/ |
H A D | string.c | 159 size_t dsize = __strend(dest) - dest; local 161 size_t res = dsize + len; 163 if (dsize < n) { 164 dest += dsize; 165 n -= dsize;
|
/linux-master/fs/ntfs3/ |
H A D | record.c | 571 int dsize; local 584 dsize = ALIGN(bytes, 8); 585 if (used + dsize > total) 587 nsize = asize + dsize; 589 memmove(next + dsize, next, tail); 590 memset(next, 0, dsize); 591 used += dsize; 592 rsize += dsize; 594 dsize = ALIGN(-bytes, 8); 595 if (dsize > asiz 632 u32 dsize = sbi->record_size - used; local [all...] |
/linux-master/drivers/s390/char/ |
H A D | sclp_sd.c | 44 u32 dsize; member in struct:sclp_sd_evbuf 55 * @dsize_bytes: Resulting dsize in bytes 213 evbuf->dsize = *dsize_ptr; 241 *dsize_ptr = evbuf->dsize; 244 pr_debug("success (dsize=%u, esize=%u)\n", evbuf->dsize, 287 u32 dsize = 0, esize = 0; local 297 rc = sclp_sd_sync(page, SD_EQ_SIZE, di, 0, 0, &dsize, &esize); 300 if (dsize == 0) 304 data = vzalloc(array_size((size_t)dsize, PAGE_SIZ [all...] |
/linux-master/arch/alpha/include/uapi/asm/ |
H A D | a.out.h | 30 __u64 dsize; member in struct:aouthdr 67 #define a_data ah.dsize
|
/linux-master/fs/afs/ |
H A D | xattr.c | 147 int which = 0, dsize, ret = -ENOMEM; local 185 dsize = yacl->acl->size; 189 dsize = scnprintf(buf, sizeof(buf), "%u", yacl->inherit_flag); 193 dsize = scnprintf(buf, sizeof(buf), "%u", yacl->num_cleaned); 197 dsize = yacl->vol_acl->size; 204 ret = dsize; 206 if (dsize <= size) 207 memcpy(buffer, data, dsize);
|
/linux-master/kernel/trace/ |
H A D | trace_uprobe.c | 948 struct uprobe_cpu_buffer *ucb, int dsize, 959 if (WARN_ON_ONCE(tu->tp.size + dsize > PAGE_SIZE)) 966 size = esize + tu->tp.size + dsize; 980 memcpy(data, ucb->buf, tu->tp.size + dsize); 987 struct uprobe_cpu_buffer *ucb, int dsize) 996 __uprobe_trace_func(tu, 0, regs, ucb, dsize, link->file); 1004 struct uprobe_cpu_buffer *ucb, int dsize) 1010 __uprobe_trace_func(tu, func, regs, ucb, dsize, link->file); 1338 struct uprobe_cpu_buffer *ucb, int dsize) 1359 size = esize + tu->tp.size + dsize; 946 __uprobe_trace_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize, struct trace_event_file *trace_file) argument 986 uprobe_trace_func(struct trace_uprobe *tu, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) argument 1002 uretprobe_trace_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) argument 1336 __uprobe_perf_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) argument 1397 uprobe_perf_func(struct trace_uprobe *tu, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) argument 1408 uretprobe_perf_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) argument 1478 int dsize, esize; local 1516 int dsize, esize; local [all...] |
H A D | trace_fprobe.c | 183 int dsize; local 191 dsize = __get_data_size(&tf->tp, regs, NULL); 194 sizeof(*entry) + tf->tp.size + dsize); 201 store_trace_args(&entry[1], &tf->tp, regs, NULL, sizeof(*entry), dsize); 239 int dsize; local 247 dsize = __get_data_size(&tf->tp, regs, entry_data); 250 sizeof(*entry) + tf->tp.size + dsize); 258 store_trace_args(&entry[1], &tf->tp, regs, entry_data, sizeof(*entry), dsize); 282 int size, __size, dsize; local 289 dsize 315 int size, __size, dsize; local [all...] |
/linux-master/drivers/staging/media/meson/vdec/ |
H A D | esparser.c | 85 int dsize; local 94 dsize = vb2_get_plane_payload(buf, 0); 96 if (dsize == vb2_plane_size(buf, 0)) { 101 marker = dp[dsize - 1]; 105 mag_ptr = dsize - mag * num_frames - 2; 128 frame_size[0] = dsize; 129 tot_frame_size[0] = dsize; 130 total_datasize = dsize;
|
/linux-master/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 299 unsigned long dbase, unsigned long dsize, 305 segments = max(dbase + dsize, fbase + fsize) >> IO_SEGMENT_SHIFT; 881 struct device_node *np, unsigned long dbase, unsigned long dsize, 886 ptab = cell_iommu_alloc_ptab(iommu, fbase, fsize, dbase, dsize, 24); 905 if (ioaddr >= dbase && ioaddr < (dbase + dsize)) { 918 unsigned long dbase, dsize, fbase, fsize, hbase, hend; local 947 cell_iommu_get_window(np, &dbase, &dsize); 948 fbase = max(fbase, dbase + dsize); 979 cell_iommu_get_window(np, &dbase, &dsize); 981 if (hbase < dbase || (hend > (dbase + dsize))) { 298 cell_iommu_setup_stab(struct cbe_iommu *iommu, unsigned long dbase, unsigned long dsize, unsigned long fbase, unsigned long fsize) argument 880 cell_iommu_setup_fixed_ptab(struct cbe_iommu *iommu, struct device_node *np, unsigned long dbase, unsigned long dsize, unsigned long fbase, unsigned long fsize) argument [all...] |
/linux-master/arch/mips/boot/ |
H A D | ecoff.h | 41 int32_t dsize; /* initialized data " " */ member in struct:aouthdr
|
/linux-master/drivers/video/fbdev/nvidia/ |
H A D | nv_accel.c | 357 u32 dsize, width, *data = (u32 *) image->data, tmp; local 361 dsize = (width * image->height) >> 5; 381 while (dsize >= RECT_EXPAND_TWO_COLOR_DATA_MAX_DWORDS) { 391 dsize -= RECT_EXPAND_TWO_COLOR_DATA_MAX_DWORDS; 394 if (dsize) { 395 NVDmaStart(info, par, RECT_EXPAND_TWO_COLOR_DATA(0), dsize); 397 for (j = dsize; j--;) {
|
/linux-master/fs/hfsplus/ |
H A D | unicode.c | 348 int size, dsize, decompose; local 358 dstr = decompose_unichar(c, &dsize, dhangul); 362 if (outlen + dsize > max_unistr_len) 366 } while (--dsize > 0); 401 int dsize; local 407 dstr = decompose_unichar(c, &dsize, dhangul); 417 } while (--dsize > 0);
|