Lines Matching refs:perdatum
1119 struct perm_datum *perdatum; in perm_read() local
1124 perdatum = kzalloc(sizeof(*perdatum), GFP_KERNEL); in perm_read()
1125 if (!perdatum) in perm_read()
1133 perdatum->value = le32_to_cpu(buf[1]); in perm_read()
1139 rc = symtab_insert(s, key, perdatum); in perm_read()
1145 perm_destroy(key, perdatum, NULL); in perm_read()
1821 struct perm_datum *perdatum = NULL; in string_to_av_perm() local
1830 perdatum = symtab_search(&comdatum->permissions, name); in string_to_av_perm()
1831 if (!perdatum) in string_to_av_perm()
1832 perdatum = symtab_search(&cladatum->permissions, name); in string_to_av_perm()
1833 if (!perdatum) in string_to_av_perm()
1836 return 1U << (perdatum->value - 1); in string_to_av_perm()
2970 struct perm_datum *perdatum = datum; in perm_write() local
2977 buf[1] = cpu_to_le32(perdatum->value); in perm_write()