/kernel/linux/linux-6.6/security/integrity/platform_certs/ |
H A D | load_powerpc.c | 64 u64 dsize = 0; in load_powerpc_certs() local 91 data = get_cert_list("db", 3, &dsize); in load_powerpc_certs() 99 extract_esl(db, data, dsize, offset); in load_powerpc_certs() 101 rc = parse_efi_signature_list("powerpc:db", db, dsize, in load_powerpc_certs() 108 data = get_cert_list("dbx", 4, &dsize); in load_powerpc_certs() 116 extract_esl(dbx, data, dsize, offset); in load_powerpc_certs() 118 rc = parse_efi_signature_list("powerpc:dbx", dbx, dsize, in load_powerpc_certs() 125 data = get_cert_list("trustedcadb", 12, &dsize); in load_powerpc_certs() 132 extract_esl(trustedca, data, dsize, offset); in load_powerpc_certs() 134 rc = parse_efi_signature_list("powerpc:trustedca", trustedca, dsize, in load_powerpc_certs() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
H A D | opal-secvar.c | 58 u8 *data, uint64_t *dsize) in opal_get_variable() 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() 99 rc = opal_secvar_enqueue_update(key, ksize, data, dsize); in opal_set_variable() 57 opal_get_variable(const char *key, uint64_t ksize, u8 *data, uint64_t *dsize) opal_get_variable() argument 91 opal_set_variable(const char *key, uint64_t ksize, u8 *data, uint64_t dsize) opal_set_variable() argument
|
/kernel/linux/linux-6.6/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) in opal_get_variable() argument 61 if (!key || !dsize) in opal_get_variable() 64 *dsize = cpu_to_be64(*dsize); in opal_get_variable() 66 rc = opal_secvar_get(key, ksize, data, dsize); in opal_get_variable() 68 *dsize = be64_to_cpu(*dsize); in opal_get_variable() 89 static int opal_set_variable(const char *key, u64 ksize, u8 *data, u64 dsize) in opal_set_variable() argument 96 rc = opal_secvar_enqueue_update(key, ksize, data, dsize); in opal_set_variable()
|
/kernel/linux/linux-5.10/lib/mpi/ |
H A D | mpi-div.c | 88 mpi_size_t dsize = den->nlimbs; in mpi_tdiv_qr() local 104 qsize = rsize - dsize; /* qsize cannot be bigger than this. */ in mpi_tdiv_qr() 130 if (dsize == 1) { in mpi_tdiv_qr() 158 qp = rp + dsize; in mpi_tdiv_qr() 160 normalization_steps = count_leading_zeros(dp[dsize - 1]); in mpi_tdiv_qr() 174 tp = marker[markidx++] = mpi_alloc_limb_space(dsize); in mpi_tdiv_qr() 175 mpihelp_lshift(tp, dp, dsize, normalization_steps); in mpi_tdiv_qr() 195 tp = marker[markidx++] = mpi_alloc_limb_space(dsize); in mpi_tdiv_qr() 196 MPN_COPY(tp, dp, dsize); in mpi_tdiv_qr() 207 q_limb = mpihelp_divrem(qp, 0, rp, rsize, dp, dsize); in mpi_tdiv_qr() [all...] |
H A D | mpih-div.c | 190 mpi_ptr_t np, mpi_size_t nsize, mpi_ptr_t dp, mpi_size_t dsize) in mpihelp_divrem() 194 switch (dsize) { in mpihelp_divrem() 200 * not to call it with dsize == 0, so this should not happen in mpihelp_divrem() 202 return 1 / dsize; in mpihelp_divrem() 300 np += nsize - dsize; in mpihelp_divrem() 301 dX = dp[dsize - 1]; in mpihelp_divrem() 302 d1 = dp[dsize - 2]; in mpihelp_divrem() 303 n0 = np[dsize - 1]; in mpihelp_divrem() 307 || mpihelp_cmp(np, dp, dsize - 1) >= 0) { in mpihelp_divrem() 308 mpihelp_sub_n(np, np, dp, dsize); in mpihelp_divrem() 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) mpihelp_divrem() argument [all...] |
/kernel/linux/linux-6.6/lib/crypto/mpi/ |
H A D | mpi-div.c | 88 mpi_size_t dsize = den->nlimbs; in mpi_tdiv_qr() local 104 qsize = rsize - dsize; /* qsize cannot be bigger than this. */ in mpi_tdiv_qr() 130 if (dsize == 1) { in mpi_tdiv_qr() 158 qp = rp + dsize; in mpi_tdiv_qr() 160 normalization_steps = count_leading_zeros(dp[dsize - 1]); in mpi_tdiv_qr() 174 tp = marker[markidx++] = mpi_alloc_limb_space(dsize); in mpi_tdiv_qr() 175 mpihelp_lshift(tp, dp, dsize, normalization_steps); in mpi_tdiv_qr() 195 tp = marker[markidx++] = mpi_alloc_limb_space(dsize); in mpi_tdiv_qr() 196 MPN_COPY(tp, dp, dsize); in mpi_tdiv_qr() 207 q_limb = mpihelp_divrem(qp, 0, rp, rsize, dp, dsize); in mpi_tdiv_qr() [all...] |
H A D | mpih-div.c | 190 mpi_ptr_t np, mpi_size_t nsize, mpi_ptr_t dp, mpi_size_t dsize) in mpihelp_divrem() 194 switch (dsize) { in mpihelp_divrem() 200 * not to call it with dsize == 0, so this should not happen in mpihelp_divrem() 202 return 1 / dsize; in mpihelp_divrem() 300 np += nsize - dsize; in mpihelp_divrem() 301 dX = dp[dsize - 1]; in mpihelp_divrem() 302 d1 = dp[dsize - 2]; in mpihelp_divrem() 303 n0 = np[dsize - 1]; in mpihelp_divrem() 307 || mpihelp_cmp(np, dp, dsize - 1) >= 0) { in mpihelp_divrem() 308 mpihelp_sub_n(np, np, dp, dsize); in mpihelp_divrem() 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) mpihelp_divrem() argument [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
H A D | softcursor.c | 27 unsigned int i, size, dsize, s_pitch, d_pitch; in soft_cursor() local 35 dsize = s_pitch * cursor->image.height; in soft_cursor() 37 if (dsize + sizeof(struct fb_image) != ops->cursor_size) { in soft_cursor() 39 ops->cursor_size = dsize + sizeof(struct fb_image); in soft_cursor() 60 for (i = 0; i < dsize; i++) in soft_cursor() 65 for (i = 0; i < dsize; i++) in soft_cursor() 70 memcpy(src, image->data, dsize); in soft_cursor()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
H A D | softcursor.c | 27 unsigned int i, size, dsize, s_pitch, d_pitch; in soft_cursor() local 35 dsize = s_pitch * cursor->image.height; in soft_cursor() 37 if (dsize + sizeof(struct fb_image) != ops->cursor_size) { in soft_cursor() 39 ops->cursor_size = dsize + sizeof(struct fb_image); in soft_cursor() 60 for (i = 0; i < dsize; i++) in soft_cursor() 65 for (i = 0; i < dsize; i++) in soft_cursor() 70 memcpy(src, image->data, dsize); in soft_cursor()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | secvar-sysfs.c | 50 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() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | secvar-sysfs.c | 41 u64 dsize; in size_show() local 44 rc = secvar_ops->get(kobj->name, strlen(kobj->name) + 1, NULL, &dsize); in size_show() 51 return sysfs_emit(buf, "%llu\n", dsize); in size_show() 59 u64 dsize; in data_read() local 62 rc = secvar_ops->get(kobj->name, strlen(kobj->name) + 1, NULL, &dsize); in data_read() 68 pr_debug("dsize is %llu\n", dsize); in data_read() 70 data = kzalloc(dsize, GFP_KERNEL); in data_read() 74 rc = secvar_ops->get(kobj->name, strlen(kobj->name) + 1, data, &dsize); in data_read() 80 rc = memory_read_from_buffer(buf, count, &off, data, dsize); in data_read() [all...] |
/kernel/linux/linux-5.10/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", in jffs2_read_dnode() 55 crc, je32_to_cpu(ri->dsize), je32_to_cpu(ri->csize), in jffs2_read_dnode() 63 /* There was a bug where we wrote hole nodes out with csize/dsize in jffs2_read_dnode() 65 if (ri->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(ri->dsize) && in jffs2_read_dnode() 67 ri->dsize = ri->csize; in jffs2_read_dnode() 71 D1(if(ofs + len > je32_to_cpu(ri->dsize)) { in jffs2_read_dnode() 73 len, ofs, je32_to_cpu(ri->dsize)); in jffs2_read_dnode() 90 if (ri->compr == JFFS2_COMPR_NONE && len == je32_to_cpu(ri->dsize)) { in jffs2_read_dnode() 100 if (len < je32_to_cpu(ri->dsize)) { in jffs2_read_dnode() 101 decomprbuf = kmalloc(je32_to_cpu(ri->dsize), GFP_KERNE in jffs2_read_dnode() [all...] |
/kernel/linux/linux-6.6/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", in jffs2_read_dnode() 55 crc, je32_to_cpu(ri->dsize), je32_to_cpu(ri->csize), in jffs2_read_dnode() 63 /* There was a bug where we wrote hole nodes out with csize/dsize in jffs2_read_dnode() 65 if (ri->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(ri->dsize) && in jffs2_read_dnode() 67 ri->dsize = ri->csize; in jffs2_read_dnode() 71 D1(if(ofs + len > je32_to_cpu(ri->dsize)) { in jffs2_read_dnode() 73 len, ofs, je32_to_cpu(ri->dsize)); in jffs2_read_dnode() 90 if (ri->compr == JFFS2_COMPR_NONE && len == je32_to_cpu(ri->dsize)) { in jffs2_read_dnode() 100 if (len < je32_to_cpu(ri->dsize)) { in jffs2_read_dnode() 101 decomprbuf = kmalloc(je32_to_cpu(ri->dsize), GFP_KERNE in jffs2_read_dnode() [all...] |
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | record.c | 571 int dsize; in mi_resize_attr() local 584 dsize = ALIGN(bytes, 8); in mi_resize_attr() 585 if (used + dsize > total) in mi_resize_attr() 587 nsize = asize + dsize; in mi_resize_attr() 589 memmove(next + dsize, next, tail); in mi_resize_attr() 590 memset(next, 0, dsize); in mi_resize_attr() 591 used += dsize; in mi_resize_attr() 592 rsize += dsize; in mi_resize_attr() 594 dsize = ALIGN(-bytes, 8); in mi_resize_attr() 595 if (dsize > asiz in mi_resize_attr() 632 u32 dsize = sbi->record_size - used; mi_pack_runs() local [all...] |
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
H A D | ip_set_hash_gen.h | 116 #define ext_size(n, dsize) \ 117 (sizeof(struct hbucket) + (n) * (dsize)) 396 #define ahash_data(n, i, dsize) \ 397 ((struct mtype_elem *)((n)->value + ((i) * (dsize)))) 406 ip_set_ext_destroy(set, ahash_data(n, i, set->dsize)); in mtype_ext_cleanup() 503 size_t dsize = set->dsize; in mtype_gc_do() local 520 data = ahash_data(n, j, dsize); in mtype_gc_do() 539 ext_size(n->size, dsize); in mtype_gc_do() 545 (n->size - AHASH_INIT_SIZE) * dsize, in mtype_gc_do() 641 size_t hsize, dsize = set->dsize; mtype_resize() local 1054 size_t dsize = set->dsize; mtype_del() local [all...] |
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) in bitmap_ipmac_do_test() 90 elem = get_const_elem(map->extensions, e->id, dsize); in bitmap_ipmac_do_test() 98 bitmap_ipmac_gc_test(u16 id, const struct bitmap_ipmac *map, size_t dsize) in bitmap_ipmac_gc_test() argument 104 elem = get_const_elem(map->extensions, id, dsize); in bitmap_ipmac_gc_test() 144 struct bitmap_ipmac *map, u32 flags, size_t dsize) in bitmap_ipmac_do_add() 148 elem = get_elem(map->extensions, e->id, dsize); in bitmap_ipmac_do_add() 83 bitmap_ipmac_do_test(const struct bitmap_ipmac_adt_elem *e, const struct bitmap_ipmac *map, size_t dsize) bitmap_ipmac_do_test() argument 143 bitmap_ipmac_do_add(const struct bitmap_ipmac_adt_elem *e, struct bitmap_ipmac *map, u32 flags, size_t dsize) bitmap_ipmac_do_add() argument 188 bitmap_ipmac_do_list(struct sk_buff *skb, const struct bitmap_ipmac *map, u32 id, size_t dsize) bitmap_ipmac_do_list() argument [all...] |
/kernel/linux/linux-6.6/net/netfilter/ipset/ |
H A D | ip_set_hash_gen.h | 91 #define ext_size(n, dsize) \ 92 (sizeof(struct hbucket) + (n) * (dsize)) 381 #define ahash_data(n, i, dsize) \ 382 ((struct mtype_elem *)((n)->value + ((i) * (dsize)))) 391 ip_set_ext_destroy(set, ahash_data(n, i, set->dsize)); in mtype_ext_cleanup() 488 size_t dsize = set->dsize; in mtype_gc_do() local 505 data = ahash_data(n, j, dsize); in mtype_gc_do() 524 ext_size(n->size, dsize); in mtype_gc_do() 530 (n->size - AHASH_INIT_SIZE) * dsize, in mtype_gc_do() 626 size_t hsize, dsize = set->dsize; mtype_resize() local 1044 size_t dsize = set->dsize; mtype_del() local [all...] |
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) in bitmap_ipmac_do_test() 90 elem = get_const_elem(map->extensions, e->id, dsize); in bitmap_ipmac_do_test() 98 bitmap_ipmac_gc_test(u16 id, const struct bitmap_ipmac *map, size_t dsize) in bitmap_ipmac_gc_test() argument 104 elem = get_const_elem(map->extensions, id, dsize); in bitmap_ipmac_gc_test() 144 struct bitmap_ipmac *map, u32 flags, size_t dsize) in bitmap_ipmac_do_add() 148 elem = get_elem(map->extensions, e->id, dsize); in bitmap_ipmac_do_add() 83 bitmap_ipmac_do_test(const struct bitmap_ipmac_adt_elem *e, const struct bitmap_ipmac *map, size_t dsize) bitmap_ipmac_do_test() argument 143 bitmap_ipmac_do_add(const struct bitmap_ipmac_adt_elem *e, struct bitmap_ipmac *map, u32 flags, size_t dsize) bitmap_ipmac_do_add() argument 188 bitmap_ipmac_do_list(struct sk_buff *skb, const struct bitmap_ipmac *map, u32 id, size_t dsize) bitmap_ipmac_do_list() argument [all...] |
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | trace_uprobe.c | 948 struct uprobe_cpu_buffer *ucb, int dsize, in __uprobe_trace_func() 960 if (WARN_ON_ONCE(tu->tp.size + dsize > PAGE_SIZE)) in __uprobe_trace_func() 967 size = esize + tu->tp.size + dsize; in __uprobe_trace_func() 983 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_trace_func() 990 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_trace_func() 999 __uprobe_trace_func(tu, 0, regs, ucb, dsize, link->file); in uprobe_trace_func() 1007 struct uprobe_cpu_buffer *ucb, int dsize) in uretprobe_trace_func() 1013 __uprobe_trace_func(tu, func, regs, ucb, dsize, link->file); in uretprobe_trace_func() 1346 struct uprobe_cpu_buffer *ucb, int dsize) in __uprobe_perf_func() 1367 size = esize + tu->tp.size + dsize; in __uprobe_perf_func() 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) __uprobe_trace_func() argument 989 uprobe_trace_func(struct trace_uprobe *tu, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) uprobe_trace_func() argument 1005 uretprobe_trace_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) uretprobe_trace_func() argument 1344 __uprobe_perf_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) __uprobe_perf_func() argument 1405 uprobe_perf_func(struct trace_uprobe *tu, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) uprobe_perf_func() argument 1416 uretprobe_perf_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) uretprobe_perf_func() argument 1486 int dsize, esize; uprobe_dispatcher() local 1524 int dsize, esize; uretprobe_dispatcher() local [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_uprobe.c | 948 struct uprobe_cpu_buffer *ucb, int dsize, in __uprobe_trace_func() 959 if (WARN_ON_ONCE(tu->tp.size + dsize > PAGE_SIZE)) in __uprobe_trace_func() 966 size = esize + tu->tp.size + dsize; in __uprobe_trace_func() 980 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_trace_func() 987 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_trace_func() 996 __uprobe_trace_func(tu, 0, regs, ucb, dsize, link->file); in uprobe_trace_func() 1004 struct uprobe_cpu_buffer *ucb, int dsize) in uretprobe_trace_func() 1010 __uprobe_trace_func(tu, func, regs, ucb, dsize, link->file); in uretprobe_trace_func() 1338 struct uprobe_cpu_buffer *ucb, int dsize) in __uprobe_perf_func() 1359 size = esize + tu->tp.size + dsize; in __uprobe_perf_func() 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) __uprobe_trace_func() argument 986 uprobe_trace_func(struct trace_uprobe *tu, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) uprobe_trace_func() argument 1002 uretprobe_trace_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) uretprobe_trace_func() argument 1336 __uprobe_perf_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) __uprobe_perf_func() argument 1397 uprobe_perf_func(struct trace_uprobe *tu, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) uprobe_perf_func() argument 1408 uretprobe_perf_func(struct trace_uprobe *tu, unsigned long func, struct pt_regs *regs, struct uprobe_cpu_buffer *ucb, int dsize) uretprobe_perf_func() argument 1478 int dsize, esize; uprobe_dispatcher() local 1516 int dsize, esize; uretprobe_dispatcher() local [all...] |
/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | sclp_sd.c | 44 u32 dsize; member 55 * @dsize_bytes: Resulting dsize in bytes 212 evbuf->dsize = *dsize_ptr; in sclp_sd_sync() 240 *dsize_ptr = evbuf->dsize; in sclp_sd_sync() 243 pr_debug("success (dsize=%u, esize=%u)\n", evbuf->dsize, in sclp_sd_sync() 286 u32 dsize = 0, esize = 0; in sclp_sd_store_data() local 296 rc = sclp_sd_sync(page, SD_EQ_SIZE, di, 0, 0, &dsize, &esize); in sclp_sd_store_data() 299 if (dsize == 0) in sclp_sd_store_data() 303 data = vzalloc(array_size((size_t)dsize, PAGE_SIZ in sclp_sd_store_data() [all...] |
/kernel/linux/linux-5.10/fs/afs/ |
H A D | xattr.c | 146 int which = 0, dsize, ret = -ENOMEM; in afs_xattr_get_yfs() local 184 dsize = yacl->acl->size; in afs_xattr_get_yfs() 188 dsize = scnprintf(buf, sizeof(buf), "%u", yacl->inherit_flag); in afs_xattr_get_yfs() 192 dsize = scnprintf(buf, sizeof(buf), "%u", yacl->num_cleaned); in afs_xattr_get_yfs() 196 dsize = yacl->vol_acl->size; in afs_xattr_get_yfs() 203 ret = dsize; in afs_xattr_get_yfs() 205 if (dsize <= size) in afs_xattr_get_yfs() 206 memcpy(buffer, data, dsize); in afs_xattr_get_yfs()
|
/kernel/linux/linux-6.6/fs/afs/ |
H A D | xattr.c | 147 int which = 0, dsize, ret = -ENOMEM; in afs_xattr_get_yfs() local 185 dsize = yacl->acl->size; in afs_xattr_get_yfs() 189 dsize = scnprintf(buf, sizeof(buf), "%u", yacl->inherit_flag); in afs_xattr_get_yfs() 193 dsize = scnprintf(buf, sizeof(buf), "%u", yacl->num_cleaned); in afs_xattr_get_yfs() 197 dsize = yacl->vol_acl->size; in afs_xattr_get_yfs() 204 ret = dsize; in afs_xattr_get_yfs() 206 if (dsize <= size) in afs_xattr_get_yfs() 207 memcpy(buffer, data, dsize); in afs_xattr_get_yfs()
|
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/ |
H A D | isdnhdlc.c | 114 dsize - destination buffer size 119 int *count, u8 *dst, int dsize) in isdnhdlc_decode() 288 if (hdlc->dstpos < dsize) in isdnhdlc_decode() 338 dsize - destination buffer size 342 int *count, u8 *dst, int dsize) in isdnhdlc_encode() 355 while (dsize > 0) { in isdnhdlc_encode() 385 while (dsize--) in isdnhdlc_encode() 387 return dsize; in isdnhdlc_encode() 397 dsize--; in isdnhdlc_encode() 557 if (dsize > in isdnhdlc_encode() 118 isdnhdlc_decode(struct isdnhdlc_vars *hdlc, const u8 *src, int slen, int *count, u8 *dst, int dsize) isdnhdlc_decode() argument 341 isdnhdlc_encode(struct isdnhdlc_vars *hdlc, const u8 *src, u16 slen, int *count, u8 *dst, int dsize) isdnhdlc_encode() argument [all...] |
/kernel/linux/linux-6.6/drivers/isdn/hardware/mISDN/ |
H A D | isdnhdlc.c | 114 dsize - destination buffer size 119 int *count, u8 *dst, int dsize) in isdnhdlc_decode() 288 if (hdlc->dstpos < dsize) in isdnhdlc_decode() 338 dsize - destination buffer size 342 int *count, u8 *dst, int dsize) in isdnhdlc_encode() 355 while (dsize > 0) { in isdnhdlc_encode() 385 while (dsize--) in isdnhdlc_encode() 387 return dsize; in isdnhdlc_encode() 397 dsize--; in isdnhdlc_encode() 557 if (dsize > in isdnhdlc_encode() 118 isdnhdlc_decode(struct isdnhdlc_vars *hdlc, const u8 *src, int slen, int *count, u8 *dst, int dsize) isdnhdlc_decode() argument 341 isdnhdlc_encode(struct isdnhdlc_vars *hdlc, const u8 *src, u16 slen, int *count, u8 *dst, int dsize) isdnhdlc_encode() argument [all...] |