tag | line | file | source code |
attr | 802 | drivers/char/console.c | attr = color; |
attr | 805 | drivers/char/console.c | attr = (attr & 0xf0) | ulcolor; |
attr | 807 | drivers/char/console.c | attr = (attr & 0xf0) | halfcolor; |
attr | 810 | drivers/char/console.c | attr = reverse_video_char(attr); |
attr | 812 | drivers/char/console.c | attr ^= 0x80; |
attr | 814 | drivers/char/console.c | attr ^= 0x08; |
attr | 817 | drivers/char/console.c | attr = (attr & 0xf8) | 0x01; |
attr | 819 | drivers/char/console.c | attr = (attr & 0xf0) | 0x08; |
attr | 1138 | drivers/char/console.c | def_color = attr; |
attr | 1468 | drivers/char/console.c | ((attr & 0xf7) << 8) + ((tc & 0x100) << 3) + |
attr | 1469 | drivers/char/console.c | (tc & 0x0ff) : (attr << 8) + tc, |
attr | 1889 | 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 | 95 | fs/fat/dir.c | (de->attr == ATTR_EXT) && |
attr | 105 | fs/fat/dir.c | } else if (MSDOS_SB(sb)->vfat && de->attr == ATTR_EXT) { |
attr | 129 | fs/fat/dir.c | if (ds->attr != ATTR_EXT) { |
attr | 194 | fs/fat/dir.c | } else if (!IS_FREE(de->name) && !(de->attr & ATTR_VOLUME)) { |
attr | 212 | fs/fat/dir.c | if ((de->attr & ATTR_HIDDEN) && MSDOS_SB(sb)->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 | 436 | fs/fat/inode.c | if(raw_entry->attr & ATTR_SYS) |
attr | 441 | fs/fat/inode.c | MSDOS_I(inode)->i_attrs = raw_entry->attr & ATTR_UNUSED; |
attr | 473 | fs/fat/inode.c | raw_entry->attr = ATTR_DIR; |
attr | 477 | fs/fat/inode.c | raw_entry->attr = ATTR_NONE; |
attr | 480 | fs/fat/inode.c | raw_entry->attr |= MSDOS_MKATTR(inode->i_mode) | |
attr | 496 | fs/fat/inode.c | int fat_notify_change(struct inode * inode,struct iattr * attr) |
attr | 500 | fs/fat/inode.c | error = inode_change_ok(inode, attr); |
attr | 504 | fs/fat/inode.c | if (((attr->ia_valid & ATTR_UID) && |
attr | 505 | fs/fat/inode.c | (attr->ia_uid != MSDOS_SB(inode->i_sb)->fs_uid)) || |
attr | 506 | fs/fat/inode.c | ((attr->ia_valid & ATTR_GID) && |
attr | 507 | fs/fat/inode.c | (attr->ia_gid != MSDOS_SB(inode->i_sb)->fs_gid)) || |
attr | 508 | fs/fat/inode.c | ((attr->ia_valid & ATTR_MODE) && |
attr | 509 | fs/fat/inode.c | (attr->ia_mode & ~MSDOS_VALID_MODE))) |
attr | 515 | 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 | 245 | fs/inode.c | int inode_change_ok(struct inode *inode, struct iattr *attr) |
attr | 251 | fs/inode.c | if (attr->ia_valid & ATTR_FORCE) |
attr | 255 | fs/inode.c | if ((attr->ia_valid & ATTR_UID) && |
attr | 257 | fs/inode.c | attr->ia_uid != inode->i_uid) && !fsuser()) |
attr | 261 | fs/inode.c | if ((attr->ia_valid & ATTR_GID) && |
attr | 262 | fs/inode.c | (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid) && |
attr | 267 | fs/inode.c | if (attr->ia_valid & ATTR_MODE) { |
attr | 271 | fs/inode.c | if (!fsuser() && !in_group_p((attr->ia_valid & ATTR_GID) ? attr->ia_gid : |
attr | 273 | fs/inode.c | attr->ia_mode &= ~S_ISGID; |
attr | 277 | fs/inode.c | if ((attr->ia_valid & ATTR_ATIME_SET) && |
attr | 280 | fs/inode.c | if ((attr->ia_valid & ATTR_MTIME_SET) && |
attr | 290 | fs/inode.c | void inode_setattr(struct inode *inode, struct iattr *attr) |
attr | 292 | fs/inode.c | if (attr->ia_valid & ATTR_UID) |
attr | 293 | fs/inode.c | inode->i_uid = attr->ia_uid; |
attr | 294 | fs/inode.c | if (attr->ia_valid & ATTR_GID) |
attr | 295 | fs/inode.c | inode->i_gid = attr->ia_gid; |
attr | 296 | fs/inode.c | if (attr->ia_valid & ATTR_SIZE) |
attr | 297 | fs/inode.c | inode->i_size = attr->ia_size; |
attr | 298 | fs/inode.c | if (attr->ia_valid & ATTR_ATIME) |
attr | 299 | fs/inode.c | inode->i_atime = attr->ia_atime; |
attr | 300 | fs/inode.c | if (attr->ia_valid & ATTR_MTIME) |
attr | 301 | fs/inode.c | inode->i_mtime = attr->ia_mtime; |
attr | 302 | fs/inode.c | if (attr->ia_valid & ATTR_CTIME) |
attr | 303 | fs/inode.c | inode->i_ctime = attr->ia_ctime; |
attr | 304 | fs/inode.c | if (attr->ia_valid & ATTR_MODE) { |
attr | 305 | fs/inode.c | inode->i_mode = attr->ia_mode; |
attr | 319 | fs/inode.c | int notify_change(struct inode * inode, struct iattr *attr) |
attr | 323 | fs/inode.c | attr->ia_ctime = CURRENT_TIME; |
attr | 324 | fs/inode.c | if (attr->ia_valid & (ATTR_ATIME | ATTR_MTIME)) { |
attr | 325 | fs/inode.c | if (!(attr->ia_valid & ATTR_ATIME_SET)) |
attr | 326 | fs/inode.c | attr->ia_atime = attr->ia_ctime; |
attr | 327 | fs/inode.c | if (!(attr->ia_valid & ATTR_MTIME_SET)) |
attr | 328 | fs/inode.c | attr->ia_mtime = attr->ia_ctime; |
attr | 333 | fs/inode.c | return inode->i_sb->s_op->notify_change(inode, attr); |
attr | 335 | fs/inode.c | if ((retval = inode_change_ok(inode, attr)) != 0) |
attr | 338 | fs/inode.c | inode_setattr(inode, attr); |
attr | 269 | fs/msdos/namei.c | de->attr = is_dir ? ATTR_DIR : ATTR_ARCH; |
attr | 270 | fs/msdos/namei.c | de->attr = is_hid ? (de->attr|ATTR_HIDDEN) : (de->attr&~ATTR_HIDDEN); |
attr | 546 | fs/msdos/namei.c | ? (old_de->attr & ATTR_DIR) |
attr | 549 | fs/msdos/namei.c | : (old_de->attr & ATTR_DIR) |
attr | 552 | fs/msdos/namei.c | if (!error && (old_de->attr & ATTR_SYS)) error = -EPERM; |
attr | 572 | fs/msdos/namei.c | old_de->attr = is_hid |
attr | 573 | fs/msdos/namei.c | ? (old_de->attr | ATTR_HIDDEN) |
attr | 574 | fs/msdos/namei.c | : (old_de->attr &~ ATTR_HIDDEN); |
attr | 638 | fs/msdos/namei.c | ? (old_de->attr & ATTR_DIR) |
attr | 641 | fs/msdos/namei.c | : (old_de->attr & ATTR_DIR) |
attr | 644 | fs/msdos/namei.c | if (!error && (old_de->attr & ATTR_SYS)) error = -EPERM; |
attr | 659 | fs/msdos/namei.c | free_de->attr = is_hid |
attr | 660 | fs/msdos/namei.c | ? (free_de->attr|ATTR_HIDDEN) |
attr | 661 | fs/msdos/namei.c | : (free_de->attr&~ATTR_HIDDEN); |
attr | 31 | fs/ncpfs/inode.c | static int ncp_notify_change(struct inode *inode, struct iattr *attr); |
attr | 383 | fs/ncpfs/inode.c | ncp_notify_change(struct inode *inode, struct iattr *attr) |
attr | 389 | fs/ncpfs/inode.c | if ((result = inode_change_ok(inode, attr)) < 0) |
attr | 392 | fs/ncpfs/inode.c | if (((attr->ia_valid & ATTR_UID) && |
attr | 393 | fs/ncpfs/inode.c | (attr->ia_uid != NCP_SERVER(inode)->m.uid))) |
attr | 396 | fs/ncpfs/inode.c | if (((attr->ia_valid & ATTR_GID) && |
attr | 397 | fs/ncpfs/inode.c | (attr->ia_uid != NCP_SERVER(inode)->m.gid))) |
attr | 400 | fs/ncpfs/inode.c | if (((attr->ia_valid & ATTR_MODE) && |
attr | 401 | fs/ncpfs/inode.c | (attr->ia_mode & |
attr | 408 | fs/ncpfs/inode.c | if ((attr->ia_valid & ATTR_CTIME) != 0) |
attr | 411 | fs/ncpfs/inode.c | ncp_date_unix2dos(attr->ia_ctime, |
attr | 415 | fs/ncpfs/inode.c | if ((attr->ia_valid & ATTR_MTIME) != 0) |
attr | 418 | fs/ncpfs/inode.c | ncp_date_unix2dos(attr->ia_mtime, |
attr | 422 | fs/ncpfs/inode.c | if ((attr->ia_valid & ATTR_ATIME) != 0) |
attr | 426 | fs/ncpfs/inode.c | ncp_date_unix2dos(attr->ia_ctime, |
attr | 452 | fs/ncpfs/inode.c | if ((attr->ia_valid & ATTR_SIZE) != 0) |
attr | 457 | fs/ncpfs/inode.c | NCP_ISTRUCT(inode)->entryName, attr->ia_size); |
attr | 465 | fs/ncpfs/inode.c | attr->ia_size, 0, "", &written); |
attr | 64 | fs/ncpfs/ncplib_kernel.h | int attr, int access, |
attr | 72 | fs/ncpfs/ncplib_kernel.h | int attr, |
attr | 78 | fs/ncpfs/ncplib_kernel.h | int attr, |
attr | 84 | fs/ncpfs/ncplib_kernel.h | int attr); |
attr | 89 | fs/ncpfs/ncplib_kernel.h | int attr, |
attr | 245 | fs/nfs/inode.c | int nfs_notify_change(struct inode *inode, struct iattr *attr) |
attr | 252 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_MODE) |
attr | 253 | fs/nfs/inode.c | sattr.mode = attr->ia_mode; |
attr | 256 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_UID) |
attr | 257 | 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 | 269 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_MTIME) { |
attr | 270 | fs/nfs/inode.c | sattr.mtime.seconds = attr->ia_mtime; |
attr | 275 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_ATIME) { |
attr | 276 | 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 | 870 | fs/sysv/inode.c | extern int sysv_notify_change(struct inode *inode, struct iattr *attr) |
attr | 874 | fs/sysv/inode.c | if ((error = inode_change_ok(inode, attr)) != 0) |
attr | 877 | fs/sysv/inode.c | if (attr->ia_valid & ATTR_MODE) |
attr | 879 | fs/sysv/inode.c | if (attr->ia_mode == COH_KLUDGE_SYMLINK_MODE) |
attr | 880 | fs/sysv/inode.c | attr->ia_mode = COH_KLUDGE_NOT_SYMLINK; |
attr | 882 | 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 | 564 | fs/vfat/namei.c | ps->attr = ATTR_EXT; ps_mask->attr = 0xff; |
attr | 762 | fs/vfat/namei.c | if (is_long && de->attr == ATTR_EXT) |
attr | 774 | fs/vfat/namei.c | if (is_long && de->attr == ATTR_EXT) printk("\n"); |
attr | 777 | fs/vfat/namei.c | (de->attr == ATTR_VOLUME) || |
attr | 882 | fs/vfat/namei.c | de->attr = is_dir ? ATTR_DIR : ATTR_ARCH; |
attr | 1044 | fs/vfat/namei.c | de->attr = ATTR_DIR; |
attr | 1126 | fs/vfat/namei.c | if (de->attr == ATTR_EXT) continue; |
attr | 1228 | fs/vfat/namei.c | (*de)->attr = 0; |
attr | 1438 | fs/vfat/namei.c | new_de->attr = old_de->attr; |
attr | 1470 | 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); |