Home
last modified time | relevance | path

Searched defs:ns (Results 1 – 25 of 159) sorted by relevance

1234567

/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c162 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in resource_count_show() local
178 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lock_count_show() local
192 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lock_unused_count_show() local
202 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lru_size_show() local
214 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lru_size_store() local
300 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lru_max_age_show() local
309 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lru_max_age_store() local
328 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in early_lock_cancel_show() local
339 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in early_lock_cancel_store() local
369 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in ldlm_ns_release() local
[all …]
Dldlm_request.c293 static void failed_lock_cleanup(struct ldlm_namespace *ns, in failed_lock_cleanup()
351 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_cli_enqueue_fini() local
590 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_prep_elc_req() local
677 struct ldlm_namespace *ns; in ldlm_cli_enqueue() local
1038 struct ldlm_namespace *ns; in ldlm_cli_cancel() local
1136 ldlm_cancel_no_wait_policy(struct ldlm_namespace *ns, struct ldlm_lock *lock, in ldlm_cancel_no_wait_policy()
1171 static enum ldlm_policy_res ldlm_cancel_lrur_policy(struct ldlm_namespace *ns, in ldlm_cancel_lrur_policy()
1213 static enum ldlm_policy_res ldlm_cancel_passed_policy(struct ldlm_namespace *ns, in ldlm_cancel_passed_policy()
1234 static enum ldlm_policy_res ldlm_cancel_aged_policy(struct ldlm_namespace *ns, in ldlm_cancel_aged_policy()
1248 ldlm_cancel_lrur_no_wait_policy(struct ldlm_namespace *ns, in ldlm_cancel_lrur_no_wait_policy()
[all …]
Dldlm_lock.c215 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_remove_from_lru_nolock() local
239 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_remove_from_lru_check() local
255 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_add_to_lru_nolock() local
272 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_add_to_lru() local
285 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_touch_in_lru() local
460 int ldlm_lock_change_resource(struct ldlm_namespace *ns, struct ldlm_lock *lock, in ldlm_lock_change_resource()
778 struct ldlm_namespace *ns; in ldlm_lock_decref_internal() local
1215 enum ldlm_mode ldlm_lock_match(struct ldlm_namespace *ns, __u64 flags, in ldlm_lock_match()
1475 struct ldlm_lock *ldlm_lock_create(struct ldlm_namespace *ns, in ldlm_lock_create()
1544 enum ldlm_error ldlm_lock_enqueue(struct ldlm_namespace *ns, in ldlm_lock_enqueue()
[all …]
Dldlm_lockd.c115 void ldlm_handle_bl_callback(struct ldlm_namespace *ns, in ldlm_handle_bl_callback()
154 struct ldlm_namespace *ns, in ldlm_handle_cp_callback()
305 struct ldlm_namespace *ns, in ldlm_handle_gl_callback()
380 struct ldlm_namespace *ns, in init_blwi()
414 static int ldlm_bl_to_thread(struct ldlm_namespace *ns, in ldlm_bl_to_thread()
444 int ldlm_bl_to_thread_lock(struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, in ldlm_bl_to_thread_lock()
450 int ldlm_bl_to_thread_list(struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, in ldlm_bl_to_thread_list()
534 struct ldlm_namespace *ns; in ldlm_callback_handler() local
Dldlm_pool.c319 struct ldlm_namespace *ns; in ldlm_cli_pool_shrink() local
541 struct ldlm_namespace *ns = container_of(pl, struct ldlm_namespace, in ldlm_pool_sysfs_init() local
554 struct ldlm_namespace *ns = container_of(pl, struct ldlm_namespace, in ldlm_pool_debugfs_init() local
653 int ldlm_pool_init(struct ldlm_pool *pl, struct ldlm_namespace *ns, in ldlm_pool_init()
799 struct ldlm_namespace *ns; in ldlm_pools_count() local
853 struct ldlm_namespace *ns; in ldlm_pools_scan() local
913 struct ldlm_namespace *ns; in ldlm_pools_recalc() local
/drivers/nvme/host/
Dscsi.c514 static int nvme_trans_standard_inquiry_page(struct nvme_ns *ns, in nvme_trans_standard_inquiry_page()
558 static int nvme_trans_supported_vpd_pages(struct nvme_ns *ns, in nvme_trans_supported_vpd_pages()
578 static int nvme_trans_unit_serial_page(struct nvme_ns *ns, in nvme_trans_unit_serial_page()
593 static int nvme_fill_device_id_eui64(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_fill_device_id_eui64()
638 static int nvme_fill_device_id_scsi_string(struct nvme_ns *ns, in nvme_fill_device_id_scsi_string()
677 static int nvme_trans_device_id_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_device_id_page()
691 static int nvme_trans_ext_inq_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_ext_inq_page()
756 static int nvme_trans_bdev_limits_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_bdev_limits_page()
776 static int nvme_trans_bdev_char_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_bdev_char_page()
806 static int nvme_trans_log_supp_pages(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_log_supp_pages()
[all …]
Dcore.c157 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns() local
174 static void nvme_put_ns(struct nvme_ns *ns) in nvme_put_ns()
181 struct nvme_ns *ns; in nvme_get_ns_from_disk() local
237 static inline void nvme_setup_flush(struct nvme_ns *ns, in nvme_setup_flush()
245 static inline int nvme_setup_discard(struct nvme_ns *ns, struct request *req, in nvme_setup_discard()
282 static inline void nvme_setup_rw(struct nvme_ns *ns, struct request *req, in nvme_setup_rw()
324 int nvme_setup_cmd(struct nvme_ns *ns, struct request *req, in nvme_setup_cmd()
389 struct nvme_ns *ns = q->queuedata; in __nvme_submit_user_cmd() local
689 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) in nvme_submit_io()
739 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd()
[all …]
Dlightnvm.c310 struct nvme_ns *ns = nvmdev->q->queuedata; in nvme_nvm_identity() local
347 struct nvme_ns *ns = nvmdev->q->queuedata; in nvme_nvm_get_l2p_tbl() local
394 struct nvme_ns *ns = q->queuedata; in nvme_nvm_get_bb_tbl() local
448 struct nvme_ns *ns = nvmdev->q->queuedata; in nvme_nvm_set_bb_tbl() local
467 struct nvme_ns *ns, struct nvme_nvm_command *c) in nvme_nvm_rqtocmd()
498 struct nvme_ns *ns = q->queuedata; in nvme_nvm_submit_io() local
539 struct nvme_ns *ns = q->queuedata; in nvme_nvm_erase_block() local
552 struct nvme_ns *ns = nvmdev->q->queuedata; in nvme_nvm_create_dma_pool() local
595 int nvme_nvm_register(struct nvme_ns *ns, char *disk_name, int node, in nvme_nvm_register()
623 void nvme_nvm_unregister(struct nvme_ns *ns) in nvme_nvm_unregister()
[all …]
/drivers/mtd/nand/
Dnandsim.c203 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0) argument
206 #define NS_STATUS_OK(ns) (NAND_STATUS_READY | (NAND_STATUS_WP * ((ns)->lines.wp == 0))) argument
209 #define NS_STATUS_FAILED(ns) (NAND_STATUS_FAIL | NS_STATUS_OK(ns)) argument
212 #define NS_RAW_OFFSET(ns) \ argument
216 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz) argument
560 static void nandsim_debugfs_remove(struct nandsim *ns) in nandsim_debugfs_remove()
572 static int __init alloc_device(struct nandsim *ns) in alloc_device()
635 static void free_device(struct nandsim *ns) in free_device()
670 struct nandsim *ns = nand_get_controller_data(chip); in init_nandsim() local
807 static void free_nandsim(struct nandsim *ns) in free_nandsim()
[all …]
/drivers/clk/qcom/
Dclk-rcg.c26 static u32 ns_to_src(struct src_sel *s, u32 ns) in ns_to_src()
33 static u32 src_to_ns(struct src_sel *s, u8 src, u32 ns) in src_to_ns()
49 u32 ns; in clk_rcg_get_parent() local
76 u32 ns, reg; in clk_dyn_rcg_get_parent() local
105 u32 ns; in clk_rcg_set_parent() local
121 static u32 ns_to_pre_div(struct pre_div *p, u32 ns) in ns_to_pre_div()
128 static u32 pre_div_to_ns(struct pre_div *p, u8 pre_div, u32 ns) in pre_div_to_ns()
157 static u32 ns_m_to_n(struct mn *mn, u32 ns, u32 m) in ns_m_to_n()
171 static u32 mn_to_ns(struct mn *mn, u32 m, u32 n, u32 ns) in mn_to_ns()
208 u32 ns, md, reg; in configure_bank() local
[all …]
/drivers/block/drbd/
Ddrbd_state.c38 union drbd_state ns; member
480 union drbd_state os, union drbd_state ns) in cl_wide_st_chg()
495 union drbd_state ns; in apply_mask_val() local
505 union drbd_state ns; in drbd_change_state() local
532 union drbd_state os, ns; in _req_st_cond() local
580 union drbd_state os, ns; in drbd_req_state() local
683 static void print_st(struct drbd_device *device, const char *name, union drbd_state ns) in print_st()
702 union drbd_state ns, enum drbd_state_rv err) in print_st_err()
711 static long print_state_change(char *pb, union drbd_state os, union drbd_state ns, in print_state_change()
742 …tic void drbd_pr_state_change(struct drbd_device *device, union drbd_state os, union drbd_state ns, in drbd_pr_state_change()
[all …]
/drivers/scsi/bfa/
Dbfa_fcs_lport.c3712 bfa_fcs_lport_ns_sm_offline(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_offline()
3733 bfa_fcs_lport_ns_sm_plogi_sending(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi_sending()
3756 bfa_fcs_lport_ns_sm_plogi(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi()
3791 bfa_fcs_lport_ns_sm_plogi_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi_retry()
3817 bfa_fcs_lport_ns_sm_sending_rnn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rnn_id()
3839 bfa_fcs_lport_ns_sm_rnn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rnn_id()
3879 bfa_fcs_lport_ns_sm_rnn_id_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rnn_id_retry()
3902 bfa_fcs_lport_ns_sm_sending_rsnn_nn(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3925 bfa_fcs_lport_ns_sm_rsnn_nn(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rsnn_nn()
3964 bfa_fcs_lport_ns_sm_rsnn_nn_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
[all …]
/drivers/of/
Daddress.c18 #define OF_CHECK_COUNTS(na, ns) (OF_CHECK_ADDR_COUNT(na) && (ns) > 0) argument
65 int na, int ns, int pna) in of_bus_default_map()
143 static u64 of_bus_pci_map(__be32 *addr, const __be32 *range, int na, int ns, in of_bus_pci_map()
184 int onesize, i, na, ns; in of_get_pci_address() local
238 const int na = 3, ns = 2; in of_pci_range_parser_init() local
258 const int na = 3, ns = 2; in of_pci_range_parser_one() local
372 static u64 of_bus_isa_map(__be32 *addr, const __be32 *range, int na, int ns, in of_bus_isa_map()
484 int na, int ns, int pna, const char *rprop) in of_translate_one()
559 int na, ns, pna, pns; in __of_translate_address() local
648 int onesize, i, na, ns; in of_get_address() local
Dfdt_address.c26 #define OF_CHECK_COUNTS(na, ns) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \ argument
75 int na, int ns, int pna) in fdt_bus_default_map()
116 int na, int ns, int pna, const char *rprop) in fdt_translate_one()
173 int na, ns, pna, pns; in fdt_translate_address() local
/drivers/nvme/target/
Dcore.c225 struct nvmet_ns *ns; in __nvmet_find_namespace() local
237 struct nvmet_ns *ns; in nvmet_find_namespace() local
250 struct nvmet_ns *ns = container_of(ref, struct nvmet_ns, ref); in nvmet_destroy_namespace() local
255 void nvmet_put_namespace(struct nvmet_ns *ns) in nvmet_put_namespace()
260 int nvmet_ns_enable(struct nvmet_ns *ns) in nvmet_ns_enable()
323 void nvmet_ns_disable(struct nvmet_ns *ns) in nvmet_ns_disable()
359 void nvmet_ns_free(struct nvmet_ns *ns) in nvmet_ns_free()
369 struct nvmet_ns *ns; in nvmet_ns_alloc() local
Dadmin-cmd.c37 struct nvmet_ns *ns; in nvmet_get_smart_log_nsid() local
69 struct nvmet_ns *ns; in nvmet_get_smart_log_all() local
285 struct nvmet_ns *ns; in nvmet_execute_identify_ns() local
338 struct nvmet_ns *ns; in nvmet_execute_identify_nslist() local
/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c239 static struct fs_prio *find_prio(struct mlx5_flow_namespace *ns, in find_prio()
322 struct mlx5_flow_namespace *ns; in find_root() local
739 static struct mlx5_flow_table *__mlx5_create_flow_table(struct mlx5_flow_namespace *ns, in __mlx5_create_flow_table()
808 struct mlx5_flow_table *mlx5_create_flow_table(struct mlx5_flow_namespace *ns, in mlx5_create_flow_table()
816 struct mlx5_flow_table *mlx5_create_vport_flow_table(struct mlx5_flow_namespace *ns, in mlx5_create_vport_flow_table()
825 struct mlx5_flow_namespace *ns, in mlx5_create_lag_demux_flow_table()
833 struct mlx5_flow_table *mlx5_create_auto_grouped_flow_table(struct mlx5_flow_namespace *ns, in mlx5_create_auto_grouped_flow_table()
1405 struct mlx5_flow_namespace *ns; in mlx5_get_flow_namespace() local
1465 static struct fs_prio *fs_create_prio(struct mlx5_flow_namespace *ns, in fs_create_prio()
1484 static struct mlx5_flow_namespace *fs_init_namespace(struct mlx5_flow_namespace in fs_init_namespace()
[all …]
Den_clock.c145 u64 ns = timespec64_to_ns(ts); in mlx5e_ptp_settime() local
160 u64 ns; in mlx5e_ptp_gettime() local
236 u64 ns; in mlx5e_timestamp_init() local
/drivers/net/ethernet/ti/
Dcpts.c172 u64 ns; in cpts_ptp_gettime() local
188 u64 ns; in cpts_ptp_settime() local
288 u64 ns = 0; in cpts_find_ts() local
325 u64 ns; in cpts_rx_timestamp() local
340 u64 ns; in cpts_tx_timestamp() local
/drivers/ptp/
Dptp_ixp46x.c56 u64 ns; in ixp_systime_read() local
69 static void ixp_systime_write(struct ixp46x_ts_regs *regs, u64 ns) in ixp_systime_write()
180 u64 ns; in ptp_ixp_gettime() local
198 u64 ns; in ptp_ixp_settime() local
/drivers/gpu/drm/i915/
Ddvo_ns2501.c394 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_readb() local
439 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_writeb() local
475 struct ns2501_priv *ns; in ns2501_init() local
553 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); in ns2501_mode_set() local
657 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); in ns2501_dpms() local
693 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_destroy() local
/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c63 u64 ns; in i40e_ptp_read() local
86 u64 ns = timespec64_to_ns(ts); in i40e_ptp_write() local
309 u64 ns; in i40e_ptp_tx_hwtstamp() local
346 u64 ns; in i40e_ptp_rx_hwtstamp() local
/drivers/net/ethernet/freescale/
Dgianfar_ptp.c159 u64 ns; in tmr_cnt_read() local
170 static void tmr_cnt_write(struct etsects *etsects, u64 ns) in tmr_cnt_write()
182 u64 ns; in set_alarm() local
210 u64 ns; in isr() local
327 u64 ns; in ptp_gianfar_gettime() local
345 u64 ns; in ptp_gianfar_settime() local
Dfec_ptp.c116 u64 ns; in fec_ptp_enable_pps() local
396 u64 ns; in fec_ptp_gettime() local
422 u64 ns; in fec_ptp_settime() local
538 u64 ns; in fec_time_keep() local
/drivers/spi/
Dspi-bitbang.c66 unsigned ns, in bitbang_txrx_8()
92 unsigned ns, in bitbang_txrx_16()
118 unsigned ns, in bitbang_txrx_32()

1234567