Lines Matching +full:c +full:- +full:version +full:- +full:name
1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved.
19 * The root index is owned by FS-Cache itself.
21 * When a netfs requests caching facilities, FS-Cache will, if one doesn't
22 * already exist, create an entry in the root index with the key being the name
24 * structure version supplied by the netfs:
28 * +-----------+
33 * If an entry with the appropriate name does already exist, the version is
34 * compared. If the version is different, the entire subtree from that entry
43 .name = ".FS-Cache",
60 * a specific netfs and only applicable to a particular version of the index
64 .name = "FSDEF.netfs",
70 * check that the index structure version number stored in the auxiliary data
80 uint32_t version; in fscache_fsdef_netfs_check_aux() local
82 _enter("{%s},,%hu", netfs->name, datalen); in fscache_fsdef_netfs_check_aux()
84 if (datalen != sizeof(version)) { in fscache_fsdef_netfs_check_aux()
85 _leave(" = OBSOLETE [dl=%d v=%zu]", datalen, sizeof(version)); in fscache_fsdef_netfs_check_aux()
89 memcpy(&version, data, sizeof(version)); in fscache_fsdef_netfs_check_aux()
90 if (version != netfs->version) { in fscache_fsdef_netfs_check_aux()
91 _leave(" = OBSOLETE [ver=%x net=%x]", version, netfs->version); in fscache_fsdef_netfs_check_aux()