tag | line | file | source code |
attr | 797 | drivers/char/console.c | attr = color; |
attr | 800 | drivers/char/console.c | attr = (attr & 0xf0) | ulcolor; |
attr | 802 | drivers/char/console.c | attr = (attr & 0xf0) | halfcolor; |
attr | 805 | drivers/char/console.c | attr = reverse_video_char(attr); |
attr | 807 | drivers/char/console.c | attr ^= 0x80; |
attr | 809 | drivers/char/console.c | attr ^= 0x08; |
attr | 812 | drivers/char/console.c | attr = (attr & 0xf8) | 0x01; |
attr | 814 | drivers/char/console.c | attr = (attr & 0xf0) | 0x08; |
attr | 1133 | drivers/char/console.c | def_color = attr; |
attr | 1465 | drivers/char/console.c | ((attr & 0xf7) << 8) + ((tc & 0x100) << 3) + |
attr | 1466 | drivers/char/console.c | (tc & 0x0ff) : (attr << 8) + tc, |
attr | 1886 | 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 | 144 | fs/fat/dir.c | } else if (MSDOS_SB(sb)->options.isvfat && de->attr == ATTR_EXT) { |
attr | 173 | fs/fat/dir.c | if (ds->attr != ATTR_EXT) { |
attr | 212 | fs/fat/dir.c | } else if (!IS_FREE(de->name) && !(de->attr & ATTR_VOLUME)) { |
attr | 230 | fs/fat/dir.c | if ((de->attr & ATTR_HIDDEN) && MSDOS_SB(sb)->options.dotsOK) { |
attr | 400 | fs/fat/inode.c | if ((raw_entry->attr & ATTR_DIR) && !IS_FREE(raw_entry->name)) { |
attr | 401 | fs/fat/inode.c | inode->i_mode = MSDOS_MKMODE(raw_entry->attr,S_IRWXUGO & |
attr | 426 | fs/fat/inode.c | inode->i_mode = MSDOS_MKMODE(raw_entry->attr, |
attr | 439 | fs/fat/inode.c | if(raw_entry->attr & ATTR_SYS) |
attr | 444 | fs/fat/inode.c | MSDOS_I(inode)->i_attrs = raw_entry->attr & ATTR_UNUSED; |
attr | 476 | fs/fat/inode.c | raw_entry->attr = ATTR_DIR; |
attr | 480 | fs/fat/inode.c | raw_entry->attr = ATTR_NONE; |
attr | 483 | fs/fat/inode.c | raw_entry->attr |= MSDOS_MKATTR(inode->i_mode) | |
attr | 499 | fs/fat/inode.c | int fat_notify_change(struct inode * inode,struct iattr * attr) |
attr | 503 | fs/fat/inode.c | error = inode_change_ok(inode, attr); |
attr | 507 | fs/fat/inode.c | if (((attr->ia_valid & ATTR_UID) && |
attr | 508 | fs/fat/inode.c | (attr->ia_uid != MSDOS_SB(inode->i_sb)->options.fs_uid)) || |
attr | 509 | fs/fat/inode.c | ((attr->ia_valid & ATTR_GID) && |
attr | 510 | fs/fat/inode.c | (attr->ia_gid != MSDOS_SB(inode->i_sb)->options.fs_gid)) || |
attr | 511 | fs/fat/inode.c | ((attr->ia_valid & ATTR_MODE) && |
attr | 512 | fs/fat/inode.c | (attr->ia_mode & ~MSDOS_VALID_MODE))) |
attr | 518 | fs/fat/inode.c | inode_setattr(inode, attr); |
attr | 341 | fs/fat/misc.c | !(data[entry].attr & ATTR_VOLUME); |
attr | 362 | fs/fat/misc.c | if (!IS_FREE(data[entry].name) && (data[entry].attr & ATTR_DIR)) \ |
attr | 382 | fs/fat/misc.c | done = (data[entry].attr & ATTR_HIDDEN) |
attr | 268 | fs/inode.c | int inode_change_ok(struct inode *inode, struct iattr *attr) |
attr | 274 | fs/inode.c | if (attr->ia_valid & ATTR_FORCE) |
attr | 278 | fs/inode.c | if ((attr->ia_valid & ATTR_UID) && |
attr | 280 | fs/inode.c | attr->ia_uid != inode->i_uid) && !fsuser()) |
attr | 284 | fs/inode.c | if ((attr->ia_valid & ATTR_GID) && |
attr | 285 | fs/inode.c | (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid) && |
attr | 290 | fs/inode.c | if (attr->ia_valid & ATTR_MODE) { |
attr | 294 | fs/inode.c | if (!fsuser() && !in_group_p((attr->ia_valid & ATTR_GID) ? attr->ia_gid : |
attr | 296 | fs/inode.c | attr->ia_mode &= ~S_ISGID; |
attr | 300 | fs/inode.c | if ((attr->ia_valid & ATTR_ATIME_SET) && |
attr | 303 | fs/inode.c | if ((attr->ia_valid & ATTR_MTIME_SET) && |
attr | 313 | fs/inode.c | void inode_setattr(struct inode *inode, struct iattr *attr) |
attr | 315 | fs/inode.c | if (attr->ia_valid & ATTR_UID) |
attr | 316 | fs/inode.c | inode->i_uid = attr->ia_uid; |
attr | 317 | fs/inode.c | if (attr->ia_valid & ATTR_GID) |
attr | 318 | fs/inode.c | inode->i_gid = attr->ia_gid; |
attr | 319 | fs/inode.c | if (attr->ia_valid & ATTR_SIZE) |
attr | 320 | fs/inode.c | inode->i_size = attr->ia_size; |
attr | 321 | fs/inode.c | if (attr->ia_valid & ATTR_ATIME) |
attr | 322 | fs/inode.c | inode->i_atime = attr->ia_atime; |
attr | 323 | fs/inode.c | if (attr->ia_valid & ATTR_MTIME) |
attr | 324 | fs/inode.c | inode->i_mtime = attr->ia_mtime; |
attr | 325 | fs/inode.c | if (attr->ia_valid & ATTR_CTIME) |
attr | 326 | fs/inode.c | inode->i_ctime = attr->ia_ctime; |
attr | 327 | fs/inode.c | if (attr->ia_valid & ATTR_MODE) { |
attr | 328 | fs/inode.c | inode->i_mode = attr->ia_mode; |
attr | 342 | fs/inode.c | int notify_change(struct inode * inode, struct iattr *attr) |
attr | 346 | fs/inode.c | attr->ia_ctime = CURRENT_TIME; |
attr | 347 | fs/inode.c | if (attr->ia_valid & (ATTR_ATIME | ATTR_MTIME)) { |
attr | 348 | fs/inode.c | if (!(attr->ia_valid & ATTR_ATIME_SET)) |
attr | 349 | fs/inode.c | attr->ia_atime = attr->ia_ctime; |
attr | 350 | fs/inode.c | if (!(attr->ia_valid & ATTR_MTIME_SET)) |
attr | 351 | fs/inode.c | attr->ia_mtime = attr->ia_ctime; |
attr | 356 | fs/inode.c | return inode->i_sb->s_op->notify_change(inode, attr); |
attr | 358 | fs/inode.c | if ((retval = inode_change_ok(inode, attr)) != 0) |
attr | 361 | fs/inode.c | inode_setattr(inode, attr); |
attr | 277 | fs/msdos/namei.c | de->attr = is_dir ? ATTR_DIR : ATTR_ARCH; |
attr | 278 | fs/msdos/namei.c | de->attr = is_hid ? (de->attr|ATTR_HIDDEN) : (de->attr&~ATTR_HIDDEN); |
attr | 560 | fs/msdos/namei.c | ? (old_de->attr & ATTR_DIR) |
attr | 563 | fs/msdos/namei.c | : (old_de->attr & ATTR_DIR) |
attr | 566 | fs/msdos/namei.c | if (!error && (old_de->attr & ATTR_SYS)) error = -EPERM; |
attr | 587 | fs/msdos/namei.c | old_de->attr = is_hid |
attr | 588 | fs/msdos/namei.c | ? (old_de->attr | ATTR_HIDDEN) |
attr | 589 | fs/msdos/namei.c | : (old_de->attr &~ ATTR_HIDDEN); |
attr | 653 | fs/msdos/namei.c | ? (old_de->attr & ATTR_DIR) |
attr | 656 | fs/msdos/namei.c | : (old_de->attr & ATTR_DIR) |
attr | 659 | fs/msdos/namei.c | if (!error && (old_de->attr & ATTR_SYS)) error = -EPERM; |
attr | 674 | fs/msdos/namei.c | free_de->attr = is_hid |
attr | 675 | fs/msdos/namei.c | ? (free_de->attr|ATTR_HIDDEN) |
attr | 676 | fs/msdos/namei.c | : (free_de->attr&~ATTR_HIDDEN); |
attr | 35 | fs/ncpfs/inode.c | static int ncp_notify_change(struct inode *inode, struct iattr *attr); |
attr | 417 | fs/ncpfs/inode.c | ncp_notify_change(struct inode *inode, struct iattr *attr) |
attr | 428 | fs/ncpfs/inode.c | if ((result = inode_change_ok(inode, attr)) < 0) |
attr | 431 | fs/ncpfs/inode.c | if (((attr->ia_valid & ATTR_UID) && |
attr | 432 | fs/ncpfs/inode.c | (attr->ia_uid != NCP_SERVER(inode)->m.uid))) |
attr | 435 | fs/ncpfs/inode.c | if (((attr->ia_valid & ATTR_GID) && |
attr | 436 | fs/ncpfs/inode.c | (attr->ia_uid != NCP_SERVER(inode)->m.gid))) |
attr | 439 | fs/ncpfs/inode.c | if (((attr->ia_valid & ATTR_MODE) && |
attr | 440 | fs/ncpfs/inode.c | (attr->ia_mode & |
attr | 447 | fs/ncpfs/inode.c | if ((attr->ia_valid & ATTR_CTIME) != 0) |
attr | 450 | fs/ncpfs/inode.c | ncp_date_unix2dos(attr->ia_ctime, |
attr | 454 | fs/ncpfs/inode.c | if ((attr->ia_valid & ATTR_MTIME) != 0) |
attr | 457 | fs/ncpfs/inode.c | ncp_date_unix2dos(attr->ia_mtime, |
attr | 461 | fs/ncpfs/inode.c | if ((attr->ia_valid & ATTR_ATIME) != 0) |
attr | 465 | fs/ncpfs/inode.c | ncp_date_unix2dos(attr->ia_ctime, |
attr | 491 | fs/ncpfs/inode.c | if ((attr->ia_valid & ATTR_SIZE) != 0) |
attr | 496 | fs/ncpfs/inode.c | NCP_ISTRUCT(inode)->entryName, attr->ia_size); |
attr | 504 | fs/ncpfs/inode.c | attr->ia_size, 0, "", &written); |
attr | 71 | fs/ncpfs/ncplib_kernel.h | int attr, int access, |
attr | 79 | fs/ncpfs/ncplib_kernel.h | int attr, |
attr | 85 | fs/ncpfs/ncplib_kernel.h | int attr, |
attr | 91 | fs/ncpfs/ncplib_kernel.h | int attr); |
attr | 96 | fs/ncpfs/ncplib_kernel.h | int attr, |
attr | 270 | fs/nfs/inode.c | int nfs_notify_change(struct inode *inode, struct iattr *attr) |
attr | 277 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_MODE) |
attr | 278 | fs/nfs/inode.c | sattr.mode = attr->ia_mode; |
attr | 281 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_UID) |
attr | 282 | fs/nfs/inode.c | sattr.uid = attr->ia_uid; |
attr | 285 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_GID) |
attr | 286 | fs/nfs/inode.c | sattr.gid = attr->ia_gid; |
attr | 290 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_SIZE) |
attr | 291 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? attr->ia_size : -1; |
attr | 294 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_MTIME) { |
attr | 295 | fs/nfs/inode.c | sattr.mtime.seconds = attr->ia_mtime; |
attr | 300 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_ATIME) { |
attr | 301 | fs/nfs/inode.c | sattr.atime.seconds = attr->ia_atime; |
attr | 493 | fs/smbfs/dir.c | DPRINTK("smb_iget: finfo->attr = 0x%X\n", finfo->attr); |
attr | 783 | fs/smbfs/dir.c | entry.attr = 0; |
attr | 89 | fs/smbfs/inode.c | if (SMB_INOP(inode)->finfo.attr & aDIR) |
attr | 310 | fs/smbfs/inode.c | struct smb_dskattr attr; |
attr | 313 | fs/smbfs/inode.c | error = smb_proc_dskattr(sb, &attr); |
attr | 317 | fs/smbfs/inode.c | attr.total = attr.allocblocks = attr.blocksize = |
attr | 318 | fs/smbfs/inode.c | attr.free = 0; |
attr | 322 | fs/smbfs/inode.c | tmp.f_bsize = attr.blocksize*attr.allocblocks; |
attr | 323 | fs/smbfs/inode.c | tmp.f_blocks = attr.total; |
attr | 324 | fs/smbfs/inode.c | tmp.f_bfree = attr.free; |
attr | 325 | fs/smbfs/inode.c | tmp.f_bavail = attr.free; |
attr | 334 | fs/smbfs/inode.c | smb_notify_change(struct inode *inode, struct iattr *attr) |
attr | 338 | fs/smbfs/inode.c | if ((error = inode_change_ok(inode, attr)) < 0) |
attr | 341 | fs/smbfs/inode.c | if (((attr->ia_valid & ATTR_UID) && |
attr | 342 | fs/smbfs/inode.c | (attr->ia_uid != SMB_SERVER(inode)->m.uid))) |
attr | 345 | fs/smbfs/inode.c | if (((attr->ia_valid & ATTR_GID) && |
attr | 346 | fs/smbfs/inode.c | (attr->ia_uid != SMB_SERVER(inode)->m.gid))) |
attr | 349 | fs/smbfs/inode.c | if (((attr->ia_valid & ATTR_MODE) && |
attr | 350 | fs/smbfs/inode.c | (attr->ia_mode & ~(S_IFREG | S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO)))) |
attr | 353 | fs/smbfs/inode.c | if ((attr->ia_valid & ATTR_SIZE) != 0) { |
attr | 360 | fs/smbfs/inode.c | attr->ia_size)) < 0) |
attr | 365 | fs/smbfs/inode.c | if ((attr->ia_valid & (ATTR_CTIME | ATTR_MTIME | ATTR_ATIME)) != 0) { |
attr | 369 | fs/smbfs/inode.c | finfo.attr = 0; |
attr | 371 | fs/smbfs/inode.c | if ((attr->ia_valid & ATTR_CTIME) != 0) |
attr | 372 | fs/smbfs/inode.c | finfo.ctime = attr->ia_ctime; |
attr | 376 | fs/smbfs/inode.c | if ((attr->ia_valid & ATTR_MTIME) != 0) |
attr | 377 | fs/smbfs/inode.c | finfo.mtime = attr->ia_mtime; |
attr | 381 | fs/smbfs/inode.c | if ((attr->ia_valid & ATTR_ATIME) != 0) |
attr | 382 | fs/smbfs/inode.c | finfo.atime = attr->ia_atime; |
attr | 580 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv1); |
attr | 770 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, entry->attr); |
attr | 926 | fs/smbfs/proc.c | entry->attr = BVAL(p, 0); |
attr | 1083 | fs/smbfs/proc.c | finfo->attr = BVAL(p,24); |
attr | 1098 | fs/smbfs/proc.c | finfo->attr = BVAL(p,24); |
attr | 1124 | fs/smbfs/proc.c | finfo->attr = BVAL(p,0); |
attr | 1407 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv0); |
attr | 1436 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv10); |
attr | 1459 | fs/smbfs/proc.c | entry->attr = temp_entry.attr; |
attr | 1490 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, new_finfo->attr); |
attr | 1552 | fs/smbfs/proc.c | smb_proc_dskattr(struct super_block *super, struct smb_dskattr *attr) |
attr | 1572 | fs/smbfs/proc.c | p = smb_decode_word(p, &attr->total); |
attr | 1573 | fs/smbfs/proc.c | p = smb_decode_word(p, &attr->allocblocks); |
attr | 1574 | fs/smbfs/proc.c | p = smb_decode_word(p, &attr->blocksize); |
attr | 1575 | fs/smbfs/proc.c | p = smb_decode_word(p, &attr->free); |
attr | 871 | fs/sysv/inode.c | extern int sysv_notify_change(struct inode *inode, struct iattr *attr) |
attr | 875 | fs/sysv/inode.c | if ((error = inode_change_ok(inode, attr)) != 0) |
attr | 878 | fs/sysv/inode.c | if (attr->ia_valid & ATTR_MODE) |
attr | 880 | fs/sysv/inode.c | if (attr->ia_mode == COH_KLUDGE_SYMLINK_MODE) |
attr | 881 | fs/sysv/inode.c | attr->ia_mode = COH_KLUDGE_NOT_SYMLINK; |
attr | 883 | fs/sysv/inode.c | inode_setattr(inode, attr); |
attr | 274 | fs/umsdos/inode.c | int UMSDOS_notify_change(struct inode *inode, struct iattr *attr) |
attr | 278 | fs/umsdos/inode.c | if ((ret = inode_change_ok(inode, attr)) != 0) |
attr | 324 | fs/umsdos/inode.c | if (attr->ia_valid & ATTR_UID) |
attr | 325 | fs/umsdos/inode.c | entry.uid = attr->ia_uid; |
attr | 326 | fs/umsdos/inode.c | if (attr->ia_valid & ATTR_GID) |
attr | 327 | fs/umsdos/inode.c | entry.gid = attr->ia_gid; |
attr | 328 | fs/umsdos/inode.c | if (attr->ia_valid & ATTR_MODE) |
attr | 329 | fs/umsdos/inode.c | entry.mode = attr->ia_mode; |
attr | 330 | fs/umsdos/inode.c | if (attr->ia_valid & ATTR_ATIME) |
attr | 331 | fs/umsdos/inode.c | entry.atime = attr->ia_atime; |
attr | 332 | fs/umsdos/inode.c | if (attr->ia_valid & ATTR_MTIME) |
attr | 333 | fs/umsdos/inode.c | entry.mtime = attr->ia_mtime; |
attr | 334 | fs/umsdos/inode.c | if (attr->ia_valid & ATTR_CTIME) |
attr | 335 | fs/umsdos/inode.c | entry.ctime = attr->ia_ctime; |
attr | 356 | fs/umsdos/inode.c | inode_setattr(inode, attr); |
attr | 678 | fs/vfat/namei.c | ps->attr = ATTR_EXT; |
attr | 887 | fs/vfat/namei.c | de->attr = is_dir ? ATTR_DIR : ATTR_ARCH; |
attr | 1054 | fs/vfat/namei.c | de->attr = ATTR_DIR; |
attr | 1136 | fs/vfat/namei.c | if (de->attr == ATTR_EXT) continue; |
attr | 1236 | fs/vfat/namei.c | (*de)->attr = 0; |
attr | 1456 | fs/vfat/namei.c | new_de->attr = old_de->attr; |
attr | 1489 | fs/vfat/namei.c | old_de->attr = 0; |
attr | 116 | include/linux/msdos_fs.h | __u8 attr; /* attribute bits */ |
attr | 131 | include/linux/msdos_fs.h | __u8 attr; /* attribute byte */ |
attr | 92 | include/linux/smb.h | word attr; /* Attribute fields, DOS value */ |
attr | 118 | include/linux/smb_fs.h | int smb_notify_change(struct inode *inode, struct iattr *attr); |
attr | 156 | include/linux/smb_fs.h | int smb_proc_dskattr(struct super_block *super, struct smb_dskattr *attr); |
attr | 125 | scripts/lxdialog/dialog.h | void attr_clear (WINDOW * win, int height, int width, chtype attr); |
attr | 112 | scripts/lxdialog/util.c | attr_clear (WINDOW * win, int height, int width, chtype attr) |
attr | 116 | scripts/lxdialog/util.c | wattrset (win, attr); |