Lines Matching refs:pos
127 struct gss_api_mech *pos, *gm = NULL; in _gss_mech_get_by_name() local
130 list_for_each_entry_rcu(pos, ®istered_mechs, gm_list) { in _gss_mech_get_by_name()
131 if (0 == strcmp(name, pos->gm_name)) { in _gss_mech_get_by_name()
132 if (try_module_get(pos->gm_owner)) in _gss_mech_get_by_name()
133 gm = pos; in _gss_mech_get_by_name()
156 struct gss_api_mech *pos, *gm = NULL; in gss_mech_get_by_OID() local
165 list_for_each_entry_rcu(pos, ®istered_mechs, gm_list) { in gss_mech_get_by_OID()
166 if (obj->len == pos->gm_oid.len) { in gss_mech_get_by_OID()
167 if (0 == memcmp(obj->data, pos->gm_oid.data, obj->len)) { in gss_mech_get_by_OID()
168 if (try_module_get(pos->gm_owner)) in gss_mech_get_by_OID()
169 gm = pos; in gss_mech_get_by_OID()
192 struct gss_api_mech *gm = NULL, *pos; in _gss_mech_get_by_pseudoflavor() local
195 list_for_each_entry_rcu(pos, ®istered_mechs, gm_list) { in _gss_mech_get_by_pseudoflavor()
196 if (!mech_supports_pseudoflavor(pos, pseudoflavor)) in _gss_mech_get_by_pseudoflavor()
198 if (try_module_get(pos->gm_owner)) in _gss_mech_get_by_pseudoflavor()
199 gm = pos; in _gss_mech_get_by_pseudoflavor()
232 struct gss_api_mech *pos = NULL; in gss_mech_list_pseudoflavors() local
236 list_for_each_entry_rcu(pos, ®istered_mechs, gm_list) { in gss_mech_list_pseudoflavors()
237 for (j = 0; j < pos->gm_pf_num; j++) { in gss_mech_list_pseudoflavors()
242 array_ptr[i++] = pos->gm_pfs[j].pseudoflavor; in gss_mech_list_pseudoflavors()