Searched refs:total_size (Results 51 - 75 of 237) sorted by relevance

12345678910

/linux-master/drivers/net/ipa/
H A Dgsi_trans.c138 size_t total_size; local
151 total_size = (count + max_alloc - 1) * size;
159 total_size = PAGE_SIZE << get_order(total_size);
161 virt = dma_alloc_coherent(dev, total_size, &addr, GFP_KERNEL);
166 pool->count = total_size / size;
177 size_t total_size = pool->count * pool->size; local
179 dma_free_coherent(dev, total_size, pool->base, pool->addr);
/linux-master/include/scsi/
H A Dlibiscsi_tcp.h27 unsigned int total_size; member in struct:iscsi_segment
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dqmi.h47 u32 total_size; member in struct:ath10k_qmi_cal_data
H A Dqmi_wlfw_v01.h330 u32 total_size; member in struct:wlfw_bdf_download_req_msg_v01
381 u32 total_size; member in struct:wlfw_cal_download_req_msg_v01
403 u32 total_size; member in struct:wlfw_initiate_cal_update_ind_msg_v01
422 u32 total_size; member in struct:wlfw_cal_update_resp_msg_v01
/linux-master/drivers/hid/intel-ish-hid/
H A Dishtp-hid.h57 uint16_t total_size; member in struct:report_list
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dmmsch_v3_0.h51 uint32_t total_size; member in struct:mmsch_v3_0_init_header
H A Damdgpu_bo_list.c77 uint64_t total_size = 0; local
128 total_size += amdgpu_bo_size(bo);
136 trace_amdgpu_cs_bo_status(list->num_entries, total_size);
H A Dmmsch_v1_0.h56 uint32_t total_size; member in struct:mmsch_v1_1_init_header
H A Dmmsch_v4_0.h62 uint32_t total_size; member in struct:mmsch_v4_0_init_header
/linux-master/fs/ntfs3/
H A Dattrib.c757 le64_sub_cpu(&attr_b->nres.total_size,
895 u64 total_size, total_size0; local
1056 total_size0 = le64_to_cpu(attr_b->nres.total_size);
1057 total_size = total_size0 + ((u64)alen << cluster_bits);
1080 attr_b->nres.total_size = cpu_to_le64(total_size);
1081 inode_set_bytes(&ni->vfs_inode, total_size);
1215 attr_b->nres.total_size = cpu_to_le64(total_size0);
1632 u64 total_size, valid_size, data_size; local
1643 total_size
1857 u64 valid_size, data_size, alloc_size, total_size; local
2114 u64 total_size, alloc_size; local
[all...]
/linux-master/drivers/usb/usbip/
H A Dvudc_tx.c188 size_t total_size = 0; local
211 total_size += ret;
217 return total_size;
/linux-master/fs/pstore/
H A Dblk.c107 if (!dev->zone.total_size) {
224 dev->zone.total_size =
313 blkdev, best_effort_dev->zone.total_size);
H A Dzone.c1162 if (*off + size > info->total_size) {
1164 name, size, *off, info->total_size);
1196 loff_t *off, size_t total_size, ssize_t record_size,
1205 if (!total_size || !record_size)
1208 if (*off + total_size > info->total_size) {
1210 name, total_size, *off, info->total_size);
1214 c = total_size / record_size;
1271 info->total_size
1195 psz_init_zones(enum pstore_type_id type, loff_t *off, size_t total_size, ssize_t record_size, unsigned int *cnt) argument
[all...]
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dqplib_tlv.h8 u8 total_size; // in units of 16 byte chunks member in struct:roce_tlv
23 rtlv->total_size = (tot_chunks);
119 return ((struct roce_tlv *)(req))->total_size;
/linux-master/drivers/gpu/drm/xe/
H A Dxe_mmio.c227 u64 total_size = 0; local
280 total_size += tile_size;
283 if (total_size > xe->mem.vram.io_size) {
285 &total_size, &xe->mem.vram.io_size);
291 xe->mem.vram.actual_physical_size = total_size;
H A Dxe_guc_ads.c248 size_t total_size = 0, alloc_size, real_size; local
257 total_size += alloc_size;
260 return total_size;
621 size_t total_size = 0, alloc_size, real_size; local
641 total_size += alloc_size;
666 xe_gt_assert(gt, total_size == ads->golden_lrc_size);
/linux-master/drivers/accel/habanalabs/common/
H A Dmemory.c93 u64 paddr = 0, total_size, num_pgs, i; local
105 total_size = num_pgs * page_size;
107 if (!total_size) {
117 total_size, NULL, page_size);
119 paddr = gen_pool_alloc(vm->dram_pg_pool, total_size);
123 num_pgs, total_size);
138 phys_pg_pack->total_size = total_size;
189 atomic64_add(phys_pg_pack->total_size, &ctx->dram_phys_mem);
190 atomic64_add(phys_pg_pack->total_size,
1856 export_dmabuf(struct hl_ctx *ctx, struct hl_dmabuf_priv *hl_dmabuf, u64 total_size, int flags, int *dmabuf_fd) argument
[all...]
/linux-master/tools/perf/util/
H A Djitdump.c177 header.total_size = bswap_32(header.total_size);
189 header.total_size,
220 bs = header.total_size - sizeof(header);
283 prefix->total_size = bswap_32(prefix->total_size);
287 size = prefix->total_size;
450 code = (unsigned long)jr + jr->load.p.total_size - csize;
640 sz = jr->prefix.total_size - sizeof(jr->info);
667 unwinding_data_size = jr->prefix.total_size
[all...]
/linux-master/fs/
H A Dbinfmt_elf.c358 unsigned long total_size)
372 * total_size is the size of the ELF (interpreter) image.
375 * position with the ELF binary image. (since size < total_size)
379 if (total_size) {
380 total_size = ELF_PAGEALIGN(total_size);
381 map_addr = vm_mmap(filep, addr, total_size, prot, type, off);
383 vm_munmap(map_addr+size, total_size-size);
402 unsigned long total_size)
408 map_addr = elf_map(filep, addr, eppnt, prot, type, total_size);
356 elf_map(struct file *filep, unsigned long addr, const struct elf_phdr *eppnt, int prot, int type, unsigned long total_size) argument
400 elf_load(struct file *filep, unsigned long addr, const struct elf_phdr *eppnt, int prot, int type, unsigned long total_size) argument
640 unsigned long total_size; local
1031 unsigned long total_size = 0; local
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_query.c239 u32 flags, total_size; local
245 total_size =
250 return total_size;
252 if (query_item->length < total_size) {
255 query_item->length, total_size);
345 ret = total_size;
/linux-master/sound/soc/intel/skylake/
H A Dskl-sst-cldma.c251 u32 total_size, bool wait)
257 unsigned int bytes_left = total_size;
260 if (total_size <= 0)
250 skl_cldma_copy_to_buf(struct sst_dsp *ctx, const void *bin, u32 total_size, bool wait) argument
/linux-master/drivers/scsi/
H A Dlibiscsi_tcp.c96 segment->total_size - segment->total_copied);
167 segment->total_size += ISCSI_DIGEST_SIZE;
234 segment->total_copied, segment->total_size);
235 if (segment->total_copied < segment->total_size) {
250 segment->total_size += pad;
349 segment->total_size = size;
860 segment->total_size += ahslen;
941 segment->total_copied = segment->total_size;
965 if (segment->total_copied >= segment->total_size) {
/linux-master/drivers/platform/chrome/
H A Dcros_ec_chardev.c101 int total_size = sizeof(*event) + ec_dev->event_size; local
104 (priv->event_len + total_size) > CROS_MAX_EVENT_LEN)
107 event = kzalloc(total_size, GFP_KERNEL);
117 priv->event_len += total_size;
/linux-master/arch/powerpc/kvm/
H A Dguest-state-buffer.c258 u16 total_size; local
260 total_size = sizeof(*gse) + size;
261 if (total_size + kvmppc_gsb_len(gsb) > kvmppc_gsb_capacity(gsb))
267 gse = kvmppc_gsb_put(gsb, total_size);
/linux-master/arch/x86/kernel/cpu/microcode/
H A Dintel.c139 unsigned long total_size, data_size, ext_table_size; local
145 total_size = get_totalsize(mc_header);
148 if (data_size + MC_HEADER_SIZE > total_size) {
161 ext_table_size = total_size - (MC_HEADER_SIZE + data_size);

Completed in 499 milliseconds

12345678910