Lines Matching refs:ptr
67 void tomoyo_put_name_union(struct tomoyo_name_union *ptr) in tomoyo_put_name_union() argument
69 tomoyo_put_group(ptr->group); in tomoyo_put_name_union()
70 tomoyo_put_name(ptr->filename); in tomoyo_put_name_union()
83 const struct tomoyo_name_union *ptr) in tomoyo_compare_name_union() argument
85 if (ptr->group) in tomoyo_compare_name_union()
86 return tomoyo_path_matches_group(name, ptr->group); in tomoyo_compare_name_union()
87 if (tomoyo_path_matches_pattern(name, ptr->filename)) in tomoyo_compare_name_union()
88 return ptr->filename; in tomoyo_compare_name_union()
99 void tomoyo_put_number_union(struct tomoyo_number_union *ptr) in tomoyo_put_number_union() argument
101 tomoyo_put_group(ptr->group); in tomoyo_put_number_union()
113 const struct tomoyo_number_union *ptr) in tomoyo_compare_number_union() argument
115 if (ptr->group) in tomoyo_compare_number_union()
116 return tomoyo_number_matches_group(value, value, ptr->group); in tomoyo_compare_number_union()
117 return value >= ptr->values[0] && value <= ptr->values[1]; in tomoyo_compare_number_union()
253 const struct tomoyo_acl_info *ptr) in tomoyo_check_path_acl() argument
255 const struct tomoyo_path_acl *acl = container_of(ptr, typeof(*acl), in tomoyo_check_path_acl()
276 const struct tomoyo_acl_info *ptr) in tomoyo_check_path_number_acl() argument
279 container_of(ptr, typeof(*acl), head); in tomoyo_check_path_number_acl()
297 const struct tomoyo_acl_info *ptr) in tomoyo_check_path2_acl() argument
300 container_of(ptr, typeof(*acl), head); in tomoyo_check_path2_acl()
317 const struct tomoyo_acl_info *ptr) in tomoyo_check_mkdev_acl() argument
320 container_of(ptr, typeof(*acl), head); in tomoyo_check_mkdev_acl()