tag | line | file | source code |
left | 181 | drivers/block/rd.c | int left; |
left | 183 | drivers/block/rd.c | left = initrd_end-initrd_start-file->f_pos; |
left | 184 | drivers/block/rd.c | if (count > left) count = left; |
left | 174 | drivers/char/mem.c | int left; |
left | 176 | drivers/char/mem.c | for (left = count; left > 0; left--) { |
left | 602 | drivers/char/n_tty.c | int left = N_TTY_BUF_SIZE - tty->read_cnt - 1; |
left | 613 | drivers/char/n_tty.c | if (left > 0) |
left | 614 | drivers/char/n_tty.c | return left; |
left | 356 | drivers/isdn/icn/icn.c | int left; |
left | 365 | drivers/isdn/icn/icn.c | left = dev->spqueue[channel]->length; |
left | 368 | drivers/isdn/icn/icn.c | (left > ICN_FRAGSIZE) ? ((sbuf_f = 0xff), ICN_FRAGSIZE) : ((sbuf_f = 0), left)); |
left | 454 | drivers/isdn/icn/icn.c | int left; |
left | 464 | drivers/isdn/icn/icn.c | for (left = avail, i = msg_o; left > 0; i++, left--) { |
left | 858 | drivers/isdn/icn/icn.c | uint left = ICN_CODE_STAGE2; |
left | 880 | drivers/isdn/icn/icn.c | while (left) { |
left | 882 | drivers/isdn/icn/icn.c | cnt = MIN(256, left); |
left | 886 | drivers/isdn/icn/icn.c | left -= cnt; |
left | 587 | drivers/isdn/isdn_common.c | int left; |
left | 607 | drivers/isdn/isdn_common.c | left = MIN(len, avail); |
left | 610 | drivers/isdn/isdn_common.c | while (left) { |
left | 611 | drivers/isdn/isdn_common.c | if ((copy_l = dev->drv[di]->rpqueue[channel]->length) > left) { |
left | 612 | drivers/isdn/isdn_common.c | copy_l = left; |
left | 625 | drivers/isdn/isdn_common.c | left -= copy_l; |
left | 2086 | drivers/scsi/53c7,8xx.c | int left, found; |
left | 2105 | drivers/scsi/53c7,8xx.c | for (found = 0, left = host->can_queue, current = hostdata->schedule; |
left | 2106 | drivers/scsi/53c7,8xx.c | left > 0; --left, current += 2) |
left | 2125 | drivers/scsi/53c7,8xx.c | for (left = host->can_queue, |
left | 2128 | drivers/scsi/53c7,8xx.c | left >= 0 && ncr_search && |
left | 2132 | drivers/scsi/53c7,8xx.c | hostdata->dsa_next), ncr_search = *ncr_prev, --left); |
left | 2134 | drivers/scsi/53c7,8xx.c | if (left < 0) |
left | 2155 | drivers/scsi/53c7,8xx.c | for (left = host->can_queue, linux_search = hostdata->running_list, |
left | 2157 | drivers/scsi/53c7,8xx.c | left >= 0 && linux_search && linux_search != cmd; |
left | 2159 | drivers/scsi/53c7,8xx.c | linux_search = linux_search->next, --left); |
left | 2161 | drivers/scsi/53c7,8xx.c | if (left < 0) |
left | 3257 | drivers/scsi/53c7,8xx.c | int copy, left; |
left | 3262 | drivers/scsi/53c7,8xx.c | left = (hostdata->debug_buf + hostdata->debug_size - 1) - |
left | 3264 | drivers/scsi/53c7,8xx.c | copy = (buflen <= left) ? buflen : left; |
left | 5858 | drivers/scsi/53c7,8xx.c | int left; |
left | 5864 | drivers/scsi/53c7,8xx.c | for (left = host->can_queue, cmd = (Scsi_Cmnd *) hostdata->issue_queue; |
left | 5865 | drivers/scsi/53c7,8xx.c | left >= 0 && cmd; |
left | 5885 | drivers/scsi/53c7,8xx.c | if (left <= 0) { |
left | 5899 | drivers/scsi/53c7,8xx.c | for (left = host->can_queue, current = hostdata->schedule; |
left | 5900 | drivers/scsi/53c7,8xx.c | left > 0; current += 2, --left) |
left | 5910 | drivers/scsi/53c7,8xx.c | for (left = host->can_queue, |
left | 5912 | drivers/scsi/53c7,8xx.c | left >= 0 && dsa; |
left | 5929 | drivers/scsi/53c7,8xx.c | if (left < 0) |
left | 378 | drivers/sound/ad1848.c | int left = value & 0x000000ff; |
left | 385 | drivers/sound/ad1848.c | if (left > 100) |
left | 386 | drivers/sound/ad1848.c | left = 100; |
left | 391 | drivers/sound/ad1848.c | right = left; |
left | 393 | drivers/sound/ad1848.c | retvol = left | (left << 8); |
left | 396 | drivers/sound/ad1848.c | left = mix_cvt[left]; |
left | 400 | drivers/sound/ad1848.c | left = mix_cvt[left]; |
left | 420 | drivers/sound/ad1848.c | change_bits (&val, dev, LEFT_CHN, left); |
left | 1518 | drivers/sound/gus_wave.c | unsigned long blk_sz, blk_end, left, src_offs, target; |
left | 1638 | drivers/sound/gus_wave.c | left = patch.len; |
left | 1642 | drivers/sound/gus_wave.c | while (left) /* Not completely transferred yet */ |
left | 1646 | drivers/sound/gus_wave.c | if (blk_sz > left) |
left | 1647 | drivers/sound/gus_wave.c | blk_sz = left; |
left | 1761 | drivers/sound/gus_wave.c | left -= blk_sz; |
left | 114 | drivers/sound/ics2101.c | int left = vol & 0x00ff; |
left | 117 | drivers/sound/ics2101.c | if (left < 0) |
left | 118 | drivers/sound/ics2101.c | left = 0; |
left | 119 | drivers/sound/ics2101.c | if (left > 100) |
left | 120 | drivers/sound/ics2101.c | left = 100; |
left | 126 | drivers/sound/ics2101.c | write_mix (dev, CHN_LEFT, left); |
left | 129 | drivers/sound/ics2101.c | vol = left + (right << 8); |
left | 149 | drivers/sound/maui.c | unsigned long left, src_offs; |
left | 183 | drivers/sound/maui.c | left = header.len; |
left | 186 | drivers/sound/maui.c | for (i = 0; i < left; i++) |
left | 510 | drivers/sound/midi_synth.c | unsigned long left, src_offs, eox_seen = 0; |
left | 547 | drivers/sound/midi_synth.c | left = sysex.len; |
left | 552 | drivers/sound/midi_synth.c | for (i = 0; i < left && !current_got_fatal_signal (); i++) |
left | 95 | drivers/sound/opl3.c | enable_opl3_mode (int left, int right, int both) |
left | 97 | drivers/sound/pas2_mixer.c | int left = left_vol * div / 100; |
left | 105 | drivers/sound/pas2_mixer.c | left |= mixer; |
left | 114 | drivers/sound/pas2_mixer.c | mix_write (left, PARALLEL_MIXER); |
left | 120 | drivers/sound/pas2_mixer.c | mix_write (left, PARALLEL_MIXER); |
left | 140 | drivers/sound/pas2_mixer.c | int left, right, devmask, changed, i, mixer = 0; |
left | 144 | drivers/sound/pas2_mixer.c | left = level & 0x7f; |
left | 156 | drivers/sound/pas2_mixer.c | levels[whichDev] = mixer_output (right, left, 63, P_M_MV508_MASTER_A, 0); |
left | 164 | drivers/sound/pas2_mixer.c | levels[whichDev] = mixer_output (right, left, 12, P_M_MV508_BASS, 0); |
left | 167 | drivers/sound/pas2_mixer.c | levels[whichDev] = mixer_output (right, left, 12, P_M_MV508_TREBLE, 0); |
left | 171 | drivers/sound/pas2_mixer.c | levels[whichDev] = mixer_output (right, left, 31, P_M_MV508_MIXER | P_M_MV508_FM, mixer); |
left | 174 | drivers/sound/pas2_mixer.c | levels[whichDev] = mixer_output (right, left, 31, P_M_MV508_MIXER | P_M_MV508_PCM, mixer); |
left | 177 | drivers/sound/pas2_mixer.c | levels[whichDev] = mixer_output (right, left, 31, P_M_MV508_MIXER | P_M_MV508_SB, mixer); |
left | 180 | drivers/sound/pas2_mixer.c | levels[whichDev] = mixer_output (right, left, 31, P_M_MV508_MIXER | P_M_MV508_SPEAKER, mixer); |
left | 183 | drivers/sound/pas2_mixer.c | levels[whichDev] = mixer_output (right, left, 31, P_M_MV508_MIXER | P_M_MV508_LINE, mixer); |
left | 186 | drivers/sound/pas2_mixer.c | levels[whichDev] = mixer_output (right, left, 31, P_M_MV508_MIXER | P_M_MV508_CDROM, mixer); |
left | 189 | drivers/sound/pas2_mixer.c | levels[whichDev] = mixer_output (right, left, 31, P_M_MV508_MIXER | P_M_MV508_MIC, mixer); |
left | 192 | drivers/sound/pas2_mixer.c | levels[whichDev] = mixer_output (right, left, 31, P_M_MV508_MIXER | P_M_MV508_IMIXER, |
left | 196 | drivers/sound/pas2_mixer.c | levels[whichDev] = mixer_output (right, left, 15, P_M_MV508_MASTER_B, 0); |
left | 251 | drivers/sound/sb_mixer.c | int left = value & 0x000000ff; |
left | 255 | drivers/sound/sb_mixer.c | if (left > 100) |
left | 256 | drivers/sound/sb_mixer.c | left = 100; |
left | 269 | drivers/sound/sb_mixer.c | sb_setmixer (0x0b, 96 - (96 * left / 100)); /* 96=mute, 0=max */ |
left | 275 | drivers/sound/sb_mixer.c | levels[dev] = left | (right << 8); |
left | 292 | drivers/sound/sb_mixer.c | sb_setmixer (reg, (24 - (24 * left / 100)) | 0x20); /* 24=mute, 0=max */ |
left | 296 | drivers/sound/sb_mixer.c | levels[dev] = left | (right << 8); |
left | 297 | drivers/sound/sb_mixer.c | return left | (right << 8); |
left | 303 | drivers/sound/sb_mixer.c | int left = value & 0x000000ff; |
left | 312 | drivers/sound/sb_mixer.c | if (left > 100) |
left | 313 | drivers/sound/sb_mixer.c | left = 100; |
left | 331 | drivers/sound/sb_mixer.c | change_bits (&val, dev, LEFT_CHN, left); |
left | 333 | drivers/sound/sb_mixer.c | levels[dev] = left | (left << 8); |
left | 345 | drivers/sound/sb_mixer.c | return left | (left << 8); /* |
left | 358 | drivers/sound/sb_mixer.c | levels[dev] = left | (right << 8); |
left | 359 | drivers/sound/sb_mixer.c | return left | (right << 8); |
left | 197 | drivers/sound/sound_calls.h | void enable_opl3_mode(int left, int right, int both); |
left | 166 | fs/block_dev.c | unsigned int blocks, rblocks, left; |
left | 199 | fs/block_dev.c | left = 0; |
left | 202 | fs/block_dev.c | left = INT_MAX; |
left | 204 | fs/block_dev.c | left = size - offset; |
left | 205 | fs/block_dev.c | if (left > count) |
left | 206 | fs/block_dev.c | left = count; |
left | 207 | fs/block_dev.c | if (left <= 0) |
left | 213 | fs/block_dev.c | rblocks = blocks = (left + offset + blocksize - 1) >> blocksize_bits; |
left | 279 | fs/block_dev.c | left = 0; |
left | 283 | fs/block_dev.c | if (left < blocksize - offset) |
left | 284 | fs/block_dev.c | chars = left; |
left | 288 | fs/block_dev.c | left -= chars; |
left | 301 | fs/block_dev.c | } while (left > 0 && bhe != bhb && (!*bhe || !buffer_locked(*bhe))); |
left | 302 | fs/block_dev.c | } while (left > 0); |
left | 77 | fs/ext/file.c | int read,left,chars; |
left | 96 | fs/ext/file.c | left = 0; |
left | 98 | fs/ext/file.c | left = size - offset; |
left | 99 | fs/ext/file.c | if (left > count) |
left | 100 | fs/ext/file.c | left = count; |
left | 101 | fs/ext/file.c | if (left <= 0) |
left | 107 | fs/ext/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
left | 159 | fs/ext/file.c | left = 0; |
left | 163 | fs/ext/file.c | if (left < BLOCK_SIZE - offset) |
left | 164 | fs/ext/file.c | chars = left; |
left | 168 | fs/ext/file.c | left -= chars; |
left | 181 | fs/ext/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !buffer_locked(*bhe))); |
left | 182 | fs/ext/file.c | } while (left > 0); |
left | 275 | fs/fat/file.c | int sector,offset,size,left,written; |
left | 329 | fs/fat/file.c | written = left = SECTOR_SIZE-offset; |
left | 333 | fs/fat/file.c | left--; |
left | 336 | fs/fat/file.c | for (size = 0; size < count && left; size++) { |
left | 339 | fs/fat/file.c | left--; |
left | 341 | fs/fat/file.c | if (!left) carry = 1; |
left | 344 | fs/fat/file.c | left--; |
left | 347 | fs/fat/file.c | written -= left; |
left | 560 | fs/locks.c | struct file_lock *left = NULL; |
left | 642 | fs/locks.c | left = fl; |
left | 696 | fs/locks.c | if (left == right) { |
left | 701 | fs/locks.c | if ((left = locks_alloc_lock(right)) == NULL) { |
left | 706 | fs/locks.c | locks_insert_lock(before, left); |
left | 710 | fs/locks.c | if (left) |
left | 711 | fs/locks.c | left->fl_end = caller->fl_start - 1; |
left | 78 | fs/sysv/file.c | int read,left,chars; |
left | 98 | fs/sysv/file.c | left = 0; |
left | 100 | fs/sysv/file.c | left = size - offset; |
left | 101 | fs/sysv/file.c | if (left > count) |
left | 102 | fs/sysv/file.c | left = count; |
left | 103 | fs/sysv/file.c | if (left <= 0) |
left | 109 | fs/sysv/file.c | blocks = (left + offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
left | 161 | fs/sysv/file.c | left = 0; |
left | 165 | fs/sysv/file.c | if (left < sb->sv_block_size - offset) |
left | 166 | fs/sysv/file.c | chars = left; |
left | 170 | fs/sysv/file.c | left -= chars; |
left | 183 | fs/sysv/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !buffer_locked(*bhe))); |
left | 184 | fs/sysv/file.c | } while (left > 0); |
left | 75 | fs/xiafs/file.c | int read, left, chars; |
left | 91 | fs/xiafs/file.c | left = inode->i_size - offset; |
left | 92 | fs/xiafs/file.c | if (left > count) |
left | 93 | fs/xiafs/file.c | left = count; |
left | 94 | fs/xiafs/file.c | if (left <= 0) |
left | 100 | fs/xiafs/file.c | zones = (left+offset+XIAFS_ZSIZE(inode->i_sb)-1) >> XIAFS_ZSIZE_BITS(inode->i_sb); |
left | 151 | fs/xiafs/file.c | left = 0; |
left | 155 | fs/xiafs/file.c | if (left < XIAFS_ZSIZE(inode->i_sb) - offset) |
left | 156 | fs/xiafs/file.c | chars = left; |
left | 160 | fs/xiafs/file.c | left -= chars; |
left | 173 | fs/xiafs/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !buffer_locked(*bhe))); |
left | 174 | fs/xiafs/file.c | } while (left > 0); |
left | 39 | kernel/softirq.c | unsigned long mask, left; |
left | 44 | kernel/softirq.c | for (mask = 1, left = ~0 ; left & active ; bh++,mask += mask,left += left) { |
left | 539 | kernel/sysctl.c | int *i, vleft, first=1, len, left, neg, val; |
left | 551 | kernel/sysctl.c | left = *lenp; |
left | 553 | kernel/sysctl.c | for (; left && vleft--; i++, first=0) { |
left | 555 | kernel/sysctl.c | while (left && isspace(get_user((char *) buffer))) |
left | 556 | kernel/sysctl.c | left--, ((char *) buffer)++; |
left | 557 | kernel/sysctl.c | if (!left) |
left | 560 | kernel/sysctl.c | len = left; |
left | 566 | kernel/sysctl.c | if (*p == '-' && left > 1) { |
left | 568 | kernel/sysctl.c | left--, p++; |
left | 574 | kernel/sysctl.c | if ((len < left) && *p && !isspace(*p)) |
left | 579 | kernel/sysctl.c | left -= len; |
left | 587 | kernel/sysctl.c | if (len > left) |
left | 588 | kernel/sysctl.c | len = left; |
left | 590 | kernel/sysctl.c | left -= len; |
left | 595 | kernel/sysctl.c | if (!write && !first && left) { |
left | 597 | kernel/sysctl.c | left--, buffer++; |
left | 601 | kernel/sysctl.c | while (left && isspace(get_user(p++))) |
left | 602 | kernel/sysctl.c | left--; |
left | 606 | kernel/sysctl.c | *lenp -= left; |
left | 614 | kernel/sysctl.c | int *i, *min, *max, vleft, first=1, len, left, neg, val; |
left | 628 | kernel/sysctl.c | left = *lenp; |
left | 630 | kernel/sysctl.c | for (; left && vleft--; i++, first=0) { |
left | 632 | kernel/sysctl.c | while (left && isspace(get_user((char *) buffer))) |
left | 633 | kernel/sysctl.c | left--, ((char *) buffer)++; |
left | 634 | kernel/sysctl.c | if (!left) |
left | 637 | kernel/sysctl.c | len = left; |
left | 643 | kernel/sysctl.c | if (*p == '-' && left > 1) { |
left | 645 | kernel/sysctl.c | left--, p++; |
left | 651 | kernel/sysctl.c | if ((len < left) && *p && !isspace(*p)) |
left | 656 | kernel/sysctl.c | left -= len; |
left | 669 | kernel/sysctl.c | if (len > left) |
left | 670 | kernel/sysctl.c | len = left; |
left | 672 | kernel/sysctl.c | left -= len; |
left | 677 | kernel/sysctl.c | if (!write && !first && left) { |
left | 679 | kernel/sysctl.c | left--, buffer++; |
left | 683 | kernel/sysctl.c | while (left && isspace(get_user(p++))) |
left | 684 | kernel/sysctl.c | left--; |
left | 688 | kernel/sysctl.c | *lenp -= left; |
left | 71 | mm/mlock.c | struct vm_area_struct * left, * right; |
left | 73 | mm/mlock.c | left = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
left | 74 | mm/mlock.c | if (!left) |
left | 78 | mm/mlock.c | kfree(left); |
left | 81 | mm/mlock.c | *left = *vma; |
left | 83 | mm/mlock.c | left->vm_end = start; |
left | 87 | mm/mlock.c | vma->vm_offset += vma->vm_start - left->vm_start; |
left | 88 | mm/mlock.c | right->vm_offset += right->vm_start - left->vm_start; |
left | 93 | mm/mlock.c | vma->vm_ops->open(left); |
left | 96 | mm/mlock.c | insert_vm_struct(current, left); |
left | 145 | mm/mprotect.c | struct vm_area_struct * left, * right; |
left | 147 | mm/mprotect.c | left = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
left | 148 | mm/mprotect.c | if (!left) |
left | 152 | mm/mprotect.c | kfree(left); |
left | 155 | mm/mprotect.c | *left = *vma; |
left | 157 | mm/mprotect.c | left->vm_end = start; |
left | 161 | mm/mprotect.c | vma->vm_offset += vma->vm_start - left->vm_start; |
left | 162 | mm/mprotect.c | right->vm_offset += right->vm_start - left->vm_start; |
left | 168 | mm/mprotect.c | vma->vm_ops->open(left); |
left | 171 | mm/mprotect.c | insert_vm_struct(current, left); |
left | 612 | net/ipv4/ip_fragment.c | int left, mtu, hlen, len; |
left | 632 | net/ipv4/ip_fragment.c | left = ntohs(iph->tot_len) - hlen; /* Space per frame */ |
left | 681 | net/ipv4/ip_fragment.c | while(left > 0) |
left | 683 | net/ipv4/ip_fragment.c | len = left; |
left | 689 | net/ipv4/ip_fragment.c | if (len < left) |
left | 737 | net/ipv4/ip_fragment.c | left -= len; |
left | 761 | net/ipv4/ip_fragment.c | if (left > 0 || (is_frag & 1)) |