Lines Matching refs:entry
20 struct afs_vldb_entry *entry;
33 entry = call->ret_vldb;
40 entry->name[i] = (u8)ntohl(uvldb->name[i]);
41 entry->name[i] = 0;
42 entry->name_len = strlen(entry->name);
59 int n = entry->nr_servers;
66 entry->fs_mask[n] |= AFS_VOL_VTM_RW;
68 entry->fs_mask[n] |= AFS_VOL_VTM_BAK;
71 entry->fs_mask[n] |= AFS_VOL_VTM_RO;
72 if (!entry->fs_mask[n])
76 uuid = (struct afs_uuid *)&entry->fs_server[n];
85 entry->addr_version[n] = ntohl(uvldb->serverUnique[i]);
86 entry->nr_servers++;
90 entry->vid[i] = ntohl(uvldb->volumeId[i]);
93 __set_bit(AFS_VLDB_HAS_RW, &entry->flags);
95 __set_bit(AFS_VLDB_HAS_RO, &entry->flags);
97 __set_bit(AFS_VLDB_HAS_BAK, &entry->flags);
100 entry->error = -ENOMEDIUM;
101 __set_bit(AFS_VLDB_QUERY_ERROR, &entry->flags);
104 __set_bit(AFS_VLDB_QUERY_VALID, &entry->flags);
126 * Dispatch a get volume entry by name or ID operation (uuid variant). If the
133 struct afs_vldb_entry *entry;
144 entry = kzalloc(sizeof(struct afs_vldb_entry), GFP_KERNEL);
145 if (!entry)
151 kfree(entry);
156 call->ret_vldb = entry;
505 /* Got either the type of the next entry or the count of
579 /* Got either the type of the next entry or the count of