Lines Matching refs:loop_sizes
83 static int *loop_sizes; variable
169 loop_sizes[lo->lo_number] = compute_loop_size(lo, in figure_loop_size()
709 loop_sizes[lo->lo_number] = 0; in loop_set_fd()
782 loop_sizes[lo->lo_number] = 0; in loop_clr_fd()
896 err = put_user((unsigned long)loop_sizes[lo->lo_number] << 1, (unsigned long *) arg); in lo_ioctl()
903 err = put_user((u64)loop_sizes[lo->lo_number] << 10, (u64*)arg); in lo_ioctl()
1036 loop_sizes = kmalloc(max_loop * sizeof(int), GFP_KERNEL); in loop_init()
1037 if (!loop_sizes) in loop_init()
1056 memset(loop_sizes, 0, max_loop * sizeof(int)); in loop_init()
1058 blk_size[MAJOR_NR] = loop_sizes; in loop_init()
1073 kfree(loop_sizes); in loop_init()
1088 kfree(loop_sizes); in loop_exit()