tag | line | file | source code |
attr | 255 | arch/i386/boot/compressed/gzip.h | void ct_init OF((ush *attr, int *method)); |
attr | 879 | drivers/char/console.c | attr = color; |
attr | 882 | drivers/char/console.c | attr = (attr & 0xf0) | ulcolor; |
attr | 884 | drivers/char/console.c | attr = (attr & 0xf0) | halfcolor; |
attr | 887 | drivers/char/console.c | attr = reverse_video_char(attr); |
attr | 889 | drivers/char/console.c | attr ^= 0x80; |
attr | 891 | drivers/char/console.c | attr ^= 0x08; |
attr | 894 | drivers/char/console.c | attr = (attr & 0xf8) | 0x01; |
attr | 896 | drivers/char/console.c | attr = (attr & 0xf0) | 0x08; |
attr | 1207 | drivers/char/console.c | def_color = attr; |
attr | 1510 | drivers/char/console.c | ((attr & 0xf7) << 8) + ((tc & 0x100) << 3) + |
attr | 1511 | drivers/char/console.c | (tc & 0x0ff) : (attr << 8) + tc, |
attr | 1918 | drivers/char/console.c | scr_writew((attr << 8) + c, (unsigned short *) pos); |
attr | 67 | drivers/char/vc_screen.c | int viewed, attr, size, read; |
attr | 71 | drivers/char/vc_screen.c | attr = (cons & 128); |
attr | 90 | drivers/char/vc_screen.c | if (!attr) { |
attr | 125 | drivers/char/vc_screen.c | int viewed, attr, size, written; |
attr | 129 | drivers/char/vc_screen.c | attr = (cons & 128); |
attr | 148 | drivers/char/vc_screen.c | if (!attr) { |
attr | 237 | fs/inode.c | int inode_change_ok(struct inode *inode, struct iattr *attr) |
attr | 240 | fs/inode.c | if ((attr->ia_valid & ATTR_UID) && |
attr | 242 | fs/inode.c | attr->ia_uid != inode->i_uid) && !fsuser()) |
attr | 246 | fs/inode.c | if ((attr->ia_valid & ATTR_GID) && |
attr | 247 | fs/inode.c | (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid) && |
attr | 252 | fs/inode.c | if (attr->ia_valid & ATTR_MODE) { |
attr | 256 | fs/inode.c | if (!fsuser() && !in_group_p((attr->ia_valid & ATTR_GID) ? attr->ia_gid : |
attr | 258 | fs/inode.c | attr->ia_mode &= ~S_ISGID; |
attr | 262 | fs/inode.c | if ((attr->ia_valid & ATTR_ATIME_SET) && |
attr | 265 | fs/inode.c | if ((attr->ia_valid & ATTR_MTIME_SET) && |
attr | 277 | fs/inode.c | void inode_setattr(struct inode *inode, struct iattr *attr) |
attr | 279 | fs/inode.c | if (attr->ia_valid & ATTR_UID) |
attr | 280 | fs/inode.c | inode->i_uid = attr->ia_uid; |
attr | 281 | fs/inode.c | if (attr->ia_valid & ATTR_GID) |
attr | 282 | fs/inode.c | inode->i_gid = attr->ia_gid; |
attr | 283 | fs/inode.c | if (attr->ia_valid & ATTR_SIZE) |
attr | 284 | fs/inode.c | inode->i_size = attr->ia_size; |
attr | 285 | fs/inode.c | if (attr->ia_valid & ATTR_ATIME) |
attr | 286 | fs/inode.c | inode->i_atime = attr->ia_atime; |
attr | 287 | fs/inode.c | if (attr->ia_valid & ATTR_MTIME) |
attr | 288 | fs/inode.c | inode->i_mtime = attr->ia_mtime; |
attr | 289 | fs/inode.c | if (attr->ia_valid & ATTR_CTIME) |
attr | 290 | fs/inode.c | inode->i_ctime = attr->ia_ctime; |
attr | 291 | fs/inode.c | if (attr->ia_valid & ATTR_MODE) { |
attr | 292 | fs/inode.c | inode->i_mode = attr->ia_mode; |
attr | 307 | fs/inode.c | int notify_change(struct inode * inode, struct iattr *attr) |
attr | 313 | fs/inode.c | return inode->i_sb->s_op->notify_change(inode, attr); |
attr | 315 | fs/inode.c | if ((retval = inode_change_ok(inode, attr)) != 0) |
attr | 318 | fs/inode.c | inode_setattr(inode, attr); |
attr | 93 | fs/msdos/dir.c | && !(de->attr & (ATTR_VOLUME|ATTR_SYS|ATTR_HIDDEN))) { |
attr | 390 | fs/msdos/inode.c | if ((raw_entry->attr & ATTR_DIR) && !IS_FREE(raw_entry->name)) { |
attr | 391 | fs/msdos/inode.c | inode->i_mode = MSDOS_MKMODE(raw_entry->attr,S_IRWXUGO & |
attr | 416 | fs/msdos/inode.c | inode->i_mode = MSDOS_MKMODE(raw_entry->attr,(IS_NOEXEC(inode) |
attr | 428 | fs/msdos/inode.c | MSDOS_I(inode)->i_attrs = raw_entry->attr & ATTR_UNUSED; |
attr | 455 | fs/msdos/inode.c | raw_entry->attr = ATTR_DIR; |
attr | 459 | fs/msdos/inode.c | raw_entry->attr = ATTR_NONE; |
attr | 462 | fs/msdos/inode.c | raw_entry->attr |= MSDOS_MKATTR(inode->i_mode) | |
attr | 473 | fs/msdos/inode.c | int msdos_notify_change(struct inode * inode,struct iattr * attr) |
attr | 477 | fs/msdos/inode.c | error = inode_change_ok(inode, attr); |
attr | 481 | fs/msdos/inode.c | if (((attr->ia_valid & ATTR_UID) && |
attr | 482 | fs/msdos/inode.c | (attr->ia_uid != MSDOS_SB(inode->i_sb)->fs_uid)) || |
attr | 483 | fs/msdos/inode.c | ((attr->ia_valid & ATTR_GID) && |
attr | 484 | fs/msdos/inode.c | (attr->ia_gid != MSDOS_SB(inode->i_sb)->fs_gid)) || |
attr | 485 | fs/msdos/inode.c | ((attr->ia_valid & ATTR_MODE) && |
attr | 486 | fs/msdos/inode.c | (attr->ia_mode & ~MSDOS_VALID_MODE))) |
attr | 492 | fs/msdos/inode.c | inode_setattr(inode, attr); |
attr | 343 | fs/msdos/misc.c | !(data[entry].attr & ATTR_VOLUME); |
attr | 364 | fs/msdos/misc.c | if (!IS_FREE(data[entry].name) && (data[entry].attr & ATTR_DIR)) \ |
attr | 203 | fs/msdos/namei.c | de->attr = is_dir ? ATTR_DIR : ATTR_ARCH; |
attr | 460 | fs/msdos/namei.c | error = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ? |
attr | 461 | fs/msdos/namei.c | msdos_empty(new_inode) : -EPERM : (old_de->attr & ATTR_DIR) |
attr | 538 | fs/msdos/namei.c | error = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ? |
attr | 539 | fs/msdos/namei.c | msdos_empty(new_inode) : -EPERM : (old_de->attr & ATTR_DIR) |
attr | 244 | fs/nfs/inode.c | int nfs_notify_change(struct inode *inode, struct iattr *attr) |
attr | 250 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_MODE) |
attr | 251 | fs/nfs/inode.c | sattr.mode = attr->ia_mode; |
attr | 255 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_UID) |
attr | 256 | fs/nfs/inode.c | sattr.uid = attr->ia_uid; |
attr | 260 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_GID) |
attr | 261 | fs/nfs/inode.c | sattr.gid = attr->ia_gid; |
attr | 265 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_SIZE) |
attr | 266 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? attr->ia_size : -1; |
attr | 270 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_MTIME) { |
attr | 271 | fs/nfs/inode.c | sattr.mtime.seconds = attr->ia_mtime; |
attr | 276 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_ATIME) { |
attr | 277 | fs/nfs/inode.c | sattr.atime.seconds = attr->ia_atime; |
attr | 497 | fs/smbfs/dir.c | DPRINTK("smb_iget: finfo->attr = 0x%X\n", finfo->attr); |
attr | 787 | fs/smbfs/dir.c | entry.attr = 0; |
attr | 96 | fs/smbfs/inode.c | if (SMB_INOP(inode)->finfo.attr & aDIR) |
attr | 317 | fs/smbfs/inode.c | struct smb_dskattr attr; |
attr | 320 | fs/smbfs/inode.c | error = smb_proc_dskattr(sb, &attr); |
attr | 324 | fs/smbfs/inode.c | attr.total = attr.allocblocks = attr.blocksize = |
attr | 325 | fs/smbfs/inode.c | attr.free = 0; |
attr | 329 | fs/smbfs/inode.c | tmp.f_bsize = attr.blocksize*attr.allocblocks; |
attr | 330 | fs/smbfs/inode.c | tmp.f_blocks = attr.total; |
attr | 331 | fs/smbfs/inode.c | tmp.f_bfree = attr.free; |
attr | 332 | fs/smbfs/inode.c | tmp.f_bavail = attr.free; |
attr | 341 | fs/smbfs/inode.c | smb_notify_change(struct inode *inode, struct iattr *attr) |
attr | 345 | fs/smbfs/inode.c | if ((error = inode_change_ok(inode, attr)) < 0) |
attr | 348 | fs/smbfs/inode.c | if (((attr->ia_valid & ATTR_UID) && |
attr | 349 | fs/smbfs/inode.c | (attr->ia_uid != SMB_SERVER(inode)->m.uid))) |
attr | 352 | fs/smbfs/inode.c | if (((attr->ia_valid & ATTR_GID) && |
attr | 353 | fs/smbfs/inode.c | (attr->ia_uid != SMB_SERVER(inode)->m.gid))) |
attr | 356 | fs/smbfs/inode.c | if (((attr->ia_valid & ATTR_MODE) && |
attr | 357 | fs/smbfs/inode.c | (attr->ia_mode & ~(S_IFREG | S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO)))) |
attr | 360 | fs/smbfs/inode.c | if ((attr->ia_valid & ATTR_SIZE) != 0) { |
attr | 367 | fs/smbfs/inode.c | attr->ia_size)) < 0) |
attr | 372 | fs/smbfs/inode.c | if ((attr->ia_valid & (ATTR_CTIME | ATTR_MTIME | ATTR_ATIME)) != 0) { |
attr | 376 | fs/smbfs/inode.c | finfo.attr = 0; |
attr | 378 | fs/smbfs/inode.c | if ((attr->ia_valid & ATTR_CTIME) != 0) |
attr | 379 | fs/smbfs/inode.c | finfo.ctime = attr->ia_ctime; |
attr | 383 | fs/smbfs/inode.c | if ((attr->ia_valid & ATTR_MTIME) != 0) |
attr | 384 | fs/smbfs/inode.c | finfo.mtime = attr->ia_mtime; |
attr | 388 | fs/smbfs/inode.c | if ((attr->ia_valid & ATTR_ATIME) != 0) |
attr | 389 | fs/smbfs/inode.c | finfo.atime = attr->ia_atime; |
attr | 582 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv1); |
attr | 772 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, entry->attr); |
attr | 928 | fs/smbfs/proc.c | entry->attr = BVAL(p, 0); |
attr | 1085 | fs/smbfs/proc.c | finfo->attr = BVAL(p,24); |
attr | 1100 | fs/smbfs/proc.c | finfo->attr = BVAL(p,24); |
attr | 1126 | fs/smbfs/proc.c | finfo->attr = BVAL(p,0); |
attr | 1408 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv0); |
attr | 1437 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv10); |
attr | 1460 | fs/smbfs/proc.c | entry->attr = temp_entry.attr; |
attr | 1491 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, new_finfo->attr); |
attr | 1553 | fs/smbfs/proc.c | smb_proc_dskattr(struct super_block *super, struct smb_dskattr *attr) |
attr | 1573 | fs/smbfs/proc.c | p = smb_decode_word(p, &attr->total); |
attr | 1574 | fs/smbfs/proc.c | p = smb_decode_word(p, &attr->allocblocks); |
attr | 1575 | fs/smbfs/proc.c | p = smb_decode_word(p, &attr->blocksize); |
attr | 1576 | fs/smbfs/proc.c | p = smb_decode_word(p, &attr->free); |
attr | 872 | fs/sysv/inode.c | extern int sysv_notify_change(struct inode *inode, struct iattr *attr) |
attr | 876 | fs/sysv/inode.c | if ((error = inode_change_ok(inode, attr)) != 0) |
attr | 879 | fs/sysv/inode.c | if (attr->ia_valid & ATTR_MODE) |
attr | 881 | fs/sysv/inode.c | if (attr->ia_mode == COH_KLUDGE_SYMLINK_MODE) |
attr | 882 | fs/sysv/inode.c | attr->ia_mode = COH_KLUDGE_NOT_SYMLINK; |
attr | 884 | fs/sysv/inode.c | inode_setattr(inode, attr); |
attr | 280 | fs/umsdos/inode.c | int UMSDOS_notify_change(struct inode *inode, struct iattr *attr) |
attr | 284 | fs/umsdos/inode.c | if ((ret = inode_change_ok(inode, attr)) != 0) |
attr | 330 | fs/umsdos/inode.c | if (attr->ia_valid & ATTR_UID) |
attr | 331 | fs/umsdos/inode.c | entry.uid = attr->ia_uid; |
attr | 332 | fs/umsdos/inode.c | if (attr->ia_valid & ATTR_GID) |
attr | 333 | fs/umsdos/inode.c | entry.gid = attr->ia_gid; |
attr | 334 | fs/umsdos/inode.c | if (attr->ia_valid & ATTR_MODE) |
attr | 335 | fs/umsdos/inode.c | entry.mode = attr->ia_mode; |
attr | 336 | fs/umsdos/inode.c | if (attr->ia_valid & ATTR_ATIME) |
attr | 337 | fs/umsdos/inode.c | entry.atime = attr->ia_atime; |
attr | 338 | fs/umsdos/inode.c | if (attr->ia_valid & ATTR_MTIME) |
attr | 339 | fs/umsdos/inode.c | entry.mtime = attr->ia_mtime; |
attr | 340 | fs/umsdos/inode.c | if (attr->ia_valid & ATTR_CTIME) |
attr | 341 | fs/umsdos/inode.c | entry.ctime = attr->ia_ctime; |
attr | 362 | fs/umsdos/inode.c | inode_setattr(inode, attr); |
attr | 84 | include/linux/msdos_fs.h | __u8 attr; /* attribute bits */ |
attr | 91 | include/linux/smb.h | word attr; /* Attribute fields, DOS value */ |
attr | 121 | include/linux/smb_fs.h | int smb_notify_change(struct inode *inode, struct iattr *attr); |
attr | 159 | include/linux/smb_fs.h | int smb_proc_dskattr(struct super_block *super, struct smb_dskattr *attr); |