Lines Matching refs:k
117 unsigned k; in selinux_set_mapping() local
156 k = 0; in selinux_set_mapping()
157 while (p_in->perms && p_in->perms[k]) { in selinux_set_mapping()
159 if (!*p_in->perms[k]) { in selinux_set_mapping()
160 k++; in selinux_set_mapping()
163 p_out->perms[k] = string_to_av_perm(pol, p_out->value, in selinux_set_mapping()
164 p_in->perms[k]); in selinux_set_mapping()
165 if (!p_out->perms[k]) { in selinux_set_mapping()
168 p_in->perms[k], p_in->name); in selinux_set_mapping()
174 k++; in selinux_set_mapping()
176 p_out->num_perms = k; in selinux_set_mapping()
449 static int dump_masked_av_helper(void *k, void *d, void *args) in dump_masked_av_helper() argument
456 permission_names[pdatum->value - 1] = (char *)k; in dump_masked_av_helper()
2846 static int get_classes_callback(void *k, void *d, void *args) in get_classes_callback() argument
2849 char *name = k, **classes = args; in get_classes_callback()
2885 static int get_permissions_callback(void *k, void *d, void *args) in get_permissions_callback() argument
2888 char *name = k, **perms = args; in get_permissions_callback()