Symbol: nvme_ns
drivers/nvme/host/apple.c
768
struct nvme_ns *ns = hctx->queue->queuedata;
drivers/nvme/host/core.c
1006
static inline blk_status_t nvme_setup_rw(struct nvme_ns *ns,
drivers/nvme/host/core.c
1097
blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req)
drivers/nvme/host/core.c
1222
u32 nvme_command_effects(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u8 opcode)
drivers/nvme/host/core.c
1251
u32 nvme_passthru_start(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u8 opcode)
drivers/nvme/host/core.c
1271
void nvme_passthru_end(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u32 effects,
drivers/nvme/host/core.c
1791
static int nvme_ns_open(struct nvme_ns *ns)
drivers/nvme/host/core.c
1810
static void nvme_ns_release(struct nvme_ns *ns)
drivers/nvme/host/core.c
2027
static u32 nvme_configure_atomic_write(struct nvme_ns *ns,
drivers/nvme/host/core.c
2077
static bool nvme_update_disk_info(struct nvme_ns *ns, struct nvme_id_ns *id,
drivers/nvme/host/core.c
2174
static bool nvme_ns_is_readonly(struct nvme_ns *ns, struct nvme_ns_info *info)
drivers/nvme/host/core.c
2185
static void nvme_set_chunk_sectors(struct nvme_ns *ns, struct nvme_id_ns *id,
drivers/nvme/host/core.c
2217
static int nvme_update_ns_info_generic(struct nvme_ns *ns,
drivers/nvme/host/core.c
2313
static int nvme_query_fdp_info(struct nvme_ns *ns, struct nvme_ns_info *info)
drivers/nvme/host/core.c
2387
static int nvme_update_ns_info_block(struct nvme_ns *ns,
drivers/nvme/host/core.c
2520
static int nvme_update_ns_info(struct nvme_ns *ns, struct nvme_ns_info *info)
drivers/nvme/host/core.c
2606
int nvme_ns_get_unique_id(struct nvme_ns *ns, u8 id[16],
drivers/nvme/host/core.c
326
struct nvme_ns *ns = req->q->queuedata;
drivers/nvme/host/core.c
343
struct nvme_ns *ns = req->q->queuedata;
drivers/nvme/host/core.c
374
struct nvme_ns *ns = req->q->queuedata;
drivers/nvme/host/core.c
3931
return nvme_ns_open(container_of(inode->i_cdev, struct nvme_ns, cdev));
drivers/nvme/host/core.c
3936
nvme_ns_release(container_of(inode->i_cdev, struct nvme_ns, cdev));
drivers/nvme/host/core.c
3950
static void nvme_add_ns_cdev(struct nvme_ns *ns)
drivers/nvme/host/core.c
3975
size += nr_node_ids * sizeof(struct nvme_ns *);
drivers/nvme/host/core.c
4052
static int nvme_init_ns_head(struct nvme_ns *ns, struct nvme_ns_info *info)
drivers/nvme/host/core.c
4153
struct nvme_ns *nvme_find_get_ns(struct nvme_ctrl *ctrl, unsigned nsid)
drivers/nvme/host/core.c
4155
struct nvme_ns *ns, *ret = NULL;
drivers/nvme/host/core.c
4178
static void nvme_ns_add_to_ctrl_list(struct nvme_ns *ns)
drivers/nvme/host/core.c
4180
struct nvme_ns *tmp;
drivers/nvme/host/core.c
4194
struct nvme_ns *ns;
drivers/nvme/host/core.c
4307
static void nvme_ns_remove(struct nvme_ns *ns)
drivers/nvme/host/core.c
432
struct nvme_ns *ns = req->q->queuedata;
drivers/nvme/host/core.c
4361
struct nvme_ns *ns = nvme_find_get_ns(ctrl, nsid);
drivers/nvme/host/core.c
4369
static void nvme_validate_ns(struct nvme_ns *ns, struct nvme_ns_info *info)
drivers/nvme/host/core.c
4394
struct nvme_ns *ns;
drivers/nvme/host/core.c
441
struct nvme_ns *ns = req->q->queuedata;
drivers/nvme/host/core.c
4469
struct nvme_ns *ns, *next;
drivers/nvme/host/core.c
4639
struct nvme_ns *ns, *next;
drivers/nvme/host/core.c
5276
struct nvme_ns *ns;
drivers/nvme/host/core.c
5289
struct nvme_ns *ns;
drivers/nvme/host/core.c
5304
struct nvme_ns *ns;
drivers/nvme/host/core.c
5321
struct nvme_ns *ns;
drivers/nvme/host/core.c
5334
struct nvme_ns *ns;
drivers/nvme/host/core.c
5389
struct nvme_ns *ns;
drivers/nvme/host/core.c
708
struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref);
drivers/nvme/host/core.c
716
bool nvme_get_ns(struct nvme_ns *ns)
drivers/nvme/host/core.c
721
void nvme_put_ns(struct nvme_ns *ns)
drivers/nvme/host/core.c
742
struct nvme_ns *ns = req->q->disk->private_data;
drivers/nvme/host/core.c
832
static inline void nvme_setup_flush(struct nvme_ns *ns,
drivers/nvme/host/core.c
840
static blk_status_t nvme_setup_discard(struct nvme_ns *ns, struct request *req,
drivers/nvme/host/core.c
916
static void nvme_set_ref_tag(struct nvme_ns *ns, struct nvme_command *cmnd,
drivers/nvme/host/core.c
949
static inline blk_status_t nvme_setup_write_zeroes(struct nvme_ns *ns,
drivers/nvme/host/fault_inject.c
65
struct nvme_ns *ns = disk->private_data;
drivers/nvme/host/fc.c
2755
struct nvme_ns *ns = hctx->queue->queuedata;
drivers/nvme/host/ioctl.c
105
struct nvme_ns *ns = q->queuedata;
drivers/nvme/host/ioctl.c
129
struct nvme_ns *ns = q->queuedata;
drivers/nvme/host/ioctl.c
166
struct nvme_ns *ns = q->queuedata;
drivers/nvme/host/ioctl.c
17
static bool nvme_cmd_allowed(struct nvme_ns *ns, struct nvme_command *c,
drivers/nvme/host/ioctl.c
205
static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio)
drivers/nvme/host/ioctl.c
268
struct nvme_ns *ns, __u32 nsid)
drivers/nvme/host/ioctl.c
280
static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
drivers/nvme/host/ioctl.c
328
static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
drivers/nvme/host/ioctl.c
445
static int nvme_uring_cmd_io(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
drivers/nvme/host/ioctl.c
580
static int nvme_ns_ioctl(struct nvme_ns *ns, unsigned int cmd,
drivers/nvme/host/ioctl.c
613
struct nvme_ns *ns = bdev->bd_disk->private_data;
drivers/nvme/host/ioctl.c
628
struct nvme_ns *ns =
drivers/nvme/host/ioctl.c
629
container_of(file_inode(file)->i_cdev, struct nvme_ns, cdev);
drivers/nvme/host/ioctl.c
648
static int nvme_ns_uring_cmd(struct nvme_ns *ns, struct io_uring_cmd *ioucmd,
drivers/nvme/host/ioctl.c
674
struct nvme_ns *ns = container_of(file_inode(ioucmd->file)->i_cdev,
drivers/nvme/host/ioctl.c
675
struct nvme_ns, cdev);
drivers/nvme/host/ioctl.c
692
static int nvme_ns_head_ctrl_ioctl(struct nvme_ns *ns, unsigned int cmd,
drivers/nvme/host/ioctl.c
714
struct nvme_ns *ns;
drivers/nvme/host/ioctl.c
749
struct nvme_ns *ns;
drivers/nvme/host/ioctl.c
773
struct nvme_ns *ns = nvme_find_path(head);
drivers/nvme/host/ioctl.c
809
struct nvme_ns *ns;
drivers/nvme/host/ioctl.c
818
ns = list_first_or_null_rcu(&ctrl->namespaces, struct nvme_ns, list);
drivers/nvme/host/ioctl.c
819
if (ns != list_last_entry(&ctrl->namespaces, struct nvme_ns, list)) {
drivers/nvme/host/multipath.c
1090
struct nvme_ns *ns = nvme_get_ns_from_dev(dev);
drivers/nvme/host/multipath.c
1099
struct nvme_ns *ns = nvme_get_ns_from_dev(dev);
drivers/nvme/host/multipath.c
1113
struct nvme_ns *current_ns;
drivers/nvme/host/multipath.c
1114
struct nvme_ns *ns = nvme_get_ns_from_dev(dev);
drivers/nvme/host/multipath.c
1181
struct nvme_ns *ns = nvme_get_ns_from_dev(dev);
drivers/nvme/host/multipath.c
1191
struct nvme_ns *ns = nvme_get_ns_from_dev(dev);
drivers/nvme/host/multipath.c
1278
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
1338
void nvme_mpath_remove_sysfs_link(struct nvme_ns *ns)
drivers/nvme/host/multipath.c
1353
void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid)
drivers/nvme/host/multipath.c
149
struct nvme_ns *ns = req->q->queuedata;
drivers/nvme/host/multipath.c
180
struct nvme_ns *ns = rq->q->queuedata;
drivers/nvme/host/multipath.c
204
struct nvme_ns *ns = rq->q->queuedata;
drivers/nvme/host/multipath.c
218
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
242
bool nvme_mpath_clear_current_path(struct nvme_ns *ns)
drivers/nvme/host/multipath.c
259
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
274
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
291
static bool nvme_path_is_disabled(struct nvme_ns *ns)
drivers/nvme/host/multipath.c
308
static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node)
drivers/nvme/host/multipath.c
311
struct nvme_ns *found = NULL, *fallback = NULL, *ns;
drivers/nvme/host/multipath.c
349
static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head,
drivers/nvme/host/multipath.c
350
struct nvme_ns *ns)
drivers/nvme/host/multipath.c
352
ns = list_next_or_null_rcu(&head->list, &ns->siblings, struct nvme_ns,
drivers/nvme/host/multipath.c
356
return list_first_or_null_rcu(&head->list, struct nvme_ns, siblings);
drivers/nvme/host/multipath.c
359
static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head)
drivers/nvme/host/multipath.c
361
struct nvme_ns *ns, *found = NULL;
drivers/nvme/host/multipath.c
363
struct nvme_ns *old = srcu_dereference(head->current_path[node],
drivers/nvme/host/multipath.c
407
static struct nvme_ns *nvme_queue_depth_path(struct nvme_ns_head *head)
drivers/nvme/host/multipath.c
409
struct nvme_ns *best_opt = NULL, *best_nonopt = NULL, *ns;
drivers/nvme/host/multipath.c
444
static inline bool nvme_path_is_optimized(struct nvme_ns *ns)
drivers/nvme/host/multipath.c
450
static struct nvme_ns *nvme_numa_path(struct nvme_ns_head *head)
drivers/nvme/host/multipath.c
453
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
463
inline struct nvme_ns *nvme_find_path(struct nvme_ns_head *head)
drivers/nvme/host/multipath.c
477
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
512
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
571
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
587
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
784
static void nvme_mpath_set_live(struct nvme_ns *ns)
drivers/nvme/host/multipath.c
875
struct nvme_ns *ns)
drivers/nvme/host/multipath.c
918
struct nvme_ns *ns;
drivers/nvme/host/nvme.h
1035
struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
drivers/nvme/host/nvme.h
1050
void nvme_mpath_remove_sysfs_link(struct nvme_ns *ns);
drivers/nvme/host/nvme.h
1051
void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid);
drivers/nvme/host/nvme.h
1058
bool nvme_mpath_clear_current_path(struct nvme_ns *ns);
drivers/nvme/host/nvme.h
1067
struct nvme_ns *ns = req->q->queuedata;
drivers/nvme/host/nvme.h
1111
static inline void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid)
drivers/nvme/host/nvme.h
1117
static inline void nvme_mpath_add_sysfs_link(struct nvme_ns *ns)
drivers/nvme/host/nvme.h
1120
static inline void nvme_mpath_remove_sysfs_link(struct nvme_ns *ns)
drivers/nvme/host/nvme.h
1123
static inline bool nvme_mpath_clear_current_path(struct nvme_ns *ns)
drivers/nvme/host/nvme.h
1187
int nvme_ns_get_unique_id(struct nvme_ns *ns, u8 id[16],
drivers/nvme/host/nvme.h
1196
int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector,
drivers/nvme/host/nvme.h
1198
int nvme_query_zone_info(struct nvme_ns *ns, unsigned lbaf,
drivers/nvme/host/nvme.h
1200
void nvme_update_zone_info(struct nvme_ns *ns, struct queue_limits *lim,
drivers/nvme/host/nvme.h
1203
blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req,
drivers/nvme/host/nvme.h
1207
static inline blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns,
drivers/nvme/host/nvme.h
1215
static inline struct nvme_ns *nvme_get_ns_from_dev(struct device *dev)
drivers/nvme/host/nvme.h
1291
u32 nvme_command_effects(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
drivers/nvme/host/nvme.h
1293
u32 nvme_passthru_start(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u8 opcode);
drivers/nvme/host/nvme.h
1295
void nvme_passthru_end(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u32 effects,
drivers/nvme/host/nvme.h
1298
struct nvme_ns *nvme_find_get_ns(struct nvme_ctrl *ctrl, unsigned nsid);
drivers/nvme/host/nvme.h
1299
bool nvme_get_ns(struct nvme_ns *ns);
drivers/nvme/host/nvme.h
1300
void nvme_put_ns(struct nvme_ns *ns);
drivers/nvme/host/nvme.h
577
struct nvme_ns __rcu *current_path[];
drivers/nvme/host/nvme.h
927
blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req);
drivers/nvme/host/pr.c
57
struct nvme_ns *ns = nvme_find_path(head);
drivers/nvme/host/pr.c
68
static int nvme_send_ns_pr_command(struct nvme_ns *ns, struct nvme_command *c,
drivers/nvme/host/rdma.c
1415
struct nvme_ns *ns = rq->q->queuedata;
drivers/nvme/host/rdma.c
1997
struct nvme_ns *ns = hctx->queue->queuedata;
drivers/nvme/host/sysfs.c
190
struct nvme_ns *ns;
drivers/nvme/host/sysfs.c
214
static int ns_update_nuse(struct nvme_ns *ns)
drivers/nvme/host/sysfs.c
351
struct nvme_ns *ns = nvme_get_ns_from_dev(dev);
drivers/nvme/host/sysfs.c
361
struct nvme_ns *ns = nvme_get_ns_from_dev(dev);
drivers/nvme/host/sysfs.c
376
struct nvme_ns *ns = nvme_get_ns_from_dev(dev);
drivers/nvme/host/sysfs.c
386
struct nvme_ns *ns = nvme_get_ns_from_dev(dev);
drivers/nvme/host/sysfs.c
776
struct nvme_ns *ns;
drivers/nvme/host/tcp.c
2722
static blk_status_t nvme_tcp_setup_cmd_pdu(struct nvme_ns *ns,
drivers/nvme/host/tcp.c
2787
struct nvme_ns *ns = hctx->queue->queuedata;
drivers/nvme/host/zns.c
108
void nvme_update_zone_info(struct nvme_ns *ns, struct queue_limits *lim,
drivers/nvme/host/zns.c
119
static void *nvme_zns_alloc_report_buffer(struct nvme_ns *ns,
drivers/nvme/host/zns.c
149
static int nvme_zone_parse_entry(struct nvme_ns *ns,
drivers/nvme/host/zns.c
175
int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector,
drivers/nvme/host/zns.c
234
blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req,
drivers/nvme/host/zns.c
38
int nvme_query_zone_info(struct nvme_ns *ns, unsigned lbaf,
drivers/nvme/target/loop.c
136
struct nvme_ns *ns = hctx->queue->queuedata;
drivers/nvme/target/passthru.c
219
struct nvme_ns *ns = rq->q->queuedata;
drivers/nvme/target/passthru.c
301
struct nvme_ns *ns = NULL;