Searched refs:setattr (Results 1 - 139 of 139) sorted by relevance

/linux-4.1.27/fs/ufs/
H A Dsymlink.c45 .setattr = ufs_setattr,
52 .setattr = ufs_setattr,
H A Dtruncate.c522 .setattr = ufs_setattr,
/linux-4.1.27/fs/ext2/
H A Dsymlink.c35 .setattr = ext2_setattr,
47 .setattr = ext2_setattr,
H A Dfile.c117 .setattr = ext2_setattr,
H A Dnamei.c415 .setattr = ext2_setattr,
428 .setattr = ext2_setattr,
/linux-4.1.27/fs/ext3/
H A Dsymlink.c35 .setattr = ext3_setattr,
47 .setattr = ext3_setattr,
H A Dfile.c68 .setattr = ext3_setattr,
H A Dnamei.c2564 .setattr = ext3_setattr,
2576 .setattr = ext3_setattr,
/linux-4.1.27/fs/adfs/
H A Dfile.c34 .setattr = adfs_notify_change,
H A Ddir.c287 .setattr = adfs_notify_change,
/linux-4.1.27/fs/minix/
H A Dfile.c49 .setattr = minix_setattr,
/linux-4.1.27/fs/jfs/
H A Dsymlink.c35 .setattr = jfs_setattr,
46 .setattr = jfs_setattr,
H A Dfile.c144 .setattr = jfs_setattr,
H A Dnamei.c1522 .setattr = jfs_setattr,
/linux-4.1.27/security/selinux/include/
H A Dclassmap.h2 "getattr", "setattr", "lock", "relabelfrom", "relabelto", "append"
12 #define COMMON_IPC_PERMS "create", "destroy", "getattr", "setattr", "read", \
141 { "view", "read", "write", "search", "link", "setattr", "create",
/linux-4.1.27/fs/ramfs/
H A Dfile-mmu.c44 .setattr = simple_setattr,
H A Dfile-nommu.c56 .setattr = ramfs_nommu_setattr,
/linux-4.1.27/fs/sysv/
H A Dfile.c55 .setattr = sysv_setattr,
/linux-4.1.27/fs/affs/
H A Dsymlink.c80 .setattr = affs_notify_change,
H A Ddir.c39 .setattr = affs_notify_change,
H A Dfile.c981 .setattr = affs_notify_change,
/linux-4.1.27/fs/proc/
H A Dnamespaces.c78 .setattr = proc_setattr,
171 .setattr = proc_setattr,
H A Dfd.c305 .setattr = proc_setattr,
350 .setattr = proc_setattr,
H A Dgeneric.c133 .setattr = proc_notify_change,
330 .setattr = proc_notify_change,
H A Dbase.c576 .setattr = proc_setattr,
1448 .setattr = proc_setattr,
1844 .setattr = proc_setattr,
2247 .setattr = proc_setattr,
2664 .setattr = proc_setattr,
3006 .setattr = proc_setattr,
3204 .setattr = proc_setattr,
H A Dproc_sysctl.c798 .setattr = proc_sys_setattr,
805 .setattr = proc_sys_setattr,
/linux-4.1.27/fs/ext4/
H A Dsymlink.c130 .setattr = ext4_setattr,
140 .setattr = ext4_setattr,
H A Dfile.c653 .setattr = ext4_setattr,
H A Dnamei.c3900 .setattr = ext4_setattr,
3911 .setattr = ext4_setattr,
/linux-4.1.27/fs/xfs/
H A Dxfs_iops.h29 * Internal setattr interfaces.
H A Dxfs_iops.c790 * Use the regular setattr path to update the timestamps. xfs_setattr_size()
1111 .setattr = xfs_vn_setattr,
1139 .setattr = xfs_vn_setattr,
1167 .setattr = xfs_vn_setattr,
1181 .setattr = xfs_vn_setattr,
H A Dxfs_ioctl.c1036 * Set up the transaction structure for the setattr operation, checking that we
H A Dxfs_qm.c1780 * Quota reservations for setattr(AT_UID|AT_GID|AT_PROJID).
/linux-4.1.27/fs/jffs2/
H A Dsymlink.c25 .setattr = jffs2_setattr,
H A Dfs.c47 for these types on the medium at any time. So setattr jffs2_do_setattr()
376 jffs2_dbg(2, "%s(): not calling setattr() for ino #%lu\n", jffs2_dirty_inode()
381 jffs2_dbg(1, "%s(): calling setattr() for ino #%lu\n", jffs2_dirty_inode()
H A Dfile.c68 .setattr = jffs2_setattr,
H A Ddir.c63 .setattr = jffs2_setattr,
/linux-4.1.27/fs/nfs/
H A Dsymlink.c77 .setattr = nfs_setattr,
H A Dnfs3proc.c135 dprintk("NFS call setattr\n"); nfs3_proc_setattr()
142 dprintk("NFS reply setattr: %d\n", status); nfs3_proc_setattr()
378 dprintk("NFS call setattr (post-create)\n"); nfs3_proc_create()
385 /* Note: we could use a guarded setattr here, but I'm nfs3_proc_create()
390 dprintk("NFS reply setattr (post-create): %d\n", status); nfs3_proc_create()
899 .setattr = nfs_setattr,
913 .setattr = nfs_setattr,
934 .setattr = nfs3_proc_setattr,
H A Dnamespace.c199 .setattr = nfs_setattr,
204 .setattr = nfs_namespace_setattr,
H A Dproc.c136 dprintk("NFS call setattr\n"); nfs_proc_setattr()
143 dprintk("NFS reply setattr: %d\n", status); nfs_proc_setattr()
691 .setattr = nfs_setattr,
697 .setattr = nfs_setattr,
710 .setattr = nfs_proc_setattr,
H A Dnfs3xdr.c2508 PROC(SETATTR, setattr, setattr, 0),
2519 PROC(RMDIR, lookup, setattr, 0),
H A Dpnfs.h477 /* Should the pNFS client commit and return the layout upon a setattr */
H A Dinode.c545 error = NFS_PROTO(inode)->setattr(dentry, fattr, attr); nfs_setattr()
586 * nfs_setattr_update_inode - Update inode metadata after a setattr call.
H A Dnfs4proc.c2289 * Make sure we clobber those fields in the later setattr call
8605 .setattr = nfs_setattr,
8615 .setattr = nfs_setattr,
8632 .setattr = nfs4_proc_setattr,
/linux-4.1.27/fs/
H A Dattr.c28 * Should be called as the first thing in ->setattr implementations,
230 * We now pass ATTR_KILL_S*ID to the lower level setattr function so notify_change()
265 if (inode->i_op->setattr) notify_change()
266 error = inode->i_op->setattr(dentry, attr); notify_change()
H A Dbad_inode.c144 .setattr = bad_inode_setattr,
H A Dlibfs.c356 * simple_setattr - setattr for simple filesystem
362 * simple_setattr is a simple ->setattr implementation without a proper
367 * or wire state on size changes needs its own setattr method.
1144 .setattr = empty_dir_setattr,
/linux-4.1.27/fs/ceph/
H A Dinode.c24 * setattr, etc.), xattr helpers, and helpers for assimilating
94 .setattr = ceph_setattr,
1704 .setattr = ceph_setattr,
1713 * setattr
1742 dout("setattr %p issued %s\n", inode, ceph_cap_string(issued)); ceph_setattr()
1745 dout("setattr %p uid %d -> %d\n", inode, ceph_setattr()
1753 req->r_args.setattr.uid = cpu_to_le32( ceph_setattr()
1760 dout("setattr %p gid %d -> %d\n", inode, ceph_setattr()
1768 req->r_args.setattr.gid = cpu_to_le32( ceph_setattr()
1775 dout("setattr %p mode 0%o -> 0%o\n", inode, inode->i_mode, ceph_setattr()
1783 req->r_args.setattr.mode = cpu_to_le32(attr->ia_mode); ceph_setattr()
1790 dout("setattr %p atime %ld.%ld -> %ld.%ld\n", inode, ceph_setattr()
1804 ceph_encode_timespec(&req->r_args.setattr.atime, ceph_setattr()
1812 dout("setattr %p mtime %ld.%ld -> %ld.%ld\n", inode, ceph_setattr()
1826 ceph_encode_timespec(&req->r_args.setattr.mtime, ceph_setattr()
1834 dout("setattr %p size %lld -> %lld\n", inode, ceph_setattr()
1846 req->r_args.setattr.size = cpu_to_le64(attr->ia_size); ceph_setattr()
1847 req->r_args.setattr.old_size = ceph_setattr()
1859 dout("setattr %p ctime %ld.%ld -> %ld.%ld (%s)\n", inode, ceph_setattr()
1868 * a almost-no-op setattr ceph_setattr()
1881 dout("setattr %p ATTR_FILE ... hrm!\n", inode); ceph_setattr()
1904 req->r_args.setattr.mask = cpu_to_le32(mask); ceph_setattr()
1908 dout("setattr %p result=%d (%s locally, %d remote)\n", inode, err, ceph_setattr()
H A Dstrings.c60 case CEPH_MDS_OP_SETATTR: return "setattr"; ceph_mds_op_name()
H A Ddir.c1370 .setattr = ceph_setattr,
/linux-4.1.27/fs/ocfs2/
H A Dsymlink.c94 .setattr = ocfs2_setattr,
H A Dfile.c1069 /* setattr sometimes calls us like this. */ ocfs2_extend_file()
2137 * remove_suid() calls ->setattr without any hint that ocfs2_prepare_inode_for_write()
2142 * can be lost via setattr during extending writes (we ocfs2_prepare_inode_for_write()
2285 /* to match setattr's i_mutex -> rw_lock ordering */ ocfs2_file_write_iter()
2602 .setattr = ocfs2_setattr,
2615 .setattr = ocfs2_setattr,
H A Dnamei.c2892 .setattr = ocfs2_setattr,
/linux-4.1.27/fs/coda/
H A Dpioctl.c34 .setattr = coda_setattr,
H A Dcnode.c22 .setattr = coda_setattr,
H A Dinode.c291 .setattr = coda_setattr,
H A Ddir.c569 .setattr = coda_setattr,
H A Dupcall.c117 insize = SIZE(setattr); venus_setattr()
/linux-4.1.27/fs/exofs/
H A Dfile.c82 .setattr = exofs_setattr,
H A Dnamei.c315 .setattr = exofs_setattr,
319 .setattr = exofs_setattr,
/linux-4.1.27/fs/overlayfs/
H A Dinode.c50 * since it will be rechecked later by ->setattr() on upper dentry. But ovl_setattr()
384 .setattr = ovl_setattr,
394 .setattr = ovl_setattr,
H A Dcopy_up.c361 /* Raced with another copy-up? Do the setattr here */ ovl_copy_up_one()
H A Ddir.c950 .setattr = ovl_setattr,
/linux-4.1.27/fs/hostfs/
H A Dhostfs.h32 * Actually, they are not needed by most ->setattr() methods - they are set by
H A Dhostfs_kern.c876 .setattr = hostfs_setattr,
890 .setattr = hostfs_setattr,
/linux-4.1.27/fs/kernfs/
H A Dsymlink.c144 .setattr = kernfs_iop_setattr,
H A Dinode.c29 .setattr = kernfs_iop_setattr,
H A Ddir.c926 .setattr = kernfs_iop_setattr,
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Dsymlink.c161 .setattr = ll_setattr,
H A Dllite_close.c298 * OSTs and send setattr to back to MDS. */ ll_done_writing()
H A Dnamei.c1159 .setattr = ll_setattr,
1170 .setattr = ll_setattr,
H A Dllite_lib.c1246 * from OSTs and send setattr to back to MDS. */ ll_setattr_done_writing()
1285 * to the OST with the punch RPC, otherwise we do an explicit setattr RPC.
1301 "%s: setattr inode %p/fid:"DFID ll_setattr_raw()
H A Dlproc_llite.c903 { LPROC_LL_SETATTR, LPROCFS_TYPE_REGS, "setattr" },
H A Dvvp_io.c381 cio->u.setattr.cui_local_lock = SETATTR_EXTENT_LOCK; vvp_io_setattr_lock()
H A Dllite_internal.h150 /* handle is to be sent to MDS later on done_writing and setattr.
H A Dfile.c170 * OSTs and send setattr to back to MDS. */ ll_close_inode_openhandle()
3182 .setattr = ll_setattr,
/linux-4.1.27/fs/hpfs/
H A Dfile.c210 .setattr = hpfs_setattr,
H A Dnamei.c625 .setattr = hpfs_setattr,
/linux-4.1.27/fs/ncpfs/
H A Dfile.c261 .setattr = ncp_notify_change,
H A Ddir.c69 .setattr = ncp_notify_change,
H A Dinode.c249 .setattr = ncp_notify_change,
/linux-4.1.27/fs/nilfs2/
H A Dfile.c160 .setattr = nilfs_setattr,
H A Dnamei.c563 .setattr = nilfs_setattr,
569 .setattr = nilfs_setattr,
/linux-4.1.27/fs/nfsd/
H A Dnfs4proc.c922 struct nfsd4_setattr *setattr) nfsd4_setattr()
927 if (setattr->sa_iattr.ia_valid & ATTR_SIZE) { nfsd4_setattr()
929 &setattr->sa_stateid, WR_STATE, NULL); nfsd4_setattr()
940 status = check_attr_support(rqstp, cstate, setattr->sa_bmval, nfsd4_setattr()
945 if (setattr->sa_acl != NULL) nfsd4_setattr()
947 setattr->sa_acl); nfsd4_setattr()
950 if (setattr->sa_label.len) nfsd4_setattr()
952 &setattr->sa_label); nfsd4_setattr()
955 status = nfsd_setattr(rqstp, &cstate->current_fh, &setattr->sa_iattr, nfsd4_setattr()
921 nfsd4_setattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_setattr *setattr) nfsd4_setattr() argument
H A Dnfs4xdr.c1130 nfsd4_decode_setattr(struct nfsd4_compoundargs *argp, struct nfsd4_setattr *setattr) nfsd4_decode_setattr() argument
1134 status = nfsd4_decode_stateid(argp, &setattr->sa_stateid); nfsd4_decode_setattr()
1137 return nfsd4_decode_fattr(argp, setattr->sa_bmval, &setattr->sa_iattr, nfsd4_decode_setattr()
1138 &setattr->sa_acl, &setattr->sa_label); nfsd4_decode_setattr()
3762 nfsd4_encode_setattr(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_setattr *setattr) nfsd4_encode_setattr() argument
3778 *p++ = cpu_to_be32(setattr->sa_bmval[0]); nfsd4_encode_setattr()
3779 *p++ = cpu_to_be32(setattr->sa_bmval[1]); nfsd4_encode_setattr()
3780 *p++ = cpu_to_be32(setattr->sa_bmval[2]); nfsd4_encode_setattr()
H A Dxdr4.h532 struct nfsd4_setattr setattr; member in union:nfsd4_op::__anon11116
H A Dnfs4state.c6815 nfsd4_get_setattrstateid(struct nfsd4_compound_state *cstate, struct nfsd4_setattr *setattr) nfsd4_get_setattrstateid() argument
6817 get_stateid(cstate, &setattr->sa_stateid); nfsd4_get_setattrstateid()
/linux-4.1.27/fs/f2fs/
H A Dnamei.c796 .setattr = f2fs_setattr,
812 .setattr = f2fs_setattr,
823 .setattr = f2fs_setattr,
H A Dfile.c654 .setattr = f2fs_setattr,
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlclient.h63 * Locking policy for setattr.
94 } setattr; member in union:ccc_io::__anon9998
H A Dobd_class.h848 EXP_CHECK_DT_OP(exp, setattr); obd_setattr()
849 EXP_COUNTER_INCREMENT(exp, setattr); obd_setattr()
851 rc = OBP(exp->exp_obd, setattr)(env, exp, oinfo, oti); obd_setattr()
1645 EXP_CHECK_MD_OP(exp, setattr); md_setattr()
1646 EXP_MD_COUNTER_INCREMENT(exp, setattr); md_setattr()
1647 rc = MDP(exp->exp_obd, setattr)(exp, op_data, ea, ealen, md_setattr()
H A Dobd.h155 - while setattr, the flags used for distinguish punch operation
H A Dcl_object.h2389 * and setattr.
/linux-4.1.27/fs/omfs/
H A Dfile.c371 .setattr = omfs_setattr,
/linux-4.1.27/fs/reiserfs/
H A Dfile.c262 .setattr = reiserfs_setattr,
H A Dnamei.c1621 .setattr = reiserfs_setattr,
1639 .setattr = reiserfs_setattr,
1651 .setattr = reiserfs_setattr,
/linux-4.1.27/fs/udf/
H A Dfile.c272 .setattr = udf_setattr,
/linux-4.1.27/fs/hfs/
H A Ddir.c318 .setattr = hfs_inode_setattr,
H A Dinode.c688 .setattr = hfs_inode_setattr,
/linux-4.1.27/fs/logfs/
H A Dfile.c263 .setattr = logfs_setattr,
/linux-4.1.27/fs/afs/
H A Dfile.c45 .setattr = afs_setattr,
H A Ddir.c62 .setattr = afs_setattr,
/linux-4.1.27/fs/configfs/
H A Dinode.c54 .setattr = configfs_setattr,
H A Dsymlink.c312 .setattr = configfs_setattr,
H A Ddir.c1433 .setattr = configfs_setattr,
1438 .setattr = configfs_setattr,
/linux-4.1.27/fs/9p/
H A Dvfs_inode.c1508 .setattr = v9fs_vfs_setattr,
1521 .setattr = v9fs_vfs_setattr,
1526 .setattr = v9fs_vfs_setattr,
1534 .setattr = v9fs_vfs_setattr,
H A Dvfs_inode_dotl.c987 .setattr = v9fs_vfs_setattr_dotl,
997 .setattr = v9fs_vfs_setattr_dotl,
1010 .setattr = v9fs_vfs_setattr_dotl,
/linux-4.1.27/fs/ocfs2/dlmfs/
H A Ddlmfs.c205 * We do ->setattr() just to override size changes. Our size is the size
616 .setattr = dlmfs_file_setattr,
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dobdo.c275 #if 0 /* you shouldn't be able to change a file's type with setattr */ iattr_from_obdo()
H A Dlprocfs_status.c1359 LPROCFS_OBD_OP_INIT(num_private_stats, stats, setattr); lprocfs_init_ops_stats()
1452 LPROCFS_MD_OP_INIT(num_private_stats, stats, setattr); lprocfs_init_mps_stats()
/linux-4.1.27/fs/fat/
H A Dfile.c457 .setattr = fat_setattr,
H A Dnamei_msdos.c637 .setattr = fat_setattr,
H A Dnamei_vfat.c1040 .setattr = fat_setattr,
/linux-4.1.27/fs/cifs/
H A Dcifsfs.c870 .setattr = cifs_setattr,
883 .setattr = cifs_setattr,
901 setattr: cifs_notify_change, *//* BB do we need notify change */
H A Dinode.c1317 /* undo the setattr if we errored out and it's needed */ cifs_unlink()
2133 * the safe way out and just do the flush on all setattr requests. If cifs_setattr_unix()
2253 cifs_dbg(FYI, "setattr on file %pd attrs->iavalid 0x%x\n", cifs_setattr_nounix()
2276 * the safe way out and just do the flush on all setattr requests. If cifs_setattr_nounix()
H A Dcifspdu.h1284 /* empty wct response to setattr */
/linux-4.1.27/fs/ecryptfs/
H A Dinode.c1104 .setattr = ecryptfs_setattr,
1123 .setattr = ecryptfs_setattr,
1132 .setattr = ecryptfs_setattr,
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
H A Dmdc_request.c1002 "POISONED setattr %p!\n", mod->mod_open_req); mdc_done_writing()
1005 DEBUG_REQ(D_HA, mod->mod_open_req, "matched setattr"); mdc_done_writing()
1006 /* We no longer want to preserve this setattr for replay even mdc_done_writing()
1022 * it can be allowed error after 3633 if open or setattr were mdc_done_writing()
1039 /* Since now, mod is accessed through setattr req only, mdc_done_writing()
/linux-4.1.27/fs/gfs2/
H A Dinode.c1926 .setattr = gfs2_setattr,
1948 .setattr = gfs2_setattr,
1965 .setattr = gfs2_setattr,
/linux-4.1.27/fs/ubifs/
H A Dfile.c1101 * This function implements VFS '->setattr()' call when the inode is truncated
1207 * This function implements VFS '->setattr()' call for all cases except
1563 .setattr = ubifs_setattr,
1574 .setattr = ubifs_setattr,
H A Ddir.c1184 .setattr = ubifs_setattr,
/linux-4.1.27/fs/hfsplus/
H A Dinode.c336 .setattr = hfsplus_setattr,
/linux-4.1.27/fs/hugetlbfs/
H A Dinode.c718 .setattr = hugetlbfs_setattr,
722 .setattr = hugetlbfs_setattr,
/linux-4.1.27/fs/fuse/
H A Ddir.c1893 .setattr = fuse_setattr,
1917 .setattr = fuse_setattr,
1927 .setattr = fuse_setattr,
/linux-4.1.27/include/net/9p/
H A D9p.h458 * struct p9_iattr_dotl - P9 inode attribute for setattr
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dinode.c131 .setattr = spufs_setattr, spufs_new_file()
/linux-4.1.27/include/linux/ceph/
H A Dceph_fs.h359 } __attribute__ ((packed)) setattr; member in union:ceph_mds_request_args
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
H A Dosc_request.c427 /* do mds to ost setattr asynchronously */ osc_setattr_async_base()
1981 * we race with setattr (locally or in queue at OST). If OST gets
1982 * later setattr before earlier BRW (as determined by the request xid),
/linux-4.1.27/mm/
H A Dshmem.c3131 .setattr = shmem_setattr,
3161 .setattr = shmem_setattr,
3174 .setattr = shmem_setattr,
H A Dtruncate.c693 * setattr function when ATTR_SIZE is passed in.
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
H A Dlustre_user.h656 CL_MTIME = 17, /* Precedence: setattr > mtime > ctime > atime */
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
H A Dlov_io.c968 * - in setattr, for truncate lov_io_init_released()
H A Dlov_obd.c1266 CERROR("error: setattr objid "DOSTID" subobj" lov_setattr_async()
/linux-4.1.27/include/linux/
H A Dnfs_xdr.h1457 int (*setattr) (struct dentry *, struct nfs_fattr *, member in struct:nfs_rpc_ops
H A Dfs.h1644 int (*setattr) (struct dentry *, struct iattr *); member in struct:inode_operations
/linux-4.1.27/fs/btrfs/
H A Dinode.c9871 .setattr = btrfs_setattr,
9949 .setattr = btrfs_setattr,
9962 .setattr = btrfs_setattr,
9977 .setattr = btrfs_setattr,
/linux-4.1.27/fs/ntfs/
H A Dfile.c2037 .setattr = ntfs_setattr,
/linux-4.1.27/security/selinux/
H A Dhooks.c2979 ordinary setattr permission. */ selinux_inode_setotherxattr()

Completed in 3483 milliseconds