Lines Matching refs:perdatum
1095 struct perm_datum *perdatum; in perm_read() local
1100 perdatum = kzalloc(sizeof(*perdatum), GFP_KERNEL); in perm_read()
1101 if (!perdatum) in perm_read()
1109 perdatum->value = le32_to_cpu(buf[1]); in perm_read()
1115 rc = symtab_insert(s, key, perdatum); in perm_read()
1121 perm_destroy(key, perdatum, NULL); in perm_read()
1788 struct perm_datum *perdatum = NULL; in string_to_av_perm() local
1797 perdatum = symtab_search(&comdatum->permissions, name); in string_to_av_perm()
1798 if (!perdatum) in string_to_av_perm()
1799 perdatum = symtab_search(&cladatum->permissions, name); in string_to_av_perm()
1800 if (!perdatum) in string_to_av_perm()
1803 return 1U << (perdatum->value-1); in string_to_av_perm()
2920 struct perm_datum *perdatum = datum; in perm_write() local
2927 buf[1] = cpu_to_le32(perdatum->value); in perm_write()