Lines Matching refs:nlp

358 	ndmp_lbr_params_t *nlp;  in ndmpd_select()  local
408 nlp = ndmp_get_nlp(session); in ndmpd_select()
409 (void) mutex_lock(&nlp->nlp_mtx); in ndmpd_select()
431 (void) cond_broadcast(&nlp->nlp_cv); in ndmpd_select()
432 (void) mutex_unlock(&nlp->nlp_mtx); in ndmpd_select()
1095 ndmp_lbr_params_t *nlp; in ndmp_wait_for_mover() local
1098 if ((nlp = ndmp_get_nlp(session)) == NULL) in ndmp_wait_for_mover()
1101 (void) mutex_lock(&nlp->nlp_mtx); in ndmp_wait_for_mover()
1121 if ((lcmd = nlp->nlp_cmds.tcs_command) != NULL) { in ndmp_wait_for_mover()
1133 (void) cond_wait(&nlp->nlp_cv, &nlp->nlp_mtx); in ndmp_wait_for_mover()
1135 (void) mutex_unlock(&nlp->nlp_mtx); in ndmp_wait_for_mover()
1310 ndmp_lbr_params_t *nlp; in ndmp_stop_local_reader() local
1315 if ((nlp = ndmp_get_nlp(session)) != NULL) { in ndmp_stop_local_reader()
1316 (void) mutex_lock(&nlp->nlp_mtx); in ndmp_stop_local_reader()
1318 (void) cond_broadcast(&nlp->nlp_cv); in ndmp_stop_local_reader()
1319 (void) mutex_unlock(&nlp->nlp_mtx); in ndmp_stop_local_reader()
1573 ndmp_lbr_params_t *nlp; in ndmp_stop_buffer_worker() local
1577 if ((nlp = ndmp_get_nlp(session)) == NULL) { in ndmp_stop_buffer_worker()
1580 cmds = &nlp->nlp_cmds; in ndmp_stop_buffer_worker()
1612 ndmp_lbr_params_t *nlp; in ndmp_stop_reader_thread() local
1615 if ((nlp = ndmp_get_nlp(session)) == NULL) { in ndmp_stop_reader_thread()
1618 cmds = &nlp->nlp_cmds; in ndmp_stop_reader_thread()
1648 ndmp_lbr_params_t *nlp; in ndmp_stop_writer_thread() local
1651 if ((nlp = ndmp_get_nlp(session)) == NULL) { in ndmp_stop_writer_thread()
1654 cmds = &nlp->nlp_cmds; in ndmp_stop_writer_thread()
1658 (void) mutex_lock(&nlp->nlp_mtx); in ndmp_stop_writer_thread()
1661 (void) cond_broadcast(&nlp->nlp_cv); in ndmp_stop_writer_thread()
1662 (void) mutex_unlock(&nlp->nlp_mtx); in ndmp_stop_writer_thread()
1688 ndmp_lbr_params_t *nlp; in ndmp_free_reader_writer_ipc() local
1691 if ((nlp = ndmp_get_nlp(session)) != NULL) { in ndmp_free_reader_writer_ipc()
1692 cmds = &nlp->nlp_cmds; in ndmp_free_reader_writer_ipc()
2256 ndmp_get_bk_dir_ino(ndmp_lbr_params_t *nlp) in ndmp_get_bk_dir_ino() argument
2261 if (stat64(nlp->nlp_backup_path, &st) != 0) { in ndmp_get_bk_dir_ino()
2264 nlp->nlp_backup_path); in ndmp_get_bk_dir_ino()
2267 nlp->nlp_bkdirino = st.st_ino; in ndmp_get_bk_dir_ino()
2269 (uint_t)nlp->nlp_bkdirino); in ndmp_get_bk_dir_ino()
2326 ndmp_get_cur_bk_time(ndmp_lbr_params_t *nlp, time_t *tp, char *jname) in ndmp_get_cur_bk_time() argument
2330 if (!nlp || !nlp->nlp_backup_path || !tp) { in ndmp_get_cur_bk_time()
2335 if (!fs_is_chkpnt_enabled(nlp->nlp_backup_path)) { in ndmp_get_cur_bk_time()
2337 nlp->nlp_backup_path); in ndmp_get_cur_bk_time()
2342 err = tlm_get_chkpnt_time(nlp->nlp_backup_path, !NLP_ISCHKPNTED(nlp), in ndmp_get_cur_bk_time()