Searched refs:mapi (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/iio/ |
D | inkern.c | 32 struct iio_map_internal *mapi, *next; in iio_map_array_unregister_locked() local 34 list_for_each_entry_safe(mapi, next, &iio_map_list, l) { in iio_map_array_unregister_locked() 35 if (indio_dev == mapi->indio_dev) { in iio_map_array_unregister_locked() 36 list_del(&mapi->l); in iio_map_array_unregister_locked() 37 kfree(mapi); in iio_map_array_unregister_locked() 47 struct iio_map_internal *mapi; in iio_map_array_register() local 54 mapi = kzalloc(sizeof(*mapi), GFP_KERNEL); in iio_map_array_register() 55 if (!mapi) { in iio_map_array_register() 59 mapi->map = &maps[i]; in iio_map_array_register() 60 mapi->indio_dev = indio_dev; in iio_map_array_register() [all …]
|
/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_da_btree.c | 2162 int nmap, error, got, i, mapi; in xfs_da_grow_inode_int() local 2184 mapi = 1; in xfs_da_grow_inode_int() 2194 for (b = *bno, mapi = 0; b < *bno + count; ) { in xfs_da_grow_inode_int() 2199 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int() 2204 mapi += nmap; in xfs_da_grow_inode_int() 2205 b = mapp[mapi - 1].br_startoff + in xfs_da_grow_inode_int() 2206 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int() 2209 mapi = 0; in xfs_da_grow_inode_int() 2216 for (i = 0, got = 0; i < mapi; i++) in xfs_da_grow_inode_int() 2219 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int()
|