Lines Matching refs:perdatum
1101 struct perm_datum *perdatum; in perm_read() local
1106 perdatum = kzalloc(sizeof(*perdatum), GFP_KERNEL); in perm_read()
1107 if (!perdatum) in perm_read()
1115 perdatum->value = le32_to_cpu(buf[1]); in perm_read()
1121 rc = symtab_insert(s, key, perdatum); in perm_read()
1127 perm_destroy(key, perdatum, NULL); in perm_read()
1794 struct perm_datum *perdatum = NULL; in string_to_av_perm() local
1803 perdatum = symtab_search(&comdatum->permissions, name); in string_to_av_perm()
1804 if (!perdatum) in string_to_av_perm()
1805 perdatum = symtab_search(&cladatum->permissions, name); in string_to_av_perm()
1806 if (!perdatum) in string_to_av_perm()
1809 return 1U << (perdatum->value-1); in string_to_av_perm()
2926 struct perm_datum *perdatum = datum; in perm_write() local
2933 buf[1] = cpu_to_le32(perdatum->value); in perm_write()