Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/infiniband/ulp/iser/
Diser_memory.c53 unsigned long cmd_data_len = data->data_len; in iser_start_rdma_unaligned_sg() local
55 if (cmd_data_len > ISER_KMALLOC_THRESHOLD) in iser_start_rdma_unaligned_sg()
57 ilog2(roundup_pow_of_two(cmd_data_len)) - PAGE_SHIFT); in iser_start_rdma_unaligned_sg()
59 mem = kmalloc(cmd_data_len, GFP_ATOMIC); in iser_start_rdma_unaligned_sg()
63 data->size,(int)cmd_data_len); in iser_start_rdma_unaligned_sg()
85 sg_init_one(&iser_task->data_copy[cmd_dir].sg_single, mem, cmd_data_len); in iser_start_rdma_unaligned_sg()
112 unsigned long cmd_data_len; in iser_finalize_rdma_unaligned_sg() local
145 cmd_data_len = iser_task->data[cmd_dir].data_len; in iser_finalize_rdma_unaligned_sg()
147 if (cmd_data_len > ISER_KMALLOC_THRESHOLD) in iser_finalize_rdma_unaligned_sg()
149 ilog2(roundup_pow_of_two(cmd_data_len)) - PAGE_SHIFT); in iser_finalize_rdma_unaligned_sg()