Searched refs:lo_number (Results 1 – 8 of 8) sorted by relevance
/linux-2.4.37.9/include/linux/ |
D | loop.h | 28 int lo_number; member 98 int lo_number; /* ioctl r/o */ member
|
/linux-2.4.37.9/drivers/block/ |
D | loop.c | 169 loop_sizes[lo->lo_number] = compute_loop_size(lo, in figure_loop_size() 572 sprintf(current->comm, "loop%d", lo->lo_number); in loop_thread() 709 loop_sizes[lo->lo_number] = 0; in loop_set_fd() 782 loop_sizes[lo->lo_number] = 0; in loop_clr_fd() 844 info.lo_number = lo->lo_number; in loop_get_status() 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() 1052 lo->lo_number = i; in loop_init()
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | ioctl32.c | 383 int lo_number; /* ioctl r/o */ member 405 err = get_user(l.lo_number, &((struct loop_info32 *)arg)->lo_number); in loop_status() 424 err = put_user(l.lo_number, &((struct loop_info32 *)arg)->lo_number); in loop_status()
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | ioctl32.c | 1105 int lo_number; /* ioctl r/o */ member 1127 err = get_user(l.lo_number, &((struct loop_info32 *)arg)->lo_number); in loop_status() 1146 err = put_user(l.lo_number, &((struct loop_info32 *)arg)->lo_number); in loop_status()
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | ioctl32.c | 1353 int lo_number; /* ioctl r/o */ member 1375 err = get_user(l.lo_number, &((struct loop_info32 *)arg)->lo_number); in loop_status() 1394 err = put_user(l.lo_number, &((struct loop_info32 *)arg)->lo_number); in loop_status()
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | ia32_ioctl.c | 1881 int lo_number; /* ioctl r/o */ member 1903 err = get_user(l.lo_number, &((struct loop_info32 *)arg)->lo_number); in loop_status() 1923 err = put_user(l.lo_number, &((struct loop_info32 *)arg)->lo_number); in loop_status()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | ioctl32.c | 1746 int lo_number; /* ioctl r/o */ member 1768 err = get_user(l.lo_number, &((struct loop_info32 *)arg)->lo_number); in loop_status() 1787 err = put_user(l.lo_number, &((struct loop_info32 *)arg)->lo_number); in loop_status()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | ioctl32.c | 1973 int lo_number; /* ioctl r/o */ member 1995 err = get_user(l.lo_number, &((struct loop_info32 *)arg)->lo_number); in loop_status() 2014 err = put_user(l.lo_number, &((struct loop_info32 *)arg)->lo_number); in loop_status()
|