Lines Matching refs:al
918 struct attrlist al;
959 if ((error = copyin(uap->alist, &al, sizeof(al))) != 0)
961 if (al.bitmapcount != ATTR_BIT_MAP_COUNT) {
967 vp, p->p_comm, al.commonattr, al.volattr, al.fileattr, al.dirattr, al.forkattr,
971 error = mac_vnode_check_getattrlist(ctx, vp, &al);
980 if (al.volattr) {
981 if (al.fileattr || al.dirattr || al.forkattr) {
987 error = getvolattrlist(vp, uap, &al, ctx, proc_is64);
994 if ((error = getattrlist_setupvattr(&al, &va, &fixedsize, &action, proc_is64, vnode_isdir(vp))) != 0) {
1031 if ((al.commonattr & (ATTR_CMN_OBJID | ATTR_CMN_OBJPERMANENTID | ATTR_CMN_FILEID)) && !VATTR_IS_SUPPORTED(&va, va_linkid))
1037 if ((al.commonattr & (ATTR_CMN_PAROBJID | ATTR_CMN_PARENTID)) && !VATTR_IS_SUPPORTED(&va, va_parentid))
1042 if ((al.fileattr & ATTR_FILE_DATALENGTH) && !VATTR_IS_SUPPORTED(&va, va_data_size))
1044 if ((al.fileattr & ATTR_FILE_DATAALLOCSIZE) && !VATTR_IS_SUPPORTED(&va, va_data_alloc))
1050 if ((al.commonattr & ATTR_CMN_SCRIPT) && !VATTR_IS_SUPPORTED(&va, va_encoding))
1056 if ((al.commonattr & ATTR_CMN_NAME) && !VATTR_IS_SUPPORTED(&va, va_name)) {
1061 if ((al.dirattr & ATTR_DIR_LINKCOUNT) && !VATTR_IS_SUPPORTED(&va, va_dirlinkcount)) {
1080 if (al.commonattr & ATTR_CMN_NAME) {
1122 if ((al.commonattr & ATTR_CMN_EXTENDED_SECURITY) &&
1148 if (al.commonattr & ATTR_CMN_ACCESSMASK) {
1185 if (al.commonattr & ATTR_CMN_NAME)
1187 if (al.commonattr & ATTR_CMN_DEVID)
1189 if (al.commonattr & ATTR_CMN_FSID)
1191 if (al.commonattr & ATTR_CMN_OBJTYPE)
1193 if (al.commonattr & ATTR_CMN_OBJTAG)
1195 if (al.commonattr & ATTR_CMN_OBJID) {
1211 if (al.commonattr & ATTR_CMN_OBJPERMANENTID) {
1227 if (al.commonattr & ATTR_CMN_PAROBJID) {
1259 if (al.commonattr & ATTR_CMN_SCRIPT)
1261 if (al.commonattr & ATTR_CMN_CRTIME)
1263 if (al.commonattr & ATTR_CMN_MODTIME)
1265 if (al.commonattr & ATTR_CMN_CHGTIME)
1267 if (al.commonattr & ATTR_CMN_ACCTIME)
1269 if (al.commonattr & ATTR_CMN_BKUPTIME)
1271 if (al.commonattr & ATTR_CMN_FNDRINFO) {
1301 if (al.commonattr & ATTR_CMN_OWNERID)
1303 if (al.commonattr & ATTR_CMN_GRPID)
1305 if (al.commonattr & ATTR_CMN_ACCESSMASK)
1307 if (al.commonattr & ATTR_CMN_FLAGS)
1309 if (al.commonattr & ATTR_CMN_USERACCESS) { /* this is expensive */
1347 if (al.commonattr & ATTR_CMN_EXTENDED_SECURITY) {
1361 if (al.commonattr & ATTR_CMN_UUID) {
1368 if (al.commonattr & ATTR_CMN_GRPUUID) {
1375 if (al.commonattr & ATTR_CMN_FILEID) {
1378 if (al.commonattr & ATTR_CMN_PARENTID) {
1410 if (al.dirattr & ATTR_DIR_LINKCOUNT) /* full count of entries */
1412 if (al.dirattr & ATTR_DIR_ENTRYCOUNT)
1414 if (al.dirattr & ATTR_DIR_MOUNTSTATUS)
1420 if (al.fileattr & ATTR_FILE_LINKCOUNT)
1422 if (al.fileattr & ATTR_FILE_TOTALSIZE)
1424 if (al.fileattr & ATTR_FILE_ALLOCSIZE)
1426 if (al.fileattr & ATTR_FILE_IOBLOCKSIZE)
1428 if (al.fileattr & ATTR_FILE_CLUMPSIZE)
1430 if (al.fileattr & ATTR_FILE_DEVTYPE) {
1437 if (al.fileattr & ATTR_FILE_DATALENGTH) {
1444 if (al.fileattr & ATTR_FILE_DATAALLOCSIZE) {
1452 if (al.fileattr & (ATTR_FILE_RSRCLENGTH | ATTR_FILE_RSRCALLOCSIZE)) {
1464 if (al.fileattr & ATTR_FILE_RSRCLENGTH) {
1468 if (al.fileattr & ATTR_FILE_RSRCALLOCSIZE) {
1481 fixedsize, ab.fixedcursor - ab.base, al.commonattr, al.volattr);
1545 struct attrlist al;
1585 if ((error = copyin(uap->alist, (caddr_t) &al, sizeof (al))))
1587 if (al.bitmapcount != ATTR_BIT_MAP_COUNT) {
1593 vp, p->p_comm, al.commonattr, al.volattr, al.fileattr, al.dirattr, al.forkattr,
1596 if (al.volattr) {
1597 if ((al.volattr & ~ATTR_VOL_SETMASK) ||
1598 (al.commonattr & ~ATTR_CMN_VOLSETMASK) ||
1599 al.fileattr ||
1600 al.forkattr) {
1606 if ((al.commonattr & ~ATTR_CMN_SETMASK) ||
1607 (al.fileattr & ~ATTR_FILE_SETMASK) ||
1608 (al.dirattr & ~ATTR_DIR_SETMASK) ||
1609 (al.forkattr & ~ATTR_FORK_SETMASK)) {
1643 error = mac_vnode_check_setattrlist(&context, vp, &al);
1655 if (al.commonattr & ATTR_CMN_SCRIPT) {
1659 if (al.commonattr & ATTR_CMN_CRTIME) {
1663 if (al.commonattr & ATTR_CMN_MODTIME) {
1667 if (al.commonattr & ATTR_CMN_CHGTIME) {
1671 if (al.commonattr & ATTR_CMN_ACCTIME) {
1675 if (al.commonattr & ATTR_CMN_BKUPTIME) {
1679 if (al.commonattr & ATTR_CMN_FNDRINFO) {
1688 if (al.commonattr & ATTR_CMN_OWNERID) {
1692 if (al.commonattr & ATTR_CMN_GRPID) {
1696 if (al.commonattr & ATTR_CMN_ACCESSMASK) {
1700 if (al.commonattr & ATTR_CMN_FLAGS) {
1704 if (al.commonattr & ATTR_CMN_EXTENDED_SECURITY) {
1744 if (al.commonattr & ATTR_CMN_UUID) {
1748 if (al.commonattr & ATTR_CMN_GRPUUID) {
1754 if (al.volattr & ATTR_VOL_INFO) {
1755 if (al.volattr & ATTR_VOL_NAME) {
1770 if (al.fileattr & ATTR_FILE_DEVTYPE) {
1790 if (al.volattr & ATTR_VOL_INFO) {
1815 if ((fndrinfo != NULL) && !(al.volattr & ATTR_VOL_INFO) &&
1816 (al.commonattr & ATTR_CMN_ACCESSMASK) && !(va.va_mode & S_IWUSR)) {
1835 if (al.volattr & ATTR_VOL_INFO) {