Home
last modified time | relevance | path

Searched refs:offt (Results 1 – 1 of 1) sorted by relevance

/fs/smb/server/
Dsmb_common.c103 int offt = ARRAY_SIZE(smb1_protos) - 1; in ksmbd_lookup_protocol_idx() local
106 while (offt >= 0) { 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()
112 offt--; in ksmbd_lookup_protocol_idx()
115 offt = ARRAY_SIZE(smb2_protos) - 1; in ksmbd_lookup_protocol_idx()
116 while (offt >= 0) { in ksmbd_lookup_protocol_idx()
117 if (!strncmp(str, smb2_protos[offt].prot, len)) { in ksmbd_lookup_protocol_idx()
119 smb2_protos[offt].prot, offt); in ksmbd_lookup_protocol_idx()
[all …]