Searched refs:cns (Results 1 – 7 of 7) sorted by relevance
2299 u32 cns; in current_time() local2307 cns = smp_load_acquire(&inode->i_ctime_nsec); in current_time()2308 if (cns & I_CTIME_QUERIED) { in current_time()2313 if (now.tv_nsec == (cns & ~I_CTIME_QUERIED)) in current_time()2772 u32 cns, cur; in inode_set_ctime_current() local2788 cns = smp_load_acquire(&inode->i_ctime_nsec); in inode_set_ctime_current()2789 if (cns & I_CTIME_QUERIED) { in inode_set_ctime_current()2791 .tv_nsec = cns & ~I_CTIME_QUERIED }; in inode_set_ctime_current()2802 if (cns == now.tv_nsec && inode->i_ctime_sec == now.tv_sec) { in inode_set_ctime_current()2806 cur = cns; in inode_set_ctime_current()[all …]
257 if (req->cmd->identify.cns != NVME_ID_CNS_CTRL) { in nvmet_execute_disc_identify()258 req->error_loc = offsetof(struct nvme_identify, cns); in nvmet_execute_disc_identify()
227 switch (req->cmd->identify.cns) { in nvmet_passthru_execute_cmd_work()537 switch (req->cmd->identify.cns) { in nvmet_parse_passthru_admin_cmd()
962 switch (req->cmd->identify.cns) { in nvmet_execute_identify()1013 req->cmd->identify.cns, req->sq->qid); in nvmet_execute_identify()1014 req->error_loc = offsetof(struct nvme_identify, cns); in nvmet_execute_identify()
1409 static bool nvme_id_cns_ok(struct nvme_ctrl *ctrl, u8 cns) in nvme_id_cns_ok() argument1427 return cns <= 3; in nvme_id_cns_ok()1432 return cns <= 1; in nvme_id_cns_ok()1442 c.identify.cns = NVME_ID_CNS_CTRL; in nvme_identify_ctrl()1524 c.identify.cns = NVME_ID_CNS_NS_DESC_LIST; in nvme_identify_ns_descs()1572 c.identify.cns = NVME_ID_CNS_NS; in nvme_identify_ns()1633 .identify.cns = NVME_ID_CNS_NS_CS_INDEP, in nvme_ns_info_from_id_cs_indep()1881 .identify.cns = NVME_ID_CNS_CS_NS, in nvme_identify_ns_nvm()3155 c.identify.cns = NVME_ID_CNS_CS_CTRL; in nvme_init_non_mdts_limits()4142 .identify.cns = NVME_ID_CNS_NS_ACTIVE_LIST, in nvme_scan_ns_list()
45 switch (c->identify.cns) { in nvme_cmd_allowed()
1346 __u8 cns; member