RESIDENT_FLAG_INDEXED
attr->res.flags = RESIDENT_FLAG_INDEXED;
return !attr->non_res && (attr->res.flags & RESIDENT_FLAG_INDEXED);