Lines Matching refs:malloc
44 malloc(ADF_CFG_MAX_VAL_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_set_core_number_for_instance()
46 tokens = malloc(sizeof(char *) * ADF_CFG_MAX_TOKENS, in adf_cfg_set_core_number_for_instance()
52 malloc(ADF_CFG_MAX_TOKEN_LEN, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_set_core_number_for_instance()
55 core_num_arr = malloc(sizeof(unsigned long) * ADF_CFG_MAX_CORE_NUM, in adf_cfg_set_core_number_for_instance()
142 val = malloc(ADF_CFG_MAX_VAL_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_set_value()
169 key = malloc(ADF_CFG_MAX_KEY_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_add_cy_inst_info()
247 key = malloc(ADF_CFG_MAX_KEY_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_add_dc_inst_info()
286 key = malloc(ADF_CFG_MAX_KEY_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_add_asym_inst_info()
343 key = malloc(ADF_CFG_MAX_KEY_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_add_sym_inst_info()
458 key = malloc(ADF_CFG_MAX_KEY_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_create_rings_entries_for_cy_inst()
460 val = malloc(ADF_CFG_MAX_VAL_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_create_rings_entries_for_cy_inst()
485 crypto_inst = malloc(sizeof(*crypto_inst), M_QAT, M_WAITOK | M_ZERO); in adf_cfg_create_rings_entries_for_cy_inst()
590 key = malloc(ADF_CFG_MAX_KEY_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_create_rings_entries_for_dc_inst()
592 val = malloc(ADF_CFG_MAX_VAL_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_create_rings_entries_for_dc_inst()
617 dc_inst = malloc(sizeof(*dc_inst), M_QAT, M_WAITOK | M_ZERO); in adf_cfg_create_rings_entries_for_dc_inst()
699 key = malloc(ADF_CFG_MAX_KEY_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_process_user_section()
701 val = malloc(ADF_CFG_MAX_VAL_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_process_user_section()
704 malloc(ADF_CFG_MAX_STR_LEN, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_process_user_section()
831 key = malloc(ADF_CFG_MAX_KEY_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_cleanup_general_section()
833 val = malloc(ADF_CFG_MAX_VAL_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_cleanup_general_section()
938 key = malloc(ADF_CFG_MAX_KEY_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_create_accel_section()
940 val = malloc(ADF_CFG_MAX_VAL_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_create_accel_section()
1036 malloc(ADF_CFG_MAX_SECTION_LEN_IN_BYTES, M_QAT, M_WAITOK | M_ZERO); in adf_cfg_process_accel_section()