/linux-4.1.27/drivers/mtd/maps/ |
H A D | gpio-addr-flash.c | 109 int this_len; gf_copy_from() local 113 this_len = state->win_size - (from % state->win_size); gf_copy_from() 115 this_len = len; gf_copy_from() 119 this_len); gf_copy_from() 120 len -= this_len; gf_copy_from() 121 from += this_len; gf_copy_from() 122 to += this_len; gf_copy_from() 156 int this_len; gf_copy_to() local 160 this_len = state->win_size - (to % state->win_size); gf_copy_to() 162 this_len = len; gf_copy_to() 167 len -= this_len; gf_copy_to() 168 to += this_len; gf_copy_to() 169 from += this_len; gf_copy_to()
|
/linux-4.1.27/net/sunrpc/ |
H A D | xdr.c | 1110 unsigned int this_len; __read_bytes_from_xdr_buf() local 1112 this_len = min_t(unsigned int, len, subbuf->head[0].iov_len); __read_bytes_from_xdr_buf() 1113 memcpy(obj, subbuf->head[0].iov_base, this_len); __read_bytes_from_xdr_buf() 1114 len -= this_len; __read_bytes_from_xdr_buf() 1115 obj += this_len; __read_bytes_from_xdr_buf() 1116 this_len = min_t(unsigned int, len, subbuf->page_len); __read_bytes_from_xdr_buf() 1117 if (this_len) __read_bytes_from_xdr_buf() 1118 _copy_from_pages(obj, subbuf->pages, subbuf->page_base, this_len); __read_bytes_from_xdr_buf() 1119 len -= this_len; __read_bytes_from_xdr_buf() 1120 obj += this_len; __read_bytes_from_xdr_buf() 1121 this_len = min_t(unsigned int, len, subbuf->tail[0].iov_len); __read_bytes_from_xdr_buf() 1122 memcpy(obj, subbuf->tail[0].iov_base, this_len); __read_bytes_from_xdr_buf() 1141 unsigned int this_len; __write_bytes_to_xdr_buf() local 1143 this_len = min_t(unsigned int, len, subbuf->head[0].iov_len); __write_bytes_to_xdr_buf() 1144 memcpy(subbuf->head[0].iov_base, obj, this_len); __write_bytes_to_xdr_buf() 1145 len -= this_len; __write_bytes_to_xdr_buf() 1146 obj += this_len; __write_bytes_to_xdr_buf() 1147 this_len = min_t(unsigned int, len, subbuf->page_len); __write_bytes_to_xdr_buf() 1148 if (this_len) __write_bytes_to_xdr_buf() 1149 _copy_to_pages(subbuf->pages, subbuf->page_base, obj, this_len); __write_bytes_to_xdr_buf() 1150 len -= this_len; __write_bytes_to_xdr_buf() 1151 obj += this_len; __write_bytes_to_xdr_buf() 1152 this_len = min_t(unsigned int, len, subbuf->tail[0].iov_len); __write_bytes_to_xdr_buf() 1153 memcpy(subbuf->tail[0].iov_base, obj, this_len); __write_bytes_to_xdr_buf()
|
/linux-4.1.27/fs/btrfs/ |
H A D | props.c | 178 u32 total_len, cur, this_len; iterate_object_props() local 214 this_len = sizeof(*di) + name_len + data_len; iterate_object_props() 253 cur += this_len; iterate_object_props() 254 di = (struct btrfs_dir_item *)((char *) di + this_len); iterate_object_props()
|
H A D | dir-item.c | 390 u32 this_len; btrfs_match_dir_item_name() local 400 this_len = sizeof(*dir_item) + btrfs_match_dir_item_name() 409 cur += this_len; btrfs_match_dir_item_name() 411 this_len); btrfs_match_dir_item_name()
|
H A D | tree-log.c | 2006 u32 this_len = sizeof(*di) + name_len + data_len; replay_xattr_deletes() local 2044 cur += this_len; replay_xattr_deletes() 2045 di = (struct btrfs_dir_item *)((char *)di + this_len); replay_xattr_deletes() 4371 u32 this_len; btrfs_check_ref_name_override() local 4382 this_len = sizeof(*iref) + this_name_len; btrfs_check_ref_name_override() 4391 this_len = sizeof(*extref) + this_name_len; btrfs_check_ref_name_override() 4419 cur_offset += this_len; btrfs_check_ref_name_override()
|
/linux-4.1.27/fs/overlayfs/ |
H A D | copy_up.c | 107 size_t this_len = OVL_COPY_UP_CHUNK_SIZE; ovl_copy_up_data() local 110 if (len < this_len) ovl_copy_up_data() 111 this_len = len; ovl_copy_up_data() 120 this_len, SPLICE_F_MOVE); ovl_copy_up_data()
|
/linux-4.1.27/fs/ |
H A D | splice.c | 391 unsigned int this_len; __generic_file_splice_read() local 397 * this_len is the max we'll use from this page __generic_file_splice_read() 399 this_len = min_t(unsigned long, len, PAGE_CACHE_SIZE - loff); __generic_file_splice_read() 481 this_len = min(this_len, plen - loff); __generic_file_splice_read() 482 len = this_len; __generic_file_splice_read() 486 spd.partial[page_nr].len = this_len; __generic_file_splice_read() 487 len -= this_len; __generic_file_splice_read() 617 size_t this_len; default_file_splice_read() local 651 this_len = min_t(size_t, len, PAGE_CACHE_SIZE - offset); default_file_splice_read() 653 vec[i].iov_len = this_len; default_file_splice_read() 656 len -= this_len; default_file_splice_read() 672 this_len = min_t(size_t, vec[i].iov_len, res); default_file_splice_read() 674 spd.partial[i].len = this_len; default_file_splice_read() 675 if (!this_len) { default_file_splice_read() 680 res -= this_len; default_file_splice_read() 991 size_t this_len = buf->len; iter_file_splice_write() local 993 if (this_len > left) iter_file_splice_write() 994 this_len = left; iter_file_splice_write() 1007 array[n].bv_len = this_len; iter_file_splice_write() 1009 left -= this_len; iter_file_splice_write()
|
/linux-4.1.27/drivers/crypto/ |
H A D | n2_core.c | 233 static inline bool n2_should_run_async(struct spu_queue *qp, int this_len) 235 if (this_len >= 64 || 820 int this_len = nbytes; cipher_descriptor_len() local 822 this_len -= (nbytes & (block_size - 1)); cipher_descriptor_len() 823 return this_len > (1 << 16) ? (1 << 16) : this_len; cipher_descriptor_len() 904 int this_len; n2_compute_chunks() local 911 this_len = cipher_descriptor_len(nbytes, walk->blocksize); n2_compute_chunks() 918 tot_len + this_len > (1 << 16)) { n2_compute_chunks() 935 chunk->arr[chunk->arr_len].src_len = this_len; n2_compute_chunks() 938 dest_prev = dest_paddr + this_len; n2_compute_chunks() 940 tot_len += this_len; n2_compute_chunks() 942 err = ablkcipher_walk_done(req, walk, nbytes - this_len); n2_compute_chunks()
|
/linux-4.1.27/kernel/ |
H A D | relay.c | 1257 unsigned int this_len, this_end, private; subbuf_splice_actor() local 1263 this_len = min_t(unsigned long, len, PAGE_SIZE - poff); subbuf_splice_actor() 1264 private = this_len; subbuf_splice_actor() 1269 this_end = cur_pos + this_len; subbuf_splice_actor() 1271 this_len = nonpad_end - cur_pos; subbuf_splice_actor() 1272 private = this_len + padding; subbuf_splice_actor() 1274 spd.partial[spd.nr_pages].len = this_len; subbuf_splice_actor() 1277 len -= this_len; subbuf_splice_actor() 1278 total_len += this_len; subbuf_splice_actor()
|
H A D | ptrace.c | 531 int this_len, retval; ptrace_readdata() local 533 this_len = (len > sizeof(buf)) ? sizeof(buf) : len; ptrace_readdata() 534 retval = access_process_vm(tsk, src, buf, this_len, 0); ptrace_readdata() 556 int this_len, retval; ptrace_writedata() local 558 this_len = (len > sizeof(buf)) ? sizeof(buf) : len; ptrace_writedata() 559 if (copy_from_user(buf, src, this_len)) ptrace_writedata() 561 retval = access_process_vm(tsk, dst, buf, this_len, 1); ptrace_writedata()
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
H A D | gss_krb5_wrap.c | 405 unsigned int this_len, i; rotate_buf_a_little() local 411 this_len = min(LOCAL_BUF_LEN, buf->len - (i + shift)); rotate_buf_a_little() 412 read_bytes_from_xdr_buf(buf, i+shift, tmp, this_len); rotate_buf_a_little() 413 write_bytes_to_xdr_buf(buf, i, tmp, this_len); rotate_buf_a_little()
|
/linux-4.1.27/fs/ceph/ |
H A D | file.c | 355 u64 pos, this_len, left; striped_read() local 378 this_len = left; striped_read() 380 &ci->i_layout, pos, &this_len, striped_read() 386 hit_stripe = this_len < left; striped_read() 387 was_short = ret >= 0 && ret < this_len; striped_read() 394 int zlen = min(this_len - ret, striped_read()
|
/linux-4.1.27/fs/proc/ |
H A D | base.c | 673 int this_len = min_t(int, count, PAGE_SIZE); mem_rw() local 675 if (write && copy_from_user(page, buf, this_len)) { mem_rw() 680 this_len = access_remote_vm(mm, addr, page, this_len, write); mem_rw() 681 if (!this_len) { mem_rw() 687 if (!write && copy_to_user(buf, page, this_len)) { mem_rw() 692 buf += this_len; mem_rw() 693 addr += this_len; mem_rw() 694 copied += this_len; mem_rw() 695 count -= this_len; mem_rw() 773 size_t this_len, max_len; environ_read() local 779 this_len = mm->env_end - (mm->env_start + src); environ_read() 782 this_len = min(max_len, this_len); environ_read() 785 page, this_len, 0); environ_read()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | ldc.c | 2225 unsigned long this_len = cookies[i].cookie_size; ldc_copy() local 2231 if (this_off > this_len) ldc_copy() 2232 this_off = this_len; ldc_copy() 2235 this_len -= this_off; ldc_copy() 2236 if (!this_len) ldc_copy() 2241 if (this_len > len) ldc_copy() 2242 this_len = len; ldc_copy() 2249 this_len, &actual_len); ldc_copy() 2264 if (actual_len == this_len) ldc_copy() 2267 this_len -= actual_len; ldc_copy()
|
/linux-4.1.27/drivers/scsi/arm/ |
H A D | acornscsi.c | 917 unsigned int this_len; acornscsi_data_read() local 920 this_len = (1 << 12) - offset; acornscsi_data_read() 922 this_len = len; acornscsi_data_read() 924 __acornscsi_in(host->base + (offset << 1), ptr, this_len); acornscsi_data_read() 926 offset += this_len; acornscsi_data_read() 927 ptr += this_len; acornscsi_data_read() 928 len -= this_len; acornscsi_data_read() 962 unsigned int this_len; acornscsi_data_write() local 965 this_len = (1 << 12) - offset; acornscsi_data_write() 967 this_len = len; acornscsi_data_write() 969 __acornscsi_out(host->base + (offset << 1), ptr, this_len); acornscsi_data_write() 971 offset += this_len; acornscsi_data_write() 972 ptr += this_len; acornscsi_data_write() 973 len -= this_len; acornscsi_data_write()
|
/linux-4.1.27/drivers/usb/mon/ |
H A D | mon_bin.c | 406 unsigned int this_len; mon_bin_get_data() local 428 this_len = min_t(unsigned int, sg->length, length); mon_bin_get_data() 430 this_len); mon_bin_get_data() 431 length -= this_len; mon_bin_get_data()
|
/linux-4.1.27/mm/ |
H A D | shmem.c | 1683 unsigned int this_len; shmem_file_splice_read() local 1688 this_len = min_t(unsigned long, len, PAGE_CACHE_SIZE - loff); shmem_file_splice_read() 1713 this_len = min(this_len, plen - loff); shmem_file_splice_read() 1714 len = this_len; shmem_file_splice_read() 1718 spd.partial[page_nr].len = this_len; shmem_file_splice_read() 1719 len -= this_len; shmem_file_splice_read()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
H A D | niu.c | 6704 unsigned int this_len = len; niu_start_xmit() local 6706 if (this_len > MAX_TX_DESC_LEN) niu_start_xmit() 6707 this_len = MAX_TX_DESC_LEN; niu_start_xmit() 6709 niu_set_txd(rp, prod, mapping, this_len, mrk, nfg); niu_start_xmit() 6713 mapping += this_len; niu_start_xmit() 6714 len -= this_len; niu_start_xmit()
|
/linux-4.1.27/fs/exofs/ |
H A D | inode.c | 454 "this_len=0x%zx nr_pages=%u length=0x%lx\n", readpage_strip()
|