Lines Matching refs:data_mode
131 enum data_mode { enum
144 unsigned char data_mode; /* DATA_MODE_* */ member
324 unsigned char data_mode; in adjust_total_allocated() local
333 data_mode = b->data_mode; in adjust_total_allocated()
340 *class_ptr[data_mode] += diff; in adjust_total_allocated()
404 unsigned char *data_mode) in alloc_buffer_data() argument
407 *data_mode = DATA_MODE_SLAB; in alloc_buffer_data()
413 *data_mode = DATA_MODE_GET_FREE_PAGES; in alloc_buffer_data()
418 *data_mode = DATA_MODE_VMALLOC; in alloc_buffer_data()
444 void *data, unsigned char data_mode) in free_buffer_data() argument
446 switch (data_mode) { in free_buffer_data()
462 data_mode); in free_buffer_data()
479 b->data = alloc_buffer_data(c, gfp_mask, &b->data_mode); in alloc_buffer()
498 free_buffer_data(c, b->data, b->data_mode); in free_buffer()
599 if (b->data_mode != DATA_MODE_VMALLOC) { in use_dmio()
703 if (b->data_mode != DATA_MODE_VMALLOC) in submit_io()