Home
last modified time | relevance | path

Searched refs:ndmp_malloc (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_info.c143 new_link = ndmp_malloc(sizeof (tlm_chain_link_t)); in tlm_new_job_stats()
147 job_stats = ndmp_malloc(sizeof (tlm_job_stats_t)); in tlm_new_job_stats()
326 tlm_library_t *library = ndmp_malloc(sizeof (tlm_library_t)); in tlm_insert_new_library()
347 tlm_drive_t *drive = ndmp_malloc(sizeof (tlm_drive_t)); in tlm_insert_new_drive()
370 tlm_slot_t *slot = ndmp_malloc(sizeof (tlm_slot_t)); in tlm_insert_new_slot()
H A Dtlm_util.c69 if ((stk = ndmp_malloc(sizeof (cstack_t))) == NULL) in cstack_new()
124 if ((stk_node = ndmp_malloc(sizeof (cstack_t))) == NULL) in cstack_push()
521 new_dir_info = ndmp_malloc(sizeof (struct full_dir_info)); in dup_dir_info()
541 if (!(fdip = ndmp_malloc(sizeof (struct full_dir_info)))) in tlm_new_dir_info()
H A Dtlm_backup_reader.c215 if ((buf = ndmp_malloc(sizeof (char) * len)) == NULL) in output_humongus_header()
251 char *section_name = ndmp_malloc(TLM_MAX_PATH_NAME); in output_xattr_header()
357 char *section_name = ndmp_malloc(TLM_MAX_PATH_NAME); in output_file_header()
658 fullname = ndmp_malloc(TLM_MAX_PATH_NAME); in tlm_output_xattr()
676 attrname = ndmp_malloc(TLM_MAX_PATH_NAME); in tlm_output_xattr()
677 snapname = ndmp_malloc(TLM_MAX_PATH_NAME); in tlm_output_xattr()
774 buf = ndmp_malloc(section_size); in tlm_output_xattr()
874 fullname = ndmp_malloc(TLM_MAX_PATH_NAME); in tlm_output_file()
875 linkname = ndmp_malloc(TLM_MAX_PATH_NAME); in tlm_output_file()
876 snapname = ndmp_malloc(TLM_MAX_PATH_NAME); in tlm_output_file()
H A Dtlm_restore_writer.c157 sp = ndmp_malloc(sizeof (stack_ent_t)); in dtree_push()
164 sp->se_name = ndmp_malloc(len); in dtree_push()
308 longname = ndmp_malloc(TLM_MAX_PATH_NAME); in tar_getdir()
309 longlink = ndmp_malloc(TLM_MAX_PATH_NAME); in tar_getdir()
310 hugename = ndmp_malloc(TLM_MAX_PATH_NAME); in tar_getdir()
311 parentlnk = ndmp_malloc(TLM_MAX_PATH_NAME); in tar_getdir()
312 thname_buf = ndmp_malloc(TLM_MAX_PATH_NAME); in tar_getdir()
313 name = ndmp_malloc(TLM_MAX_PATH_NAME); in tar_getdir()
314 acls = ndmp_malloc(sizeof (tlm_acls_t)); in tar_getdir()
1011 dir = ndmp_malloc(TLM_MAX_PATH_NAME); in tar_getfile()
[all …]
H A Dtlm_buffers.c59 tlm_buffers_t *buffers = ndmp_malloc(sizeof (tlm_buffers_t)); in tlm_allocate_buffers()
67 ndmp_malloc(xfer_size); in tlm_allocate_buffers()
H A Dtlm_traverse.c186 tsp = ndmp_malloc(sizeof (traverse_state_t)); in new_tsp()
654 buf = ndmp_malloc(MAX_DENT_BUF_SIZE); in traverse_level_nondir()
820 darg.da_buf = ndmp_malloc(MAX_DENT_BUF_SIZE); in traverse_level()
1070 buf = ndmp_malloc(BUFSIZE); in filecopy()
H A Dtlm_bitmap.c413 cp = ndmp_malloc(sizeof (bmap_chunk_t)); in bm_chunk_new()
415 cp->c_bmp = ndmp_malloc(sizeof (uint_t) * BMAP_CHUNK_WORDS); in bm_chunk_new()
1022 cp = ndmp_malloc(sizeof (dbmap_chunk_t)); in dbm_chunk_new()
1024 cp->c_bmp = ndmp_malloc(sizeof (uint_t) * BMAP_CHUNK_WORDS); in dbm_chunk_new()
H A Dtlm_lib.c416 cmd = ndmp_malloc(sizeof (tlm_cmd_t)); in tlm_create_reader_writer_ipc()
466 p = ndmp_malloc(sizeof (lbr_fhlog_call_backs_t)); in lbrlog_callbacks_init()
976 ssd = ndmp_malloc(sizeof (scsi_sasd_drive_t)); in scsi_sasd_attach()
/titanic_41/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_config.c566 fsip_save = fsip = ndmp_malloc(sizeof (ndmp_fs_info_v3) * nmnt); in ndmpd_config_get_fs_info_v3()
585 fsip->fs_logical_device = ndmp_malloc(log_dev_len); in ndmpd_config_get_fs_info_v3()
586 fsip->fs_type = ndmp_malloc(MNTTYPE_LEN); in ndmpd_config_get_fs_info_v3()
624 save = envp = ndmp_malloc(sizeof (ndmp_pval) * V3_N_FS_ENVS); in ndmpd_config_get_fs_info_v3()
698 tip_save = tip = ndmp_malloc(sizeof (ndmp_device_info_v3) * max); in ndmpd_config_get_tape_info_v3()
699 dcp_save = dcp = ndmp_malloc(sizeof (ndmp_device_capability_v3) * max); in ndmpd_config_get_tape_info_v3()
700 envp_save = envp = ndmp_malloc(sizeof (ndmp_pval) * max * 3); in ndmpd_config_get_tape_info_v3()
801 sip_save = sip = ndmp_malloc(sizeof (ndmp_device_info_v3) * max); in ndmpd_config_get_scsi_info_v3()
802 dcp_save = dcp = ndmp_malloc(sizeof (ndmp_device_capability_v3) * max); in ndmpd_config_get_scsi_info_v3()
803 envp_save = envp = ndmp_malloc(sizeof (ndmp_pval) * max * 2); in ndmpd_config_get_scsi_info_v3()
H A Dndmpd_fhistory.c156 session->ns_fh.fh_path_entries = ndmp_malloc(N_PATH_ENTRIES * in ndmpd_api_file_history_path_v2()
163 ndmp_malloc(PATH_NAMEBUF_SIZE); in ndmpd_api_file_history_path_v2()
247 session->ns_fh.fh_dir_entries = ndmp_malloc(N_DIR_ENTRIES in ndmpd_api_file_history_dir_v2()
253 session->ns_fh.fh_dir_name_buf = ndmp_malloc(DIR_NAMEBUF_SIZE); in ndmpd_api_file_history_dir_v2()
341 session->ns_fh.fh_node_entries = ndmp_malloc(N_NODE_ENTRIES in ndmpd_api_file_history_node_v2()
433 session->ns_fh_v3.fh_files = ndmp_malloc(sizeof (ndmp_file_v3) * in ndmpd_api_file_history_file_v3()
441 ndmp_malloc(sizeof (ndmp_file_name_v3) * N_FILE_ENTRIES); in ndmpd_api_file_history_file_v3()
448 ndmp_malloc(sizeof (char) * PATH_NAMEBUF_SIZE); in ndmpd_api_file_history_file_v3()
455 ndmp_malloc(sizeof (ndmp_file_stat_v3) * N_FILE_ENTRIES); in ndmpd_api_file_history_file_v3()
564 ndmp_malloc(sizeof (ndmp_dir_v3) * N_DIR_ENTRIES); in ndmpd_api_file_history_dir_v3()
[all …]
H A Dndmpd_util.c193 new = ndmp_malloc(sizeof (ndmpd_file_handler_t)); in ndmpd_add_file_handler()
510 session->ns_data.dd_env = ndmp_malloc(sizeof (ndmp_pval) * envlen); in ndmpd_save_env()
597 session->ns_data.dd_nlist = ndmp_malloc(sizeof (ndmp_name)*nlistlen); in ndmpd_save_nlist_v2()
602 namebuf = ndmp_malloc(strlen(nlist[i].name) + 1); in ndmpd_save_nlist_v2()
606 destbuf = ndmp_malloc(strlen(nlist[i].dest) + 1); in ndmpd_save_nlist_v2()
714 ndmp_malloc(sizeof (mem_ndmp_name_v3_t) * nlistlen); in ndmpd_save_nlist_v3()
1035 session->ns_ndmp_lbr_params = ndmp_malloc(sizeof (ndmp_lbr_params_t)); in ndmp_lbr_init()
1209 ndmp_malloc(request->datain_len)) == 0) { in ndmp_execute_cdb()
1455 } else if ((olp = ndmp_malloc(sizeof (struct open_list))) == NULL) { in ndmp_open_list_add()
1893 dst->tcp_addr_v4 = ndmp_malloc(sizeof (ndmp_tcp_addr_v4) * in ndmp_copy_addr_v4()
[all …]
H A Dndmpd_comm.c139 connection = ndmp_malloc(sizeof (ndmp_connection_t)); in ndmp_create_connection()
309 if ((argp = ndmp_malloc(sizeof (ndmpd_worker_arg_t))) != NULL) { in ndmp_run()
1068 connection->conn_msginfo.mi_body = ndmp_malloc( in ndmp_recv_msg()
1089 connection->conn_msginfo.mi_body = ndmp_malloc( in ndmp_recv_msg()
1644 ndmp_malloc(size_t size) in ndmp_malloc() function
H A Dndmpd_prop.c151 curval = ndmp_malloc(len + 1); in ndmpd_config_update()
H A Dndmpd_tar.c184 nlp->nlp_restored = ndmp_malloc(sizeof (boolean_t) * nlp->nlp_nfiles); in restore_create_structs()
481 checkpointed_dir = ndmp_malloc(TLM_MAX_PATH_NAME); in get_dir_acl_info()
665 dname = ndmp_malloc(TLM_MAX_PATH_NAME); in backup_work()
893 np->nr_chkp_nm = ndmp_malloc(TLM_MAX_PATH_NAME); in malloc_paths()
894 np->nr_unchkp_nm = ndmp_malloc(TLM_MAX_PATH_NAME); in malloc_paths()
1499 if ((pathname = ndmp_malloc(TLM_MAX_PATH_NAME)) == NULL) { in correct_ents()
H A Dndmpd_data.c1036 ndmp_malloc(sizeof (ndmp_tcp_addr_v4)); in ndmpd_data_listen_v4()
1044 ndmp_malloc(sizeof (ndmp_tcp_addr_v4)); in ndmpd_data_listen_v4()
1385 params = nlp->nlp_params = ndmp_malloc(sizeof (ndmpd_module_params_t)); in ndmpd_tar_start_backup_v3()
1510 params = nlp->nlp_params = ndmp_malloc(sizeof (ndmpd_module_params_t)); in ndmpd_tar_start_recover_v3()
2087 params = nlp->nlp_params = ndmp_malloc(sizeof (ndmpd_module_params_t)); in ndmpd_tar_start_backup_v2()
2243 params = nlp->nlp_params = ndmp_malloc(sizeof (ndmpd_module_params_t)); in ndmpd_tar_start_recover_v2()
H A Dndmpd_tar3.c167 cpp = ndmp_malloc(sizeof (char *) * n); in split_env()
374 save = lpp = ndmp_malloc(sizeof (char *) * (n + 1)); in setupsels()
2266 bp.bp_tmp = ndmp_malloc(sizeof (char) * TLM_MAX_PATH_NAME); in backup_reader_v3()
2277 bp.bp_chkpnm = ndmp_malloc(sizeof (char) * TLM_MAX_PATH_NAME); in backup_reader_v3()
2649 buf = ndmp_malloc(TLM_MAX_PATH_NAME); in fix_nlist_v3()
3006 jname = ndmp_malloc(TLM_MAX_BACKUP_JOB_NAME); in ndmpd_dar_tar_init_v3()
3457 if (!(pbuf = ndmp_malloc(TLM_MAX_PATH_NAME))) in get_absolute_path()
H A Dndmpd_zfs.c342 buf = ndmp_malloc(bufsize); in ndmpd_zfs_header_write()
385 buf = ndmp_malloc(bufsize); in ndmpd_zfs_header_read()
685 buf = ndmp_malloc(bufsize); in ndmpd_zfs_backup_tape_write()
843 buf = ndmp_malloc(bufsize); in ndmpd_zfs_restore_tape_read()
H A Dndmpd_tape.c514 if ((buf = ndmp_malloc(request->count)) == 0) { in ndmpd_tape_read_v2()
883 if ((buf = ndmp_malloc(request->count)) == NULL) { in ndmpd_tape_read_v3()
H A Dndmpd_dtime.c529 ddwalk = ndmp_malloc(sizeof (*ddwalk)); in readdumptimes()
H A Dndmpd.h1053 extern void *ndmp_malloc(size_t size);
H A Dndmpd_connect.c687 if ((clp = ndmp_malloc(sizeof (struct conn_list))) == NULL) in ndmp_connect_list_add()
H A Dndmpd_mover.c1246 ndmp_malloc(sizeof (ndmp_tcp_addr_v4)); in ndmpd_mover_listen_v4()
1840 session->ns_mover.md_buf = ndmp_malloc(MAX_RECORD_SIZE); in ndmpd_mover_init()
2394 if ((addr = ndmp_malloc(length)) == NULL) in discard_data()
/titanic_41/usr/src/cmd/ndmpd/include/
H A Dtlm.h448 extern void *ndmp_malloc(size_t size);