Home
last modified time | relevance | path

Searched refs:ilen (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.6.21/arch/x86/boot/compressed/
Dmkpiggy.c22 long ilen; in main() local
49 ilen = ftell(f); in main()
54 printf("z_input_len = %lu\n", ilen); in main()
65 printf("input_len:\n\t.long %lu\n", ilen); in main()
/linux-6.6.21/arch/x86/include/asm/
Duprobes.h36 u8 ilen; member
41 u8 ilen; member
45 u8 ilen; member
/linux-6.6.21/lib/842/
D842_compress.c91 u64 ilen; member
477 int sw842_compress(const u8 *in, unsigned int ilen, in sw842_compress() argument
494 p->ilen = ilen; in sw842_compress()
504 if (sw842_strict && (ilen % 8)) { in sw842_compress()
505 pr_err("Using strict mode, can't compress len %d\n", ilen); in sw842_compress()
510 if (unlikely(ilen < 8)) in sw842_compress()
516 while (p->ilen > 7) { in sw842_compress()
552 p->ilen -= 8; in sw842_compress()
562 if (p->ilen > 0) { in sw842_compress()
563 ret = add_short_data_template(p, p->ilen); in sw842_compress()
[all …]
D842_decompress.c53 u64 ilen; member
101 else if (p->ilen < 8 && bits > 32 && bits <= 56) in next_bits()
103 else if (p->ilen < 4 && bits > 16 && bits <= 24) in next_bits()
106 if (DIV_ROUND_UP(bits, 8) > p->ilen) in next_bits()
124 p->ilen -= p->bit / 8; in next_bits()
277 int sw842_decompress(const u8 *in, unsigned int ilen, in sw842_decompress() argument
287 p.ilen = ilen; in sw842_decompress()
/linux-6.6.21/arch/s390/kernel/
Duprobes.c96 int ilen = insn_length(auprobe->insn[0] >> 8); in arch_uprobe_post_xol() local
98 if (regs->psw.addr - utask->xol_vaddr == ilen) in arch_uprobe_post_xol()
99 regs->psw.addr = utask->vaddr + ilen; in arch_uprobe_post_xol()
268 unsigned int ilen; in handle_insn_ril() local
275 ilen = insn_length(insn->opc0); in handle_insn_ril()
357 adjust_psw_addr(&regs->psw, ilen); in handle_insn_ril()
360 regs->int_code = ilen << 16 | 0x0001; in handle_insn_ril()
364 regs->int_code = ilen << 16 | 0x0006; in handle_insn_ril()
368 regs->int_code = ilen << 16 | 0x0005; in handle_insn_ril()
Dkprobes.c383 int ilen = insn_length(p->ainsn.insn[0] >> 8); in resume_execution() local
384 if (ip - (unsigned long) p->ainsn.insn == ilen) in resume_execution()
385 ip = (unsigned long) p->addr + ilen; in resume_execution()
/linux-6.6.21/drivers/infiniband/core/
Duverbs.h58 size_t ilen, size_t olen) in ib_uverbs_init_udata() argument
62 udata->inlen = ilen; in ib_uverbs_init_udata()
70 size_t ilen, size_t olen) in ib_uverbs_init_udata_buf_or_null() argument
73 ilen ? ibuf : NULL, olen ? obuf : NULL, in ib_uverbs_init_udata_buf_or_null()
74 ilen, olen); in ib_uverbs_init_udata_buf_or_null()
/linux-6.6.21/arch/powerpc/sysdev/xics/
Dicp-native.c259 unsigned int ilen; in icp_native_init_one_node() local
270 ireg = of_get_property(np, "ibm,interrupt-server-ranges", &ilen); in icp_native_init_one_node()
275 WARN_ON((ireg == NULL) || (ilen != 2*sizeof(u32))); in icp_native_init_one_node()
279 if (ilen >= 2*sizeof(u32)) in icp_native_init_one_node()
Dxics-common.c47 u32 ilen; in xics_update_irq_servers() local
60 ireg = of_get_property(np, "ibm,ppc-interrupt-gserver#s", &ilen); in xics_update_irq_servers()
66 i = ilen / sizeof(int); in xics_update_irq_servers()
/linux-6.6.21/drivers/media/usb/dvb-usb/
Dvp702x.c98 int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec) in vp702x_usb_inout_op() argument
107 ret = vp702x_usb_in_op_unlocked(d, REQUEST_IN, 0, 0, i, ilen); in vp702x_usb_inout_op()
114 int olen, u8 *i, int ilen, int msec) in vp702x_usb_inout_cmd() argument
119 int buflen = max(olen + 2, ilen + 1); in vp702x_usb_inout_cmd()
143 ret = vp702x_usb_inout_op(d, buf, olen+2, buf, ilen+1, msec); in vp702x_usb_inout_cmd()
146 memcpy(i, &buf[1], ilen); in vp702x_usb_inout_cmd()
Dvp702x.h111 extern int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec…
/linux-6.6.21/drivers/net/ppp/
Dbsd_comp.c578 int ilen; in bsd_compress() local
652 ilen = ++isize; /* Low byte of protocol is counted as input */ in bsd_compress()
654 while (--ilen > 0) in bsd_compress()
846 int ilen; in bsd_decompress() local
868 ilen = isize - (PPP_HDRLEN + 2); in bsd_decompress()
886 db->bytes_out += ilen; in bsd_decompress()
908 if (ilen-- <= 0) in bsd_decompress()
937 if (ilen > 0) in bsd_decompress()
984 ilen, finchar, codelen, explen); in bsd_decompress()
/linux-6.6.21/arch/s390/kvm/
Dintercept.c28 u8 ilen = 0; in kvm_s390_get_ilen() local
37 ilen = insn_length(vcpu->arch.sie_block->ipa >> 8); in kvm_s390_get_ilen()
40 ilen = (sie_block->icptstatus >> 4) & 0x6; in kvm_s390_get_ilen()
41 if (!ilen) in kvm_s390_get_ilen()
42 ilen = 4; in kvm_s390_get_ilen()
47 ilen = vcpu->arch.sie_block->pgmilc & 0x6; in kvm_s390_get_ilen()
50 return ilen; in kvm_s390_get_ilen()
Dkvm-s390.h312 static inline void kvm_s390_rewind_psw(struct kvm_vcpu *vcpu, int ilen) in kvm_s390_rewind_psw() argument
316 sie_block->gpsw.addr = __rewind_psw(sie_block->gpsw, ilen); in kvm_s390_rewind_psw()
318 static inline void kvm_s390_forward_psw(struct kvm_vcpu *vcpu, int ilen) in kvm_s390_forward_psw() argument
320 kvm_s390_rewind_psw(vcpu, -ilen); in kvm_s390_forward_psw()
/linux-6.6.21/drivers/media/tuners/
Dtuner-i2c.h46 unsigned char *ibuf, int ilen) in tuner_i2c_xfer_send_recv() argument
51 .buf = ibuf, .len = ilen } }; in tuner_i2c_xfer_send_recv()
54 return (ret == 2) ? ilen : ret; in tuner_i2c_xfer_send_recv()
/linux-6.6.21/crypto/
Dccm.c179 int ilen, err; in crypto_ccm_auth() local
191 ilen = format_adata(idata, assoclen); in crypto_ccm_auth()
192 sg_set_buf(&sg[1], idata, ilen); in crypto_ccm_auth()
195 ilen = 0; in crypto_ccm_auth()
201 ahash_request_set_crypt(ahreq, sg, NULL, assoclen + ilen + 16); in crypto_ccm_auth()
210 ilen = 16 - (assoclen + ilen) % 16; in crypto_ccm_auth()
211 if (ilen < 16) { in crypto_ccm_auth()
212 memset(idata, 0, ilen); in crypto_ccm_auth()
214 sg_set_buf(&sg[0], idata, ilen); in crypto_ccm_auth()
218 cryptlen += ilen; in crypto_ccm_auth()
/linux-6.6.21/arch/x86/kernel/
Duprobes.c477 *sr = utask->vaddr + auprobe->defparam.ilen; in riprel_pre_xol()
564 if (emulate_push_stack(regs, utask->vaddr + auprobe->defparam.ilen)) in default_post_xol_op()
640 unsigned long new_ip = regs->ip += auprobe->branch.ilen; in branch_emulate_op()
669 regs->ip += auprobe->push.ilen; in push_emulate_op()
759 auprobe->branch.ilen = insn->length; in branch_setup_xol_ops()
842 auprobe->push.ilen = insn->length; in push_setup_xol_ops()
904 auprobe->defparam.ilen = insn.length; in arch_uprobe_analyze_insn()
/linux-6.6.21/fs/f2fs/
Dinline.c773 __u64 byteaddr, ilen; in f2fs_inline_data_fiemap() local
795 ilen = min_t(size_t, MAX_INLINE_DATA(inode), i_size_read(inode)); in f2fs_inline_data_fiemap()
796 if (start >= ilen) in f2fs_inline_data_fiemap()
798 if (start + len < ilen) in f2fs_inline_data_fiemap()
799 ilen = start + len; in f2fs_inline_data_fiemap()
800 ilen -= start; in f2fs_inline_data_fiemap()
809 err = fiemap_fill_next_extent(fieinfo, start, byteaddr, ilen, flags); in f2fs_inline_data_fiemap()
810 trace_f2fs_fiemap(inode, start, byteaddr, ilen, flags, err); in f2fs_inline_data_fiemap()
/linux-6.6.21/fs/ubifs/
Djournal.c542 int err, dlen, ilen, len, lnum, ino_offs, dent_offs, orphan_added = 0; in ubifs_jnl_update() local
557 ilen = UBIFS_INO_NODE_SZ; in ubifs_jnl_update()
566 ilen += ui->data_len; in ubifs_jnl_update()
571 aligned_ilen = ALIGN(ilen, 8); in ubifs_jnl_update()
671 err = ubifs_tnc_add(c, &ino_key, lnum, ino_offs, ilen, hash_ino); in ubifs_jnl_update()
846 int sync = 0, write_len = 0, ilen = UBIFS_INO_NODE_SZ; in ubifs_jnl_write_inode() local
858 ilen += ui->data_len; in ubifs_jnl_write_inode()
865 write_len += ALIGN(ilen, 8) + ubifs_auth_node_sz(c); in ubifs_jnl_write_inode()
867 write_len += ilen; in ubifs_jnl_write_inode()
954 err = ubifs_tnc_add(c, &key, lnum, offs, ilen, hash); in ubifs_jnl_write_inode()
[all …]
/linux-6.6.21/lib/crypto/
Dchacha20poly1305-selftest.c19 size_t ilen, alen, nlen; member
8905 chacha20poly1305_enc_vectors[i].ilen, in chacha20poly1305_selftest()
8913 chacha20poly1305_enc_vectors[i].ilen + in chacha20poly1305_selftest()
8925 chacha20poly1305_enc_vectors[i].ilen); in chacha20poly1305_selftest()
8927 chacha20poly1305_enc_vectors[i].ilen + POLY1305_DIGEST_SIZE); in chacha20poly1305_selftest()
8929 chacha20poly1305_enc_vectors[i].ilen, in chacha20poly1305_selftest()
8936 chacha20poly1305_enc_vectors[i].ilen + in chacha20poly1305_selftest()
8948 chacha20poly1305_dec_vectors[i].ilen, in chacha20poly1305_selftest()
8957 chacha20poly1305_dec_vectors[i].ilen - in chacha20poly1305_selftest()
8967 chacha20poly1305_dec_vectors[i].ilen); in chacha20poly1305_selftest()
[all …]
/linux-6.6.21/drivers/media/dvb-frontends/
Dbcm3510.c205 …cm3510_do_hab_cmd(struct bcm3510_state *st, u8 cmd, u8 msgid, u8 *obuf, u8 olen, u8 *ibuf, u8 ilen) in bcm3510_do_hab_cmd() argument
210 if (ilen + 2 > sizeof(ib)) { in bcm3510_do_hab_cmd()
211 deb_hab("do_hab_cmd: ilen=%d is too big!\n", ilen); in bcm3510_do_hab_cmd()
232 (ret = bcm3510_hab_get_response(st, ib, ilen+2)) < 0) in bcm3510_do_hab_cmd()
236 dbufout(ib,ilen+2,deb_hab); in bcm3510_do_hab_cmd()
239 memcpy(ibuf,&ib[2],ilen); in bcm3510_do_hab_cmd()
/linux-6.6.21/init/
Dmain.c619 size_t len, xlen = 0, ilen = 0; in setup_command_line() local
624 ilen = strlen(extra_init_args) + 4; /* for " -- " */ in setup_command_line()
628 saved_command_line = memblock_alloc(len + ilen, SMP_CACHE_BYTES); in setup_command_line()
630 panic("%s: Failed to allocate %zu bytes\n", __func__, len + ilen); in setup_command_line()
648 if (ilen) { in setup_command_line()
659 len += ilen - 4; /* strlen(extra_init_args) */ in setup_command_line()
/linux-6.6.21/fs/jffs2/
Dgc.c767 uint32_t alloclen, ilen; in jffs2_garbage_collect_metadata() local
808 ilen = last_frag->ofs + last_frag->size; in jffs2_garbage_collect_metadata()
810 ilen = JFFS2_F_I_SIZE(f); in jffs2_garbage_collect_metadata()
823 ri.isize = cpu_to_je32(ilen); in jffs2_garbage_collect_metadata()
1020 uint32_t alloclen, ilen; in jffs2_garbage_collect_hole() local
1087 ilen = frag->ofs + frag->size; in jffs2_garbage_collect_hole()
1089 ilen = JFFS2_F_I_SIZE(f); in jffs2_garbage_collect_hole()
1094 ri.isize = cpu_to_je32(ilen); in jffs2_garbage_collect_hole()
/linux-6.6.21/arch/sparc/net/
Dbpf_jit_comp_32.c396 int ilen; in bpf_jit_compile() local
711 ilen = (void *) prog - (void *) temp; in bpf_jit_compile()
713 if (unlikely(proglen + ilen > oldproglen)) { in bpf_jit_compile()
719 memcpy(image + proglen, temp, ilen); in bpf_jit_compile()
721 proglen += ilen; in bpf_jit_compile()
/linux-6.6.21/tools/bpf/
Dbpf_jit_disasm.c174 unsigned int *ilen) in get_last_jit_image() argument
251 *ilen = ulen; in get_last_jit_image()

12