Lines Matching refs:pos
152 struct gss_api_mech *pos, *gm = NULL; in _gss_mech_get_by_name() local
155 list_for_each_entry(pos, ®istered_mechs, gm_list) { in _gss_mech_get_by_name()
156 if (0 == strcmp(name, pos->gm_name)) { in _gss_mech_get_by_name()
157 if (try_module_get(pos->gm_owner)) in _gss_mech_get_by_name()
158 gm = pos; in _gss_mech_get_by_name()
181 struct gss_api_mech *pos, *gm = NULL; in gss_mech_get_by_OID() local
190 list_for_each_entry(pos, ®istered_mechs, gm_list) { in gss_mech_get_by_OID()
191 if (obj->len == pos->gm_oid.len) { in gss_mech_get_by_OID()
192 if (0 == memcmp(obj->data, pos->gm_oid.data, obj->len)) { in gss_mech_get_by_OID()
193 if (try_module_get(pos->gm_owner)) in gss_mech_get_by_OID()
194 gm = pos; in gss_mech_get_by_OID()
217 struct gss_api_mech *gm = NULL, *pos; in _gss_mech_get_by_pseudoflavor() local
220 list_for_each_entry(pos, ®istered_mechs, gm_list) { in _gss_mech_get_by_pseudoflavor()
221 if (!mech_supports_pseudoflavor(pos, pseudoflavor)) in _gss_mech_get_by_pseudoflavor()
223 if (try_module_get(pos->gm_owner)) in _gss_mech_get_by_pseudoflavor()
224 gm = pos; in _gss_mech_get_by_pseudoflavor()
257 struct gss_api_mech *pos = NULL; in gss_mech_list_pseudoflavors() local
261 list_for_each_entry(pos, ®istered_mechs, gm_list) { in gss_mech_list_pseudoflavors()
262 for (j = 0; j < pos->gm_pf_num; j++) { in gss_mech_list_pseudoflavors()
267 array_ptr[i++] = pos->gm_pfs[j].pseudoflavor; in gss_mech_list_pseudoflavors()