/linux-6.12.1/drivers/mtd/devices/ |
D | pmc551.c | 126 u32 asize; member 150 eoff_hi = end & ~(priv->asize - 1); in pmc551_erase() 151 soff_hi = instr->addr & ~(priv->asize - 1); in pmc551_erase() 152 eoff_lo = end & (priv->asize - 1); in pmc551_erase() 157 if (soff_hi == eoff_hi || mtd->size == priv->asize) { in pmc551_erase() 169 memset(ptr, 0xff, priv->asize); in pmc551_erase() 170 if (soff_hi + priv->asize >= mtd->size) { in pmc551_erase() 173 soff_hi += priv->asize; in pmc551_erase() 175 priv->asize, &retlen, in pmc551_erase() 200 soff_hi = from & ~(priv->asize - 1); in pmc551_point() [all …]
|
/linux-6.12.1/fs/ntfs3/ |
D | record.c | 202 u32 t32, off, asize, prev_type; in mi_enum_attr() local 232 asize = le32_to_cpu(attr->size); in mi_enum_attr() 235 attr = Add2Ptr(attr, asize); in mi_enum_attr() 236 off += asize; in mi_enum_attr() 260 asize = le32_to_cpu(attr->size); in mi_enum_attr() 263 if (off + asize < off || off + asize > used) in mi_enum_attr() 269 if (asize < SIZEOF_RESIDENT) in mi_enum_attr() 273 if (t16 > asize) in mi_enum_attr() 276 if (le32_to_cpu(attr->res.data_size) > asize - t16) in mi_enum_attr() 291 if (asize < SIZEOF_NONRESIDENT) in mi_enum_attr() [all …]
|
D | frecord.c | 460 const __le16 *name, u8 name_len, u32 asize, u16 name_off, in ni_ins_new_attr() argument 488 attr = mi_insert_attr(mi, type, name, name_len, asize, name_off); in ni_ins_new_attr() 664 u32 asize, free; in ni_try_remove_attr_list() local 680 asize = le32_to_cpu(attr_list->size); in ni_try_remove_attr_list() 683 free = sbi->record_size - le32_to_cpu(ni->mi.mrec->used) + asize; in ni_try_remove_attr_list() 703 asize = le32_to_cpu(attr->size); in ni_try_remove_attr_list() 704 if (asize > free) in ni_try_remove_attr_list() 707 free -= asize; in ni_try_remove_attr_list() 740 asize = le32_to_cpu(attr->size); in ni_try_remove_attr_list() 744 le->name_len, asize, in ni_try_remove_attr_list() [all …]
|
D | inode.c | 39 u32 rp_fa = 0, asize, t32; in ntfs_read_mft() local 133 asize = le32_to_cpu(attr->size); in ntfs_read_mft() 139 asize = le32_to_cpu(attr->size); in ntfs_read_mft() 147 asize) in ntfs_read_mft() 160 asize < sizeof(struct ATTR_STD_INFO) + roff || in ntfs_read_mft() 181 if (asize >= sizeof(struct ATTR_STD_INFO5) + roff && in ntfs_read_mft() 199 if (attr->non_res || asize < SIZEOF_ATTRIBUTE_FILENAME + roff || in ntfs_read_mft() 394 if (roff > asize) { in ntfs_read_mft() 402 t64, Add2Ptr(attr, roff), asize - roff); in ntfs_read_mft() 1204 u32 asize, dsize, sd_size; in ntfs_create_inode() local [all …]
|
D | fslog.c | 2693 u32 asize = le32_to_cpu(attr->size); in check_attr() local 2699 if (asize >= sbi->record_size || in check_attr() 2700 asize + PtrOffset(rec, attr) >= sbi->record_size || in check_attr() 2703 asize)) { in check_attr() 2711 if (rsize >= asize || in check_attr() 2712 le16_to_cpu(attr->res.data_off) + rsize > asize) { in check_attr() 2723 if (svcn > evcn + 1 || run_off >= asize || in check_attr() 2729 if (run_off > asize) in check_attr() 2733 Add2Ptr(attr, run_off), asize - run_off) < 0) { in check_attr() 2746 attr, le16_to_cpu(attr->res.data_off))) > asize) { in check_attr() [all …]
|
D | attrib.c | 66 u32 asize; in attr_load_runs() local 75 asize = le32_to_cpu(attr->size); in attr_load_runs() 78 if (run_off > asize) in attr_load_runs() 83 asize - run_off); in attr_load_runs() 234 u32 used, asize, rsize, aoff; in attr_make_nonresident() local 249 asize = le32_to_cpu(attr->size); in attr_make_nonresident() 250 next = Add2Ptr(attr, asize); in attr_make_nonresident() 266 attr_s = kmemdup(attr, asize, GFP_NOFS); in attr_make_nonresident() 310 used -= asize; in attr_make_nonresident() 311 memmove(attr, Add2Ptr(attr, asize), used - aoff); in attr_make_nonresident() [all …]
|
D | attrlist.c | 295 size_t asize, new_asize, old_size; in al_add_le() local 305 asize = al_aligned(old_size); in al_add_le() 312 if (new_size > asize) { in al_add_le()
|
D | ntfs.h | 448 u32 asize, rsize; in resident_data_ex() local 454 asize = le32_to_cpu(attr->size); in resident_data_ex() 457 if (asize < datasize + off) in resident_data_ex()
|
D | index.c | 1589 u32 hdr_used, hdr_total, asize, to_move; in indx_insert_into_root() local 1610 asize = le32_to_cpu(attr->size); in indx_insert_into_root() 1616 if ((undo || asize + ds_root < sbi->max_bytes_per_attr) && in indx_insert_into_root() 1628 a_root = kmemdup(attr, asize, GFP_NOFS); in indx_insert_into_root() 1671 if (ds_root > 0 && asize + ds_root > sbi->max_bytes_per_attr) { in indx_insert_into_root() 1710 memcpy(attr, a_root, asize); in indx_insert_into_root()
|
D | ntfs_fs.h | 762 const __le16 *name, u8 name_len, u32 asize,
|
/linux-6.12.1/arch/arm/mm/ |
D | pmsa-v7.c | 150 phys_addr_t asize = base + size - abase; in try_split_region() local 151 phys_addr_t p2size = 1 << __fls(asize); in try_split_region() 154 if (p2size != asize) in try_split_region() 158 sdiff = p2size - asize; in try_split_region() 212 phys_addr_t asize = (base - 1) ^ base; in allocate_region() local 215 size = asize < p2size ? asize + 1 : p2size + 1; in allocate_region()
|
/linux-6.12.1/drivers/video/fbdev/ |
D | offb.c | 307 u64 asize, taddr; in offb_map_reg() local 310 addrp = of_get_pci_address(np, index, &asize, &flags); in offb_map_reg() 312 addrp = of_get_address(np, index, &asize, &flags); in offb_map_reg() 317 if ((offset + size) > asize) in offb_map_reg() 543 u64 asize; in offb_init_nodriver() local 602 for (i = 0; (addrp = of_get_address(dp, i, &asize, &flags)) in offb_init_nodriver() 608 if (asize < rsize) in offb_init_nodriver() 614 ((rstart + asize) >= (addr_prop + rsize))) in offb_init_nodriver()
|
/linux-6.12.1/drivers/memory/ |
D | ti-aemif.c | 107 u8 asize; member 202 set |= (data->asize & ACR_ASIZE_MASK); in aemif_config_abus() 249 data->asize = val & ASIZE_MAX; in aemif_get_hw_params() 313 data->asize = 1; in of_aemif_parse_abus_config()
|
/linux-6.12.1/sound/soc/sof/ |
D | topology.c | 504 int num_tokens, asize; in sof_copy_tuples() local 533 asize = le32_to_cpu(array->size); in sof_copy_tuples() 536 if (asize < 0) { in sof_copy_tuples() 537 dev_err(sdev->dev, "Invalid array size 0x%x\n", asize); in sof_copy_tuples() 542 array_size -= asize; in sof_copy_tuples() 544 dev_err(sdev->dev, "Invalid array size 0x%x\n", asize); in sof_copy_tuples() 598 array = (struct snd_soc_tplg_vendor_array *)((u8 *)array + asize); in sof_copy_tuples() 720 int asize; in sof_parse_token_sets() local 724 asize = le32_to_cpu(array->size); in sof_parse_token_sets() 727 if (asize < 0) { /* FIXME: A zero-size array makes no sense */ in sof_parse_token_sets() [all …]
|
/linux-6.12.1/include/net/iucv/ |
D | iucv.h | 468 void *answer, size_t asize, size_t *residual); 485 size_t size, void *answer, size_t asize, size_t *residual);
|
/linux-6.12.1/security/smack/ |
D | smackfs.c | 1807 int asize; in smk_read_ambient() local 1817 asize = strlen(smack_net_ambient->smk_known) + 1; in smk_read_ambient() 1819 if (cn >= asize) in smk_read_ambient() 1822 asize); in smk_read_ambient() 2081 int asize; in smk_read_unconfined() local 2089 asize = strlen(smack) + 1; in smk_read_unconfined() 2091 if (cn >= asize) in smk_read_unconfined() 2092 rc = simple_read_from_buffer(buf, cn, ppos, smack, asize); in smk_read_unconfined() 2637 int asize; in smk_read_syslog() local 2647 asize = strlen(skp->smk_known) + 1; in smk_read_syslog() [all …]
|
/linux-6.12.1/arch/x86/kernel/kprobes/ |
D | core.c | 571 if (p->ainsn.loop.asize == 32) in kprobe_emulate_loop() 574 else if (p->ainsn.loop.asize == 64) in kprobe_emulate_loop() 580 if (p->ainsn.loop.asize == 32) in kprobe_emulate_loop() 583 else if (p->ainsn.loop.asize == 64) in kprobe_emulate_loop() 713 p->ainsn.loop.asize = insn->addr_bytes * 8; in prepare_emulation()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | kprobes.h | 73 unsigned char asize; member
|
/linux-6.12.1/drivers/tty/vt/ |
D | keyboard.c | 1692 int asize; in vt_do_diacrit() local 1711 asize = accent_table_size; in vt_do_diacrit() 1712 for (i = 0; i < asize; i++) { in vt_do_diacrit() 1722 if (put_user(asize, &a->kb_cnt)) in vt_do_diacrit() 1725 asize * sizeof(struct kbdiacr))) in vt_do_diacrit() 1744 asize = accent_table_size; in vt_do_diacrit() 1745 memcpy(buf, accent_table, asize * sizeof(struct kbdiacruc)); in vt_do_diacrit() 1749 if (put_user(asize, &a->kb_cnt)) in vt_do_diacrit() 1752 asize*sizeof(struct kbdiacruc))) in vt_do_diacrit()
|
/linux-6.12.1/drivers/crypto/inside-secure/ |
D | safexcel.c | 160 u32 val, dsize, asize; in eip197_trc_cache_init() local 204 asize = eip197_trc_cache_probe(priv, 0, 0x3fffffff, 16) >> 4; in eip197_trc_cache_init() 210 if (dsize < EIP197_MIN_DSIZE || asize < EIP197_MIN_ASIZE) { in eip197_trc_cache_init() 212 dsize, asize); in eip197_trc_cache_init() 232 cs_rc_max = min_t(uint, cs_rc_abs_max, (asize >> 1)); in eip197_trc_cache_init() 234 cs_ht_sz = __fls(asize - cs_rc_max) - 2; in eip197_trc_cache_init() 238 cs_rc_max = min_t(uint, cs_rc_abs_max, asize - (cs_ht_wc >> 2)); in eip197_trc_cache_init() 265 dsize, asize, cs_rc_max, cs_ht_wc + cs_ht_wc); in eip197_trc_cache_init()
|
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | habanalabs_ioctl.c | 1236 unsigned int usize, asize; in _hl_ioctl() local 1251 usize = asize = _IOC_SIZE(cmd); in _hl_ioctl() 1252 if (hl_size > asize) in _hl_ioctl() 1253 asize = hl_size; in _hl_ioctl() 1258 if (asize <= sizeof(stack_kdata)) { in _hl_ioctl() 1261 kdata = kzalloc(asize, GFP_KERNEL); in _hl_ioctl()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 3242 unsigned int usize, asize; in kfd_ioctl() local 3255 usize = asize = _IOC_SIZE(cmd); in kfd_ioctl() 3256 if (amdkfd_size > asize) in kfd_ioctl() 3257 asize = amdkfd_size; in kfd_ioctl() 3307 if (asize <= sizeof(stack_kdata)) { in kfd_ioctl() 3310 kdata = kmalloc(asize, GFP_KERNEL); in kfd_ioctl() 3316 if (asize > usize) in kfd_ioctl() 3317 memset(kdata + usize, 0, asize - usize); in kfd_ioctl()
|
/linux-6.12.1/drivers/clk/bcm/ |
D | clk-bcm2835.c | 2268 const size_t asize = ARRAY_SIZE(clk_desc_array); in bcm2835_clk_probe() local 2278 struct_size(cprman, onecell.hws, asize), in bcm2835_clk_probe() 2306 cprman->onecell.num = asize; in bcm2835_clk_probe() 2310 for (i = 0; i < asize; i++) { in bcm2835_clk_probe()
|
/linux-6.12.1/net/iucv/ |
D | iucv.c | 1409 void *answer, size_t asize, size_t *residual) in iucv_message_send2way() argument 1428 parm->dpl.ipbfln2f = (u32) asize; in iucv_message_send2way() 1439 parm->db.ipbfln2f = (u32) asize; in iucv_message_send2way()
|
/linux-6.12.1/fs/xfs/ |
D | xfs_trace.h | 2352 __field(unsigned short, asize) 2363 __entry->asize = in_f->ilf_asize; 2375 __entry->asize,
|