Home
last modified time | relevance | path

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

/net/ceph/
Dauth.c311 int *proto, int *pref_mode, int *fallb_mode) in __ceph_auth_get_authorizer() argument
330 if (pref_mode && fallb_mode) { in __ceph_auth_get_authorizer()
331 *pref_mode = ac->preferred_mode; in __ceph_auth_get_authorizer()
406 static int encode_con_modes(void **p, void *end, int pref_mode, int fallb_mode) in encode_con_modes() argument
408 WARN_ON(pref_mode == CEPH_CON_MODE_UNKNOWN); in encode_con_modes()
411 ceph_encode_32_safe(p, end, pref_mode, e_range); in encode_con_modes()
415 ceph_encode_32_safe(p, end, pref_mode, e_range); in encode_con_modes()
552 int pref_mode, fallb_mode; in ceph_auth_get_authorizer() local
558 &pref_mode, &fallb_mode); in ceph_auth_get_authorizer()
564 ret = encode_con_modes(&p, end, pref_mode, fallb_mode); in ceph_auth_get_authorizer()