tag | line | file | source code |
lo | 398 | arch/m68k/amiga/config.c | unsigned short hi, lo, hi2; |
lo | 403 | arch/m68k/amiga/config.c | lo = ciab.talo; |
lo | 407 | arch/m68k/amiga/config.c | lo = ciab.talo; |
lo | 411 | arch/m68k/amiga/config.c | ticks = hi << 8 | lo; |
lo | 458 | drivers/block/ide-cd.c | int lo, hi; |
lo | 463 | drivers/block/ide-cd.c | lo = 0; |
lo | 467 | drivers/block/ide-cd.c | while (hi > lo) { |
lo | 468 | drivers/block/ide-cd.c | int mid = (lo + hi) / 2; |
lo | 476 | drivers/block/ide-cd.c | lo = mid+1; |
lo | 48 | drivers/block/loop.c | static int transfer_none(struct loop_device *lo, int cmd, char *raw_buf, |
lo | 58 | drivers/block/loop.c | static int transfer_xor(struct loop_device *lo, int cmd, char *raw_buf, |
lo | 71 | drivers/block/loop.c | key = lo->lo_encrypt_key; |
lo | 72 | drivers/block/loop.c | keysize = lo->lo_encrypt_key_size; |
lo | 79 | drivers/block/loop.c | static int transfer_des(struct loop_device *lo, int cmd, char *raw_buf, |
lo | 87 | drivers/block/loop.c | x0 = lo->lo_des_init[0]; |
lo | 88 | drivers/block/loop.c | x1 = lo->lo_des_init[1]; |
lo | 94 | drivers/block/loop.c | loop_buf,lo->lo_des_key,DES_ENCRYPT); |
lo | 102 | drivers/block/loop.c | raw_buf,lo->lo_des_key,DES_DECRYPT); |
lo | 131 | drivers/block/loop.c | static void figure_loop_size(struct loop_device *lo) |
lo | 135 | drivers/block/loop.c | if (S_ISREG(lo->lo_inode->i_mode)) |
lo | 136 | drivers/block/loop.c | size = (lo->lo_inode->i_size - lo->lo_offset) / 1024; |
lo | 138 | drivers/block/loop.c | if (blk_size[MAJOR(lo->lo_device)]) |
lo | 139 | drivers/block/loop.c | size = ((blk_size[MAJOR(lo->lo_device)] |
lo | 140 | drivers/block/loop.c | [MINOR(lo->lo_device)]) - |
lo | 141 | drivers/block/loop.c | (lo->lo_offset/1024)); |
lo | 145 | drivers/block/loop.c | loop_sizes[lo->lo_number] = size; |
lo | 152 | drivers/block/loop.c | struct loop_device *lo; |
lo | 159 | drivers/block/loop.c | lo = &loop_dev[MINOR(CURRENT->rq_dev)]; |
lo | 160 | drivers/block/loop.c | if (!lo->lo_inode || !lo->transfer) |
lo | 164 | drivers/block/loop.c | if (blksize_size[MAJOR(lo->lo_device)]) { |
lo | 165 | drivers/block/loop.c | blksize = blksize_size[MAJOR(lo->lo_device)][MINOR(lo->lo_device)]; |
lo | 179 | drivers/block/loop.c | block += lo->lo_offset / blksize; |
lo | 180 | drivers/block/loop.c | offset += lo->lo_offset % blksize; |
lo | 187 | drivers/block/loop.c | if (lo->lo_flags & LO_FLAGS_READ_ONLY) |
lo | 195 | drivers/block/loop.c | if (lo->lo_flags & LO_FLAGS_DO_BMAP) { |
lo | 196 | drivers/block/loop.c | real_block = bmap(lo->lo_inode, block); |
lo | 202 | drivers/block/loop.c | bh = getblk(lo->lo_device, real_block, blksize); |
lo | 205 | drivers/block/loop.c | kdevname(lo->lo_device), |
lo | 222 | drivers/block/loop.c | if ((lo->transfer)(lo, CURRENT->cmd, bh->b_data + offset, |
lo | 243 | drivers/block/loop.c | static int loop_set_fd(struct loop_device *lo, kdev_t dev, unsigned int arg) |
lo | 250 | drivers/block/loop.c | if (lo->lo_inode) |
lo | 261 | drivers/block/loop.c | lo->lo_device = inode->i_rdev; |
lo | 262 | drivers/block/loop.c | lo->lo_flags = 0; |
lo | 264 | drivers/block/loop.c | lo->lo_device = inode->i_dev; |
lo | 265 | drivers/block/loop.c | lo->lo_flags = LO_FLAGS_DO_BMAP; |
lo | 269 | drivers/block/loop.c | if (IS_RDONLY (inode) || is_read_only(lo->lo_device)) { |
lo | 270 | drivers/block/loop.c | lo->lo_flags |= LO_FLAGS_READ_ONLY; |
lo | 277 | drivers/block/loop.c | lo->lo_inode = inode; |
lo | 278 | drivers/block/loop.c | lo->lo_inode->i_count++; |
lo | 279 | drivers/block/loop.c | lo->transfer = NULL; |
lo | 280 | drivers/block/loop.c | figure_loop_size(lo); |
lo | 285 | drivers/block/loop.c | static int loop_clr_fd(struct loop_device *lo, kdev_t dev) |
lo | 287 | drivers/block/loop.c | if (!lo->lo_inode) |
lo | 289 | drivers/block/loop.c | if (lo->lo_refcnt > 1) /* we needed one fd for the ioctl */ |
lo | 291 | drivers/block/loop.c | if (S_ISBLK(lo->lo_inode->i_mode)) |
lo | 292 | drivers/block/loop.c | blkdev_release (lo->lo_inode); |
lo | 293 | drivers/block/loop.c | iput(lo->lo_inode); |
lo | 294 | drivers/block/loop.c | lo->lo_device = 0; |
lo | 295 | drivers/block/loop.c | lo->lo_inode = NULL; |
lo | 296 | drivers/block/loop.c | lo->lo_encrypt_type = 0; |
lo | 297 | drivers/block/loop.c | lo->lo_offset = 0; |
lo | 298 | drivers/block/loop.c | lo->lo_encrypt_key_size = 0; |
lo | 299 | drivers/block/loop.c | memset(lo->lo_encrypt_key, 0, LO_KEY_SIZE); |
lo | 300 | drivers/block/loop.c | memset(lo->lo_name, 0, LO_NAME_SIZE); |
lo | 301 | drivers/block/loop.c | loop_sizes[lo->lo_number] = 0; |
lo | 307 | drivers/block/loop.c | static int loop_set_status(struct loop_device *lo, struct loop_info *arg) |
lo | 311 | drivers/block/loop.c | if (!lo->lo_inode) |
lo | 329 | drivers/block/loop.c | des_set_key((des_cblock *) lo->lo_encrypt_key, |
lo | 330 | drivers/block/loop.c | lo->lo_des_key); |
lo | 331 | drivers/block/loop.c | memcpy(lo->lo_des_init,info.lo_init,8); |
lo | 337 | drivers/block/loop.c | lo->lo_offset = info.lo_offset; |
lo | 338 | drivers/block/loop.c | strncpy(lo->lo_name, info.lo_name, LO_NAME_SIZE); |
lo | 339 | drivers/block/loop.c | lo->lo_encrypt_type = info.lo_encrypt_type; |
lo | 340 | drivers/block/loop.c | lo->transfer = xfer_funcs[lo->lo_encrypt_type]; |
lo | 341 | drivers/block/loop.c | lo->lo_encrypt_key_size = info.lo_encrypt_key_size; |
lo | 343 | drivers/block/loop.c | memcpy(lo->lo_encrypt_key, info.lo_encrypt_key, |
lo | 345 | drivers/block/loop.c | figure_loop_size(lo); |
lo | 349 | drivers/block/loop.c | static int loop_get_status(struct loop_device *lo, struct loop_info *arg) |
lo | 353 | drivers/block/loop.c | if (!lo->lo_inode) |
lo | 358 | drivers/block/loop.c | info.lo_number = lo->lo_number; |
lo | 359 | drivers/block/loop.c | info.lo_device = kdev_t_to_nr(lo->lo_inode->i_dev); |
lo | 360 | drivers/block/loop.c | info.lo_inode = lo->lo_inode->i_ino; |
lo | 361 | drivers/block/loop.c | info.lo_rdevice = kdev_t_to_nr(lo->lo_device); |
lo | 362 | drivers/block/loop.c | info.lo_offset = lo->lo_offset; |
lo | 363 | drivers/block/loop.c | info.lo_flags = lo->lo_flags; |
lo | 364 | drivers/block/loop.c | strncpy(info.lo_name, lo->lo_name, LO_NAME_SIZE); |
lo | 365 | drivers/block/loop.c | info.lo_encrypt_type = lo->lo_encrypt_type; |
lo | 366 | drivers/block/loop.c | if (lo->lo_encrypt_key_size && suser()) { |
lo | 367 | drivers/block/loop.c | info.lo_encrypt_key_size = lo->lo_encrypt_key_size; |
lo | 368 | drivers/block/loop.c | memcpy(info.lo_encrypt_key, lo->lo_encrypt_key, |
lo | 369 | drivers/block/loop.c | lo->lo_encrypt_key_size); |
lo | 378 | drivers/block/loop.c | struct loop_device *lo; |
lo | 390 | drivers/block/loop.c | lo = &loop_dev[dev]; |
lo | 393 | drivers/block/loop.c | return loop_set_fd(lo, inode->i_rdev, arg); |
lo | 395 | drivers/block/loop.c | return loop_clr_fd(lo, inode->i_rdev); |
lo | 397 | drivers/block/loop.c | return loop_set_status(lo, (struct loop_info *) arg); |
lo | 399 | drivers/block/loop.c | return loop_get_status(lo, (struct loop_info *) arg); |
lo | 401 | drivers/block/loop.c | if (!lo->lo_inode) |
lo | 407 | drivers/block/loop.c | put_fs_long(loop_sizes[lo->lo_number] << 1, (long *) arg); |
lo | 417 | drivers/block/loop.c | struct loop_device *lo; |
lo | 429 | drivers/block/loop.c | lo = &loop_dev[dev]; |
lo | 430 | drivers/block/loop.c | lo->lo_refcnt++; |
lo | 437 | drivers/block/loop.c | struct loop_device *lo; |
lo | 450 | drivers/block/loop.c | lo = &loop_dev[dev]; |
lo | 451 | drivers/block/loop.c | if (lo->lo_refcnt <= 0) |
lo | 452 | drivers/block/loop.c | printk("lo_release: refcount(%d) <= 0\n", lo->lo_refcnt); |
lo | 454 | drivers/block/loop.c | lo->lo_refcnt--; |
lo | 262 | drivers/char/console.c | int comstat, hi, lo; |
lo | 276 | drivers/char/console.c | lo = serial_echo_inb(UART_DLL); |
lo | 537 | drivers/char/ftape/ftape-rw.c | int lo = (location.track - 1) * segments_per_track; |
lo | 540 | drivers/char/ftape/ftape-rw.c | return (id >= lo && id < hi); |
lo | 320 | drivers/net/de600.c | byte lo; |
lo | 323 | drivers/net/de600.c | lo = ((unsigned char)inb(STATUS_PORT)) >> 4; |
lo | 325 | drivers/net/de600.c | return ((unsigned char)inb(STATUS_PORT) & (unsigned char)0xf0) | lo; |
lo | 556 | drivers/scsi/advansys.c | #define MAKEWORD(lo, hi) ((WORD) (((WORD) lo) | ((WORD) hi << 8))) |
lo | 560 | drivers/scsi/advansys.c | #define MAKELONG(lo, hi) ((DWORD) (((DWORD) lo) | ((DWORD) hi << 16))) |
lo | 325 | drivers/sound/gus_wave.c | unsigned char hi, lo; |
lo | 332 | drivers/sound/gus_wave.c | lo = inb (u_DataLo); |
lo | 337 | drivers/sound/gus_wave.c | return ((hi << 8) & 0xff00) | lo; |
lo | 160 | include/asm-mips/gdb-stub.h | long lo; |
lo | 39 | include/asm-mips/ptrace.h | long lo; |
lo | 89 | include/asm-mips/stackframe.h | lw k1,%lo(kernelsp)(k1); \ |
lo | 39 | include/asm-sparc/asmmacro.h | jmpl %l4 + %lo(trap_setup), %l6; \ |
lo | 62 | include/asm-sparc/asmmacro.h | jmpl %l4 + %lo(trap_setup), %l6; \ |
lo | 44 | include/asm-sparc/head.h | or %l7, %lo(C_LABEL(sys_call_table)), %l7; \ |
lo | 53 | include/asm-sparc/head.h | or %l7, %lo(C_LABEL(sunos_sys_table)), %l7; |
lo | 58 | include/asm-sparc/head.h | or %l7, %lo(C_LABEL(sys_call_table)), %l7; \ |
lo | 65 | include/asm-sparc/head.h | or %l7, %lo(C_LABEL(sys_call_table)), %l7; \ |
lo | 45 | include/asm-sparc/openprom.h | void (*v2_dev_seek)(int d, int hi, int lo); |
lo | 120 | include/asm-sparc/winmacro.h | or %dest_reg, %lo(C_LABEL(current_set)), %dest_reg; \ |
lo | 126 | include/asm-sparc/winmacro.h | ld [%dest_reg + %lo(C_LABEL(current_set))], %dest_reg; |