 INIT_LIST_HEAD(&q->queue_head); q->last_merge = NULL; q->end_sector = 0; q->boundary_rq = NULL; q->max_back_kb = 0; 
int elevator_init(request_queue_t *q, char *name){	struct elevator_type *e = NULL;	struct elevator_queue *eq;	int ret = 0;	elevator_setup_default();	if (!name)		name = chosen_elevator;	e = elevator_get(name);	if (!e)		return -EINVAL;	eq = kmalloc(sizeof(struct elevator_queue), GFP_KERNEL);	if (!eq) {		elevator_put(e->elevator_type);		return -ENOMEM;	}	ret = elevator_attach(q, e, eq);	if (ret) {		kfree(eq);		elevator_put(e->elevator_type);	}	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/cb98fc8bb9c141009e2bda99c0db39d387e142cf/elevator.c/buggy/drivers/block/elevator.c