| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_virtchnl.c | 276 u32 num_chunks; member 321 u32 totqs = params->num_chunks; in idpf_send_chunked_msg() 323 u32 num_chunks, num_msgs; in idpf_send_chunked_msg() local 325 num_chunks = IDPF_NUM_CHUNKS_PER_MSG(params->config_sz, in idpf_send_chunked_msg() 327 num_msgs = DIV_ROUND_UP(totqs, num_chunks); in idpf_send_chunked_msg() 334 num_chunks = min(num_chunks, totqs); in idpf_send_chunked_msg() 335 buf_sz = params->config_sz + num_chunks * params->chunk_sz; in idpf_send_chunked_msg() 340 if (params->prepare_msg(vid, buf, pos, num_chunks) != buf_sz) { in idpf_send_chunked_msg() 351 pos += num_chunks * params->chunk_sz; in idpf_send_chunked_msg() 352 totqs -= num_chunks; in idpf_send_chunked_msg() [all …]
|
| H A D | idpf.h | 585 u16 num_chunks; member
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_guc_log.c | 129 snapshot->num_chunks = DIV_ROUND_UP(snapshot->size, GUC_LOG_CHUNK_SIZE); in xe_guc_log_snapshot_alloc() 131 snapshot->copy = kzalloc_objs(*snapshot->copy, snapshot->num_chunks, in xe_guc_log_snapshot_alloc() 137 for (i = 0; i < snapshot->num_chunks; i++) { in xe_guc_log_snapshot_alloc() 149 for (i = 0; i < snapshot->num_chunks; i++) in xe_guc_log_snapshot_alloc() 172 for (i = 0; i < snapshot->num_chunks; i++) in xe_guc_log_snapshot_free() 205 for (i = 0; i < snapshot->num_chunks; i++) { in xe_guc_log_snapshot_capture() 253 for (i = 0; i < snapshot->num_chunks; i++) { in xe_guc_log_snapshot_print() 256 char suffix = i == snapshot->num_chunks - 1 ? '\n' : 0; in xe_guc_log_snapshot_print()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | mremap_test.c | 1002 unsigned long num_chunks; remap_region() local
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | command_submission.c | 1351 u32 cs_type_flags, num_chunks; in hl_cs_sanity_checks() local 1382 num_chunks = args->in.num_chunks_execute; in hl_cs_sanity_checks() 1393 if (!num_chunks) { in hl_cs_sanity_checks() 1397 } else if (is_sync_stream && num_chunks != 1) { in hl_cs_sanity_checks() 1409 void __user *chunks, u32 num_chunks, in hl_cs_copy_chunk_array() argument 1414 if (num_chunks > HL_MAX_JOBS_PER_CS) { in hl_cs_copy_chunk_array() 1423 *cs_chunk_array = kmalloc_objs(**cs_chunk_array, num_chunks, GFP_ATOMIC); in hl_cs_copy_chunk_array() 1425 *cs_chunk_array = kmalloc_objs(**cs_chunk_array, num_chunks); in hl_cs_copy_chunk_array() 1432 size_to_copy = num_chunks * sizeof(struct hl_cs_chunk); in hl_cs_copy_chunk_array() 1488 u32 num_chunks, u64 *cs_seq, u32 flags, in cs_ioctl_default() argument [all …]
|
| /linux/drivers/platform/x86/intel/ifs/ |
| H A D | ifs.h | 189 u32 num_chunks :8; member 202 u16 num_chunks; member
|
| /linux/drivers/gpu/drm/lima/ |
| H A D | lima_dump.h | 47 __u32 num_chunks; member
|
| /linux/include/linux/net/intel/ |
| H A D | virtchnl2.h | 597 __le16 num_chunks; member 599 struct virtchnl2_queue_reg_chunk chunks[] __counted_by_le(num_chunks); 1202 __le16 num_chunks; member 1204 struct virtchnl2_queue_chunk chunks[] __counted_by_le(num_chunks);
|
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf.h | 37 u32 num_chunks; /* Number of command chunks */ member
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_cs.c | 276 if (!cs->num_chunks) { in radeon_cs_parser_init() 288 p->chunks_array = kvmalloc_array(cs->num_chunks, sizeof(uint64_t), GFP_KERNEL); in radeon_cs_parser_init() 294 sizeof(uint64_t)*cs->num_chunks)) { in radeon_cs_parser_init() 298 p->nchunks = cs->num_chunks; in radeon_cs_parser_init()
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_spi.c | 44 int num_chunks; in sja1105_xfer() local 47 num_chunks = DIV_ROUND_UP(len, priv->max_xfer_len); in sja1105_xfer() 56 for (i = 0; i < num_chunks; i++) { in sja1105_xfer()
|
| /linux/drivers/media/i2c/ |
| H A D | thp7312.c | 1666 unsigned int num_chunks; in thp7312_fw_load_to_ram() local 1674 num_chunks = DIV_ROUND_UP(bank_size, THP7312_FW_DOWNLOAD_UNIT); in thp7312_fw_load_to_ram() 1677 __func__, bank_size, i, num_chunks); in thp7312_fw_load_to_ram() 1679 for (j = 0 ; j < num_chunks; j++) { in thp7312_fw_load_to_ram()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_cs.c | 72 if (cs->in.num_chunks == 0) in amdgpu_cs_parser_init() 192 cs->in.num_chunks, in amdgpu_cs_pass1() 197 p->nchunks = cs->in.num_chunks; in amdgpu_cs_pass1()
|
| /linux/net/sctp/ |
| H A D | socket.c | 7039 u32 num_chunks = 0; in sctp_getsockopt_peer_auth_chunks() local 7061 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks() 7062 if (len < sizeof(struct sctp_authchunks) + num_chunks) in sctp_getsockopt_peer_auth_chunks() 7065 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_peer_auth_chunks() 7068 len = sizeof(struct sctp_authchunks) + num_chunks; in sctp_getsockopt_peer_auth_chunks() 7071 if (put_user(num_chunks, &p->gauth_number_of_chunks)) in sctp_getsockopt_peer_auth_chunks() 7084 u32 num_chunks = 0; in sctp_getsockopt_local_auth_chunks() local 7111 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks() 7112 if (len < sizeof(struct sctp_authchunks) + num_chunks) in sctp_getsockopt_local_auth_chunks() 7115 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_local_auth_chunks() [all …]
|
| /linux/include/uapi/drm/ |
| H A D | radeon_drm.h | 984 __u32 num_chunks; member
|
| /linux/fs/btrfs/ |
| H A D | inode.c | 705 atomic_t num_chunks; member 1544 if (atomic_dec_and_test(&async_cow->num_chunks)) in submit_compressed_extents() 1574 u64 num_chunks = DIV_ROUND_UP(end - start, BTRFS_COMPRESSION_CHUNK_SIZE); in run_delalloc_compressed() local 1580 ctx = kvmalloc_flex(*ctx, chunks, num_chunks); in run_delalloc_compressed() 1588 atomic_set(&ctx->num_chunks, num_chunks); in run_delalloc_compressed() 1590 for (i = 0; i < num_chunks; i++) { in run_delalloc_compressed()
|
| /linux/drivers/staging/media/ipu3/ |
| H A D | ipu3-abi.h | 1559 u32 num_chunks; member
|