Lines Matching refs:ptr
14 * @ptr: Pointer to allocated memory.
20 static inline void tomoyo_memory_free(void *ptr)
22 tomoyo_memory_used[TOMOYO_MEMORY_POLICY] -= ksize(ptr);
23 kfree(ptr);
108 struct tomoyo_transition_control *ptr =
109 container_of(element, typeof(*ptr), head.list);
110 tomoyo_put_name(ptr->domainname);
111 tomoyo_put_name(ptr->program);
123 struct tomoyo_aggregator *ptr =
124 container_of(element, typeof(*ptr), head.list);
125 tomoyo_put_name(ptr->original_name);
126 tomoyo_put_name(ptr->aggregated_name);
138 struct tomoyo_manager *ptr =
139 container_of(element, typeof(*ptr), head.list);
140 tomoyo_put_name(ptr->manager);
534 struct tomoyo_shared_acl_head *ptr;
536 list_for_each_entry_safe(ptr, tmp, &tomoyo_condition_list,
538 if (atomic_read(&ptr->users) > 0)
540 atomic_set(&ptr->users, TOMOYO_GC_IN_PROGRESS);
541 tomoyo_try_to_gc(TOMOYO_ID_CONDITION, &ptr->list);
574 struct tomoyo_shared_acl_head *ptr;
576 list_for_each_entry_safe(ptr, tmp, list, list) {
577 if (atomic_read(&ptr->users) > 0)
579 atomic_set(&ptr->users, TOMOYO_GC_IN_PROGRESS);
580 tomoyo_try_to_gc(TOMOYO_ID_NAME, &ptr->list);