/linux-6.6.21/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.6.21/fs/ntfs3/ |
D | record.c | 202 u32 t32, off, asize, prev_type; in mi_enum_attr() local 231 asize = le32_to_cpu(attr->size); in mi_enum_attr() 232 if (asize < SIZEOF_RESIDENT) { in mi_enum_attr() 238 if (off + asize < off) in mi_enum_attr() 242 attr = Add2Ptr(attr, asize); in mi_enum_attr() 243 off += asize; in mi_enum_attr() 246 asize = le32_to_cpu(attr->size); in mi_enum_attr() 269 if (off + asize < off || off + asize > used) in mi_enum_attr() 275 if (asize < SIZEOF_RESIDENT) in mi_enum_attr() 279 if (t16 > asize) in mi_enum_attr() [all …]
|
D | frecord.c | 458 const __le16 *name, u8 name_len, u32 asize, u16 name_off, in ni_ins_new_attr() argument 486 attr = mi_insert_attr(mi, type, name, name_len, asize, name_off); in ni_ins_new_attr() 662 u32 asize, free; in ni_try_remove_attr_list() local 678 asize = le32_to_cpu(attr_list->size); in ni_try_remove_attr_list() 681 free = sbi->record_size - le32_to_cpu(ni->mi.mrec->used) + asize; in ni_try_remove_attr_list() 701 asize = le32_to_cpu(attr->size); in ni_try_remove_attr_list() 702 if (asize > free) in ni_try_remove_attr_list() 705 free -= asize; in ni_try_remove_attr_list() 738 asize = le32_to_cpu(attr->size); in ni_try_remove_attr_list() 742 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() 179 if (asize >= sizeof(struct ATTR_STD_INFO5) + roff && in ntfs_read_mft() 197 if (attr->non_res || asize < SIZEOF_ATTRIBUTE_FILENAME + roff || in ntfs_read_mft() 393 if (roff > asize) { in ntfs_read_mft() 401 t64, Add2Ptr(attr, roff), asize - roff); in ntfs_read_mft() 1229 u32 asize, dsize, sd_size; in ntfs_create_inode() local [all …]
|
D | fslog.c | 2673 u32 asize = le32_to_cpu(attr->size); in check_attr() local 2679 if (asize >= sbi->record_size || in check_attr() 2680 asize + PtrOffset(rec, attr) >= sbi->record_size || in check_attr() 2683 asize)) { in check_attr() 2691 if (rsize >= asize || in check_attr() 2692 le16_to_cpu(attr->res.data_off) + rsize > asize) { in check_attr() 2703 if (svcn > evcn + 1 || run_off >= asize || in check_attr() 2709 if (run_off > asize) in check_attr() 2713 Add2Ptr(attr, run_off), asize - run_off) < 0) { in check_attr() 2726 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, align; 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() 263 attr_s = kmemdup(attr, asize, GFP_NOFS); in attr_make_nonresident() 308 used -= asize; in attr_make_nonresident() 309 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 | 451 u32 asize, rsize; in resident_data_ex() local 457 asize = le32_to_cpu(attr->size); in resident_data_ex() 460 if (asize < datasize + off) in resident_data_ex()
|
D | index.c | 1582 u32 hdr_used, hdr_total, asize, to_move; in indx_insert_into_root() local 1603 asize = le32_to_cpu(attr->size); in indx_insert_into_root() 1609 if ((undo || asize + ds_root < sbi->max_bytes_per_attr) && in indx_insert_into_root() 1621 a_root = kmemdup(attr, asize, GFP_NOFS); in indx_insert_into_root() 1664 if (ds_root > 0 && asize + ds_root > sbi->max_bytes_per_attr) { in indx_insert_into_root() 1703 memcpy(attr, a_root, asize); in indx_insert_into_root()
|
D | ntfs_fs.h | 756 const __le16 *name, u8 name_len, u32 asize,
|
/linux-6.6.21/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.6.21/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() 546 u64 asize; in offb_init_nodriver() local 605 for (i = 0; (addrp = of_get_address(dp, i, &asize, &flags)) in offb_init_nodriver() 611 if (asize < rsize) in offb_init_nodriver() 617 ((rstart + asize) >= (addr_prop + rsize))) in offb_init_nodriver()
|
/linux-6.6.21/drivers/memory/ |
D | ti-aemif.c | 108 u8 asize; member 203 set |= (data->asize & ACR_ASIZE_MASK); in aemif_config_abus() 250 data->asize = val & ASIZE_MAX; in aemif_get_hw_params() 314 data->asize = 1; in of_aemif_parse_abus_config()
|
/linux-6.6.21/sound/soc/sof/ |
D | topology.c | 502 int num_tokens, asize; in sof_copy_tuples() local 531 asize = le32_to_cpu(array->size); in sof_copy_tuples() 534 if (asize < 0) { in sof_copy_tuples() 535 dev_err(sdev->dev, "Invalid array size 0x%x\n", asize); in sof_copy_tuples() 540 array_size -= asize; in sof_copy_tuples() 542 dev_err(sdev->dev, "Invalid array size 0x%x\n", asize); in sof_copy_tuples() 596 array = (struct snd_soc_tplg_vendor_array *)((u8 *)array + asize); in sof_copy_tuples() 718 int asize; in sof_parse_token_sets() local 722 asize = le32_to_cpu(array->size); in sof_parse_token_sets() 725 if (asize < 0) { /* FIXME: A zero-size array makes no sense */ in sof_parse_token_sets() [all …]
|
/linux-6.6.21/include/net/iucv/ |
D | iucv.h | 462 void *answer, size_t asize, size_t *residual); 479 size_t size, void *answer, size_t asize, size_t *residual);
|
/linux-6.6.21/arch/x86/kernel/kprobes/ |
D | core.c | 524 if (p->ainsn.loop.asize == 32) in kprobe_emulate_loop() 527 else if (p->ainsn.loop.asize == 64) in kprobe_emulate_loop() 533 if (p->ainsn.loop.asize == 32) in kprobe_emulate_loop() 536 else if (p->ainsn.loop.asize == 64) in kprobe_emulate_loop() 666 p->ainsn.loop.asize = insn->addr_bytes * 8; in prepare_emulation()
|
/linux-6.6.21/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.6.21/arch/x86/include/asm/ |
D | kprobes.h | 73 unsigned char asize; member
|
/linux-6.6.21/drivers/tty/vt/ |
D | keyboard.c | 1694 int asize; in vt_do_diacrit() local 1713 asize = accent_table_size; in vt_do_diacrit() 1714 for (i = 0; i < asize; i++) { in vt_do_diacrit() 1724 if (put_user(asize, &a->kb_cnt)) in vt_do_diacrit() 1727 asize * sizeof(struct kbdiacr))) in vt_do_diacrit() 1746 asize = accent_table_size; in vt_do_diacrit() 1747 memcpy(buf, accent_table, asize * sizeof(struct kbdiacruc)); in vt_do_diacrit() 1751 if (put_user(asize, &a->kb_cnt)) in vt_do_diacrit() 1754 asize*sizeof(struct kbdiacruc))) in vt_do_diacrit()
|
/linux-6.6.21/drivers/accel/habanalabs/common/ |
D | habanalabs_ioctl.c | 1151 unsigned int usize, asize; in _hl_ioctl() local 1166 usize = asize = _IOC_SIZE(cmd); in _hl_ioctl() 1167 if (hl_size > asize) in _hl_ioctl() 1168 asize = hl_size; in _hl_ioctl() 1173 if (asize <= sizeof(stack_kdata)) { in _hl_ioctl() 1176 kdata = kzalloc(asize, GFP_KERNEL); in _hl_ioctl()
|
/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 3235 unsigned int usize, asize; in kfd_ioctl() local 3248 usize = asize = _IOC_SIZE(cmd); in kfd_ioctl() 3249 if (amdkfd_size > asize) in kfd_ioctl() 3250 asize = amdkfd_size; in kfd_ioctl() 3300 if (asize <= sizeof(stack_kdata)) { in kfd_ioctl() 3303 kdata = kmalloc(asize, GFP_KERNEL); in kfd_ioctl() 3309 if (asize > usize) in kfd_ioctl() 3310 memset(kdata + usize, 0, asize - usize); in kfd_ioctl()
|
/linux-6.6.21/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.6.21/net/iucv/ |
D | iucv.c | 1363 void *answer, size_t asize, size_t *residual) in iucv_message_send2way() argument 1382 parm->dpl.ipbfln2f = (u32) asize; in iucv_message_send2way() 1393 parm->db.ipbfln2f = (u32) asize; in iucv_message_send2way()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_trace.h | 2343 __field(unsigned short, asize) 2354 __entry->asize = in_f->ilf_asize; 2366 __entry->asize,
|