Lines Matching refs:src

249 					struct extended_perms_decision *src)  in avc_copy_xperms_decision()  argument
251 dest->base_perm = src->base_perm; in avc_copy_xperms_decision()
252 dest->driver = src->driver; in avc_copy_xperms_decision()
253 dest->used = src->used; in avc_copy_xperms_decision()
255 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision()
256 sizeof(src->allowed->p)); in avc_copy_xperms_decision()
258 memcpy(dest->auditallow->p, src->auditallow->p, in avc_copy_xperms_decision()
259 sizeof(src->auditallow->p)); in avc_copy_xperms_decision()
261 memcpy(dest->dontaudit->p, src->dontaudit->p, in avc_copy_xperms_decision()
262 sizeof(src->dontaudit->p)); in avc_copy_xperms_decision()
271 struct extended_perms_decision *src) in avc_quick_copy_xperms_decision() argument
279 dest->base_perm = src->base_perm; in avc_quick_copy_xperms_decision()
280 dest->used = src->used; in avc_quick_copy_xperms_decision()
282 dest->allowed->p[i] = src->allowed->p[i]; in avc_quick_copy_xperms_decision()
284 dest->auditallow->p[i] = src->auditallow->p[i]; in avc_quick_copy_xperms_decision()
286 dest->dontaudit->p[i] = src->dontaudit->p[i]; in avc_quick_copy_xperms_decision()
326 struct extended_perms_decision *src) in avc_add_xperms_decision() argument
330 dest_xpd = avc_xperms_decision_alloc(src->used); in avc_add_xperms_decision()
333 avc_copy_xperms_decision(&dest_xpd->xpd, src); in avc_add_xperms_decision()
351 struct avc_xperms_node *src) in avc_xperms_populate() argument
357 if (src->xp.len == 0) in avc_xperms_populate()
363 memcpy(dest->xp.drivers.p, src->xp.drivers.p, sizeof(dest->xp.drivers.p)); in avc_xperms_populate()
364 dest->xp.len = src->xp.len; in avc_xperms_populate()
365 dest->xp.base_perms = src->xp.base_perms; in avc_xperms_populate()
368 list_for_each_entry(src_xpd, &src->xpd_head, xpd_list) { in avc_xperms_populate()