Searched refs:iap (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/fs/nfsd/ |
D | vfs.c | 305 nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap, in nfsd_setattr() argument 316 if (iap->ia_valid & (ATTR_ATIME | ATTR_MTIME | ATTR_SIZE)) in nfsd_setattr() 318 if (iap->ia_valid & ATTR_SIZE) in nfsd_setattr() 331 iap->ia_valid &= ~ATTR_MODE; in nfsd_setattr() 333 if (!iap->ia_valid) in nfsd_setattr() 350 if ((iap->ia_valid & BOTH_TIME_SET) == BOTH_TIME_SET && in nfsd_setattr() 351 iap->ia_mtime.tv_sec == iap->ia_atime.tv_sec) { in nfsd_setattr() 359 time_t delta = iap->ia_atime.tv_sec - get_seconds(); in nfsd_setattr() 363 inode_change_ok(inode, iap) != 0) { in nfsd_setattr() 369 iap->ia_valid &= ~BOTH_TIME_SET; in nfsd_setattr() [all …]
|
D | nfsxdr.c | 88 decode_sattr(__be32 *p, struct iattr *iap) in decode_sattr() argument 92 iap->ia_valid = 0; in decode_sattr() 99 iap->ia_valid |= ATTR_MODE; in decode_sattr() 100 iap->ia_mode = tmp; in decode_sattr() 103 iap->ia_valid |= ATTR_UID; in decode_sattr() 104 iap->ia_uid = tmp; in decode_sattr() 107 iap->ia_valid |= ATTR_GID; in decode_sattr() 108 iap->ia_gid = tmp; in decode_sattr() 111 iap->ia_valid |= ATTR_SIZE; in decode_sattr() 112 iap->ia_size = tmp; in decode_sattr() [all …]
|
D | nfs3xdr.c | 95 decode_sattr3(__be32 *p, struct iattr *iap) in decode_sattr3() argument 99 iap->ia_valid = 0; in decode_sattr3() 102 iap->ia_valid |= ATTR_MODE; in decode_sattr3() 103 iap->ia_mode = ntohl(*p++); in decode_sattr3() 106 iap->ia_valid |= ATTR_UID; in decode_sattr3() 107 iap->ia_uid = ntohl(*p++); in decode_sattr3() 110 iap->ia_valid |= ATTR_GID; in decode_sattr3() 111 iap->ia_gid = ntohl(*p++); in decode_sattr3() 116 iap->ia_valid |= ATTR_SIZE; in decode_sattr3() 119 iap->ia_size = newsize; in decode_sattr3() [all …]
|
/linux-2.6.39/drivers/net/ |
D | fec.c | 724 unsigned char *iap, tmpaddr[ETH_ALEN]; in fec_get_mac() local 732 iap = macaddr; in fec_get_mac() 737 if (!is_valid_ether_addr(iap)) { in fec_get_mac() 740 iap = (unsigned char *)FEC_FLASHMAC; in fec_get_mac() 743 memcpy(iap, pdata->mac, ETH_ALEN); in fec_get_mac() 750 if (!is_valid_ether_addr(iap)) { in fec_get_mac() 755 iap = &tmpaddr[0]; in fec_get_mac() 758 memcpy(ndev->dev_addr, iap, ETH_ALEN); in fec_get_mac() 761 if (iap == macaddr) in fec_get_mac()
|
/linux-2.6.39/fs/nfs/ |
D | nfs4xdr.c | 854 static void encode_attrs(struct xdr_stream *xdr, const struct iattr *iap, const struct nfs_server *… in encode_attrs() argument 876 if (iap->ia_valid & ATTR_SIZE) in encode_attrs() 878 if (iap->ia_valid & ATTR_MODE) in encode_attrs() 880 if (iap->ia_valid & ATTR_UID) { in encode_attrs() 881 owner_namelen = nfs_map_uid_to_name(server, iap->ia_uid, owner_name, IDMAP_NAMESZ); in encode_attrs() 884 iap->ia_uid); in encode_attrs() 892 if (iap->ia_valid & ATTR_GID) { in encode_attrs() 893 owner_grouplen = nfs_map_gid_to_group(server, iap->ia_gid, owner_group, IDMAP_NAMESZ); in encode_attrs() 896 iap->ia_gid); in encode_attrs() 903 if (iap->ia_valid & ATTR_ATIME_SET) in encode_attrs() [all …]
|
D | nfs4proc.c | 1826 .iap = sattr, in _nfs4_do_setattr()
|
/linux-2.6.39/include/linux/ |
D | nfs_xdr.h | 548 struct iattr * iap; member
|