Home
last modified time | relevance | path

Searched refs:asize (Results 1 – 25 of 25) sorted by relevance

/Linux-v6.1/drivers/mtd/devices/
Dpmc551.c126 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-v6.1/fs/ntfs3/
Drecord.c190 u32 t32, off, asize; in mi_enum_attr() local
217 asize = le32_to_cpu(attr->size); in mi_enum_attr()
218 if (asize < SIZEOF_RESIDENT) { in mi_enum_attr()
223 attr = Add2Ptr(attr, asize); in mi_enum_attr()
224 off += asize; in mi_enum_attr()
227 asize = le32_to_cpu(attr->size); in mi_enum_attr()
246 if (off + asize > used) in mi_enum_attr()
251 if (asize < SIZEOF_RESIDENT) in mi_enum_attr()
256 if (t16 > asize) in mi_enum_attr()
260 if (t16 + t32 > asize) in mi_enum_attr()
[all …]
Dfrecord.c457 const __le16 *name, u8 name_len, u32 asize, u16 name_off, in ni_ins_new_attr() argument
485 attr = mi_insert_attr(mi, type, name, name_len, asize, name_off); in ni_ins_new_attr()
651 u32 asize, free; in ni_try_remove_attr_list() local
667 asize = le32_to_cpu(attr_list->size); in ni_try_remove_attr_list()
670 free = sbi->record_size - le32_to_cpu(ni->mi.mrec->used) + asize; in ni_try_remove_attr_list()
690 asize = le32_to_cpu(attr->size); in ni_try_remove_attr_list()
691 if (asize > free) in ni_try_remove_attr_list()
694 free -= asize; in ni_try_remove_attr_list()
727 asize = le32_to_cpu(attr->size); in ni_try_remove_attr_list()
731 le->name_len, asize, in ni_try_remove_attr_list()
[all …]
Dinode.c39 u32 rp_fa = 0, asize, t32; in ntfs_read_mft() local
124 asize = le32_to_cpu(attr->size); in ntfs_read_mft()
130 asize = le32_to_cpu(attr->size); in ntfs_read_mft()
135 asize < sizeof(struct ATTR_STD_INFO) + roff || in ntfs_read_mft()
153 if (asize >= sizeof(struct ATTR_STD_INFO5) + roff && in ntfs_read_mft()
171 if (attr->non_res || asize < SIZEOF_ATTRIBUTE_FILENAME + roff || in ntfs_read_mft()
369 t64, Add2Ptr(attr, roff), asize - roff); in ntfs_read_mft()
1183 u32 asize, dsize, sd_size; in ntfs_create_inode() local
1318 asize = SIZEOF_RESIDENT + dsize; in ntfs_create_inode()
1321 attr->size = cpu_to_le32(asize); in ntfs_create_inode()
[all …]
Dfslog.c2694 u32 asize = le32_to_cpu(attr->size); in check_attr() local
2700 if (asize >= sbi->record_size || in check_attr()
2701 asize + PtrOffset(rec, attr) >= sbi->record_size || in check_attr()
2704 asize)) { in check_attr()
2712 if (rsize >= asize || in check_attr()
2713 le16_to_cpu(attr->res.data_off) + rsize > asize) { in check_attr()
2724 if (svcn > evcn + 1 || run_off >= asize || in check_attr()
2731 Add2Ptr(attr, run_off), asize - run_off) < 0) { in check_attr()
2744 attr, le16_to_cpu(attr->res.data_off))) > asize) { in check_attr()
2838 u32 asize; in check_if_attr() local
[all …]
Dattrib.c93 u32 asize; in attr_load_runs() local
102 asize = le32_to_cpu(attr->size); in attr_load_runs()
106 asize - run_off); in attr_load_runs()
241 u32 used, asize, rsize, aoff, align; in attr_make_nonresident() local
256 asize = le32_to_cpu(attr->size); in attr_make_nonresident()
257 next = Add2Ptr(attr, asize); in attr_make_nonresident()
270 attr_s = kmemdup(attr, asize, GFP_NOFS); in attr_make_nonresident()
314 used -= asize; in attr_make_nonresident()
315 memmove(attr, Add2Ptr(attr, asize), used - aoff); in attr_make_nonresident()
342 memcpy(attr, attr_s, asize); in attr_make_nonresident()
[all …]
Dattrlist.c279 size_t asize, new_asize, old_size; in al_add_le() local
289 asize = al_aligned(old_size); in al_add_le()
296 if (new_size > asize) { in al_add_le()
Dntfs.h448 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()
Dindex.c1476 u32 hdr_used, hdr_total, asize, to_move; in indx_insert_into_root() local
1497 asize = le32_to_cpu(attr->size); in indx_insert_into_root()
1503 if ((undo || asize + ds_root < sbi->max_bytes_per_attr) && in indx_insert_into_root()
1515 a_root = kmemdup(attr, asize, GFP_NOFS); in indx_insert_into_root()
1558 if (ds_root > 0 && asize + ds_root > sbi->max_bytes_per_attr) { in indx_insert_into_root()
1597 memcpy(attr, a_root, asize); in indx_insert_into_root()
Dntfs_fs.h744 const __le16 *name, u8 name_len, u32 asize,
/Linux-v6.1/arch/arm/mm/
Dpmsa-v7.c150 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-v6.1/drivers/video/fbdev/
Doffb.c305 u64 asize, taddr; in offb_map_reg() local
308 addrp = of_get_pci_address(np, index, &asize, &flags); in offb_map_reg()
310 addrp = of_get_address(np, index, &asize, &flags); in offb_map_reg()
315 if ((offset + size) > asize) in offb_map_reg()
549 u64 asize; in offb_init_nodriver() local
608 for (i = 0; (addrp = of_get_address(dp, i, &asize, &flags)) in offb_init_nodriver()
614 if (asize < rsize) in offb_init_nodriver()
620 ((rstart + asize) >= (addr_prop + rsize))) in offb_init_nodriver()
/Linux-v6.1/sound/soc/sof/
Dtopology.c462 int num_tokens, asize; in sof_copy_tuples() local
490 asize = le32_to_cpu(array->size); in sof_copy_tuples()
493 if (asize < 0) { in sof_copy_tuples()
494 dev_err(sdev->dev, "Invalid array size 0x%x\n", asize); in sof_copy_tuples()
499 array_size -= asize; in sof_copy_tuples()
501 dev_err(sdev->dev, "Invalid array size 0x%x\n", asize); in sof_copy_tuples()
551 array = (struct snd_soc_tplg_vendor_array *)((u8 *)array + asize); in sof_copy_tuples()
671 int asize; in sof_parse_token_sets() local
674 asize = le32_to_cpu(array->size); in sof_parse_token_sets()
677 if (asize < 0) { /* FIXME: A zero-size array makes no sense */ in sof_parse_token_sets()
[all …]
/Linux-v6.1/drivers/memory/
Dti-aemif.c108 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-v6.1/include/net/iucv/
Diucv.h462 void *answer, size_t asize, size_t *residual);
479 size_t size, void *answer, size_t asize, size_t *residual);
/Linux-v6.1/arch/x86/kernel/kprobes/
Dcore.c517 if (p->ainsn.loop.asize == 32) in kprobe_emulate_loop()
520 else if (p->ainsn.loop.asize == 64) in kprobe_emulate_loop()
526 if (p->ainsn.loop.asize == 32) in kprobe_emulate_loop()
529 else if (p->ainsn.loop.asize == 64) in kprobe_emulate_loop()
656 p->ainsn.loop.asize = insn->addr_bytes * 8; in prepare_emulation()
/Linux-v6.1/security/smack/
Dsmackfs.c1796 int asize; in smk_read_ambient() local
1806 asize = strlen(smack_net_ambient->smk_known) + 1; in smk_read_ambient()
1808 if (cn >= asize) in smk_read_ambient()
1811 asize); in smk_read_ambient()
2070 int asize; in smk_read_unconfined() local
2078 asize = strlen(smack) + 1; in smk_read_unconfined()
2080 if (cn >= asize) in smk_read_unconfined()
2081 rc = simple_read_from_buffer(buf, cn, ppos, smack, asize); in smk_read_unconfined()
2626 int asize; in smk_read_syslog() local
2636 asize = strlen(skp->smk_known) + 1; in smk_read_syslog()
[all …]
/Linux-v6.1/arch/x86/include/asm/
Dkprobes.h73 unsigned char asize; member
/Linux-v6.1/drivers/tty/vt/
Dkeyboard.c1694 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-v6.1/drivers/misc/habanalabs/common/
Dhabanalabs_ioctl.c995 unsigned int usize, asize; in _hl_ioctl() local
1010 usize = asize = _IOC_SIZE(cmd); in _hl_ioctl()
1011 if (hl_size > asize) in _hl_ioctl()
1012 asize = hl_size; in _hl_ioctl()
1017 if (asize <= sizeof(stack_kdata)) { in _hl_ioctl()
1020 kdata = kzalloc(asize, GFP_KERNEL); in _hl_ioctl()
/Linux-v6.1/drivers/crypto/inside-secure/
Dsafexcel.c160 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-v6.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c2764 unsigned int usize, asize; in kfd_ioctl() local
2777 usize = asize = _IOC_SIZE(cmd); in kfd_ioctl()
2778 if (amdkfd_size > asize) in kfd_ioctl()
2779 asize = amdkfd_size; in kfd_ioctl()
2829 if (asize <= sizeof(stack_kdata)) { in kfd_ioctl()
2832 kdata = kmalloc(asize, GFP_KERNEL); in kfd_ioctl()
2838 if (asize > usize) in kfd_ioctl()
2839 memset(kdata + usize, 0, asize - usize); in kfd_ioctl()
/Linux-v6.1/drivers/clk/bcm/
Dclk-bcm2835.c2268 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-v6.1/net/iucv/
Diucv.c1363 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-v6.1/fs/xfs/
Dxfs_trace.h2339 __field(unsigned short, asize)
2350 __entry->asize = in_f->ilf_asize;
2362 __entry->asize,