Lines Matching refs:ptr
235 const struct tomoyo_name_union *ptr, in tomoyo_scan_exec_realpath() argument
247 result = tomoyo_compare_name_union(&exe, ptr); in tomoyo_scan_exec_realpath()
280 struct tomoyo_name_union *ptr) in tomoyo_parse_name_union_quoted() argument
285 return tomoyo_parse_name_union(param, ptr); in tomoyo_parse_name_union_quoted()
286 ptr->filename = tomoyo_get_dqword(filename); in tomoyo_parse_name_union_quoted()
287 return ptr->filename != NULL; in tomoyo_parse_name_union_quoted()
409 struct tomoyo_condition *ptr; in tomoyo_commit_condition() local
414 ptr = NULL; in tomoyo_commit_condition()
418 list_for_each_entry(ptr, &tomoyo_condition_list, head.list) { in tomoyo_commit_condition()
419 if (!tomoyo_same_condition(ptr, entry) || in tomoyo_commit_condition()
420 atomic_read(&ptr->head.users) == TOMOYO_GC_IN_PROGRESS) in tomoyo_commit_condition()
423 atomic_inc(&ptr->head.users); in tomoyo_commit_condition()
433 ptr = NULL; in tomoyo_commit_condition()
441 entry = ptr; in tomoyo_commit_condition()
811 const struct tomoyo_name_union *ptr = names_p++; in tomoyo_condition() local
820 !tomoyo_compare_name_union(symlink, ptr) in tomoyo_condition()
827 if (!tomoyo_scan_exec_realpath(file, ptr, in tomoyo_condition()
1063 const struct tomoyo_number_union *ptr = numbers_p++; in tomoyo_condition() local
1065 min_v[0] = ptr->values[0]; in tomoyo_condition()
1066 max_v[0] = ptr->values[1]; in tomoyo_condition()
1070 const struct tomoyo_number_union *ptr = numbers_p++; in tomoyo_condition() local
1072 if (ptr->group) { in tomoyo_condition()
1075 ptr->group) in tomoyo_condition()
1079 if ((min_v[0] <= ptr->values[1] && in tomoyo_condition()
1080 max_v[0] >= ptr->values[0]) == match) in tomoyo_condition()