Lines Matching refs:index
738 u8 index; in tomoyo_read_profile() local
746 index = head->r.index; in tomoyo_read_profile()
747 profile = ns->profile_ptr[index]; in tomoyo_read_profile()
756 for ( ; head->r.index < TOMOYO_MAX_PROFILES; in tomoyo_read_profile()
757 head->r.index++) in tomoyo_read_profile()
758 if (ns->profile_ptr[head->r.index]) in tomoyo_read_profile()
760 if (head->r.index == TOMOYO_MAX_PROFILES) { in tomoyo_read_profile()
773 tomoyo_io_printf(head, "%u-COMMENT=", index); in tomoyo_read_profile()
777 tomoyo_io_printf(head, "%u-PREFERENCE={ ", index); in tomoyo_read_profile()
789 tomoyo_io_printf(head, "%u-%s", index, "CONFIG"); in tomoyo_read_profile()
806 index, in tomoyo_read_profile()
811 tomoyo_io_printf(head, "%u-CONFIG::%s", index, in tomoyo_read_profile()
819 head->r.index++; in tomoyo_read_profile()
1291 argv->index, argv->is_not ? "!" : ""); in tomoyo_print_condition()
1632 head->r.index = 0; in tomoyo_read_domain()
1636 while (head->r.index < TOMOYO_MAX_ACL_GROUPS) { in tomoyo_read_domain()
1637 i = head->r.index++; in tomoyo_read_domain()
1644 head->r.index = 0; in tomoyo_read_domain()
2438 void tomoyo_update_stat(const u8 index) in tomoyo_update_stat() argument
2440 atomic_inc(&tomoyo_stat_updated[index]); in tomoyo_update_stat()
2441 tomoyo_stat_modified[index] = ktime_get_real_seconds(); in tomoyo_update_stat()