tag | line | file | source code |
attr | 793 | drivers/char/console.c | attr = color; |
attr | 796 | drivers/char/console.c | attr = (attr & 0xf0) | ulcolor; |
attr | 798 | drivers/char/console.c | attr = (attr & 0xf0) | halfcolor; |
attr | 801 | drivers/char/console.c | attr = reverse_video_char(attr); |
attr | 803 | drivers/char/console.c | attr ^= 0x80; |
attr | 805 | drivers/char/console.c | attr ^= 0x08; |
attr | 808 | drivers/char/console.c | attr = (attr & 0xf8) | 0x01; |
attr | 810 | drivers/char/console.c | attr = (attr & 0xf0) | 0x08; |
attr | 1129 | drivers/char/console.c | def_color = attr; |
attr | 1460 | drivers/char/console.c | ((attr & 0xf7) << 8) + ((tc & 0x100) << 3) + |
attr | 1461 | drivers/char/console.c | (tc & 0x0ff) : (attr << 8) + tc, |
attr | 1881 | 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 | 245 | fs/inode.c | int inode_change_ok(struct inode *inode, struct iattr *attr) |
attr | 248 | fs/inode.c | if ((attr->ia_valid & ATTR_UID) && |
attr | 250 | fs/inode.c | attr->ia_uid != inode->i_uid) && !fsuser()) |
attr | 254 | fs/inode.c | if ((attr->ia_valid & ATTR_GID) && |
attr | 255 | fs/inode.c | (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid) && |
attr | 260 | fs/inode.c | if (attr->ia_valid & ATTR_MODE) { |
attr | 264 | fs/inode.c | if (!fsuser() && !in_group_p((attr->ia_valid & ATTR_GID) ? attr->ia_gid : |
attr | 266 | fs/inode.c | attr->ia_mode &= ~S_ISGID; |
attr | 270 | fs/inode.c | if ((attr->ia_valid & ATTR_ATIME_SET) && |
attr | 273 | fs/inode.c | if ((attr->ia_valid & ATTR_MTIME_SET) && |
attr | 285 | fs/inode.c | void inode_setattr(struct inode *inode, struct iattr *attr) |
attr | 287 | fs/inode.c | if (attr->ia_valid & ATTR_UID) |
attr | 288 | fs/inode.c | inode->i_uid = attr->ia_uid; |
attr | 289 | fs/inode.c | if (attr->ia_valid & ATTR_GID) |
attr | 290 | fs/inode.c | inode->i_gid = attr->ia_gid; |
attr | 291 | fs/inode.c | if (attr->ia_valid & ATTR_SIZE) |
attr | 292 | fs/inode.c | inode->i_size = attr->ia_size; |
attr | 293 | fs/inode.c | if (attr->ia_valid & ATTR_ATIME) |
attr | 294 | fs/inode.c | inode->i_atime = attr->ia_atime; |
attr | 295 | fs/inode.c | if (attr->ia_valid & ATTR_MTIME) |
attr | 296 | fs/inode.c | inode->i_mtime = attr->ia_mtime; |
attr | 297 | fs/inode.c | if (attr->ia_valid & ATTR_CTIME) |
attr | 298 | fs/inode.c | inode->i_ctime = attr->ia_ctime; |
attr | 299 | fs/inode.c | if (attr->ia_valid & ATTR_MODE) { |
attr | 300 | fs/inode.c | inode->i_mode = attr->ia_mode; |
attr | 314 | fs/inode.c | int notify_change(struct inode * inode, struct iattr *attr) |
attr | 318 | fs/inode.c | if (attr->ia_valid & (ATTR_ATIME | ATTR_MTIME | ATTR_CTIME)) { |
attr | 320 | fs/inode.c | if (!(attr->ia_valid & ATTR_ATIME_SET)) |
attr | 321 | fs/inode.c | attr->ia_atime = now; |
attr | 322 | fs/inode.c | if (!(attr->ia_valid & ATTR_MTIME_SET)) |
attr | 323 | fs/inode.c | attr->ia_mtime = now; |
attr | 324 | fs/inode.c | attr->ia_ctime = now; |
attr | 329 | fs/inode.c | return inode->i_sb->s_op->notify_change(inode, attr); |
attr | 331 | fs/inode.c | if ((retval = inode_change_ok(inode, attr)) != 0) |
attr | 334 | fs/inode.c | inode_setattr(inode, attr); |
attr | 91 | fs/msdos/dir.c | if (!IS_FREE(de->name) && !(de->attr & ATTR_VOLUME)) { |
attr | 95 | fs/msdos/dir.c | if ((de->attr & ATTR_HIDDEN) && MSDOS_SB(sb)->dotsOK) { |
attr | 401 | fs/msdos/inode.c | if ((raw_entry->attr & ATTR_DIR) && !IS_FREE(raw_entry->name)) { |
attr | 402 | fs/msdos/inode.c | inode->i_mode = MSDOS_MKMODE(raw_entry->attr,S_IRWXUGO & |
attr | 426 | fs/msdos/inode.c | inode->i_mode = MSDOS_MKMODE(raw_entry->attr, |
attr | 436 | fs/msdos/inode.c | if(raw_entry->attr & ATTR_SYS) |
attr | 440 | fs/msdos/inode.c | MSDOS_I(inode)->i_attrs = raw_entry->attr & ATTR_UNUSED; |
attr | 468 | fs/msdos/inode.c | raw_entry->attr = ATTR_DIR; |
attr | 472 | fs/msdos/inode.c | raw_entry->attr = ATTR_NONE; |
attr | 475 | fs/msdos/inode.c | raw_entry->attr |= MSDOS_MKATTR(inode->i_mode) | |
attr | 486 | fs/msdos/inode.c | int msdos_notify_change(struct inode * inode,struct iattr * attr) |
attr | 490 | fs/msdos/inode.c | error = inode_change_ok(inode, attr); |
attr | 494 | fs/msdos/inode.c | if (((attr->ia_valid & ATTR_UID) && |
attr | 495 | fs/msdos/inode.c | (attr->ia_uid != MSDOS_SB(inode->i_sb)->fs_uid)) || |
attr | 496 | fs/msdos/inode.c | ((attr->ia_valid & ATTR_GID) && |
attr | 497 | fs/msdos/inode.c | (attr->ia_gid != MSDOS_SB(inode->i_sb)->fs_gid)) || |
attr | 498 | fs/msdos/inode.c | ((attr->ia_valid & ATTR_MODE) && |
attr | 499 | fs/msdos/inode.c | (attr->ia_mode & ~MSDOS_VALID_MODE))) |
attr | 505 | fs/msdos/inode.c | inode_setattr(inode, attr); |
attr | 341 | fs/msdos/misc.c | !(data[entry].attr & ATTR_VOLUME); |
attr | 362 | fs/msdos/misc.c | if (!IS_FREE(data[entry].name) && (data[entry].attr & ATTR_DIR)) \ |
attr | 382 | fs/msdos/misc.c | done = (data[entry].attr & ATTR_HIDDEN) |
attr | 230 | fs/msdos/namei.c | de->attr = is_dir ? ATTR_DIR : ATTR_ARCH; |
attr | 231 | fs/msdos/namei.c | de->attr = is_hid ? (de->attr|ATTR_HIDDEN) : (de->attr&~ATTR_HIDDEN); |
attr | 507 | fs/msdos/namei.c | ? (old_de->attr & ATTR_DIR) |
attr | 510 | fs/msdos/namei.c | : (old_de->attr & ATTR_DIR) |
attr | 513 | fs/msdos/namei.c | if (!error && (old_de->attr & ATTR_SYS)) error = -EPERM; |
attr | 533 | fs/msdos/namei.c | old_de->attr = is_hid |
attr | 534 | fs/msdos/namei.c | ? (old_de->attr | ATTR_HIDDEN) |
attr | 535 | fs/msdos/namei.c | : (old_de->attr &~ ATTR_HIDDEN); |
attr | 599 | fs/msdos/namei.c | ? (old_de->attr & ATTR_DIR) |
attr | 602 | fs/msdos/namei.c | : (old_de->attr & ATTR_DIR) |
attr | 605 | fs/msdos/namei.c | if (!error && (old_de->attr & ATTR_SYS)) error = -EPERM; |
attr | 620 | fs/msdos/namei.c | free_de->attr = is_hid |
attr | 621 | fs/msdos/namei.c | ? (free_de->attr|ATTR_HIDDEN) |
attr | 622 | 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 | 251 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_MODE) |
attr | 252 | 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 | 261 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_GID) |
attr | 262 | fs/nfs/inode.c | sattr.gid = attr->ia_gid; |
attr | 266 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_SIZE) |
attr | 267 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? attr->ia_size : -1; |
attr | 271 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_MTIME_SET) { |
attr | 272 | fs/nfs/inode.c | sattr.mtime.seconds = attr->ia_mtime; |
attr | 277 | fs/nfs/inode.c | if (attr->ia_valid & ATTR_ATIME_SET) { |
attr | 278 | 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 | 92 | include/linux/msdos_fs.h | __u8 attr; /* attribute bits */ |
attr | 92 | include/linux/smb.h | word attr; /* Attribute fields, DOS value */ |
attr | 117 | include/linux/smb_fs.h | int smb_notify_change(struct inode *inode, struct iattr *attr); |
attr | 155 | include/linux/smb_fs.h | int smb_proc_dskattr(struct super_block *super, struct smb_dskattr *attr); |