MCPcopy Create free account
hub / github.com/F-Stack/f-stack / acl_alloc

Function acl_alloc

freebsd/kern/vfs_acl.c:580–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578}
579
580struct acl *
581acl_alloc(int flags)
582{
583 struct acl *aclp;
584
585 aclp = malloc(sizeof(*aclp), M_ACL, flags);
586 if (aclp == NULL)
587 return (NULL);
588
589 aclp->acl_maxcnt = ACL_MAX_ENTRIES;
590
591 return (aclp);
592}
593
594void
595acl_free(struct acl *aclp)

Callers 4

acl_nfs4_is_trivialFunction · 0.70
vacl_set_aclFunction · 0.70
vacl_get_aclFunction · 0.70
vacl_aclcheckFunction · 0.70

Calls 1

mallocFunction · 0.85

Tested by

no test coverage detected