Home
last modified time | relevance | path

Searched refs:canon (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/alpha/include/asm/
H A Dtermios.h23 int canon, ret; \
32 canon = k_termio.c_lflag & ICANON; \
40 k_termios->c_cc[canon ? VEOF : VMIN] = k_termio.c_cc[_VEOF]; \
41 k_termios->c_cc[canon ? VEOL : VTIME] = k_termio.c_cc[_VEOL]; \
55 int canon; \
60 canon = (k_termio.c_lflag = k_termios->c_lflag) & ICANON; \
67 k_termio.c_cc[_VEOF] = k_termios->c_cc[canon ? VEOF : VMIN]; \
68 k_termio.c_cc[_VEOL] = k_termios->c_cc[canon ? VEOL : VTIME]; \
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dtermios.c8 bool canon; in user_termio_to_kernel_termios() local
19 canon = v.c_lflag & ICANON; in user_termio_to_kernel_termios()
26 termios->c_cc[canon ? VEOF : VMIN] = v.c_cc[_VEOF]; in user_termio_to_kernel_termios()
27 termios->c_cc[canon ? VEOL : VTIME] = v.c_cc[_VEOL]; in user_termio_to_kernel_termios()
36 bool canon; in kernel_termios_to_user_termio() local
45 canon = v.c_lflag & ICANON; in kernel_termios_to_user_termio()
50 v.c_cc[_VEOF] = termios->c_cc[canon ? VEOF : VMIN]; in kernel_termios_to_user_termio()
51 v.c_cc[_VEOL] = termios->c_cc[canon ? VEOL : VTIME]; in kernel_termios_to_user_termio()
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Dverify_pefile.c249 unsigned *canon, tmp, loop, i, hashed_bytes; in pefile_digest_pe_contents() local
270 canon = kcalloc(ctx->n_sections, sizeof(unsigned), GFP_KERNEL); in pefile_digest_pe_contents()
271 if (!canon) in pefile_digest_pe_contents()
277 canon[0] = 0; in pefile_digest_pe_contents()
280 if (pefile_compare_shdrs(&ctx->secs[canon[i]], in pefile_digest_pe_contents()
282 memmove(&canon[i + 1], &canon[i], in pefile_digest_pe_contents()
283 (loop - i) * sizeof(canon[0])); in pefile_digest_pe_contents()
287 canon[i] = loop; in pefile_digest_pe_contents()
292 i = canon[loo in pefile_digest_pe_contents()
[all...]
/kernel/linux/linux-6.6/crypto/asymmetric_keys/
H A Dverify_pefile.c249 unsigned *canon, tmp, loop, i, hashed_bytes; in pefile_digest_pe_contents() local
270 canon = kcalloc(ctx->n_sections, sizeof(unsigned), GFP_KERNEL); in pefile_digest_pe_contents()
271 if (!canon) in pefile_digest_pe_contents()
277 canon[0] = 0; in pefile_digest_pe_contents()
280 if (pefile_compare_shdrs(&ctx->secs[canon[i]], in pefile_digest_pe_contents()
282 memmove(&canon[i + 1], &canon[i], in pefile_digest_pe_contents()
283 (loop - i) * sizeof(canon[0])); in pefile_digest_pe_contents()
287 canon[i] = loop; in pefile_digest_pe_contents()
292 i = canon[loo in pefile_digest_pe_contents()
[all...]
/kernel/linux/linux-5.10/lib/
H A Dxarray.c1085 unsigned int canon = offset - xas->xa_sibs; in xas_split() local
1087 node_set_marks(node, canon, NULL, marks); in xas_split()
1088 rcu_assign_pointer(node->slots[canon], entry); in xas_split()
1089 while (offset > canon) in xas_split()
1091 xa_mk_sibling(canon)); in xas_split()
/kernel/linux/linux-6.6/lib/
H A Dxarray.c1087 unsigned int canon = offset - xas->xa_sibs; in xas_split() local
1089 node_set_marks(node, canon, NULL, marks); in xas_split()
1090 rcu_assign_pointer(node->slots[canon], entry); in xas_split()
1091 while (offset > canon) in xas_split()
1093 xa_mk_sibling(canon)); in xas_split()
/kernel/linux/linux-5.10/security/selinux/
H A Dselinuxfs.c680 char *canon = NULL; in sel_write_context() local
694 length = security_sid_to_context(state, sid, &canon, &len); in sel_write_context()
705 memcpy(buf, canon, len); in sel_write_context()
708 kfree(canon); in sel_write_context()
/kernel/linux/linux-6.6/security/selinux/
H A Dselinuxfs.c645 char *canon = NULL; in sel_write_context() local
658 length = security_sid_to_context(sid, &canon, &len); in sel_write_context()
669 memcpy(buf, canon, len); in sel_write_context()
672 kfree(canon); in sel_write_context()

Completed in 13 milliseconds