Lines Matching refs:DEBUG

250 #define DEBUG(s) s  macro
259 #define DEBUG(s) macro
291 DEBUG(printk("free_cdesc: cdesc 0x%p, from_pool=%d\n", cdesc, cdesc->from_pool)); in free_cdesc()
353 DEBUG(printk("setup_descr_chain: entering\n")); in setup_descr_chain()
362 DEBUG(printk("setup_descr_chain: exit\n")); in setup_descr_chain()
380 DEBUG(printk("create_pad_descriptor: start.\n")); in create_pad_descriptor()
383 DEBUG(printk("create_pad_descriptor: setting up padding.\n")); in create_pad_descriptor()
444 DEBUG(printk("setup_key_dl_desc\n")); in setup_key_dl_desc()
502 DEBUG(printk("setup_cipher_iv_desc\n")); in setup_cipher_iv_desc()
572 DEBUG(printk("create_input_descriptors:\n" in create_input_descriptors()
653 DEBUG(printk("append_input_descriptors, tc=0x%p, unit_no=%d\n", tc, tc->unit_no)); in append_input_descriptors()
657DEBUG(printk("append_input_descriptors: pushing output, consumed %d produced %d bytes.\n", tc->con… in append_input_descriptors()
659 DEBUG(printk("append_input_descriptors: append pad descriptors to DMA out list.\n")); in append_input_descriptors()
661 DEBUG(printk("append descriptor 0x%p\n", tc->pad_descs)); in append_input_descriptors()
695 DEBUG(printk("append_input_descriptors: append output descriptors to DMA in list.\n")); in append_input_descriptors()
697 DEBUG(printk("append descriptor 0x%p\n", idescs)); in append_input_descriptors()
797 DEBUG(printk("cryptocop_setup_dma_list: start\n")); in cryptocop_setup_dma_list()
798 DEBUG(print_cryptocop_operation(operation)); in cryptocop_setup_dma_list()
813 DEBUG(memset((*int_op), 0xff, sizeof(struct cryptocop_int_operation))); in cryptocop_setup_dma_list()
815DEBUG(printk("cryptocop_setup_dma_list: *int_op=0x%p, alloc_ptr=0x%p\n", *int_op, (*int_op)->alloc… in cryptocop_setup_dma_list()
885 DEBUG(printk("cryptocop_setup_dma_list: cipher_ctx, set CBC mode==%d\n", cipher_ctx.cbcmode)); in cryptocop_setup_dma_list()
969 DEBUG(printk("cryptocop_setup_dma_list: setup cipher CBC IV descriptor.\n")); in cryptocop_setup_dma_list()
992 DEBUG(printk("cryptocop_setup_dma_list: parsing an operation descriptor\n")); in cryptocop_setup_dma_list()
997 DEBUG(printk("cryptocop_setup_dma_list: parsing an operation descriptor configuration.\n")); in cryptocop_setup_dma_list()
1067DEBUG(printk("cryptocop_setup_dma_list: tc->active=%d tc->unit_no=%d tc->current_src=%d tc->previo… in cryptocop_setup_dma_list()
1088 DEBUG(printk("cryptocop_setup_dma_list: parsing operation descriptor configuration complete.\n")); in cryptocop_setup_dma_list()
1115DEBUG(printk("cryptocop_setup_dma_list: desc->length=%d, desc_len=%d.\n", odsc->length, desc_len)); in cryptocop_setup_dma_list()
1122DEBUG(printk("cryptocop_setup_dma_list: csum_ctx producing: consumed=%d, produced=%d, blocklength=… in cryptocop_setup_dma_list()
1133DEBUG(printk("cryptocop_setup_dma_list: digest_ctx producing: consumed=%d, produced=%d, blocklengt… in cryptocop_setup_dma_list()
1143DEBUG(printk("cryptocop_setup_dma_list: cipher_ctx producing: consumed=%d, produced=%d, blocklengt… in cryptocop_setup_dma_list()
1161DEBUG(printk("set ciphsel=%d ciphconf=%d cbcmode=%d decrypt=%d\n", meta_out.ciphsel, meta_out.ciph… in cryptocop_setup_dma_list()
1172DEBUG(printk("set hashsel=%d hashconf=%d hashmode=%d\n", meta_out.hashsel, meta_out.hashconf, meta… in cryptocop_setup_dma_list()
1199DEBUG(printk("cryptocop_setup_dma_list: %d eop needed, %d active units\n", eop_needed_count, activ… in cryptocop_setup_dma_list()
1259 DEBUG(printk("cryptocop_setup_dma_list: done parsing operation descriptors\n")); in cryptocop_setup_dma_list()
1292 DEBUG(printk("cryptocop_setup_dma_list: int_op=0x%p, *int_op=0x%p\n", int_op, *int_op)); in cryptocop_setup_dma_list()
1295DEBUG(printk("cryptocop_setup_dma_list: out_cdesc_head=0x%p in_cdesc_head=0x%p\n", (*int_op)->cdes… in cryptocop_setup_dma_list()
1337 DEBUG(printk("cryptocop_setup_dma_list: done\n")); in cryptocop_setup_dma_list()
1369 DEBUG(printk("delete_internal_operation: iop=0x%p, alloc_ptr=0x%p\n", iop, ptr)); in delete_internal_operation()
1403DEBUG(printk("create_md5_pad: hashed_length=%lld bits == %lld bytes\n", bit_length, hashed_length)… in create_md5_pad()
1435DEBUG(printk("create_sha1_pad: hashed_length=%lld bits == %lld bytes\n", bit_length, hashed_length… in create_sha1_pad()
1591 DEBUG(printk("cryptocop_free_session: sid=%lld\n", sid)); in cryptocop_free_session()
1629DEBUG(printk("cryptocop_free_session: pj=0x%p, pj->oper=0x%p, pj->iop=0x%p\n", pj, pj->oper, pj->i… in cryptocop_free_session()
1638 DEBUG(printk("cryptocop_free_session: memset keys, tfrm id=%d\n", tc->init.tid)); in cryptocop_free_session()
1668 DEBUG(printk("get_transform_ctx, sess=0x%p, tid=%d\n", sess, tid)); in get_transform_ctx()
1671 DEBUG(printk("tc=0x%p, tc->next=0x%p\n", tc, tc->next)); in get_transform_ctx()
1674 DEBUG(printk("get_transform_ctx, returning tc=0x%p\n", tc)); in get_transform_ctx()
1841 DEBUG(printk("cryptocop_job_queue_insert(%d, 0x%p)\n", prio, operation)); in cryptocop_job_queue_insert()
1872 DEBUG(printk("cryptocop_do_tasklet: entering\n")); in cryptocop_do_tasklet()
1888DEBUG(printk("cryptocop_do_tasklet: callback 0x%p, data 0x%p\n", pj->oper->cb, pj->oper->cb_data)); in cryptocop_do_tasklet()
1897 DEBUG(printk("cryptocop_do_tasklet: exiting\n")); in cryptocop_do_tasklet()
1910 DEBUG(printk("cryptocop DMA done\n")); in dma_done_interrupt()
1924 DEBUG(printk("cryptocop irq handler, not starting a job\n")); in dma_done_interrupt()
1943 DEBUG(printk("cryptocop leave irq handler\n")); in dma_done_interrupt()
2065DEBUG(printk("cryptocop_job_queue_close: callback 0x%p, data 0x%p\n", pj->oper->cb, pj->oper->cb_d… in cryptocop_job_queue_close()
2100DEBUG(printk("cryptocop_job_queue_close: callback 0x%p, data 0x%p\n", pj->oper->cb, pj->oper->cb_d… in cryptocop_job_queue_close()
2116DEBUG(printk("cryptocop_job_queue_close: callback 0x%p, data 0x%p\n", pj->oper->cb, pj->oper->cb_d… in cryptocop_job_queue_close()
2135 DEBUG(printk("cryptocop_start_job: entering\n")); in cryptocop_start_job()
2140 DEBUG(printk("cryptocop_start_job: already running, exit\n")); in cryptocop_start_job()
2151 DEBUG(printk("cryptocop_start_job: no jobs to run\n")); in cryptocop_start_job()
2154 DEBUG(printk("starting job for prio %d\n", i)); in cryptocop_start_job()
2211 DEBUG(printk("cryptocop_setup_dma_list: bad 3DES mode\n")); in cryptocop_start_job()
2221 DEBUG(printk("cryptocop_setup_dma_list: bad checksum mode\n")); in cryptocop_start_job()
2225 DEBUG(printk("cryptocop_start_job: starting DMA, new cryptocop_running_job=0x%p\n" in cryptocop_start_job()
2240 DEBUG(printk("cryptocop_start_job: exiting\n")); in cryptocop_start_job()
2253 DEBUG(printk("cryptocop_job_setup: operation=0x%p\n", operation)); in cryptocop_job_setup()
2256DEBUG(printk("cryptocop_job_setup, cb=0x%p cb_data=0x%p\n", (*pj)->oper->cb, (*pj)->oper->cb_data… in cryptocop_job_setup()
2259 DEBUG(print_user_dma_lists(&operation->list_op)); in cryptocop_job_setup()
2272 DEBUG(memset((*pj)->iop, 0xff, sizeof(struct cryptocop_int_operation))); in cryptocop_job_setup()
2299 DEBUG(print_dma_descriptors((*pj)->iop)); in cryptocop_job_setup()
2301 DEBUG(printk("cryptocop_job_setup, DMA list setup successful\n")); in cryptocop_job_setup()
2344 DEBUG(printk("cryptocop_ioctl_close_session\n")); in cryptocop_ioctl_close_session()
2375 DEBUG(printk("ioctl_process_job_callback: op=0x%p, cb_data=0x%p\n", op, cb_data)); in ioctl_process_job_callback()
2394 DEBUG(printk("first_cfg_change_ix: ix=%d\n", ch_ix)); in first_cfg_change_ix()
2428 DEBUG(printk("next_cfg_change_ix prev ix=%d, next ix=%d\n", ix, ch_ix)); in next_cfg_change_ix()
2445DEBUG(printk("map_pages_to_iovec, map_length=%d, iovlen=%d, *iovix=%d, nopages=%d, *pageix=%d, *pa… in map_pages_to_iovec()
2448DEBUG(printk("map_pages_to_iovec, map_length=%d, iovlen=%d, *iovix=%d, nopages=%d, *pageix=%d, *pa… in map_pages_to_iovec()
2466DEBUG(printk("mapping %d bytes from page %d (or %d) to iovec %d\n", tmplen, *pageix, *pageix-1, *i… in map_pages_to_iovec()
2471 DEBUG(printk("map_page_to_iovec, exit, *iovix=%d\n", *iovix)); in map_pages_to_iovec()
2522 DEBUG(printk("cryptocop_ioctl_process\n")); in cryptocop_ioctl_process()
2532 DEBUG(print_strcop_crypto_op(&oper)); in cryptocop_ioctl_process()
2660 DEBUG(memset(digest_result, 0xff, digest_length)); in cryptocop_ioctl_process()
2697DEBUG(printk("cryptocop_ioctl_process: inlen=%d, cipher_outlen=%d\n", oper.inlen, oper.cipher_outl… in cryptocop_ioctl_process()
2701 DEBUG(printk("cryptocop_ioctl_process: noinpages=%d\n", noinpages)); in cryptocop_ioctl_process()
2711 DEBUG(printk("cryptocop_ioctl_process: nooutpages=%d\n", nooutpages)); in cryptocop_ioctl_process()
2868DEBUG(printk("cryptocop_ioctl_process: mapping %d byte digest output to iovec %d\n", digest_length… in cryptocop_ioctl_process()
2876 DEBUG(printk("cryptocop_ioctl_process: mapping 2 byte csum output to iovec %d\n", iovix)); in cryptocop_ioctl_process()
2889 DEBUG(printk("cryptocop_ioctl_process: setting cop->tfrm_op.outcount %d\n", iovix)); in cryptocop_ioctl_process()
2896 DEBUG(printk("cryptocop_ioctl_process: inserting job, cb_data=0x%p\n", cop->cb_data)); in cryptocop_ioctl_process()
2904 DEBUG(printk("cryptocop_ioctl_process: begin wait for result\n")); in cryptocop_ioctl_process()
2907 DEBUG(printk("cryptocop_ioctl_process: end wait for result\n")); in cryptocop_ioctl_process()
2915 DEBUG(printk("cryptocop_ioctl_process: operation_status = %d\n", cop->operation_status)); in cryptocop_ioctl_process()
2918 DEBUG(printk("cryptocop_ioctl_process: copy %d bytes digest to user\n", digest_length)); in cryptocop_ioctl_process()
2927 DEBUG(printk("cryptocop_ioctl_process: copy 2 bytes checksum to user\n")); in cryptocop_ioctl_process()
2937DEBUG(printk("cryptocop_ioctl_process: returning err = operation_status = %d\n", cop->operation_st… in cryptocop_ioctl_process()
2950DEBUG(if (spdl_err < 0)printk("cryptocop_ioctl_process: set_page_dirty_lock returned %d\n", spdl_e… in cryptocop_ioctl_process()
2966 DEBUG(print_lock_status()); in cryptocop_ioctl_process()
2991 DEBUG(printk("cryptocop_ioctl_create_session, sess_op:\n")); in cryptocop_ioctl_create_session()
2993 DEBUG(printk("\tcipher:%d\n" in cryptocop_ioctl_create_session()
3018 DEBUG(printk("setting cipher transform %d\n", ti_cipher.alg)); in cryptocop_ioctl_create_session()
3030 DEBUG(printk("cryptocop_ioctl_create_session: setting CBC mode %d\n", ti_cipher.cipher_mode)); in cryptocop_ioctl_create_session()
3051 DEBUG(printk("setting digest transform\n")); in cryptocop_ioctl_create_session()
3068 DEBUG(printk("setting csum transform\n")); in cryptocop_ioctl_create_session()
3090 DEBUG({ if (err) printk("create session, cryptocop_new_session %d\n", err);}); in cryptocop_ioctl_create_session()