Searched refs:this_len (Results 1 - 19 of 19) sorted by relevance

/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_wrap.c59 unsigned int this_len, i; local
65 this_len = min(LOCAL_BUF_LEN, buf->len - (i + shift));
66 read_bytes_from_xdr_buf(buf, i+shift, tmp, this_len);
67 write_bytes_to_xdr_buf(buf, i, tmp, this_len);
/linux-master/fs/btrfs/
H A Ddir-item.c389 u32 this_len; local
397 this_len = sizeof(*dir_item) +
406 cur += this_len;
408 this_len);
H A Dprops.c165 u32 total_len, cur, this_len; local
201 this_len = sizeof(*di) + name_len + data_len;
240 cur += this_len;
241 di = (struct btrfs_dir_item *)((char *) di + this_len);
H A Dxattr.c327 u32 this_len = sizeof(*di) + name_len + data_len; local
349 cur += this_len;
350 di = (struct btrfs_dir_item *)((char *)di + this_len);
H A Dtree-log.c2214 u32 this_len = sizeof(*di) + name_len + data_len; local
2252 cur += this_len;
2253 di = (struct btrfs_dir_item *)((char *)di + this_len);
5277 u32 this_len; local
5289 this_len = sizeof(*iref) + this_name_len;
5298 this_len = sizeof(*extref) + this_name_len;
5342 cur_offset += this_len;
/linux-master/net/sunrpc/
H A Dxdr.c1879 unsigned int this_len; local
1881 this_len = min_t(unsigned int, len, subbuf->head[0].iov_len);
1882 memcpy(obj, subbuf->head[0].iov_base, this_len);
1883 len -= this_len;
1884 obj += this_len;
1885 this_len = min_t(unsigned int, len, subbuf->page_len);
1886 _copy_from_pages(obj, subbuf->pages, subbuf->page_base, this_len);
1887 len -= this_len;
1888 obj += this_len;
1889 this_len
1911 unsigned int this_len; local
[all...]
/linux-master/drivers/crypto/
H A Dn2_core.c242 static inline bool n2_should_run_async(struct spu_queue *qp, int this_len)
244 if (this_len >= 64 ||
795 int this_len = nbytes; local
797 this_len -= (nbytes & (block_size - 1));
798 return this_len > (1 << 16) ? (1 << 16) : this_len;
879 int this_len; local
886 this_len = skcipher_descriptor_len(nbytes, walk->blocksize);
893 tot_len + this_len > (1 << 16)) {
910 chunk->arr[chunk->arr_len].src_len = this_len;
[all...]
/linux-master/kernel/
H A Dptrace.c613 int this_len, retval; local
615 this_len = (len > sizeof(buf)) ? sizeof(buf) : len;
616 retval = ptrace_access_vm(tsk, src, buf, this_len, FOLL_FORCE);
639 int this_len, retval; local
641 this_len = (len > sizeof(buf)) ? sizeof(buf) : len;
642 if (copy_from_user(buf, src, this_len))
644 retval = ptrace_access_vm(tsk, dst, buf, this_len,
/linux-master/drivers/scsi/arm/
H A Dacornscsi.c898 unsigned int this_len; local
901 this_len = (1 << 12) - offset;
903 this_len = len;
905 __acornscsi_in(host->base + (offset << 1), ptr, this_len);
907 offset += this_len;
908 ptr += this_len;
909 len -= this_len;
943 unsigned int this_len; local
946 this_len = (1 << 12) - offset;
948 this_len
[all...]
/linux-master/fs/fuse/
H A Dvirtio_fs.c1092 unsigned int this_len; local
1095 this_len = min(page_descs[i].length, total_len);
1096 total_len -= this_len;
1143 unsigned int this_len; local
1147 this_len = min(page_descs[i].length, total_len);
1148 sg_set_page(&sg[i], pages[i], this_len, page_descs[i].offset);
1149 total_len -= this_len;
/linux-master/arch/sparc/kernel/
H A Dldc.c2295 unsigned long this_len = cookies[i].cookie_size; local
2301 if (this_off > this_len)
2302 this_off = this_len;
2305 this_len -= this_off;
2306 if (!this_len)
2311 if (this_len > len)
2312 this_len = len;
2319 this_len, &actual_len);
2334 if (actual_len == this_len)
2337 this_len
[all...]
/linux-master/fs/overlayfs/
H A Dcopy_up.c285 size_t this_len = OVL_COPY_UP_CHUNK_SIZE; local
288 if (len < this_len)
289 this_len = len;
330 error = ovl_verify_area(old_pos, new_pos, this_len, len);
336 this_len, SPLICE_F_MOVE);
/linux-master/fs/proc/
H A Dbase.c861 size_t this_len = min_t(size_t, count, PAGE_SIZE); local
863 if (write && copy_from_user(page, buf, this_len)) {
868 this_len = access_remote_vm(mm, addr, page, this_len, flags);
869 if (!this_len) {
875 if (!write && copy_to_user(buf, page, this_len)) {
880 buf += this_len;
881 addr += this_len;
882 copied += this_len;
883 count -= this_len;
969 size_t this_len, max_len; local
[all...]
/linux-master/fs/
H A Dsplice.c720 size_t this_len = buf->len; local
723 if (!this_len)
725 this_len = min(this_len, left);
734 bvec_set_page(&array[n], buf->page, this_len,
736 left -= this_len;
/linux-master/drivers/net/phy/
H A Dsfp.c618 size_t this_len; local
631 this_len = len;
632 if (this_len > block_size)
633 this_len = block_size;
635 msgs[1].len = this_len;
644 msgs[1].buf += this_len;
645 dev_addr += this_len;
646 len -= this_len;
/linux-master/drivers/usb/mon/
H A Dmon_bin.c412 unsigned int this_len; local
434 this_len = min_t(unsigned int, sg->length, length);
436 this_len);
437 length -= this_len;
/linux-master/crypto/
H A Dtestmgr.c1004 unsigned int this_len; local
1008 this_len = remaining;
1010 this_len = prandom_u32_inclusive(rng, 1, remaining);
1011 div->proportion_of_total = this_len;
1061 this_len / 100, this_len % 100,
1064 div->offset, this_len == remaining ? "" : ", ");
1065 remaining -= this_len;
/linux-master/drivers/md/
H A Ddm-integrity.c1893 unsigned int this_len; local
1897 this_len = min(biv.bv_len, data_to_process);
1899 this_len, dio->op == REQ_OP_READ ? TAG_READ : TAG_WRITE);
1902 data_to_process -= this_len;
/linux-master/drivers/net/ethernet/sun/
H A Dniu.c6696 unsigned int this_len = len; local
6698 if (this_len > MAX_TX_DESC_LEN)
6699 this_len = MAX_TX_DESC_LEN;
6701 niu_set_txd(rp, prod, mapping, this_len, mrk, nfg);
6705 mapping += this_len;
6706 len -= this_len;

Completed in 296 milliseconds