/linux-6.12.1/arch/powerpc/kvm/ |
D | emulate_loadstore.c | 193 if (op.element_size == 8) { in kvmppc_emulate_loadstore() 200 } else if (op.element_size == 4) { in kvmppc_emulate_loadstore() 210 if (size < op.element_size) { in kvmppc_emulate_loadstore() 216 size/op.element_size; in kvmppc_emulate_loadstore() 217 io_size_each = op.element_size; in kvmppc_emulate_loadstore() 322 if (op.element_size == 8) in kvmppc_emulate_loadstore() 325 else if (op.element_size == 4) in kvmppc_emulate_loadstore() 331 if (size < op.element_size) { in kvmppc_emulate_loadstore() 337 size/op.element_size; in kvmppc_emulate_loadstore() 338 io_size_each = op.element_size; in kvmppc_emulate_loadstore()
|
D | powerpc.c | 1003 int index, int element_size) in kvmppc_get_vmx_offset_generic() argument 1006 int elts = sizeof(vector128)/element_size; in kvmppc_get_vmx_offset_generic()
|
/linux-6.12.1/fs/bcachefs/ |
D | darray.c | 8 int __bch2_darray_resize_noprof(darray_char *d, size_t element_size, size_t new_size, gfp_t gfp) in __bch2_darray_resize_noprof() argument 20 if (unlikely(check_mul_overflow(new_size, element_size, &bytes))) in __bch2_darray_resize_noprof() 30 memcpy(data, d->data, d->size * element_size); in __bch2_darray_resize_noprof()
|
D | util.h | 540 static inline void __move_gap(void *array, size_t element_size, in __move_gap() argument 549 memmove(array + element_size * (gap_end - move), in __move_gap() 550 array + element_size * (old_gap - move), in __move_gap() 551 element_size * move); in __move_gap() 555 memmove(array + element_size * old_gap, in __move_gap() 556 array + element_size * gap_end, in __move_gap() 557 element_size * move); in __move_gap()
|
/linux-6.12.1/arch/powerpc/lib/ |
D | sstep.c | 795 switch (op->element_size) { in emulate_vsx_load() 881 switch (op->element_size) { in emulate_vsx_store() 2351 op->element_size = 1; in analyse_instr() 2356 op->element_size = 2; in analyse_instr() 2361 op->element_size = 4; in analyse_instr() 2367 op->element_size = 16; in analyse_instr() 2372 op->element_size = 1; in analyse_instr() 2377 op->element_size = 2; in analyse_instr() 2382 op->element_size = 4; in analyse_instr() 2536 op->element_size = 8; in analyse_instr() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | item.h | 16 unsigned char element_size; /* size of element in bit array */ member 212 BUG_ON(index && !item->element_size); in __mlxsw_item_bit_array_offset() 214 BITS_PER_BYTE % item->element_size != 0) { in __mlxsw_item_bit_array_offset() 216 item->name, item->offset, item->element_size); in __mlxsw_item_bit_array_offset() 220 max_index = (item->size.bytes << 3) / item->element_size - 1; in __mlxsw_item_bit_array_offset() 226 offset = be_index * item->element_size >> 3; in __mlxsw_item_bit_array_offset() 227 in_byte_index = index % (BITS_PER_BYTE / item->element_size); in __mlxsw_item_bit_array_offset() 228 *shift = in_byte_index * item->element_size; in __mlxsw_item_bit_array_offset() 242 tmp &= GENMASK(item->element_size - 1, 0); in __mlxsw_item_bit_array_get() 252 u8 mask = GENMASK(item->element_size - 1, 0) << shift; in __mlxsw_item_bit_array_set() [all …]
|
/linux-6.12.1/tools/mm/ |
D | thpmaps | 82 def __init__(self, filename, element_size): 83 self.element_size = element_size 103 assert(self.element_size == 8) 107 vec *= self.element_size 109 lengths = (np.diff(vec) + self.element_size).reshape(len(vec)) 121 offset = index * self.element_size 122 length = nr * self.element_size
|
/linux-6.12.1/drivers/gpu/drm/qxl/ |
D | qxl_cmd.c | 44 int element_size; member 58 int element_size, in qxl_ring_create() argument 70 ring->element_size = element_size; in qxl_ring_create() 136 elt = ring->ring->elements + idx * ring->element_size; in qxl_ring_push() 138 memcpy((void *)elt, new_elt, ring->element_size); in qxl_ring_push() 167 ring_elt = ring->ring->elements + idx * ring->element_size; in qxl_ring_pop() 169 memcpy(element, (void *)ring_elt, ring->element_size); in qxl_ring_pop()
|
D | qxl_drv.h | 272 int element_size,
|
/linux-6.12.1/drivers/scsi/pm8001/ |
D | pm8001_init.c | 343 pm8001_ha->memoryMap.region[AAP1].element_size = PM8001_EVENT_LOG_SIZE; in pm8001_alloc() 349 pm8001_ha->memoryMap.region[IOP].element_size = PM8001_EVENT_LOG_SIZE; in pm8001_alloc() 358 pm8001_ha->memoryMap.region[ci_offset+i].element_size = 4; in pm8001_alloc() 366 pm8001_ha->memoryMap.region[ib_offset+i].element_size in pm8001_alloc() 375 pm8001_ha->memoryMap.region[ib_offset+i].element_size in pm8001_alloc() 388 pm8001_ha->memoryMap.region[pi_offset+i].element_size = 4; in pm8001_alloc() 396 pm8001_ha->memoryMap.region[ob_offset+i].element_size in pm8001_alloc() 406 pm8001_ha->memoryMap.region[ob_offset+i].element_size in pm8001_alloc() 416 pm8001_ha->memoryMap.region[NVMD].element_size = 4096; in pm8001_alloc() 424 pm8001_ha->memoryMap.region[FORENSIC_MEM].element_size = 0x10000; in pm8001_alloc()
|
D | pm8001_sas.h | 301 u32 element_size; member
|
/linux-6.12.1/lib/ |
D | lru_cache.c | 114 lc->element_size = e_size; in lc_create() 127 memset(p, 0, lc->element_size); in lc_create() 205 memset(p, 0, lc->element_size); in lc_reset()
|
/linux-6.12.1/include/linux/ |
D | lru_cache.h | 175 size_t element_size; member
|
D | string.h | 308 extern void *kmemdup_array(const void *src, size_t count, size_t element_size, gfp_t gfp)
|
D | efi.h | 835 size_t element_size);
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | sstep.h | 124 u8 element_size; /* for VSX/VMX loads/stores */ member
|
/linux-6.12.1/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.h | 184 u16 element_size; /* Size of each entry */ member 390 return (void *)(hwq->pbl_ptr[pg_num] + hwq->element_size * pg_idx); in bnxt_qplib_get_qe()
|
D | qplib_res.c | 175 hwq->element_size = 0; in bnxt_qplib_free_hwq() 336 hwq->element_size = stride; in bnxt_qplib_alloc_init_hwq()
|
/linux-6.12.1/mm/ |
D | util.c | 151 void *kmemdup_array(const void *src, size_t count, size_t element_size, gfp_t gfp) in kmemdup_array() argument 153 return kmemdup(src, size_mul(element_size, count), gfp); in kmemdup_array()
|
/linux-6.12.1/arch/powerpc/perf/ |
D | hv-gpci.c | 465 int element_size, char *buf, size_t *last_element, in affinity_domain_via_partition_result_parse() argument 486 for (; k < j + element_size; k++) in affinity_domain_via_partition_result_parse()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras.c | 1686 const unsigned int element_size = in amdgpu_ras_sysfs_badpages_read() local 1688 unsigned int start = div64_ul(ppos + element_size - 1, element_size); in amdgpu_ras_sysfs_badpages_read() 1689 unsigned int end = div64_ul(ppos + count - 1, element_size); in amdgpu_ras_sysfs_badpages_read() 1700 s += scnprintf(&buf[s], element_size + 1, in amdgpu_ras_sysfs_badpages_read() 2237 data->element_size); in amdgpu_ras_interrupt_handler() 2285 data->element_size); in amdgpu_ras_interrupt_dispatch() 2340 .element_size = sizeof(struct amdgpu_iv_entry), in amdgpu_ras_interrupt_add_handler() 2347 data->aligned_element_size = ALIGN(data->element_size, 8); in amdgpu_ras_interrupt_add_handler()
|
D | amdgpu_ras.h | 623 unsigned int element_size; member
|
/linux-6.12.1/tools/hv/ |
D | hv_kvp_daemon.c | 650 int element_size, int offset) in kvp_process_ipconfig_file() argument 667 if (len < strlen(config_buf) + element_size + 1) in kvp_process_ipconfig_file()
|