Lines Matching refs:attr
189 smb_attr_t attr;
248 bzero(&attr, sizeof (smb_attr_t));
249 attr.sa_mask = SMB_AT_UID | SMB_AT_DOSATTR;
250 rc = smb_node_getattr(NULL, node, of->f_cr, NULL, &attr);
257 if (crgetuid(of->f_cr) == attr.sa_vattr.va_uid) {
281 * will _not_ yet show in attr.sa_dosattr
285 if (attr.sa_dosattr & FILE_ATTRIBUTE_READONLY)
784 smb_attr_t attr;
807 bzero(&attr, sizeof (smb_attr_t));
808 attr.sa_mask |= SMB_AT_SIZE;
809 rc = smb_fsop_getattr(NULL, zone_kcred(), of->f_node, &attr);
814 if (off < 0 && (-off) > attr.sa_vattr.va_size)
817 newoff = attr.sa_vattr.va_size + (u_offset_t)off;