Lines Matching refs:params
18 static struct afs_volume *afs_alloc_volume(struct afs_fs_context *params, in afs_alloc_volume() argument
34 volume->vid = vldb->vid[params->type]; in afs_alloc_volume()
36 volume->cell = afs_get_cell(params->cell); in afs_alloc_volume()
37 volume->type = params->type; in afs_alloc_volume()
38 volume->type_force = params->force; in afs_alloc_volume()
47 slist = afs_alloc_server_list(params->cell, params->key, vldb, type_mask); in afs_alloc_volume()
58 afs_put_cell(params->net, volume->cell); in afs_alloc_volume()
111 struct afs_volume *afs_create_volume(struct afs_fs_context *params) in afs_create_volume() argument
115 unsigned long type_mask = 1UL << params->type; in afs_create_volume()
117 vldb = afs_vl_lookup_vldb(params->cell, params->key, in afs_create_volume()
118 params->volname, params->volnamesz); in afs_create_volume()
129 if (params->force) { in afs_create_volume()
133 params->type = AFSVL_ROVOL; in afs_create_volume()
135 params->type = AFSVL_RWVOL; in afs_create_volume()
140 type_mask = 1UL << params->type; in afs_create_volume()
141 volume = afs_alloc_volume(params, vldb, type_mask); in afs_create_volume()