Lines Matching refs:key
17 static struct afs_volume *afs_sample_volume(struct afs_cell *cell, struct key *key, in afs_sample_volume() argument
27 .key = key, /* This might need to be something */ in afs_sample_volume()
187 static int afs_query_for_alias_one(struct afs_cell *cell, struct key *key, in afs_query_for_alias_one() argument
206 volume = afs_sample_volume(cell, key, pvol->name, pvol->name_len); in afs_query_for_alias_one()
234 static int afs_query_for_alias(struct afs_cell *cell, struct key *key) in afs_query_for_alias() argument
253 if (afs_query_for_alias_one(cell, key, p) != 0) in afs_query_for_alias()
276 static char *afs_vl_get_cell_name(struct afs_cell *cell, struct key *key) in afs_vl_get_cell_name() argument
283 if (!afs_begin_vlserver_operation(&vc, cell, key)) in afs_vl_get_cell_name()
302 static int yfs_check_canonical_cell_name(struct afs_cell *cell, struct key *key) in yfs_check_canonical_cell_name() argument
307 cell_name = afs_vl_get_cell_name(cell, key); in yfs_check_canonical_cell_name()
326 static int afs_do_cell_detect_alias(struct afs_cell *cell, struct key *key) in afs_do_cell_detect_alias() argument
333 ret = yfs_check_canonical_cell_name(cell, key); in afs_do_cell_detect_alias()
338 root_volume = afs_sample_volume(cell, key, "root.cell", 9); in afs_do_cell_detect_alias()
350 return afs_query_for_alias(cell, key); in afs_do_cell_detect_alias()
361 int afs_cell_detect_alias(struct afs_cell *cell, struct key *key) in afs_cell_detect_alias() argument
370 ret = afs_do_cell_detect_alias(cell, key); in afs_cell_detect_alias()