Searched refs:byte_count (Results 1 - 101 of 101) sorted by relevance

/linux-4.1.27/include/crypto/
H A Dmd5.h14 u64 byte_count; member in struct:md5_state
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dkv_smc.c120 const u8 *src, u32 byte_count, u32 limit) kv_copy_bytes_to_smc()
125 if ((smc_start_address + byte_count) > limit) kv_copy_bytes_to_smc()
148 } else if (byte_count > 0) { kv_copy_bytes_to_smc()
150 byte_count--; kv_copy_bytes_to_smc()
170 while (byte_count >= 4) { kv_copy_bytes_to_smc()
181 byte_count -= 4; kv_copy_bytes_to_smc()
186 if (byte_count > 0) { kv_copy_bytes_to_smc()
195 extra_shift = 8 * (4 - byte_count); kv_copy_bytes_to_smc()
197 while (byte_count > 0) { kv_copy_bytes_to_smc()
200 byte_count--; kv_copy_bytes_to_smc()
118 kv_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) kv_copy_bytes_to_smc() argument
H A Dci_smc.c49 const u8 *src, u32 byte_count, u32 limit) ci_copy_bytes_to_smc()
59 if ((smc_start_address + byte_count) > limit) ci_copy_bytes_to_smc()
65 while (byte_count >= 4) { ci_copy_bytes_to_smc()
76 byte_count -= 4; ci_copy_bytes_to_smc()
81 if (byte_count > 0) { ci_copy_bytes_to_smc()
90 extra_shift = 8 * (4 - byte_count); ci_copy_bytes_to_smc()
92 while (byte_count > 0) { ci_copy_bytes_to_smc()
94 byte_count--; ci_copy_bytes_to_smc()
47 ci_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) ci_copy_bytes_to_smc() argument
H A Dsi_smc.c49 const u8 *src, u32 byte_count, u32 limit) si_copy_bytes_to_smc()
57 if ((smc_start_address + byte_count) > limit) si_copy_bytes_to_smc()
63 while (byte_count >= 4) { si_copy_bytes_to_smc()
74 byte_count -= 4; si_copy_bytes_to_smc()
79 if (byte_count > 0) { si_copy_bytes_to_smc()
88 extra_shift = 8 * (4 - byte_count); si_copy_bytes_to_smc()
90 while (byte_count > 0) { si_copy_bytes_to_smc()
93 byte_count--; si_copy_bytes_to_smc()
47 si_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) si_copy_bytes_to_smc() argument
H A Drv770_smc.c297 u16 byte_count, u16 limit) rv770_copy_bytes_to_smc()
306 if ((smc_start_address + byte_count) > limit) rv770_copy_bytes_to_smc()
312 while (byte_count >= 4) { rv770_copy_bytes_to_smc()
323 byte_count -= 4; rv770_copy_bytes_to_smc()
328 if (byte_count > 0) { rv770_copy_bytes_to_smc()
337 extra_shift = 8 * (4 - byte_count); rv770_copy_bytes_to_smc()
339 while (byte_count > 0) { rv770_copy_bytes_to_smc()
342 byte_count--; rv770_copy_bytes_to_smc()
364 u32 byte_count) rv770_program_interrupt_vectors()
368 if (byte_count % 4) rv770_program_interrupt_vectors()
374 if (tmp > byte_count) rv770_program_interrupt_vectors()
377 byte_count -= tmp; rv770_program_interrupt_vectors()
382 for (i = 0; i < byte_count; i += 4) { rv770_program_interrupt_vectors()
295 rv770_copy_bytes_to_smc(struct radeon_device *rdev, u16 smc_start_address, const u8 *src, u16 byte_count, u16 limit) rv770_copy_bytes_to_smc() argument
362 rv770_program_interrupt_vectors(struct radeon_device *rdev, u32 smc_first_vector, const u8 *src, u32 byte_count) rv770_program_interrupt_vectors() argument
H A Dkv_dpm.h198 const u8 *src, u32 byte_count, u32 limit);
H A Drv770_smc.h192 u16 byte_count, u16 limit);
H A Dci_dpm.h326 const u8 *src, u32 byte_count, u32 limit);
H A Dsislands_smc.h407 const u8 *src, u32 byte_count, u32 limit);
/linux-4.1.27/crypto/
H A Dmd5.c58 mctx->byte_count = 0; md5_init()
66 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); md5_update()
68 mctx->byte_count += len; md5_update()
98 const unsigned int offset = mctx->byte_count & 0x3f; md5_final()
111 mctx->block[14] = mctx->byte_count << 3; md5_final()
112 mctx->block[15] = mctx->byte_count >> 29; md5_final()
H A Dmd4.c39 u64 byte_count; member in struct:md4_ctx
164 mctx->byte_count = 0; md4_init()
172 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); md4_update()
174 mctx->byte_count += len; md4_update()
204 const unsigned int offset = mctx->byte_count & 0x3f; md4_final()
217 mctx->block[14] = mctx->byte_count << 3; md4_final()
218 mctx->block[15] = mctx->byte_count >> 29; md4_final()
H A Dansi_cprng.c192 unsigned int byte_count = (unsigned int)nbytes; get_prng_bytes() local
210 byte_count = DEFAULT_BLK_SZ; get_prng_bytes()
220 byte_count, ctx); get_prng_bytes()
235 if (byte_count < DEFAULT_BLK_SZ) { get_prng_bytes()
240 byte_count--; get_prng_bytes()
242 if (byte_count == 0) get_prng_bytes()
250 for (; byte_count >= DEFAULT_BLK_SZ; byte_count -= DEFAULT_BLK_SZ) { get_prng_bytes()
268 if (byte_count) get_prng_bytes()
H A Drmd128.c26 u64 byte_count; member in struct:rmd128_ctx
224 rctx->byte_count = 0; rmd128_init()
240 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); rmd128_update()
242 rctx->byte_count += len; rmd128_update()
280 bits = cpu_to_le64(rctx->byte_count << 3); rmd128_final()
283 index = rctx->byte_count & 0x3f; rmd128_final()
H A Drmd256.c26 u64 byte_count; member in struct:rmd256_ctx
239 rctx->byte_count = 0; rmd256_init()
259 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); rmd256_update()
261 rctx->byte_count += len; rmd256_update()
299 bits = cpu_to_le64(rctx->byte_count << 3); rmd256_final()
302 index = rctx->byte_count & 0x3f; rmd256_final()
H A Drmd160.c26 u64 byte_count; member in struct:rmd160_ctx
267 rctx->byte_count = 0; rmd160_init()
284 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); rmd160_update()
286 rctx->byte_count += len; rmd160_update()
324 bits = cpu_to_le64(rctx->byte_count << 3); rmd160_final()
327 index = rctx->byte_count & 0x3f; rmd160_final()
H A Drmd320.c26 u64 byte_count; member in struct:rmd320_ctx
286 rctx->byte_count = 0; rmd320_init()
308 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); rmd320_update()
310 rctx->byte_count += len; rmd320_update()
348 bits = cpu_to_le64(rctx->byte_count << 3); rmd320_final()
351 index = rctx->byte_count & 0x3f; rmd320_final()
/linux-4.1.27/arch/powerpc/crypto/
H A Dmd5-glue.c44 sctx->byte_count = 0; ppc_md5_init()
53 const unsigned int offset = sctx->byte_count & 0x3f; ppc_md5_update()
57 sctx->byte_count += len; ppc_md5_update()
84 const unsigned int offset = sctx->byte_count & 0x3f; ppc_md5_final()
101 *pbits = cpu_to_le64(sctx->byte_count << 3); ppc_md5_final()
/linux-4.1.27/arch/sparc/crypto/
H A Dmd5_glue.c40 mctx->byte_count = 0; md5_sparc64_init()
50 sctx->byte_count += len; __md5_sparc64_update()
70 unsigned int partial = sctx->byte_count % MD5_HMAC_BLOCK_SIZE; md5_sparc64_update()
74 sctx->byte_count += len; md5_sparc64_update()
91 bits = cpu_to_le64(sctx->byte_count << 3); md5_sparc64_final()
94 index = sctx->byte_count % MD5_HMAC_BLOCK_SIZE; md5_sparc64_final()
99 sctx->byte_count += padlen; md5_sparc64_final()
/linux-4.1.27/arch/mips/cavium-octeon/crypto/
H A Docteon-md5.c76 mctx->byte_count = 0; octeon_md5_init()
85 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); octeon_md5_update()
89 mctx->byte_count += len; octeon_md5_update()
124 const unsigned int offset = mctx->byte_count & 0x3f; octeon_md5_final()
143 mctx->block[14] = cpu_to_le32(mctx->byte_count << 3); octeon_md5_final()
144 mctx->block[15] = cpu_to_le32(mctx->byte_count >> 29); octeon_md5_final()
/linux-4.1.27/init/
H A Dinitramfs.c200 static unsigned long byte_count __initdata;
207 byte_count -= n; eat()
217 if (byte_count >= size) { read_into()
240 if (byte_count < n) do_collect()
241 n = byte_count; do_collect()
283 if (this_header + byte_count < next_header) { do_skip()
284 eat(byte_count); do_skip()
295 while (byte_count && *victim == '\0') do_reset()
297 if (byte_count && (this_header & 3)) do_reset()
371 if (byte_count >= body_len) { do_copy()
381 if (xwrite(wfd, victim, byte_count) != byte_count) do_copy()
383 body_len -= byte_count; do_copy()
384 eat(byte_count); do_copy()
414 byte_count = len; write_buffer()
419 return len - byte_count; write_buffer()
/linux-4.1.27/arch/arm/mach-iop13xx/include/mach/
H A Dadma.h73 unsigned int byte_count:24; member in struct:iop13xx_adma_byte_count
93 u32 byte_count; member in union:iop13xx_adma_desc_hw::__anon211
111 u32 byte_count; member in struct:iop13xx_adma_desc_dual_xor
130 u32 byte_count; member in struct:iop13xx_adma_desc_pq_update
225 return hw_desc->byte_count_field.byte_count; iop_desc_get_byte_count()
362 u32 byte_count) iop_desc_set_byte_count()
365 hw_desc->byte_count = byte_count; iop_desc_set_byte_count()
376 hw_desc->byte_count = len; iop_desc_set_zero_sum_byte_count()
380 iter->byte_count = IOP_ADMA_ZERO_SUM_MAX_BYTE_COUNT; iop_desc_set_zero_sum_byte_count()
387 iter->byte_count = len; iop_desc_set_zero_sum_byte_count()
517 struct iop13xx_adma_byte_count byte_count = hw_desc->byte_count_field; iop_desc_get_zero_result() local
520 BUG_ON(!(byte_count.tx_complete && desc_ctrl.zero_result)); iop_desc_get_zero_result()
522 flags = byte_count.zero_result_err_q << SUM_CHECK_Q; iop_desc_get_zero_result()
523 flags |= byte_count.zero_result_err << SUM_CHECK_P; iop_desc_get_zero_result()
360 iop_desc_set_byte_count(struct iop_adma_desc_slot *desc, struct iop_adma_chan *chan, u32 byte_count) iop_desc_set_byte_count() argument
/linux-4.1.27/net/sunrpc/xprtrdma/
H A Dsvc_rdma_recvfrom.c60 u32 byte_count) rdma_build_arg_xdr()
75 min_t(size_t, byte_count, ctxt->sge[0].length); rdma_build_arg_xdr()
76 rqstp->rq_arg.len = byte_count; rdma_build_arg_xdr()
77 rqstp->rq_arg.buflen = byte_count; rdma_build_arg_xdr()
80 bc = byte_count - rqstp->rq_arg.head[0].iov_len; rdma_build_arg_xdr()
375 u32 position, u32 byte_count, u32 page_offset, int page_no) rdma_copy_tail()
382 byte_count = head->arg.head[0].iov_len - position; rdma_copy_tail()
383 if (byte_count > PAGE_SIZE) { rdma_copy_tail()
392 while (byte_count--) { rdma_copy_tail()
395 if (page_offset == PAGE_SIZE && byte_count) rdma_copy_tail()
405 while (byte_count--) rdma_copy_tail()
412 byte_count = head->arg.head[0].iov_len - position; rdma_copy_tail()
413 head->arg.page_len += byte_count; rdma_copy_tail()
414 head->arg.len += byte_count; rdma_copy_tail()
415 head->arg.buflen += byte_count; rdma_copy_tail()
426 u32 handle, page_offset, byte_count; rdma_read_chunks() local
470 byte_count = be32_to_cpu(ch->rc_target.rs_length); rdma_read_chunks()
474 while (byte_count > 0) { rdma_read_chunks()
478 handle, byte_count, rdma_read_chunks()
482 byte_count -= ret; rdma_read_chunks()
501 byte_count, page_offset, page_no); rdma_read_chunks()
58 rdma_build_arg_xdr(struct svc_rqst *rqstp, struct svc_rdma_op_ctxt *ctxt, u32 byte_count) rdma_build_arg_xdr() argument
374 rdma_copy_tail(struct svc_rqst *rqstp, struct svc_rdma_op_ctxt *head, u32 position, u32 byte_count, u32 page_offset, int page_no) rdma_copy_tail() argument
H A Dsvc_rdma_sendto.c372 * RPCRDMA header, and the 'byte_count' field indicates how much of
382 int byte_count) send_reply()
419 /* Map the payload indicated by 'byte_count' */ send_reply()
421 for (sge_no = 1; byte_count && sge_no < vec->count; sge_no++) { send_reply()
422 sge_bytes = min_t(size_t, vec->sge[sge_no].iov_len, byte_count); send_reply()
423 byte_count -= sge_bytes; send_reply()
435 if (byte_count != 0) { send_reply()
436 pr_err("svcrdma: Could not map %d bytes\n", byte_count); send_reply()
376 send_reply(struct svcxprt_rdma *rdma, struct svc_rqst *rqstp, struct page *page, struct rpcrdma_msg *rdma_resp, struct svc_rdma_op_ctxt *ctxt, struct svc_rdma_req_map *vec, int byte_count) send_reply() argument
/linux-4.1.27/fs/cifs/
H A Dcifssmb.c796 __u16 params, param_offset, offset, byte_count; CIFSPOSIXDelFile() local
837 byte_count = 3 /* pad */ + params + sizeof(struct unlink_psx_rq); CIFSPOSIXDelFile()
845 inc_rfc1001_len(pSMB, byte_count); CIFSPOSIXDelFile()
846 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSPOSIXDelFile()
1009 __u16 params, param_offset, offset, byte_count, count; CIFSPOSIXCreate() local
1054 byte_count = 3 /* pad */ + params + count; CIFSPOSIXCreate()
1062 inc_rfc1001_len(pSMB, byte_count); CIFSPOSIXCreate()
1063 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSPOSIXCreate()
1779 __u16 byte_count; CIFSSMBWrite() local
1852 byte_count = bytes_sent + 1; /* pad */ CIFSSMBWrite()
1854 byte_count = bytes_sent + 5; /* bigger pad, smaller smb hdr */ CIFSSMBWrite()
1858 inc_rfc1001_len(pSMB, byte_count); CIFSSMBWrite()
1861 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBWrite()
1866 pSMBW->ByteCount = cpu_to_le16(byte_count); CIFSSMBWrite()
2406 __u16 params, param_offset, offset, byte_count, count; CIFSSMBPosixLock() local
2435 byte_count = 3 /* pad */ + params + count; CIFSSMBPosixLock()
2460 inc_rfc1001_len(pSMB, byte_count); CIFSSMBPosixLock()
2461 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBPosixLock()
2661 __u16 params, param_offset, offset, count, byte_count; CIFSSMBRenameOpenFile() local
2685 byte_count = 3 /* pad */ + params; CIFSSMBRenameOpenFile()
2707 byte_count += count; CIFSSMBRenameOpenFile()
2714 inc_rfc1001_len(pSMB, byte_count); CIFSSMBRenameOpenFile()
2715 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBRenameOpenFile()
2811 __u16 params, param_offset, offset, byte_count; CIFSUnixCreateSymLink() local
2863 byte_count = 3 /* pad */ + params + name_len_target; CIFSUnixCreateSymLink()
2872 inc_rfc1001_len(pSMB, byte_count); CIFSUnixCreateSymLink()
2873 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSUnixCreateSymLink()
2901 __u16 params, param_offset, offset, byte_count; CIFSUnixCreateHardLink() local
2950 byte_count = 3 /* pad */ + params + name_len_target; CIFSUnixCreateHardLink()
2959 inc_rfc1001_len(pSMB, byte_count); CIFSUnixCreateHardLink()
2960 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSUnixCreateHardLink()
3060 __u16 params, byte_count; CIFSSMBUnixQuerySymLink() local
3100 byte_count = params + 1 /* pad */ ; CIFSSMBUnixQuerySymLink()
3105 inc_rfc1001_len(pSMB, byte_count); CIFSSMBUnixQuerySymLink()
3106 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBUnixQuerySymLink()
3485 __u16 params, byte_count; CIFSSMBGetPosixACL() local
3528 byte_count = params + 1 /* pad */ ; CIFSSMBGetPosixACL()
3533 inc_rfc1001_len(pSMB, byte_count); CIFSSMBGetPosixACL()
3534 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBGetPosixACL()
3575 __u16 params, byte_count, data_count, param_offset, offset; CIFSSMBSetPosixACL() local
3621 byte_count = 3 /* pad */ + params + data_count; CIFSSMBSetPosixACL()
3627 inc_rfc1001_len(pSMB, byte_count); CIFSSMBSetPosixACL()
3628 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBSetPosixACL()
3650 __u16 params, byte_count; CIFSGetExtAttr() local
3679 byte_count = params + 1 /* pad */ ; CIFSGetExtAttr()
3685 inc_rfc1001_len(pSMB, byte_count); CIFSGetExtAttr()
3686 pSMB->t2.ByteCount = cpu_to_le16(byte_count); CIFSGetExtAttr()
3910 __u16 byte_count, param_count, data_count, param_offset, data_offset; CIFSSMBSetCIFSACL() local
3928 byte_count = 3 /* pad */ + param_count; CIFSSMBSetCIFSACL()
3940 pSMB->ByteCount = cpu_to_le16(byte_count+data_count); CIFSSMBSetCIFSACL()
3949 inc_rfc1001_len(pSMB, byte_count + data_count); CIFSSMBSetCIFSACL()
3951 inc_rfc1001_len(pSMB, byte_count); CIFSSMBSetCIFSACL()
4048 __u16 params, byte_count; CIFSSMBQFileInfo() local
4073 byte_count = params + 1 /* pad */ ; CIFSSMBQFileInfo()
4079 inc_rfc1001_len(pSMB, byte_count); CIFSSMBQFileInfo()
4080 pSMB->t2.ByteCount = cpu_to_le16(byte_count); CIFSSMBQFileInfo()
4120 __u16 params, byte_count; CIFSSMBQPathInfo() local
4158 byte_count = params + 1 /* pad */ ; CIFSSMBQPathInfo()
4166 inc_rfc1001_len(pSMB, byte_count); CIFSSMBQPathInfo()
4167 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBQPathInfo()
4217 __u16 params, byte_count; CIFSSMBUnixQFileInfo() local
4242 byte_count = params + 1 /* pad */ ; CIFSSMBUnixQFileInfo()
4248 inc_rfc1001_len(pSMB, byte_count); CIFSSMBUnixQFileInfo()
4249 pSMB->t2.ByteCount = cpu_to_le16(byte_count); CIFSSMBUnixQFileInfo()
4289 __u16 params, byte_count; CIFSSMBUnixQPathInfo() local
4327 byte_count = params + 1 /* pad */ ; CIFSSMBUnixQPathInfo()
4332 inc_rfc1001_len(pSMB, byte_count); CIFSSMBUnixQPathInfo()
4333 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBUnixQPathInfo()
4374 __u16 params, byte_count; CIFSFindFirst() local
4430 byte_count = params + 1 /* pad */ ; CIFSFindFirst()
4450 inc_rfc1001_len(pSMB, byte_count); CIFSFindFirst()
4451 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSFindFirst()
4527 __u16 params, byte_count; CIFSFindNext() local
4540 byte_count = 0; CIFSFindNext()
4567 byte_count += name_len; CIFSFindNext()
4575 byte_count = params + 1 /* pad */ ; CIFSFindNext()
4578 inc_rfc1001_len(pSMB, byte_count); CIFSFindNext()
4579 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSFindNext()
4692 __u16 params, byte_count; CIFSGetSrvInodeNumber() local
4734 byte_count = params + 1 /* pad */ ; CIFSGetSrvInodeNumber()
4739 inc_rfc1001_len(pSMB, byte_count); CIFSGetSrvInodeNumber()
4740 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSGetSrvInodeNumber()
4899 __u16 params, byte_count; CIFSGetDFSRefer() local
4958 byte_count = params + 3 /* pad */ ; CIFSGetDFSRefer()
4962 inc_rfc1001_len(pSMB, byte_count); CIFSGetDFSRefer()
4963 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSGetDFSRefer()
5007 __u16 params, byte_count; SMBOldQFSInfo() local
5025 byte_count = params + 1 /* pad */ ; SMBOldQFSInfo()
5036 inc_rfc1001_len(pSMB, byte_count); SMBOldQFSInfo()
5037 pSMB->ByteCount = cpu_to_le16(byte_count); SMBOldQFSInfo()
5087 __u16 params, byte_count; CIFSSMBQFSInfo() local
5105 byte_count = params + 1 /* pad */ ; CIFSSMBQFSInfo()
5116 inc_rfc1001_len(pSMB, byte_count); CIFSSMBQFSInfo()
5117 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBQFSInfo()
5166 __u16 params, byte_count; CIFSSMBQFSAttributeInfo() local
5185 byte_count = params + 1 /* pad */ ; CIFSSMBQFSAttributeInfo()
5196 inc_rfc1001_len(pSMB, byte_count); CIFSSMBQFSAttributeInfo()
5197 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBQFSAttributeInfo()
5236 __u16 params, byte_count; CIFSSMBQFSDeviceInfo() local
5255 byte_count = params + 1 /* pad */ ; CIFSSMBQFSDeviceInfo()
5267 inc_rfc1001_len(pSMB, byte_count); CIFSSMBQFSDeviceInfo()
5268 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBQFSDeviceInfo()
5307 __u16 params, byte_count; CIFSSMBQFSUnixInfo() local
5328 byte_count = params + 1 /* pad */ ; CIFSSMBQFSUnixInfo()
5337 inc_rfc1001_len(pSMB, byte_count); CIFSSMBQFSUnixInfo()
5338 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBQFSUnixInfo()
5376 __u16 params, param_offset, offset, byte_count; CIFSSMBSetFSUnixInfo() local
5402 byte_count = 1 /* pad */ + params + 12; CIFSSMBSetFSUnixInfo()
5420 inc_rfc1001_len(pSMB, byte_count); CIFSSMBSetFSUnixInfo()
5421 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBSetFSUnixInfo()
5452 __u16 params, byte_count; CIFSSMBQFSPosixInfo() local
5473 byte_count = params + 1 /* pad */ ; CIFSSMBQFSPosixInfo()
5482 inc_rfc1001_len(pSMB, byte_count); CIFSSMBQFSPosixInfo()
5483 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBQFSPosixInfo()
5548 __u16 params, byte_count, data_count, param_offset, offset; CIFSSMBSetEOF() local
5604 byte_count = 3 /* pad */ + params + data_count; CIFSSMBSetEOF()
5610 inc_rfc1001_len(pSMB, byte_count); CIFSSMBSetEOF()
5612 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBSetEOF()
5633 __u16 params, param_offset, offset, byte_count, count; CIFSSMBSetFileSize() local
5661 byte_count = 3 /* pad */ + params + count; CIFSSMBSetFileSize()
5689 inc_rfc1001_len(pSMB, byte_count); CIFSSMBSetFileSize()
5690 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBSetFileSize()
5716 __u16 params, param_offset, offset, byte_count, count; CIFSSMBSetFileInfo() local
5746 byte_count = 3 /* pad */ + params + count; CIFSSMBSetFileInfo()
5759 inc_rfc1001_len(pSMB, byte_count); CIFSSMBSetFileInfo()
5760 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBSetFileInfo()
5780 __u16 params, param_offset, offset, byte_count, count; CIFSSMBSetFileDisposition() local
5809 byte_count = 3 /* pad */ + params + count; CIFSSMBSetFileDisposition()
5819 inc_rfc1001_len(pSMB, byte_count); CIFSSMBSetFileDisposition()
5820 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBSetFileDisposition()
5840 __u16 params, param_offset, offset, byte_count, count; CIFSSMBSetPathInfo() local
5881 byte_count = 3 /* pad */ + params + count; CIFSSMBSetPathInfo()
5892 inc_rfc1001_len(pSMB, byte_count); CIFSSMBSetPathInfo()
5894 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBSetPathInfo()
6015 u16 params, param_offset, offset, byte_count, count; CIFSSMBUnixSetFileInfo() local
6046 byte_count = 3 /* pad */ + params + count; CIFSSMBUnixSetFileInfo()
6056 inc_rfc1001_len(pSMB, byte_count); CIFSSMBUnixSetFileInfo()
6057 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBUnixSetFileInfo()
6084 __u16 params, param_offset, offset, count, byte_count; CIFSSMBUnixSetPathInfo() local
6127 byte_count = 3 /* pad */ + params + count; CIFSSMBUnixSetPathInfo()
6134 inc_rfc1001_len(pSMB, byte_count); CIFSSMBUnixSetPathInfo()
6138 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBUnixSetPathInfo()
6176 __u16 params, byte_count, data_offset; CIFSSMBQAllEAs() local
6215 byte_count = params + 1 /* pad */ ; CIFSSMBQAllEAs()
6220 inc_rfc1001_len(pSMB, byte_count); CIFSSMBQAllEAs()
6221 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBQAllEAs()
6358 __u16 params, param_offset, byte_count, offset, count; CIFSSMBSetEA() local
6412 byte_count = 3 /* pad */ + params + count; CIFSSMBSetEA()
6437 inc_rfc1001_len(pSMB, byte_count); CIFSSMBSetEA()
6438 pSMB->ByteCount = cpu_to_le16(byte_count); CIFSSMBSetEA()
H A Dsmb1ops.c293 unsigned int byte_count, total_in_tgt; coalesce_t2() local
343 byte_count = get_bcc(target_hdr); coalesce_t2()
344 byte_count += total_in_src; coalesce_t2()
346 if (byte_count > USHRT_MAX) { coalesce_t2()
347 cifs_dbg(FYI, "coalesced BCC too large (%u)\n", byte_count); coalesce_t2()
350 put_bcc(byte_count, target_hdr); coalesce_t2()
352 byte_count = be32_to_cpu(target_hdr->smb_buf_length); coalesce_t2()
353 byte_count += total_in_src; coalesce_t2()
355 if (byte_count > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { coalesce_t2()
357 byte_count); coalesce_t2()
360 target_hdr->smb_buf_length = cpu_to_be32(byte_count); coalesce_t2()
/linux-4.1.27/drivers/infiniband/hw/mthca/
H A Dmthca_wqe.h102 __be32 byte_count; member in struct:mthca_data_seg
119 dseg->byte_count = cpu_to_be32(sg->length); mthca_set_data_seg()
126 dseg->byte_count = 0; mthca_set_data_seg_inval()
H A Dmthca_qp.c1537 data->byte_count = cpu_to_be32(header_size); build_mlx_header()
1744 ((struct mthca_data_seg *) wqe)->byte_count = mthca_tavor_post_send()
2085 ((struct mthca_data_seg *) wqe)->byte_count = mthca_arbel_post_send()
/linux-4.1.27/arch/arm/include/asm/hardware/
H A Diop3xx-adma.h113 u32 byte_count; member in struct:iop3xx_desc_dma
125 u32 byte_count; member in struct:iop3xx_desc_aau
152 u32 byte_count; member in struct:iop3xx_desc_pq_xor
174 u32 byte_count; member in struct:iop3xx_desc_dual_xor
404 return hw_desc.dma->byte_count; iop_desc_get_byte_count()
406 return hw_desc.aau->byte_count; iop_desc_get_byte_count()
648 u32 byte_count) iop_desc_set_byte_count()
655 hw_desc.dma->byte_count = byte_count; iop_desc_set_byte_count()
658 hw_desc.aau->byte_count = byte_count; iop_desc_set_byte_count()
675 hw_desc.dma->byte_count = 0; iop_desc_init_interrupt()
681 hw_desc.aau->byte_count = 0; iop_desc_init_interrupt()
699 hw_desc->byte_count = len; iop_desc_set_zero_sum_byte_count()
703 iter->byte_count = IOP_ADMA_ZERO_SUM_MAX_BYTE_COUNT; iop_desc_set_zero_sum_byte_count()
709 iter->byte_count = len; iop_desc_set_zero_sum_byte_count()
646 iop_desc_set_byte_count(struct iop_adma_desc_slot *desc, struct iop_adma_chan *chan, u32 byte_count) iop_desc_set_byte_count() argument
/linux-4.1.27/drivers/crypto/qce/
H A Dsha.h41 * @byte_count: byte count
60 __be32 byte_count[2]; member in struct:qce_sha_reqctx
H A Dsha.c62 rctx->byte_count[0] = cpu_to_be32(result->auth_byte_count[0]); qce_ahash_done()
63 rctx->byte_count[1] = cpu_to_be32(result->auth_byte_count[1]); qce_ahash_done()
195 * is set. Therefore the byte_count must be incremened by 64 qce_import_common()
202 rctx->byte_count[0] = (__force __be32)(count & ~SHA_PADDING_MASK); qce_import_common()
203 rctx->byte_count[1] = (__force __be32)(count >> 32); qce_import_common()
H A Dcommon.c285 (u32 *)rctx->byte_count, 2); qce_setup_regs_ahash()
/linux-4.1.27/scripts/mod/
H A Dsumversion.c43 uint64_t byte_count; member in struct:md4_ctx
166 mctx->byte_count = 0; md4_init()
172 const uint32_t avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); md4_update()
174 mctx->byte_count += len; md4_update()
201 const unsigned int offset = mctx->byte_count & 0x3f; md4_final_ascii()
214 mctx->block[14] = mctx->byte_count << 3; md4_final_ascii()
215 mctx->block[15] = mctx->byte_count >> 29; md4_final_ascii()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_bufs.c612 int byte_count; drm_legacy_addbufs_agp() local
628 byte_count = 0; drm_legacy_addbufs_agp()
696 buf->offset = (dma->byte_count + offset); drm_legacy_addbufs_agp()
719 byte_count += PAGE_SIZE << page_order; drm_legacy_addbufs_agp()
722 DRM_DEBUG("byte_count: %d\n", byte_count); drm_legacy_addbufs_agp()
742 dma->page_count += byte_count >> PAGE_SHIFT; drm_legacy_addbufs_agp()
743 dma->byte_count += byte_count; drm_legacy_addbufs_agp()
776 int byte_count; drm_legacy_addbufs_pci() local
861 byte_count = 0; drm_legacy_addbufs_pci()
894 buf->offset = (dma->byte_count + byte_count + offset); drm_legacy_addbufs_pci()
919 byte_count += PAGE_SIZE << page_order; drm_legacy_addbufs_pci()
950 dma->byte_count += PAGE_SIZE * (entry->seg_count << page_order); drm_legacy_addbufs_pci()
980 int byte_count; drm_legacy_addbufs_sg() local
1002 byte_count = 0; drm_legacy_addbufs_sg()
1058 buf->offset = (dma->byte_count + offset); drm_legacy_addbufs_sg()
1082 byte_count += PAGE_SIZE << page_order; drm_legacy_addbufs_sg()
1085 DRM_DEBUG("byte_count: %d\n", byte_count); drm_legacy_addbufs_sg()
1105 dma->page_count += byte_count >> PAGE_SHIFT; drm_legacy_addbufs_sg()
1106 dma->byte_count += byte_count; drm_legacy_addbufs_sg()
1405 virtual = vm_mmap(file_priv->filp, 0, dma->byte_count, drm_legacy_mapbufs()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c316 be32_to_cpu(data->byte_count), mlx4_en_free_tx_desc()
343 be32_to_cpu(data->byte_count), mlx4_en_free_tx_desc()
645 inl->byte_count = cpu_to_be32(1 << 31 | skb->len); build_inline_wqe()
647 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); build_inline_wqe()
657 inl->byte_count = cpu_to_be32(1 << 31 | spc); build_inline_wqe()
679 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); build_inline_wqe()
799 u32 byte_count = 0; mlx4_en_xmit() local
806 byte_count = skb_frag_size(frag); mlx4_en_xmit()
808 0, byte_count, mlx4_en_xmit()
816 data->byte_count = cpu_to_be32(byte_count); mlx4_en_xmit()
822 byte_count = skb_headlen(skb) - lso_header_size; mlx4_en_xmit()
825 lso_header_size, byte_count, mlx4_en_xmit()
833 data->byte_count = cpu_to_be32(byte_count); mlx4_en_xmit()
837 tx_info->map0_byte_count = byte_count; mlx4_en_xmit()
1012 be32_to_cpu(data->byte_count), mlx4_en_xmit()
H A Den_rx.c220 rx_desc->data[i].byte_count = mlx4_en_init_rx_desc()
230 rx_desc->data[i].byte_count = 0; mlx4_en_init_rx_desc()
/linux-4.1.27/sound/pci/asihpi/
H A Dhpicmn.c200 unsigned int byte_count = 0; control_cache_alloc_check() local
208 &p_master_cache[byte_count]; control_cache_alloc_check()
242 byte_count += info->size_in32bit_words * 4; control_cache_alloc_check()
254 if (byte_count >= pC->cache_size_in_bytes) control_cache_alloc_check()
261 if (byte_count != pC->cache_size_in_bytes) control_cache_alloc_check()
264 pC->adap_idx, byte_count, control_cache_alloc_check()
269 pC->adap_idx, byte_count); control_cache_alloc_check()
H A Dhpifunc.c1663 u16 hpi_cobranet_hmi_write(u32 h_control, u32 hmi_address, u32 byte_count, hpi_cobranet_hmi_write() argument
1676 if (byte_count > sizeof(hm.bytes)) hpi_cobranet_hmi_write()
1680 hm.p.byte_count = byte_count; hpi_cobranet_hmi_write()
1682 memcpy(hm.bytes, pb_data, byte_count); hpi_cobranet_hmi_write()
1683 hm.h.size = (u16)(sizeof(hm.h) + sizeof(hm.p) + byte_count); hpi_cobranet_hmi_write()
1706 hm.p.byte_count = max_byte_count; hpi_cobranet_hmi_read()
1712 if (hr.byte_count > sizeof(hr.bytes)) hpi_cobranet_hmi_read()
1716 *pbyte_count = hr.byte_count; hpi_cobranet_hmi_read()
1718 if (hr.byte_count < max_byte_count) hpi_cobranet_hmi_read()
1755 u32 byte_count; hpi_cobranet_get_ip_address() local
1760 HPI_COBRANET_HMI_cobra_ip_mon_currentIP, 4, &byte_count, hpi_cobranet_get_ip_address()
1792 u32 byte_count; hpi_cobranet_get_static_ip_address() local
1796 HPI_COBRANET_HMI_cobra_ip_mon_staticIP, 4, &byte_count, hpi_cobranet_get_static_ip_address()
1829 u32 byte_count; hpi_cobranet_get_macaddress() local
1834 HPI_COBRANET_HMI_cobra_if_phy_address, 4, &byte_count, hpi_cobranet_get_macaddress()
1845 &byte_count, (u8 *)&mac); hpi_cobranet_get_macaddress()
H A Dhpi_internal.h1146 u32 byte_count; member in struct:hpi_msg_cobranet_hmi
1162 u32 byte_count; member in struct:hpi_res_cobranet_hmiread
H A Dhpi.h1669 u16 hpi_cobranet_hmi_write(u32 h_control, u32 hmi_address, u32 byte_count,
/linux-4.1.27/arch/ia64/sn/pci/
H A Dtioce_provider.c517 * @byte_count: bytes to map
523 tioce_do_dma_map(struct pci_dev *pdev, u64 paddr, size_t byte_count, tioce_do_dma_map() argument
569 ct_addr + byte_count - 1 <= last && tioce_do_dma_map()
592 if (byte_count > MB(64)) { tioce_do_dma_map()
594 port, ct_addr, byte_count, tioce_do_dma_map()
599 ct_addr, byte_count, tioce_do_dma_map()
603 ct_addr, byte_count, tioce_do_dma_map()
608 port, ct_addr, byte_count, tioce_do_dma_map()
625 byte_count, dma_flags); tioce_do_dma_map()
640 * @byte_count: # bytes to map
646 tioce_dma(struct pci_dev *pdev, unsigned long paddr, size_t byte_count, int dma_flags) tioce_dma() argument
648 return tioce_do_dma_map(pdev, paddr, byte_count, 0, dma_flags); tioce_dma()
655 * @byte_count: # bytes to map
661 tioce_dma_consistent(struct pci_dev *pdev, unsigned long paddr, size_t byte_count, int dma_flags) tioce_dma_consistent() argument
663 return tioce_do_dma_map(pdev, paddr, byte_count, 1, dma_flags); tioce_dma_consistent()
H A Dtioca_provider.c506 * @byte_count: bytes to map
513 tioca_dma_map(struct pci_dev *pdev, unsigned long paddr, size_t byte_count, int dma_flags) tioca_dma_map() argument
539 mapaddr = tioca_dma_mapped(pdev, paddr, byte_count); tioca_dma_map()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dbmi.c77 (u8 *)&targ_info->byte_count, ath6kl_bmi_get_target_info()
78 sizeof(targ_info->byte_count)); ath6kl_bmi_get_target_info()
89 if (le32_to_cpu(targ_info->byte_count) != sizeof(*targ_info)) { ath6kl_bmi_get_target_info()
97 sizeof(targ_info->byte_count), ath6kl_bmi_get_target_info()
99 sizeof(targ_info->byte_count)); ath6kl_bmi_get_target_info()
103 targ_info->byte_count, ret); ath6kl_bmi_get_target_info()
H A Dbmi.h221 __le32 byte_count; /* size of this structure */ member in struct:ath6kl_bmi_target_info
/linux-4.1.27/drivers/scsi/aacraid/
H A Daachba.c3198 unsigned long byte_count = 0; aac_build_sg() local
3219 byte_count += sg_dma_len(sg); scsi_for_each_sg()
3222 if (byte_count > scsi_bufflen(scsicmd)) {
3224 (byte_count - scsi_bufflen(scsicmd));
3226 byte_count = scsi_bufflen(scsicmd);
3229 if(scsicmd->underflow && (byte_count < scsicmd->underflow)){
3231 byte_count, scsicmd->underflow);
3234 return byte_count;
3241 unsigned long byte_count = 0; aac_build_sg64() local
3265 byte_count += count; scsi_for_each_sg()
3269 if (byte_count > scsi_bufflen(scsicmd)) {
3271 (byte_count - scsi_bufflen(scsicmd));
3273 byte_count = scsi_bufflen(scsicmd);
3276 if(scsicmd->underflow && (byte_count < scsicmd->underflow)){
3278 byte_count, scsicmd->underflow);
3281 return byte_count;
3286 unsigned long byte_count = 0; aac_build_sgraw() local
3314 byte_count += count; scsi_for_each_sg()
3318 if (byte_count > scsi_bufflen(scsicmd)) {
3320 (byte_count - scsi_bufflen(scsicmd));
3322 byte_count = scsi_bufflen(scsicmd);
3325 if(scsicmd->underflow && (byte_count < scsicmd->underflow)){
3327 byte_count, scsicmd->underflow);
3330 return byte_count;
3336 unsigned long byte_count = 0; aac_build_sgraw2() local
3368 byte_count += count; scsi_for_each_sg()
3372 if (byte_count > scsi_bufflen(scsicmd)) {
3374 (byte_count - scsi_bufflen(scsicmd));
3376 byte_count = scsi_bufflen(scsicmd);
3403 if (scsicmd->underflow && (byte_count < scsicmd->underflow)) {
3405 byte_count, scsicmd->underflow);
3409 return byte_count;
H A Dcommctrl.c482 u32 byte_count = 0; aac_send_raw_srb() local
587 byte_count = 0; aac_send_raw_srb()
633 byte_count += upsg->sg[i].count; aac_send_raw_srb()
686 byte_count += usg->sg[i].count; aac_send_raw_srb()
691 srbcmd->count = cpu_to_le32(byte_count); aac_send_raw_srb()
738 byte_count += usg->sg[i].count; aac_send_raw_srb()
776 byte_count += upsg->sg[i].count; aac_send_raw_srb()
780 srbcmd->count = cpu_to_le32(byte_count); aac_send_raw_srb()
800 byte_count = le32_to_cpu( aac_send_raw_srb()
804 if(copy_to_user(sg_user[i], sg_list[i], byte_count)){ aac_send_raw_srb()
/linux-4.1.27/drivers/acpi/acpica/
H A Dpsargs.c80 u32 byte_count; acpi_ps_get_next_package_length() local
89 byte_count = (aml[0] >> 6); acpi_ps_get_next_package_length()
90 parser_state->aml += ((acpi_size) byte_count + 1); acpi_ps_get_next_package_length()
94 while (byte_count) { acpi_ps_get_next_package_length()
102 package_length |= (aml[byte_count] << ((byte_count << 3) - 4)); acpi_ps_get_next_package_length()
105 byte_count--; acpi_ps_get_next_package_length()
/linux-4.1.27/drivers/tty/
H A Disicom.c522 short byte_count; isicom_interrupt() local
546 byte_count = header & 0xff; isicom_interrupt()
564 word_count = byte_count >> 1; isicom_interrupt()
565 while (byte_count > 1) { isicom_interrupt()
567 byte_count -= 2; isicom_interrupt()
569 if (byte_count & 0x01) isicom_interrupt()
654 byte_count & ~1); isicom_interrupt()
656 __func__, count, byte_count); isicom_interrupt()
659 byte_count -= (word_count << 1); isicom_interrupt()
663 byte_count -= 2; isicom_interrupt()
665 if (byte_count > 0) { isicom_interrupt()
669 while (byte_count > 0) { isicom_interrupt()
671 byte_count -= 2; isicom_interrupt()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
H A Dqp.c258 inl->byte_count = cpu_to_be32(1 << 31 | (size - s - sizeof *inl)); post_nop_wqe()
2114 inl->byte_count = cpu_to_be32(1 << 31 | header_size); build_sriov_qp0_header()
2118 inl->byte_count = cpu_to_be32(1 << 31 | spc); build_sriov_qp0_header()
2125 * visible before the byte_count field is set. build_sriov_qp0_header()
2131 * The first inline segment's byte_count field doesn't build_sriov_qp0_header()
2137 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); build_sriov_qp0_header()
2342 inl->byte_count = cpu_to_be32(1 << 31 | header_size); build_mlx_header()
2346 inl->byte_count = cpu_to_be32(1 << 31 | spc); build_mlx_header()
2353 * visible before the byte_count field is set. build_mlx_header()
2359 * The first inline segment's byte_count field doesn't build_mlx_header()
2365 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); build_mlx_header()
2534 inl->byte_count = cpu_to_be32(1 << 31 | sizeof (hdr)); build_tunnel_header()
2539 inl->byte_count = cpu_to_be32(1 << 31 | spc); build_tunnel_header()
2544 inl->byte_count = cpu_to_be32(1 << 31 | (sizeof (hdr) - spc)); build_tunnel_header()
2560 * Need a barrier here before writing the byte_count field to set_mlx_icrc_seg()
2562 * byte_count field is set. Otherwise, if the segment begins set_mlx_icrc_seg()
2569 iseg->byte_count = cpu_to_be32((1 << 31) | 4); set_mlx_icrc_seg()
2578 * Need a barrier here before writing the byte_count field to set_data_seg()
2580 * byte_count field is set. Otherwise, if the segment begins set_data_seg()
2587 dseg->byte_count = cpu_to_be32(sg->length); set_data_seg()
2592 dseg->byte_count = cpu_to_be32(sg->length); __set_data_seg()
2636 inl->byte_count = cpu_to_be32(1 << 31); add_zero_len_inline()
2999 scat->byte_count = mlx4_ib_post_recv()
3012 scat[i].byte_count = 0; mlx4_ib_post_recv()
H A Dsrq.c349 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); mlx4_ib_post_srq_recv()
355 scat[i].byte_count = 0; mlx4_ib_post_srq_recv()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Dsta_cmdresp.c797 pr_debug("info: EEPROM read len=%x\n", r.eeprom->byte_count); mwifiex_ret_reg_access()
798 if (le16_to_cpu(eeprom->byte_count) < mwifiex_ret_reg_access()
799 le16_to_cpu(r.eeprom->byte_count)) { mwifiex_ret_reg_access()
800 eeprom->byte_count = cpu_to_le16(0); mwifiex_ret_reg_access()
805 eeprom->byte_count = r.eeprom->byte_count; mwifiex_ret_reg_access()
806 if (le16_to_cpu(eeprom->byte_count) > 0) mwifiex_ret_reg_access()
808 le16_to_cpu(r.eeprom->byte_count)); mwifiex_ret_reg_access()
H A Dioctl.h341 __le16 byte_count; member in struct:mwifiex_ds_read_eeprom
H A Dsta_cmd.c1165 cmd_eeprom->byte_count = rd_eeprom->byte_count; mwifiex_cmd_reg_access()
H A Dfw.h1615 __le16 byte_count; member in struct:host_cmd_ds_802_11_eeprom_access
H A Dsta_ioctl.c1253 rd_eeprom.byte_count = cpu_to_le16((u16) bytes); mwifiex_eeprom_read()
/linux-4.1.27/drivers/soc/ti/
H A Dknav_qmss.h174 * @byte_count: total byte count in thhe queue
180 u32 byte_count; member in struct:knav_reg_queue
/linux-4.1.27/drivers/dma/
H A Dmv_xor.h162 u32 byte_count; /* size of src/dst blocks in bytes */ member in struct:mv_xor_desc
176 u32 byte_count; /* size of src/dst blocks in bytes */ member in struct:mv_xor_desc
H A Dmv_xor.c45 dma_addr_t addr, u32 byte_count, mv_desc_init()
56 hw_desc->byte_count = byte_count; mv_desc_init()
44 mv_desc_init(struct mv_xor_desc_slot *desc, dma_addr_t addr, u32 byte_count, enum dma_ctrl_flags flags) mv_desc_init() argument
/linux-4.1.27/include/linux/mlx4/
H A Dqp.h419 __be32 byte_count; member in struct:mlx4_wqe_data_seg
430 __be32 byte_count; member in struct:mlx4_wqe_inline_seg
/linux-4.1.27/drivers/infiniband/hw/mlx5/
H A Dodp.c325 u32 byte_count; pagefault_data_segments() local
343 byte_count = be32_to_cpu(dseg->byte_count); pagefault_data_segments()
344 inline_segment = !!(byte_count & MLX5_INLINE_SEG); pagefault_data_segments()
345 bcnt = byte_count & ~MLX5_INLINE_SEG; pagefault_data_segments()
H A Dsrq.c459 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); mlx5_ib_post_srq_recv()
465 scat[i].byte_count = 0; mlx5_ib_post_srq_recv()
H A Dcq.c327 int byte_count; handle_atomic() local
333 byte_count = be32_to_cpu(cqe64->byte_cnt); handle_atomic()
336 if (byte_count == 4) { handle_atomic()
339 for (i = 0; i < byte_count; i += 8) { handle_atomic()
H A Dqp.c1860 dseg->byte_count = cpu_to_be32(sg->length); set_data_ptr_seg()
2057 dseg->byte_count = cpu_to_be32(ALIGN(sizeof(u64) * wr->wr.fast_reg.page_list_len, 64)); set_frwr_pages()
2125 seg->byte_count = cpu_to_be32(inl | MLX5_INLINE_SEG); set_data_inl_seg()
2127 *sz = ALIGN(inl + sizeof(seg->byte_count), 16) / 16; set_data_inl_seg()
2932 scat[i].byte_count = 0; mlx5_ib_post_recv()
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.h54 u_short byte_count; /* excluding header/trailer */ member in struct:Symbios_nvram
H A Dsym_nvram.c525 nvram->byte_count != len - 12) sym_read_Symbios_nvram()
/linux-4.1.27/net/openvswitch/
H A Dflow.c111 new_stats->byte_count = len; ovs_flow_stats_update()
126 stats->byte_count += len; ovs_flow_stats_update()
155 ovs_stats->n_bytes += stats->byte_count; for_each_node()
173 stats->byte_count = 0; for_each_node()
H A Dflow.h218 u64 byte_count; /* Number of bytes matched. */ member in struct:flow_stats
/linux-4.1.27/include/linux/mlx5/
H A Dqp.h250 __be32 byte_count; member in struct:mlx5_wqe_data_seg
309 __be32 byte_count; member in struct:mlx5_wqe_inline_seg
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_iocb.c211 cmd_pkt->byte_count = __constant_cpu_to_le32(0); qla2x00_build_scsi_iocbs_32()
269 cmd_pkt->byte_count = __constant_cpu_to_le32(0); qla2x00_build_scsi_iocbs_64()
410 cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); qla2x00_start_scsi()
605 cmd_pkt->byte_count = __constant_cpu_to_le32(0); qla24xx_build_scsi_type_6_iocbs()
723 cmd_pkt->byte_count = __constant_cpu_to_le32(0); qla24xx_build_scsi_iocbs()
1261 cmd_pkt->byte_count = __constant_cpu_to_le32(0); qla24xx_build_scsi_crc_2_iocbs()
1394 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes); qla24xx_build_scsi_crc_2_iocbs()
1397 cmd_pkt->byte_count = cpu_to_le32(total_bytes); qla24xx_build_scsi_crc_2_iocbs()
1403 cmd_pkt->byte_count = __constant_cpu_to_le32(0); qla24xx_build_scsi_crc_2_iocbs()
1547 cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); qla24xx_start_scsi()
2457 cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); qla82xx_start_scsi()
2507 cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); qla82xx_start_scsi()
H A Dqla_mr.h47 __le32 byte_count; /* Total byte count. */ member in struct:cmd_type_7_fx00
H A Dqla_fw.h455 uint32_t byte_count; /* Total byte count. */ member in struct:cmd_type_6
502 uint32_t byte_count; /* Total byte count. */ member in struct:cmd_type_7
537 uint32_t byte_count; /* Total byte count. */ member in struct:cmd_type_crc_2
H A Dqla_def.h1556 uint32_t byte_count; /* Total byte count. */ member in struct:__anon9485
1582 uint32_t byte_count; /* Total byte count. */ member in struct:__anon9486
1669 __le32 byte_count; /* Total byte count/ total data member in struct:crc_context
H A Dqla_mr.c3012 lcmd_pkt->byte_count = __constant_cpu_to_le32(0); qlafx00_build_scsi_iocbs()
3161 lcmd_pkt.byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); qlafx00_start_scsi()
H A Dqla_target.c2441 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes); qlt_build_ctio_crc2_pkt()
/linux-4.1.27/drivers/net/ethernet/xilinx/
H A Dxilinx_emaclite.c301 * @byte_count: Total frame size, including header
313 unsigned int byte_count) xemaclite_send_data()
322 if (byte_count > ETH_FRAME_LEN) xemaclite_send_data()
323 byte_count = ETH_FRAME_LEN; xemaclite_send_data()
348 xemaclite_aligned_write(data, (u32 __force *) addr, byte_count); xemaclite_send_data()
350 __raw_writel((byte_count & XEL_TPLR_LENGTH_MASK), xemaclite_send_data()
312 xemaclite_send_data(struct net_local *drvdata, u8 *data, unsigned int byte_count) xemaclite_send_data() argument
/linux-4.1.27/drivers/spi/
H A Dspi-mpc52xx.c74 int byte_count; member in struct:mpc52xx_spi
244 ms->byte_count++; mpc52xx_spi_fsmstate_transfer()
/linux-4.1.27/drivers/block/
H A Dskd_main.c916 sgd->byte_count = cnt; skd_preop_sg_list()
934 i, sgd->byte_count, sgd->control, skd_preop_sg_list()
1584 sksg->byte_count = nbytes; skd_skreq_prep_buffering()
1616 i, sgd->byte_count, sgd->control, skd_skreq_prep_buffering()
1873 sgd->byte_count = 0; skd_format_internal_skspcl()
1911 sgd->byte_count = 0; skd_send_internal_skspcl()
1917 sgd->byte_count = SKD_N_READ_CAP_BYTES; skd_send_internal_skspcl()
1918 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); skd_send_internal_skspcl()
1926 sgd->byte_count = 16; skd_send_internal_skspcl()
1927 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); skd_send_internal_skspcl()
1932 sgd->byte_count = 0; skd_send_internal_skspcl()
1941 sgd->byte_count = WR_BUF_SIZE; skd_send_internal_skspcl()
1942 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); skd_send_internal_skspcl()
1944 for (i = 0; i < sgd->byte_count; i++) skd_send_internal_skspcl()
1953 sgd->byte_count = WR_BUF_SIZE; skd_send_internal_skspcl()
1954 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); skd_send_internal_skspcl()
1955 memset(skspcl->data_buf, 0, sgd->byte_count); skd_send_internal_skspcl()
2251 i, sgd->byte_count, sgd->control, skd_send_special_fitmsg()
H A Dskd_s1120.h201 uint32_t byte_count; member in struct:fit_sg_descriptor
/linux-4.1.27/drivers/infiniband/hw/ehca/
H A Dhcp_if.h262 unsigned long *byte_count);
H A Dhcp_if.c925 unsigned long *byte_count) hipz_h_error_data()
922 hipz_h_error_data(const struct ipz_adapter_handle adapter_handle, const u64 ressource_handle, void *rblock, unsigned long *byte_count) hipz_h_error_data() argument
/linux-4.1.27/include/drm/
H A Ddrm_legacy.h107 unsigned long byte_count; member in struct:drm_device_dma
/linux-4.1.27/drivers/hv/
H A Dchannel.c256 gpadl_header->range[0].byte_count = size; create_gpadl_header()
338 gpadl_header->range[0].byte_count = size; create_gpadl_header()
/linux-4.1.27/sound/ppc/
H A Dsnd_ps3.c213 enum snd_ps3_ch ch, size_t byte_count, snd_ps3_bump_buffer()
219 card->dma_next_transfer_vaddr[ch] += byte_count; snd_ps3_bump_buffer()
212 snd_ps3_bump_buffer(struct snd_ps3_card_info *card, enum snd_ps3_ch ch, size_t byte_count, int stage) snd_ps3_bump_buffer() argument
/linux-4.1.27/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c1649 int byte_count = 0; bnx2fc_map_sg() local
1678 byte_count += sg_len; scsi_for_each_sg()
1680 if (byte_count != scsi_bufflen(sc))
1681 printk(KERN_ERR PFX "byte_count = %d != scsi_bufflen = %d, "
1682 "task_id = 0x%x\n", byte_count, scsi_bufflen(sc),
/linux-4.1.27/drivers/usb/dwc2/
H A Dcore.c1266 u32 byte_count; dwc2_hc_write_packet() local
1278 byte_count = chan->max_packet; dwc2_hc_write_packet()
1280 byte_count = remaining_count; dwc2_hc_write_packet()
1282 dword_count = (byte_count + 3) / 4; dwc2_hc_write_packet()
1297 chan->xfer_count += byte_count; dwc2_hc_write_packet()
1298 chan->xfer_buf += byte_count; dwc2_hc_write_packet()
/linux-4.1.27/drivers/block/mtip32xx/
H A Dmtip32xx.h277 unsigned int byte_count; member in union:mtip_cmd_hdr::__anon3612
H A Dmtip32xx.c1168 int_cmd->command_header->byte_count = 0; mtip_exec_internal_command()
2432 command->command_header->byte_count = 0; mtip_hw_submit_io()
/linux-4.1.27/include/linux/
H A Dhyperv.h252 u32 byte_count; member in struct:vmtransfer_page_range
283 u32 byte_count; member in struct:gpa_range
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_hbadisc.c3608 uint32_t byte_count = 0; lpfc_create_static_vport() local
3654 byte_count = pmb->u.mqe.un.mb_words[5]; lpfc_create_static_vport()
3656 if (byte_count > sizeof(struct static_vport_info) - lpfc_create_static_vport()
3658 byte_count = sizeof(struct static_vport_info) lpfc_create_static_vport()
3660 memcpy(vport_buff + offset, mp->virt, byte_count); lpfc_create_static_vport()
3661 offset += byte_count; lpfc_create_static_vport()
3668 byte_count = mb->un.varDmp.word_cnt; lpfc_create_static_vport()
3671 byte_count); lpfc_create_static_vport()
3673 offset += byte_count; lpfc_create_static_vport()
3676 } while (byte_count && lpfc_create_static_vport()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dfw-api.h1068 * @byte_count: frame's byte-count
1088 __le32 byte_count; member in struct:iwl_rx_phy_info
1094 __le16 byte_count; member in struct:iwl_rx_mpdu_res_start
H A Drx.c264 len = le16_to_cpu(rx_res->byte_count); iwl_mvm_rx_rx_mpdu()
/linux-4.1.27/drivers/scsi/bnx2i/
H A Dbnx2i_iscsi.c148 int byte_count = 0; bnx2i_map_scsi_sg() local
169 byte_count += sg_len; scsi_for_each_sg()
176 BUG_ON(byte_count != scsi_bufflen(sc));
/linux-4.1.27/drivers/dma/ppc4xx/
H A Dadma.c658 u32 byte_count) ppc440spe_desc_set_byte_count()
667 dma_hw_desc->cnt = cpu_to_le32(byte_count); ppc440spe_desc_set_byte_count()
671 xor_hw_desc->cbbc = byte_count; ppc440spe_desc_set_byte_count()
679 static inline void ppc440spe_desc_set_rxor_block_size(u32 byte_count) ppc440spe_desc_set_rxor_block_size() argument
681 /* assume that byte_count is aligned on the 512-boundary; ppc440spe_desc_set_rxor_block_size()
685 dcr_write(ppc440spe_mq_dcr_host, DCRN_MQ0_CF2H, byte_count); ppc440spe_desc_set_rxor_block_size()
656 ppc440spe_desc_set_byte_count(struct ppc440spe_adma_desc_slot *desc, struct ppc440spe_adma_chan *chan, u32 byte_count) ppc440spe_desc_set_byte_count() argument
/linux-4.1.27/drivers/net/ethernet/intel/
H A De100.c456 /*0*/ u8 X(byte_count:6, pad0:2);
1107 config->byte_count = 0x16; /* bytes in this struct */ e100_configure()
1164 config->byte_count = 0x20; /* extended bytes */ e100_configure()
/linux-4.1.27/drivers/net/hyperv/
H A Dnetvsc.c1033 vmxferpage_packet->ranges[i].byte_count; netvsc_receive()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Drx.c914 len = le16_to_cpu(amsdu->byte_count); iwlagn_rx_reply_rx()
H A Dcommands.h1120 __le16 byte_count; /* frame's byte-count */ member in struct:iwl_rx_phy_res
1125 __le16 byte_count; member in struct:iwl_rx_mpdu_res_start
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.h1515 u32 byte_count; member in struct:be_cmd_req_ddrdma_test
H A Dbe_cmds.c2652 req->byte_count = cpu_to_le32(byte_cnt); be_cmd_ddr_dma_test()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A Dcommands.h1232 __le16 byte_count; /* frame's byte-count */ member in struct:il_rx_phy_res
1237 __le16 byte_count; member in struct:il_rx_mpdu_res_start
H A D4965-mac.c653 len = le16_to_cpu(phy_res->byte_count); il4965_hdl_rx()
666 len = le16_to_cpu(amsdu->byte_count); il4965_hdl_rx()
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dmvpp2.c923 u16 byte_count; member in struct:mvpp2_buff_hdr

Completed in 3302 milliseconds