Lines Matching defs:xperms
74 struct avtab_extended_perms *xperms;
81 xperms = kmem_cache_zalloc(avtab_xperms_cachep, GFP_KERNEL);
82 if (xperms == NULL) {
86 *xperms = *(datum->u.xperms);
87 newnode->datum.u.xperms = xperms;
292 temp->datum.u.xperms);
408 struct avtab_extended_perms xperms;
409 __le32 buf32[ARRAY_SIZE(xperms.perms.p)];
525 memset(&xperms, 0, sizeof(struct avtab_extended_perms));
526 rc = next_entry(&xperms.specified, fp, sizeof(u8));
531 rc = next_entry(&xperms.driver, fp, sizeof(u8));
536 rc = next_entry(buf32, fp, sizeof(u32)*ARRAY_SIZE(xperms.perms.p));
541 for (i = 0; i < ARRAY_SIZE(xperms.perms.p); i++)
542 xperms.perms.p[i] = le32_to_cpu(buf32[i]);
543 datum.u.xperms = &xperms;
613 __le32 buf32[ARRAY_SIZE(cur->datum.u.xperms->perms.p)];
626 rc = put_entry(&cur->datum.u.xperms->specified, sizeof(u8), 1, fp);
629 rc = put_entry(&cur->datum.u.xperms->driver, sizeof(u8), 1, fp);
632 for (i = 0; i < ARRAY_SIZE(cur->datum.u.xperms->perms.p); i++)
633 buf32[i] = cpu_to_le32(cur->datum.u.xperms->perms.p[i]);
635 ARRAY_SIZE(cur->datum.u.xperms->perms.p), fp);