Searched refs:global_secflags (Results 1 – 8 of 8) sorted by relevance
848 seq_printf(m, "0x%x\n", global_secflags); in cifs_security_flags_proc_show()904 global_secflags = bv ? CIFSSEC_MAX : CIFSSEC_DEF; in cifs_security_flags_proc_write()937 global_secflags = flags; in cifs_security_flags_proc_write()938 if (global_secflags & CIFSSEC_MUST_SIGN) { in cifs_security_flags_proc_write()940 global_secflags |= CIFSSEC_MAY_SIGN; in cifs_security_flags_proc_write()942 } else if ((global_secflags & CIFSSEC_MAY_SIGN) == 0) { in cifs_security_flags_proc_write()
525 (global_secflags & CIFSSEC_MAY_NTLMSSP)) in cifs_select_sectype()528 (global_secflags & CIFSSEC_MAY_KRB5)) in cifs_select_sectype()540 if (global_secflags & CIFSSEC_MAY_NTLMV2) in cifs_select_sectype()542 if (global_secflags & CIFSSEC_MAY_NTLM) in cifs_select_sectype()553 if (global_secflags & CIFSSEC_MAY_LANMAN) in cifs_select_sectype()
320 if (!encrypt && global_secflags & CIFSSEC_MAY_PLNTXT) { in calc_lanman_hash()
869 else if (global_secflags & CIFSSEC_MAY_SIGN) in SMB2_negotiate()1074 else if (global_secflags & CIFSSEC_MAY_SIGN) in smb3_validate_negotiate()1174 (global_secflags & CIFSSEC_MAY_NTLMSSP)) in smb2_select_sectype()1177 (global_secflags & CIFSSEC_MAY_KRB5)) in smb2_select_sectype()1232 else if (global_secflags & CIFSSEC_MAY_SIGN) /* one flag unlike MUST_ */ in SMB2_sess_alloc_buffer()
1905 extern unsigned int global_secflags; /* if on, session setup sent
74 unsigned int global_secflags = CIFSSEC_DEF; variable
526 bool mnt_sign_enabled = global_secflags & CIFSSEC_MAY_SIGN; in cifs_enable_signing()533 mnt_sign_required = ((global_secflags & CIFSSEC_MUST_SIGN) == in cifs_enable_signing()541 (global_secflags & CIFSSEC_MAY_SIGN); in cifs_enable_signing()656 if (global_secflags & in should_set_ext_sec_flag()
5050 if ((global_secflags & CIFSSEC_MAY_LANMAN) && in CIFSTCon()