/linux-master/drivers/block/drbd/ |
H A D | drbd_nl.c | 190 adm_ctx->volume = VOLUME_UNSPECIFIED; 209 adm_ctx->volume = nla_get_u32(nla); 278 adm_ctx->volume != VOLUME_UNSPECIFIED && 279 adm_ctx->volume != adm_ctx->device->vnr) { 280 pr_warn("request: minor=%u, volume=%u; but that minor is volume %u in %s\n", 281 adm_ctx->minor, adm_ctx->volume, 283 drbd_msg_put_info(adm_ctx->reply_skb, "minor exists as different volume"); 3725 /* We need to add connection name and volume number information still. 3854 unsigned volume local [all...] |
H A D | drbd_main.c | 587 h->volume = cpu_to_be16(vnr); 2691 int vnr = adm_ctx->volume;
|
H A D | drbd_int.h | 440 DISCARD_MY_DATA, /* discard_my_data flag per volume */ 593 struct idr devices; /* volume number to device mapping */ 628 struct idr peer_devices; /* volume number to peer device mapping */ 763 unsigned int vnr; /* volume number within the connection */ 924 unsigned int volume; member in struct:drbd_config_context
|
/linux-master/arch/um/drivers/ |
H A D | ubd_kern.c | 1361 struct cdrom_volctrl volume; local 1373 if(copy_from_user(&volume, (char __user *) arg, sizeof(volume))) 1375 volume.channel0 = 255; 1376 volume.channel1 = 255; 1377 volume.channel2 = 255; 1378 volume.channel3 = 255; 1379 if(copy_to_user((char __user *) arg, &volume, sizeof(volume)))
|
/linux-master/fs/cachefiles/ |
H A D | cache.c | 322 struct cachefiles_volume *volume = NULL; local 326 volume = list_first_entry(&cache->volumes, 328 list_del_init(&volume->cache_link); 331 if (!volume) 334 cachefiles_withdraw_volume(volume);
|
H A D | ondemand.c | 11 struct cachefiles_cache *cache = object->volume->cache; 42 struct cachefiles_cache *cache = object->volume->cache; 82 struct cachefiles_cache *cache = object->volume->cache; 219 cache = object->volume->cache; 379 struct cachefiles_cache *cache = object->volume->cache; 477 struct fscache_volume *volume = object->volume->vcookie; local 486 volume_key_size = volume->key[0] + 1; 487 volume_key = volume->key + 1; 539 struct fscache_volume *volume local 569 cachefiles_ondemand_init_obj_info(struct cachefiles_object *object, struct cachefiles_volume *volume) argument [all...] |
H A D | internal.h | 37 * Cached volume representation. 43 struct dentry *dentry; /* The volume dentry */ 65 struct cachefiles_volume *volume; /* Cache volume that holds this object */ member in struct:cachefiles_object 92 struct list_head volumes; /* List of volume objects */ 316 struct cachefiles_volume *volume); 365 struct cachefiles_volume *volume) 400 * volume.c 402 void cachefiles_acquire_volume(struct fscache_volume *volume); 403 void cachefiles_free_volume(struct fscache_volume *volume); 364 cachefiles_ondemand_init_obj_info(struct cachefiles_object *obj, struct cachefiles_volume *volume) argument [all...] |
H A D | namei.c | 69 struct cachefiles_cache *cache = object->volume->cache; 419 struct cachefiles_volume *volume = object->volume; local 421 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash]; 430 ret = cachefiles_unlink(volume->cache, object, fan, dentry, why); 442 struct cachefiles_volume *volume = object->volume; local 443 struct cachefiles_cache *cache = volume->cache; 445 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash]; 524 ret = cachefiles_has_space(object->volume 625 struct cachefiles_volume *volume = object->volume; local 675 struct cachefiles_volume *volume = object->volume; local [all...] |
/linux-master/fs/afs/ |
H A D | server.c | 639 alist = afs_vl_lookup_addrs(op->volume->cell, op->key, &server->uuid);
|
H A D | volume.c | 2 /* AFS volume management 17 * Insert a volume into a cell. If there's an existing volume record, that is 21 struct afs_volume *volume) 32 if (p->vid < volume->vid) { 34 } else if (p->vid > volume->vid) { 38 volume = p; 42 set_bit(AFS_VOLUME_RM_TREE, &volume->flags); 43 rb_replace_node_rcu(&p->cell_node, &volume->cell_node, &cell->volumes); 47 rb_link_node_rcu(&volume 20 afs_insert_volume_into_cell(struct afs_cell *cell, struct afs_volume *volume) argument 57 afs_remove_volume_from_cell(struct afs_volume *volume) argument 80 struct afs_volume *volume; local 135 struct afs_volume *candidate, *volume; local 199 struct afs_volume *volume; local 237 struct afs_volume *volume = container_of(work, struct afs_volume, destructor); local 260 afs_try_get_volume(struct afs_volume *volume, enum afs_volume_trace reason) argument 274 afs_get_volume(struct afs_volume *volume, enum afs_volume_trace reason) argument 290 afs_put_volume(struct afs_volume *volume, enum afs_volume_trace reason) argument 307 afs_activate_volume(struct afs_volume *volume) argument 336 afs_deactivate_volume(struct afs_volume *volume) argument 352 afs_update_volume_status(struct afs_volume *volume, struct key *key) argument 421 afs_check_volume_status(struct afs_volume *volume, struct afs_operation *op) argument [all...] |
H A D | dynroot.c | 34 vnode->volume = as->volume; 54 if (as->volume) 55 fid.vid = as->volume->vid;
|
H A D | super.c | 159 struct afs_volume *volume = as->volume; local 169 switch (volume->type) { 174 if (volume->type_force) 183 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); 213 * Parse the source name to get cell name, volume name, volume type and R/W 217 * "%[cell:]volume[.]" R/W volume 218 * "#[cell:]volume[ 359 struct afs_volume *volume; local [all...] |
H A D | inode.c | 216 if (vnode->cb_ro_snapshot == atomic_read(&vnode->volume->cb_ro_snapshot) && 274 if (op->volume->type == AFSVL_RWVOL) 353 * Fetch file status from the volume. 361 vnode->volume->name, 365 op = afs_alloc_operation(key, vnode->volume); 414 vnode->volume = as->volume; 451 vnode->volume->cache, 514 vnode->volume = as->volume; [all...] |
H A D | yfsclient.c | 24 fid->vid = xdr_to_u64(x->volume); 49 x->volume = u64_to_xdr(fid->vid); 328 * Deliver reply data to operations that just return a file status and a volume 1250 /* extract the volume name length */ 1265 /* extract the volume name */ 1357 * fetch the status of a volume 1817 /* Extract the volume ACL length */ 1839 /* Extract the volume ACL */
|
H A D | xattr.c | 46 op = afs_alloc_operation(NULL, vnode->volume); 111 op = afs_alloc_operation(NULL, vnode->volume); 169 op = afs_alloc_operation(NULL, vnode->volume); 244 op = afs_alloc_operation(NULL, vnode->volume); 274 struct afs_cell *cell = vnode->volume->cell; 292 * Get the volume ID, vnode ID and vnode uniquifier of a file as a sequence of 304 /* The volume ID is 64-bit, the vnode ID is 96-bit and the 331 * Get the name of the volume on which a file resides. 339 const char *volname = vnode->volume->name; 352 .name = "afs.volume", [all...] |
H A D | vl_alias.c | 15 * Sample a volume. 20 struct afs_volume *volume; local 30 volume = afs_create_volume(&fc); 31 _leave(" = %p", volume); 32 return volume; 119 continue; /* Ignore cells that don't have a root.cell volume. */ 136 * Query the new cell for a volume from a cell we're already using. 141 struct afs_volume *volume, *pvol = NULL; local 144 /* Arbitrarily pick a volume from the list. */ 157 volume [all...] |
H A D | server_list.c | 27 struct afs_server_list *afs_alloc_server_list(struct afs_volume *volume, argument 33 unsigned int type_mask = 1 << volume->type; 82 server = afs_lookup_server(volume->cell, key, &vldb->fs_server[i], 100 afs_put_server(volume->cell->net, server, 111 slist->servers[j].volume = volume; 125 afs_put_serverlist(volume->cell->net, slist); 155 * Attach a volume to the servers it is going to use. 157 void afs_attach_volume_to_servers(struct afs_volume *volume, struct afs_server_list *slist) argument 164 down_write(&volume 187 afs_reattach_volume_to_servers(struct afs_volume *volume, struct afs_server_list *new, struct afs_server_list *old) argument 235 afs_detach_volume_from_servers(struct afs_volume *volume, struct afs_server_list *slist) argument [all...] |
H A D | fsclient.c | 625 * Deliver reply data to any operation that returns status and volume sync. 1337 /* extract the volume name length */ 1352 /* extract the volume name */ 1444 * fetch the status of a volume 1914 set_bit(AFS_VOLUME_MAYBE_NO_IBULK, &call->op->volume->flags);
|
H A D | fs_operation.c | 16 * Create an operation against a volume. 18 struct afs_operation *afs_alloc_operation(struct key *key, struct afs_volume *volume) argument 29 key = afs_request_key(volume->cell); 39 op->volume = afs_get_volume(volume, afs_volume_trace_get_new_op); 40 op->net = volume->cell->net; 41 op->cb_v_break = atomic_read(&volume->cb_v_break); 42 op->pre_volsync.creation = volume->creation_time; 43 op->pre_volsync.update = volume->update_time; 152 op->cb_v_break = atomic_read(&op->volume [all...] |
/linux-master/include/linux/ |
H A D | fscache-cache.h | 55 /* Acquire a volume */ 56 void (*acquire_volume)(struct fscache_volume *volume); 58 /* Free the cache's data attached to a volume */ 59 void (*free_volume)(struct fscache_volume *volume); 95 extern void fscache_withdraw_volume(struct fscache_volume *volume); 100 extern void fscache_end_volume_access(struct fscache_volume *volume,
|
/linux-master/fs/netfs/ |
H A D | fscache_volume.c | 20 struct fscache_volume *fscache_get_volume(struct fscache_volume *volume, argument 25 __refcount_inc(&volume->ref, &ref); 26 trace_fscache_volume(volume->debug_id, ref + 1, where); 27 return volume; 30 static void fscache_see_volume(struct fscache_volume *volume, argument 33 int ref = refcount_read(&volume->ref); 35 trace_fscache_volume(volume->debug_id, ref, where); 39 * Pin the cache behind a volume so that we can access it. 41 static void __fscache_begin_volume_access(struct fscache_volume *volume, argument 47 n_accesses = atomic_inc_return(&volume 83 fscache_begin_volume_access(struct fscache_volume *volume, struct fscache_cookie *cookie, enum fscache_access_trace why) argument 106 fscache_end_volume_access(struct fscache_volume *volume, struct fscache_cookie *cookie, enum fscache_access_trace why) argument 136 fscache_is_acquire_pending(struct fscache_volume *volume) argument 204 struct fscache_volume *volume; local 272 struct fscache_volume *volume = local 290 fscache_create_volume(struct fscache_volume *volume, bool wait) argument 324 struct fscache_volume *volume; local 341 fscache_wake_pending_volume(struct fscache_volume *volume, struct hlist_bl_head *h) argument 360 fscache_unhash_volume(struct fscache_volume *volume) argument 378 fscache_free_volume(struct fscache_volume *volume) argument 409 fscache_put_volume(struct fscache_volume *volume, enum fscache_volume_trace where) argument 427 __fscache_relinquish_volume(struct fscache_volume *volume, const void *coherency_data, bool invalidate) argument 451 fscache_withdraw_volume(struct fscache_volume *volume) argument 474 struct fscache_volume *volume; local [all...] |
H A D | fscache_cookie.c | 48 cookie->volume->debug_id, 49 cookie->volume->key); 185 !fscache_cache_is_live(cookie->volume->cache)) { 295 cookie->key_hash = fscache_hash(cookie->volume->key_hash, 306 a->volume != b->volume || 326 struct fscache_volume *volume, 340 cookie->volume = volume; 422 fscache_get_volume(candidate->volume, fscache_volume_get_cooki 325 fscache_alloc_cookie( struct fscache_volume *volume, u8 advice, const void *index_key, size_t index_key_len, const void *aux_data, size_t aux_data_len, loff_t object_size) argument 450 __fscache_acquire_cookie( struct fscache_volume *volume, u8 advice, const void *index_key, size_t index_key_len, const void *aux_data, size_t aux_data_len, loff_t object_size) argument 1006 struct fscache_volume *volume = cookie->volume; local [all...] |
/linux-master/drivers/usb/gadget/function/ |
H A D | f_uac2.c | 1009 msg = "incorrect playback volume max/min"; 1011 msg = "incorrect capture volume max/min"; 1013 msg = "negative/zero playback volume resolution"; 1015 msg = "negative/zero capture volume resolution"; 1018 msg = "incorrect playback volume resolution"; 1020 msg = "incorrect capture volume resolution"; 1570 s16 volume; local 1574 u_audio_get_volume(agdev, is_playback, &volume); 1575 c.wCUR = cpu_to_le16(volume); 1748 s16 volume; local [all...] |
H A D | f_uac1.c | 529 s16 volume; local 531 u_audio_get_volume(audio, is_playback, &volume); 533 c = cpu_to_le16(volume); 725 s16 volume; local 727 volume = le16_to_cpu(*c); 728 u_audio_set_volume(audio, is_playback, volume); 1221 dev_err(dev, "Error: incorrect playback volume max/min\n"); 1224 dev_err(dev, "Error: incorrect capture volume max/min\n"); 1227 dev_err(dev, "Error: negative/zero playback volume resolution\n"); 1230 dev_err(dev, "Error: negative/zero capture volume resolutio [all...] |
/linux-master/drivers/media/usb/em28xx/ |
H A D | em28xx-video.c | 1315 * In the case of non-AC97 volume controls, we still need 1317 * and to adjust audio volume. However, the value ranges 1326 dev->volume = ctrl->val; 1345 dev->volume = ctrl->val; 2702 dev->volume = 0x1f;
|