Symbol: nvme_ns
drivers/nvme/host/apple.c
768
struct nvme_ns *ns = hctx->queue->queuedata;
drivers/nvme/host/core.c
1081
blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req)
drivers/nvme/host/core.c
1206
u32 nvme_command_effects(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u8 opcode)
drivers/nvme/host/core.c
1235
u32 nvme_passthru_start(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u8 opcode)
drivers/nvme/host/core.c
1255
void nvme_passthru_end(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u32 effects,
drivers/nvme/host/core.c
1775
static int nvme_ns_open(struct nvme_ns *ns)
drivers/nvme/host/core.c
1794
static void nvme_ns_release(struct nvme_ns *ns)
drivers/nvme/host/core.c
1886
static void nvme_config_discard(struct nvme_ns *ns, struct queue_limits *lim)
drivers/nvme/host/core.c
2030
static u32 nvme_configure_atomic_write(struct nvme_ns *ns,
drivers/nvme/host/core.c
2080
static bool nvme_update_disk_info(struct nvme_ns *ns, struct nvme_id_ns *id,
drivers/nvme/host/core.c
2126
static bool nvme_ns_is_readonly(struct nvme_ns *ns, struct nvme_ns_info *info)
drivers/nvme/host/core.c
2137
static void nvme_set_chunk_sectors(struct nvme_ns *ns, struct nvme_id_ns *id,
drivers/nvme/host/core.c
2169
static int nvme_update_ns_info_generic(struct nvme_ns *ns,
drivers/nvme/host/core.c
2263
static int nvme_query_fdp_info(struct nvme_ns *ns, struct nvme_ns_info *info)
drivers/nvme/host/core.c
2332
static int nvme_update_ns_info_block(struct nvme_ns *ns,
drivers/nvme/host/core.c
2450
static int nvme_update_ns_info(struct nvme_ns *ns, struct nvme_ns_info *info)
drivers/nvme/host/core.c
2534
int nvme_ns_get_unique_id(struct nvme_ns *ns, u8 id[16],
drivers/nvme/host/core.c
339
struct nvme_ns *ns = req->q->queuedata;
drivers/nvme/host/core.c
370
struct nvme_ns *ns = req->q->queuedata;
drivers/nvme/host/core.c
3848
return nvme_ns_open(container_of(inode->i_cdev, struct nvme_ns, cdev));
drivers/nvme/host/core.c
3853
nvme_ns_release(container_of(inode->i_cdev, struct nvme_ns, cdev));
drivers/nvme/host/core.c
3867
static int nvme_add_ns_cdev(struct nvme_ns *ns)
drivers/nvme/host/core.c
3889
size += num_possible_nodes() * sizeof(struct nvme_ns *);
drivers/nvme/host/core.c
3966
static int nvme_init_ns_head(struct nvme_ns *ns, struct nvme_ns_info *info)
drivers/nvme/host/core.c
4066
struct nvme_ns *nvme_find_get_ns(struct nvme_ctrl *ctrl, unsigned nsid)
drivers/nvme/host/core.c
4068
struct nvme_ns *ns, *ret = NULL;
drivers/nvme/host/core.c
4091
static void nvme_ns_add_to_ctrl_list(struct nvme_ns *ns)
drivers/nvme/host/core.c
4093
struct nvme_ns *tmp;
drivers/nvme/host/core.c
4107
struct nvme_ns *ns;
drivers/nvme/host/core.c
4219
static void nvme_ns_remove(struct nvme_ns *ns)
drivers/nvme/host/core.c
4271
struct nvme_ns *ns = nvme_find_get_ns(ctrl, nsid);
drivers/nvme/host/core.c
4279
static void nvme_validate_ns(struct nvme_ns *ns, struct nvme_ns_info *info)
drivers/nvme/host/core.c
428
struct nvme_ns *ns = req->q->queuedata;
drivers/nvme/host/core.c
4304
struct nvme_ns *ns;
drivers/nvme/host/core.c
4379
struct nvme_ns *ns, *next;
drivers/nvme/host/core.c
4549
struct nvme_ns *ns, *next;
drivers/nvme/host/core.c
5189
struct nvme_ns *ns;
drivers/nvme/host/core.c
5202
struct nvme_ns *ns;
drivers/nvme/host/core.c
5216
struct nvme_ns *ns;
drivers/nvme/host/core.c
5233
struct nvme_ns *ns;
drivers/nvme/host/core.c
5246
struct nvme_ns *ns;
drivers/nvme/host/core.c
5301
struct nvme_ns *ns;
drivers/nvme/host/core.c
690
struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref);
drivers/nvme/host/core.c
698
bool nvme_get_ns(struct nvme_ns *ns)
drivers/nvme/host/core.c
703
void nvme_put_ns(struct nvme_ns *ns)
drivers/nvme/host/core.c
724
struct nvme_ns *ns = req->q->disk->private_data;
drivers/nvme/host/core.c
816
static inline void nvme_setup_flush(struct nvme_ns *ns,
drivers/nvme/host/core.c
824
static blk_status_t nvme_setup_discard(struct nvme_ns *ns, struct request *req,
drivers/nvme/host/core.c
900
static void nvme_set_ref_tag(struct nvme_ns *ns, struct nvme_command *cmnd,
drivers/nvme/host/core.c
933
static inline blk_status_t nvme_setup_write_zeroes(struct nvme_ns *ns,
drivers/nvme/host/core.c
990
static inline blk_status_t nvme_setup_rw(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
120
struct nvme_ns *ns = q->queuedata;
drivers/nvme/host/ioctl.c
167
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
206
static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio)
drivers/nvme/host/ioctl.c
269
struct nvme_ns *ns, __u32 nsid)
drivers/nvme/host/ioctl.c
281
static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
drivers/nvme/host/ioctl.c
329
static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
drivers/nvme/host/ioctl.c
446
static int nvme_uring_cmd_io(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
drivers/nvme/host/ioctl.c
581
static int nvme_ns_ioctl(struct nvme_ns *ns, unsigned int cmd,
drivers/nvme/host/ioctl.c
614
struct nvme_ns *ns = bdev->bd_disk->private_data;
drivers/nvme/host/ioctl.c
629
struct nvme_ns *ns =
drivers/nvme/host/ioctl.c
630
container_of(file_inode(file)->i_cdev, struct nvme_ns, cdev);
drivers/nvme/host/ioctl.c
649
static int nvme_ns_uring_cmd(struct nvme_ns *ns, struct io_uring_cmd *ioucmd,
drivers/nvme/host/ioctl.c
675
struct nvme_ns *ns = container_of(file_inode(ioucmd->file)->i_cdev,
drivers/nvme/host/ioctl.c
676
struct nvme_ns, cdev);
drivers/nvme/host/ioctl.c
693
static int nvme_ns_head_ctrl_ioctl(struct nvme_ns *ns, unsigned int cmd,
drivers/nvme/host/ioctl.c
715
struct nvme_ns *ns;
drivers/nvme/host/ioctl.c
750
struct nvme_ns *ns;
drivers/nvme/host/ioctl.c
774
struct nvme_ns *ns = nvme_find_path(head);
drivers/nvme/host/ioctl.c
814
struct nvme_ns *ns;
drivers/nvme/host/ioctl.c
823
ns = list_first_or_null_rcu(&ctrl->namespaces, struct nvme_ns, list);
drivers/nvme/host/ioctl.c
824
if (ns != list_last_entry(&ctrl->namespaces, struct nvme_ns, list)) {
drivers/nvme/host/multipath.c
1083
struct nvme_ns *ns = nvme_get_ns_from_dev(dev);
drivers/nvme/host/multipath.c
1092
struct nvme_ns *ns = nvme_get_ns_from_dev(dev);
drivers/nvme/host/multipath.c
1106
struct nvme_ns *current_ns;
drivers/nvme/host/multipath.c
1107
struct nvme_ns *ns = nvme_get_ns_from_dev(dev);
drivers/nvme/host/multipath.c
1187
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
1247
void nvme_mpath_remove_sysfs_link(struct nvme_ns *ns)
drivers/nvme/host/multipath.c
1262
void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid)
drivers/nvme/host/multipath.c
139
struct nvme_ns *ns = req->q->queuedata;
drivers/nvme/host/multipath.c
182
struct nvme_ns *ns = rq->q->queuedata;
drivers/nvme/host/multipath.c
203
struct nvme_ns *ns = rq->q->queuedata;
drivers/nvme/host/multipath.c
217
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
241
bool nvme_mpath_clear_current_path(struct nvme_ns *ns)
drivers/nvme/host/multipath.c
262
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
274
void nvme_mpath_revalidate_paths(struct nvme_ns *ns)
drivers/nvme/host/multipath.c
294
static bool nvme_path_is_disabled(struct nvme_ns *ns)
drivers/nvme/host/multipath.c
311
static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node)
drivers/nvme/host/multipath.c
314
struct nvme_ns *found = NULL, *fallback = NULL, *ns;
drivers/nvme/host/multipath.c
352
static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head,
drivers/nvme/host/multipath.c
353
struct nvme_ns *ns)
drivers/nvme/host/multipath.c
355
ns = list_next_or_null_rcu(&head->list, &ns->siblings, struct nvme_ns,
drivers/nvme/host/multipath.c
359
return list_first_or_null_rcu(&head->list, struct nvme_ns, siblings);
drivers/nvme/host/multipath.c
362
static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head)
drivers/nvme/host/multipath.c
364
struct nvme_ns *ns, *found = NULL;
drivers/nvme/host/multipath.c
366
struct nvme_ns *old = srcu_dereference(head->current_path[node],
drivers/nvme/host/multipath.c
410
static struct nvme_ns *nvme_queue_depth_path(struct nvme_ns_head *head)
drivers/nvme/host/multipath.c
412
struct nvme_ns *best_opt = NULL, *best_nonopt = NULL, *ns;
drivers/nvme/host/multipath.c
447
static inline bool nvme_path_is_optimized(struct nvme_ns *ns)
drivers/nvme/host/multipath.c
453
static struct nvme_ns *nvme_numa_path(struct nvme_ns_head *head)
drivers/nvme/host/multipath.c
456
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
466
inline struct nvme_ns *nvme_find_path(struct nvme_ns_head *head)
drivers/nvme/host/multipath.c
480
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
515
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
566
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
582
struct nvme_ns *ns;
drivers/nvme/host/multipath.c
775
static void nvme_mpath_set_live(struct nvme_ns *ns)
drivers/nvme/host/multipath.c
866
struct nvme_ns *ns)
drivers/nvme/host/multipath.c
909
struct nvme_ns *ns;
drivers/nvme/host/nvme.h
1014
struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
drivers/nvme/host/nvme.h
1029
void nvme_mpath_remove_sysfs_link(struct nvme_ns *ns);
drivers/nvme/host/nvme.h
1030
void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid);
drivers/nvme/host/nvme.h
1037
bool nvme_mpath_clear_current_path(struct nvme_ns *ns);
drivers/nvme/host/nvme.h
1038
void nvme_mpath_revalidate_paths(struct nvme_ns *ns);
drivers/nvme/host/nvme.h
1046
struct nvme_ns *ns = req->q->queuedata;
drivers/nvme/host/nvme.h
1087
static inline void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid)
drivers/nvme/host/nvme.h
1093
static inline void nvme_mpath_add_sysfs_link(struct nvme_ns *ns)
drivers/nvme/host/nvme.h
1096
static inline void nvme_mpath_remove_sysfs_link(struct nvme_ns *ns)
drivers/nvme/host/nvme.h
1099
static inline bool nvme_mpath_clear_current_path(struct nvme_ns *ns)
drivers/nvme/host/nvme.h
1103
static inline void nvme_mpath_revalidate_paths(struct nvme_ns *ns)
drivers/nvme/host/nvme.h
1163
int nvme_ns_get_unique_id(struct nvme_ns *ns, u8 id[16],
drivers/nvme/host/nvme.h
1172
int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector,
drivers/nvme/host/nvme.h
1174
int nvme_query_zone_info(struct nvme_ns *ns, unsigned lbaf,
drivers/nvme/host/nvme.h
1176
void nvme_update_zone_info(struct nvme_ns *ns, struct queue_limits *lim,
drivers/nvme/host/nvme.h
1179
blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req,
drivers/nvme/host/nvme.h
1183
static inline blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns,
drivers/nvme/host/nvme.h
1191
static inline struct nvme_ns *nvme_get_ns_from_dev(struct device *dev)
drivers/nvme/host/nvme.h
1267
u32 nvme_command_effects(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
drivers/nvme/host/nvme.h
1269
u32 nvme_passthru_start(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u8 opcode);
drivers/nvme/host/nvme.h
1271
void nvme_passthru_end(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u32 effects,
drivers/nvme/host/nvme.h
1274
struct nvme_ns *nvme_find_get_ns(struct nvme_ctrl *ctrl, unsigned nsid);
drivers/nvme/host/nvme.h
1275
bool nvme_get_ns(struct nvme_ns *ns);
drivers/nvme/host/nvme.h
1276
void nvme_put_ns(struct nvme_ns *ns);
drivers/nvme/host/nvme.h
568
struct nvme_ns __rcu *current_path[];
drivers/nvme/host/nvme.h
908
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
1413
struct nvme_ns *ns = rq->q->queuedata;
drivers/nvme/host/rdma.c
1995
struct nvme_ns *ns = hctx->queue->queuedata;
drivers/nvme/host/sysfs.c
189
struct nvme_ns *ns;
drivers/nvme/host/sysfs.c
213
static int ns_update_nuse(struct nvme_ns *ns)
drivers/nvme/host/tcp.c
2699
static blk_status_t nvme_tcp_setup_cmd_pdu(struct nvme_ns *ns,
drivers/nvme/host/tcp.c
2764
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;