Lines Matching refs:pos
133 struct gss_api_mech *pos, *gm = NULL; in _gss_mech_get_by_name() local
136 list_for_each_entry_rcu(pos, ®istered_mechs, gm_list) { in _gss_mech_get_by_name()
137 if (0 == strcmp(name, pos->gm_name)) { in _gss_mech_get_by_name()
138 if (try_module_get(pos->gm_owner)) in _gss_mech_get_by_name()
139 gm = pos; in _gss_mech_get_by_name()
162 struct gss_api_mech *pos, *gm = NULL; in gss_mech_get_by_OID() local
171 list_for_each_entry_rcu(pos, ®istered_mechs, gm_list) { in gss_mech_get_by_OID()
172 if (obj->len == pos->gm_oid.len) { in gss_mech_get_by_OID()
173 if (0 == memcmp(obj->data, pos->gm_oid.data, obj->len)) { in gss_mech_get_by_OID()
174 if (try_module_get(pos->gm_owner)) in gss_mech_get_by_OID()
175 gm = pos; in gss_mech_get_by_OID()
198 struct gss_api_mech *gm = NULL, *pos; in _gss_mech_get_by_pseudoflavor() local
201 list_for_each_entry_rcu(pos, ®istered_mechs, gm_list) { in _gss_mech_get_by_pseudoflavor()
202 if (!mech_supports_pseudoflavor(pos, pseudoflavor)) in _gss_mech_get_by_pseudoflavor()
204 if (try_module_get(pos->gm_owner)) in _gss_mech_get_by_pseudoflavor()
205 gm = pos; in _gss_mech_get_by_pseudoflavor()
238 struct gss_api_mech *pos = NULL; in gss_mech_list_pseudoflavors() local
242 list_for_each_entry_rcu(pos, ®istered_mechs, gm_list) { in gss_mech_list_pseudoflavors()
243 for (j = 0; j < pos->gm_pf_num; j++) { in gss_mech_list_pseudoflavors()
248 array_ptr[i++] = pos->gm_pfs[j].pseudoflavor; in gss_mech_list_pseudoflavors()