Lines Matching refs:head
254 head); in tomoyo_check_path_acl()
276 container_of(ptr, typeof(*acl), head); in tomoyo_check_path_number_acl()
296 container_of(ptr, typeof(*acl), head); in tomoyo_check_path2_acl()
315 container_of(ptr, typeof(*acl), head); in tomoyo_check_mkdev_acl()
338 const struct tomoyo_path_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_path_acl()
339 const struct tomoyo_path_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_path_acl()
356 u16 * const a_perm = &container_of(a, struct tomoyo_path_acl, head) in tomoyo_merge_path_acl()
359 const u16 b_perm = container_of(b, struct tomoyo_path_acl, head)->perm; in tomoyo_merge_path_acl()
382 .head.type = TOMOYO_TYPE_PATH_ACL, in tomoyo_update_path_acl()
389 error = tomoyo_update_domain(&e.head, sizeof(e), param, in tomoyo_update_path_acl()
407 const struct tomoyo_mkdev_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_mkdev_acl()
408 const struct tomoyo_mkdev_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_mkdev_acl()
429 head)->perm; in tomoyo_merge_mkdev_acl()
431 const u8 b_perm = container_of(b, struct tomoyo_mkdev_acl, head) in tomoyo_merge_mkdev_acl()
455 .head.type = TOMOYO_TYPE_MKDEV_ACL, in tomoyo_update_mkdev_acl()
465 error = tomoyo_update_domain(&e.head, sizeof(e), param, in tomoyo_update_mkdev_acl()
486 const struct tomoyo_path2_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_path2_acl()
487 const struct tomoyo_path2_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_path2_acl()
505 u8 * const a_perm = &container_of(a, struct tomoyo_path2_acl, head) in tomoyo_merge_path2_acl()
508 const u8 b_perm = container_of(b, struct tomoyo_path2_acl, head)->perm; in tomoyo_merge_path2_acl()
531 .head.type = TOMOYO_TYPE_PATH2_ACL, in tomoyo_update_path2_acl()
539 error = tomoyo_update_domain(&e.head, sizeof(e), param, in tomoyo_update_path2_acl()
620 head); in tomoyo_same_path_number_acl()
622 head); in tomoyo_same_path_number_acl()
641 head)->perm; in tomoyo_merge_path_number_acl()
643 const u8 b_perm = container_of(b, struct tomoyo_path_number_acl, head) in tomoyo_merge_path_number_acl()
665 .head.type = TOMOYO_TYPE_PATH_NUMBER_ACL, in tomoyo_update_path_number_acl()
673 error = tomoyo_update_domain(&e.head, sizeof(e), param, in tomoyo_update_path_number_acl()
947 const struct tomoyo_mount_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_mount_acl()
948 const struct tomoyo_mount_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_mount_acl()
966 struct tomoyo_mount_acl e = { .head.type = TOMOYO_TYPE_MOUNT_ACL }; in tomoyo_update_mount_acl()
974 error = tomoyo_update_domain(&e.head, sizeof(e), param, in tomoyo_update_mount_acl()