Lines Matching defs:cred
240 const struct cred *cred;
244 cred = rcu_access_pointer(mirror->ro_cred);
245 put_cred(cred);
246 cred = rcu_access_pointer(mirror->rw_cred);
247 put_cred(cred);
415 struct cred *kcred;
416 const struct cred __rcu *cred;
507 cred = RCU_INITIALIZER(kcred);
510 rcu_assign_pointer(fls->mirror_array[i]->ro_cred, cred);
512 rcu_assign_pointer(fls->mirror_array[i]->rw_cred, cred);
516 /* swap cred ptrs so free_mirror will clean up old */
518 cred = xchg(&mirror->ro_cred, cred);
519 rcu_assign_pointer(fls->mirror_array[i]->ro_cred, cred);
521 cred = xchg(&mirror->rw_cred, cred);
522 rcu_assign_pointer(fls->mirror_array[i]->rw_cred, cred);
1768 const struct cred *ds_cred;
1788 ds_cred = ff_layout_get_ds_cred(mirror, &lseg->pls_range, hdr->cred);
1838 const struct cred *ds_cred;
1854 ds_cred = ff_layout_get_ds_cred(mirror, &lseg->pls_range, hdr->cred);
1920 const struct cred *ds_cred;
1940 ds_cred = ff_layout_get_ds_cred(mirror, &lseg->pls_range, data->cred);
1950 data->cred = ds_cred;