Lines Matching defs:cmd_map
57 * The index of the context in cmd_map serves as the context ID for a
100 struct pvscsi_ctx *cmd_map;
161 end = &adapter->cmd_map[adapter->req_depth];
162 for (ctx = adapter->cmd_map; ctx < end; ctx++)
194 * non-zero integer. ctx always points to an entry in cmd_map array, hence
200 return ctx - adapter->cmd_map + 1;
206 return &adapter->cmd_map[context - 1];
892 struct pvscsi_ctx *ctx = &adapter->cmd_map[i];
1214 struct pvscsi_ctx *ctx = adapter->cmd_map;
1237 if (adapter->cmd_map) {
1239 kfree(adapter->cmd_map);
1280 ctx = adapter->cmd_map;
1490 adapter->cmd_map = kcalloc(adapter->req_depth,
1492 if (!adapter->cmd_map) {
1500 struct pvscsi_ctx *ctx = adapter->cmd_map + i;