tag | line | file | source code |
attr | 255 | arch/i386/boot/compressed/gzip.h | void ct_init OF((ush *attr, int *method)); |
attr | 881 | drivers/char/console.c | attr = color; |
attr | 884 | drivers/char/console.c | attr = (attr & 0xf0) | ulcolor; |
attr | 886 | drivers/char/console.c | attr = (attr & 0xf0) | halfcolor; |
attr | 889 | drivers/char/console.c | attr = (attr & 0x88) | (((attr >> 4) | (attr << 4)) & 0x77); |
attr | 891 | drivers/char/console.c | attr ^= 0x80; |
attr | 893 | drivers/char/console.c | attr ^= 0x08; |
attr | 896 | drivers/char/console.c | attr = (attr & 0xf8) | 0x01; |
attr | 898 | drivers/char/console.c | attr = (attr & 0xf0) | 0x08; |
attr | 1141 | drivers/char/console.c | def_color = attr; |
attr | 1425 | drivers/char/console.c | *(unsigned short *) pos = (attr << 8) + tc; |
attr | 1799 | drivers/char/console.c | *(unsigned short *) pos = (attr << 8) + c; |
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 | 90 | fs/msdos/dir.c | if (!IS_FREE(de->name) && !(de->attr & ATTR_VOLUME)) { |
attr | 387 | fs/msdos/inode.c | if ((raw_entry->attr & ATTR_DIR) && !IS_FREE(raw_entry->name)) { |
attr | 388 | fs/msdos/inode.c | inode->i_mode = MSDOS_MKMODE(raw_entry->attr,S_IRWXUGO & |
attr | 413 | fs/msdos/inode.c | inode->i_mode = MSDOS_MKMODE(raw_entry->attr,(IS_NOEXEC(inode) |
attr | 425 | fs/msdos/inode.c | MSDOS_I(inode)->i_attrs = raw_entry->attr & ATTR_UNUSED; |
attr | 452 | fs/msdos/inode.c | raw_entry->attr = ATTR_DIR; |
attr | 456 | fs/msdos/inode.c | raw_entry->attr = ATTR_NONE; |
attr | 459 | fs/msdos/inode.c | raw_entry->attr |= MSDOS_MKATTR(inode->i_mode) | |
attr | 470 | fs/msdos/inode.c | int msdos_notify_change(struct inode * inode,struct iattr * attr) |
attr | 474 | fs/msdos/inode.c | error = inode_change_ok(inode, attr); |
attr | 478 | fs/msdos/inode.c | if (((attr->ia_valid & ATTR_UID) && |
attr | 479 | fs/msdos/inode.c | (attr->ia_uid != MSDOS_SB(inode->i_sb)->fs_uid)) || |
attr | 480 | fs/msdos/inode.c | ((attr->ia_valid & ATTR_GID) && |
attr | 481 | fs/msdos/inode.c | (attr->ia_gid != MSDOS_SB(inode->i_sb)->fs_gid)) || |
attr | 482 | fs/msdos/inode.c | ((attr->ia_valid & ATTR_MODE) && |
attr | 483 | fs/msdos/inode.c | (attr->ia_mode & ~MSDOS_VALID_MODE))) |
attr | 489 | fs/msdos/inode.c | inode_setattr(inode, attr); |
attr | 315 | fs/msdos/misc.c | !(data[entry].attr & ATTR_VOLUME); |
attr | 336 | fs/msdos/misc.c | if (!IS_FREE(data[entry].name) && (data[entry].attr & ATTR_DIR)) \ |
attr | 197 | fs/msdos/namei.c | de->attr = is_dir ? ATTR_DIR : ATTR_ARCH; |
attr | 454 | fs/msdos/namei.c | error = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ? |
attr | 455 | fs/msdos/namei.c | msdos_empty(new_inode) : -EPERM : (old_de->attr & ATTR_DIR) |
attr | 532 | fs/msdos/namei.c | error = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ? |
attr | 533 | fs/msdos/namei.c | msdos_empty(new_inode) : -EPERM : (old_de->attr & ATTR_DIR) |
attr | 209 | fs/nfs/inode.c | int nfs_notify_change(struct inode *inode, struct iattr *attr) |
attr | 215 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_MODE) |
attr | 216 | fs/nfs/inode.c | sattr.mode = attr->ia_mode; |
attr | 220 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_UID) |
attr | 221 | fs/nfs/inode.c | sattr.uid = attr->ia_uid; |
attr | 225 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_GID) |
attr | 226 | fs/nfs/inode.c | sattr.gid = attr->ia_gid; |
attr | 230 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_SIZE) |
attr | 231 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? attr->ia_size : -1; |
attr | 235 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_MTIME) { |
attr | 236 | fs/nfs/inode.c | sattr.mtime.seconds = attr->ia_mtime; |
attr | 241 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_ATIME) { |
attr | 242 | fs/nfs/inode.c | sattr.atime.seconds = attr->ia_atime; |
attr | 878 | fs/sysv/inode.c | extern int sysv_notify_change(struct inode *inode, struct iattr *attr) |
attr | 882 | fs/sysv/inode.c | if ((error = inode_change_ok(inode, attr)) != 0) |
attr | 885 | fs/sysv/inode.c | if (attr->ia_valid & ATTR_MODE) |
attr | 887 | fs/sysv/inode.c | if (attr->ia_mode == COH_KLUDGE_SYMLINK_MODE) |
attr | 888 | fs/sysv/inode.c | attr->ia_mode = COH_KLUDGE_NOT_SYMLINK; |
attr | 890 | 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 | unsigned char attr; /* attribute bits */ |