Searched refs:smb1_protos (Results 1 – 1 of 1) sorted by relevance
34 static struct smb_protocol smb1_protos[] = { variable103 int offt = ARRAY_SIZE(smb1_protos) - 1; in ksmbd_lookup_protocol_idx()107 if (!strncmp(str, smb1_protos[offt].prot, len)) { in ksmbd_lookup_protocol_idx()109 smb1_protos[offt].prot, offt); in ksmbd_lookup_protocol_idx()110 return smb1_protos[offt].index; in ksmbd_lookup_protocol_idx()189 for (i = ARRAY_SIZE(smb1_protos) - 1; i >= 0; i--) { in ksmbd_lookup_dialect_by_name()200 if (!strcmp(dialect, smb1_protos[i].name)) { in ksmbd_lookup_dialect_by_name()201 if (supported_protocol(smb1_protos[i].index)) { in ksmbd_lookup_dialect_by_name()204 smb1_protos[i].name); in ksmbd_lookup_dialect_by_name()205 if (smb1_protos[i].index == SMB1_PROT) in ksmbd_lookup_dialect_by_name()[all …]