/fs/fscache/ |
D | fsdef.c | 89 _enter("{%s.%u},", netfs->name, netfs->version); in fscache_fsdef_netfs_get_key() 109 _enter("{%s.%u},", netfs->name, netfs->version); in fscache_fsdef_netfs_get_aux() 115 memcpy(buffer, &netfs->version, dlen); in fscache_fsdef_netfs_get_aux() 129 uint32_t version; in fscache_fsdef_netfs_check_aux() local 133 if (datalen != sizeof(version)) { in fscache_fsdef_netfs_check_aux() 134 _leave(" = OBSOLETE [dl=%d v=%zu]", datalen, sizeof(version)); in fscache_fsdef_netfs_check_aux() 138 memcpy(&version, data, sizeof(version)); in fscache_fsdef_netfs_check_aux() 139 if (version != netfs->version) { in fscache_fsdef_netfs_check_aux() 140 _leave(" = OBSOLETE [ver=%x net=%x]", version, netfs->version); in fscache_fsdef_netfs_check_aux()
|
/fs/jffs2/ |
D | readinode.c | 225 …dbg_readinode("insert fragment %#04x-%#04x, ver %u at %08x\n", tn->fn->ofs, fn_end, tn->version, r… in jffs2_add_tn_to_tree() 233 if (rii->mdata_tn->version < tn->version) { in jffs2_add_tn_to_tree() 235 dbg_readinode("kill old mdata with ver %d\n", rii->mdata_tn->version); in jffs2_add_tn_to_tree() 239 tn->version, rii->mdata_tn->version); in jffs2_add_tn_to_tree() 245 dbg_readinode("keep new mdata with ver %d\n", tn->version); in jffs2_add_tn_to_tree() 273 this->version, this->fn->ofs, this->fn->size); in jffs2_add_tn_to_tree() 275 if (this->version == tn->version) { in jffs2_add_tn_to_tree() 292 if (this->version < tn->version && in jffs2_add_tn_to_tree() 304 if (this->version < tn->version) { in jffs2_add_tn_to_tree() 307 this->version, this->fn->ofs, in jffs2_add_tn_to_tree() [all …]
|
D | summary.c | 89 je32_to_cpu(item->x.xid), je32_to_cpu(item->x.version)); in jffs2_sum_add_mem() 125 temp->version = ri->version; in jffs2_sum_add_inode_mem() 146 temp->version = rd->version; in jffs2_sum_add_dirent_mem() 168 temp->version = rx->version; in jffs2_sum_add_xattr_mem() 273 temp->version = node->i.version; in jffs2_sum_add_kvec() 292 temp->version = node->d.version; in jffs2_sum_add_kvec() 323 temp->version = node->x.version; in jffs2_sum_add_kvec() 427 *pseudo_random += je32_to_cpu(spi->version); in jffs2_sum_process_sum_data() 477 fd->version = je32_to_cpu(spd->version); in jffs2_sum_process_sum_data() 484 *pseudo_random += je32_to_cpu(spd->version); in jffs2_sum_process_sum_data() [all …]
|
D | summary.h | 49 jint32_t version; /* inode version */ member 60 jint32_t version; /* dirent version */ member 71 jint32_t version; /* version number */ member 104 jint32_t version; /* inode version */ member 116 jint32_t version; /* dirent version */ member 128 jint32_t version; member
|
D | write.c | 51 ri->version = cpu_to_je32(f->highest_version); in jffs2_do_new_inode() 100 if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(ri->version) < f->highest_version)) { in jffs2_write_dnode() 104 je32_to_cpu(ri->version), f->highest_version); in jffs2_write_dnode() 105 ri->version = cpu_to_je32(++f->highest_version); in jffs2_write_dnode() 246 fd->version = je32_to_cpu(rd->version); in jffs2_write_dirent() 258 if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(rd->version) < f->highest_version)) { in jffs2_write_dirent() 262 je32_to_cpu(rd->version), f->highest_version); in jffs2_write_dirent() 263 rd->version = cpu_to_je32(++f->highest_version); in jffs2_write_dirent() 264 fd->version = je32_to_cpu(rd->version); in jffs2_write_dirent() 381 ri->version = cpu_to_je32(++f->highest_version); in jffs2_write_inode_range() [all …]
|
D | scan.c | 332 uint32_t xid, version, totlen, crc; in jffs2_scan_xattr_node() local 345 version = je32_to_cpu(rx->version); in jffs2_scan_xattr_node() 357 xd = jffs2_setup_xattr_datum(c, xid, version); in jffs2_scan_xattr_node() 361 if (xd->version > version) { in jffs2_scan_xattr_node() 367 xd->version = version; in jffs2_scan_xattr_node() 379 ofs, xd->xid, xd->version); in jffs2_scan_xattr_node() 1026 je32_to_cpu(ri->ino), je32_to_cpu(ri->version), in jffs2_scan_inode_node() 1030 pseudo_random += je32_to_cpu(ri->version); in jffs2_scan_inode_node() 1063 pseudo_random += je32_to_cpu(rd->version); in jffs2_scan_dirent_node() 1101 fd->version = je32_to_cpu(rd->version); in jffs2_scan_dirent_node()
|
D | xattr.c | 90 D1(dbg_xattr("%s: xid=%u, version=%u\n", __func__, xd->xid, xd->version)); in unload_xattr_datum() 166 || je32_to_cpu(rx.version) != xd->version) { in do_verify_xattr_datum() 173 je32_to_cpu(rx.version), xd->version); in do_verify_xattr_datum() 199 xd->xid, xd->version); in do_verify_xattr_datum() 310 rx.version = cpu_to_je32(++xd->version); in save_xattr_datum() 331 xd->xid, xd->version, xd->xprefix, xd->xname); in save_xattr_datum() 419 xd->xid, xd->version); in unrefer_xattr_datum() 867 xd->xid, xd->version); in jffs2_build_xattr_subsystem() 875 xd->xid, xd->version); in jffs2_build_xattr_subsystem() 890 uint32_t xid, uint32_t version) in jffs2_setup_xattr_datum() argument [all …]
|
/fs/dlm/ |
D | user.c | 55 __u32 version[3]; member 75 __u32 version[3]; member 91 kb->version[0] = kb32->version[0]; in compat_input() 92 kb->version[1] = kb32->version[1]; in compat_input() 93 kb->version[2] = kb32->version[2]; in compat_input() 126 res32->version[0] = res->version[0]; in compat_output() 127 res32->version[1] = res->version[1]; in compat_output() 128 res32->version[2] = res->version[2]; in compat_output() 461 if (req->version[0] != DLM_DEVICE_VERSION_MAJOR || in check_version() 462 (req->version[0] == DLM_DEVICE_VERSION_MAJOR && in check_version() [all …]
|
D | plock.c | 42 info->version[0] = DLM_PLOCK_VERSION_MAJOR; in set_version() 43 info->version[1] = DLM_PLOCK_VERSION_MINOR; in set_version() 44 info->version[2] = DLM_PLOCK_VERSION_PATCH; in set_version() 49 if ((DLM_PLOCK_VERSION_MAJOR != info->version[0]) || in check_version() 50 (DLM_PLOCK_VERSION_MINOR < info->version[1])) { in check_version() 56 info->version[0], in check_version() 57 info->version[1], in check_version() 58 info->version[2]); in check_version()
|
/fs/reiserfs/ |
D | prints.c | 33 int version; in le_offset() local 35 version = le_key_version(key); in le_offset() 36 if (le_key_k_type(version, key) == TYPE_DIRENTRY) in le_offset() 39 GET_HASH_VALUE(le_key_k_offset(version, key)), in le_offset() 41 GET_GENERATION_NUMBER(le_key_k_offset(version, key))); in le_offset() 44 (unsigned long long)le_key_k_offset(version, key)); in le_offset() 63 int version; in le_type() local 65 version = le_key_version(key); in le_type() 67 if (le_key_k_type(version, key) == TYPE_STAT_DATA) in le_type() 69 if (le_key_k_type(version, key) == TYPE_DIRENTRY) in le_type() [all …]
|
D | reiserfs.h | 1177 #define set_inode_item_key_version( inode, version ) \ argument 1178 ({ if((version)==KEY_FORMAT_3_6) \ 1186 #define set_inode_sd_version(inode, version) \ argument 1187 ({ if((version)==STAT_DATA_V2) \ 1307 int version; member 1471 static inline loff_t le_key_k_offset(int version, in le_key_k_offset() argument 1474 return (version == KEY_FORMAT_3_5) ? in le_key_k_offset() 1484 static inline loff_t le_key_k_type(int version, const struct reiserfs_key *key) in le_key_k_type() argument 1486 if (version == KEY_FORMAT_3_5) { in le_key_k_type() 1498 static inline void set_le_key_k_offset(int version, struct reiserfs_key *key, in set_le_key_k_offset() argument [all …]
|
/fs/f2fs/ |
D | node.h | 57 unsigned char version; /* version of the node */ member 72 #define nat_get_version(nat) ((nat)->ni.version) 73 #define nat_set_version(nat, v) ((nat)->ni.version = (v)) 75 #define inc_node_version(version) (++(version)) argument 83 dst->version = src->version; in copy_node_info() 116 ni->version = raw_ne->version; in node_info_from_raw_nat() 124 raw_ne->version = ni->version; in raw_nat_from_node_info()
|
/fs/nfs/ |
D | super.c | 619 unsigned int version, in nfs_show_nfs_version() argument 622 seq_printf(m, ",vers=%u", version); in nfs_show_nfs_version() 623 if (version == 4) in nfs_show_nfs_version() 651 u32 version = clp->rpc_ops->version; in nfs_show_mount_options() local 654 nfs_show_nfs_version(m, version, clp->cl_minorversion); in nfs_show_mount_options() 678 if (version == 4) { in nfs_show_mount_options() 689 if (version != 4) in nfs_show_mount_options() 840 if (nfss->nfs_client->rpc_ops->version == 4) { in nfs_show_stats() 1142 mnt->version = 2; in nfs_parse_version_string() 1146 mnt->version = 3; in nfs_parse_version_string() [all …]
|
D | Kconfig | 22 version 2 (RFC 1094) is always available when NFS_FS is selected. 33 tristate "NFS client support for NFS version 2" 37 This option enables support for version 2 of the NFS protocol 43 tristate "NFS client support for NFS version 3" 47 This option enables support for version 3 of the NFS protocol 58 NFS version 3 protocol. This protocol extension allows 75 tristate "NFS client support for NFS version 4" 80 This option enables support for version 4 of the NFS protocol 102 This option enables support for minor version 1 of the NFSv4 protocol 111 This option enables support for minor version 2 of the NFSv4 protocol
|
D | client.c | 77 .version = nfs_version, 86 static struct nfs_subversion *find_nfs_version(unsigned int version) in find_nfs_version() argument 92 if (nfs->rpc_ops->version == version) { in find_nfs_version() 102 struct nfs_subversion *get_nfs_version(unsigned int version) in get_nfs_version() argument 104 struct nfs_subversion *nfs = find_nfs_version(version); in get_nfs_version() 108 request_module("nfsv%d", version); in get_nfs_version() 109 nfs = find_nfs_version(version); in get_nfs_version() 128 nfs_version[nfs->rpc_ops->version] = nfs->rpc_vers; in register_nfs_version() 138 nfs_version[nfs->rpc_ops->version] = NULL; in unregister_nfs_version() 243 dprintk("--> nfs_free_client(%u)\n", clp->rpc_ops->version); in nfs_free_client() [all …]
|
D | mount_clnt.c | 163 .version = info->version, in nfs_mount() 183 if (info->version == NFS_MNT3_VERSION) in nfs_mount() 203 if (info->version != NFS_MNT3_VERSION || *info->auth_flav_len == 0) { in nfs_mount() 248 .version = info->version, in nfs_umount() 271 if (info->version == NFS_MNT3_VERSION) in nfs_umount() 531 .version = mnt_version,
|
D | fscache-index.c | 32 .version = 0, 78 key->nfsversion = clp->rpc_ops->version; in nfs_server_get_key() 213 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_get_aux() 245 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_check_aux()
|
/fs/9p/ |
D | cache.c | 38 .version = 0, 131 memcpy(buffer, &v9inode->qid.version, sizeof(v9inode->qid.version)); in v9fs_cache_inode_get_aux() 133 &v9inode->vfs_inode, v9inode->qid.version); in v9fs_cache_inode_get_aux() 134 return sizeof(v9inode->qid.version); in v9fs_cache_inode_get_aux() 144 if (buflen != sizeof(v9inode->qid.version)) in v9fs_cache_inode_check_aux() 147 if (memcmp(buffer, &v9inode->qid.version, in v9fs_cache_inode_check_aux() 148 sizeof(v9inode->qid.version))) in v9fs_cache_inode_check_aux()
|
D | v9fs.c | 87 int version = -EINVAL; in get_cache_mode() local 90 version = CACHE_LOOSE; in get_cache_mode() 93 version = CACHE_FSCACHE; in get_cache_mode() 96 version = CACHE_MMAP; in get_cache_mode() 99 version = CACHE_NONE; in get_cache_mode() 103 return version; in get_cache_mode()
|
/fs/lockd/ |
D | host.c | 57 const u32 version; /* NLM version to search for */ member 142 host->h_version = ni->version; in nlm_alloc_host() 213 const u32 version, in nlmclnt_lookup_host() argument 223 .version = version, in nlmclnt_lookup_host() 235 (hostname ? hostname : "<none>"), version, in nlmclnt_lookup_host() 253 if (host->h_version != version) in nlmclnt_lookup_host() 336 .version = rqstp->rq_vers, in nlmsvc_lookup_host() 365 if (host->h_version != ni.version) in nlmsvc_lookup_host() 455 .version = host->h_version, in nlm_bind_host()
|
/fs/nfsd/ |
D | Kconfig | 27 Support for NFS version 2 (RFC 1094) is always available when 37 bool "NFS server support for NFS version 3" 41 version 3 of the NFS protocol (RFC 1813). 51 never became an official part of the NFS version 3 protocol. 69 bool "NFS server support for NFS version 4" 78 version 4 of the NFS protocol (RFC 3530). 139 support for NFS version 4. Security labels allow security modules like
|
/fs/quota/ |
D | quota_v2.c | 96 unsigned int version; in v2_read_file_info() local 100 version = le32_to_cpu(dqhead.dqh_version); in v2_read_file_info() 101 if ((info->dqi_fmt_id == QFMT_VFS_V0 && version != 0) || in v2_read_file_info() 102 (info->dqi_fmt_id == QFMT_VFS_V1 && version != 1)) in v2_read_file_info() 118 if (version == 0) { in v2_read_file_info() 143 if (version == 0) { in v2_read_file_info()
|
/fs/afs/ |
D | cache.c | 46 .version = 0, 349 afs_dataversion_t version; in afs_vnode_cache_check_aux() local 351 memcpy(&version, buffer + sizeof(vnode->fid.unique), in afs_vnode_cache_check_aux() 352 sizeof(version)); in afs_vnode_cache_check_aux() 355 version, vnode->status.data_version); in afs_vnode_cache_check_aux()
|
/fs/ceph/ |
D | xattr.c | 594 if (ci->i_xattrs.index_version >= ci->i_xattrs.version) in __build_xattrs() 605 xattr_version = ci->i_xattrs.version; in __build_xattrs() 622 if (ci->i_xattrs.version != xattr_version) { in __build_xattrs() 648 ci->i_xattrs.index_version = ci->i_xattrs.version; in __build_xattrs() 726 ci->i_xattrs.version++; in __ceph_build_xattrs_blob() 769 ci->i_xattrs.version, ci->i_xattrs.index_version); in __ceph_getxattr() 771 if (ci->i_xattrs.version == 0 || in __ceph_getxattr() 830 ci->i_xattrs.version, ci->i_xattrs.index_version); in ceph_listxattr() 832 if (ci->i_xattrs.version == 0 || in ceph_listxattr() 936 dout("xattr.ver (before): %lld\n", ci->i_xattrs.version); in ceph_sync_setxattr() [all …]
|
D | cache.c | 28 u64 version; member 35 .version = 0, 102 aux.version = ci->i_version; in ceph_fscache_inode_get_aux() 129 aux.version = ci->i_version; in ceph_fscache_inode_check_aux()
|