Lines Matching refs:entry
20 struct afs_vldb_entry *entry; in afs_deliver_vl_get_entry_by_name_u() local
33 entry = call->ret_vldb; in afs_deliver_vl_get_entry_by_name_u()
40 entry->name[i] = (u8)ntohl(uvldb->name[i]); in afs_deliver_vl_get_entry_by_name_u()
41 entry->name[i] = 0; in afs_deliver_vl_get_entry_by_name_u()
42 entry->name_len = strlen(entry->name); in afs_deliver_vl_get_entry_by_name_u()
59 int n = entry->nr_servers; in afs_deliver_vl_get_entry_by_name_u()
66 entry->fs_mask[n] |= AFS_VOL_VTM_RW; in afs_deliver_vl_get_entry_by_name_u()
68 entry->fs_mask[n] |= AFS_VOL_VTM_BAK; in afs_deliver_vl_get_entry_by_name_u()
71 entry->fs_mask[n] |= AFS_VOL_VTM_RO; in afs_deliver_vl_get_entry_by_name_u()
72 if (!entry->fs_mask[n]) in afs_deliver_vl_get_entry_by_name_u()
76 uuid = (struct afs_uuid *)&entry->fs_server[n]; in afs_deliver_vl_get_entry_by_name_u()
85 entry->nr_servers++; in afs_deliver_vl_get_entry_by_name_u()
89 entry->vid[i] = ntohl(uvldb->volumeId[i]); in afs_deliver_vl_get_entry_by_name_u()
92 __set_bit(AFS_VLDB_HAS_RW, &entry->flags); in afs_deliver_vl_get_entry_by_name_u()
94 __set_bit(AFS_VLDB_HAS_RO, &entry->flags); in afs_deliver_vl_get_entry_by_name_u()
96 __set_bit(AFS_VLDB_HAS_BAK, &entry->flags); in afs_deliver_vl_get_entry_by_name_u()
99 entry->error = -ENOMEDIUM; in afs_deliver_vl_get_entry_by_name_u()
100 __set_bit(AFS_VLDB_QUERY_ERROR, &entry->flags); in afs_deliver_vl_get_entry_by_name_u()
103 __set_bit(AFS_VLDB_QUERY_VALID, &entry->flags); in afs_deliver_vl_get_entry_by_name_u()
132 struct afs_vldb_entry *entry; in afs_vl_get_entry_by_name_u() local
143 entry = kzalloc(sizeof(struct afs_vldb_entry), GFP_KERNEL); in afs_vl_get_entry_by_name_u()
144 if (!entry) in afs_vl_get_entry_by_name_u()
150 kfree(entry); in afs_vl_get_entry_by_name_u()
155 call->ret_vldb = entry; in afs_vl_get_entry_by_name_u()