Searched refs:mapi (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/ |
D | inkern.c | 30 struct iio_map_internal *mapi; in iio_map_array_register() local 37 mapi = kzalloc(sizeof(*mapi), GFP_KERNEL); in iio_map_array_register() 38 if (mapi == NULL) { in iio_map_array_register() 42 mapi->map = &maps[i]; in iio_map_array_register() 43 mapi->indio_dev = indio_dev; in iio_map_array_register() 44 list_add_tail(&mapi->l, &iio_map_list); in iio_map_array_register() 61 struct iio_map_internal *mapi, *next; in iio_map_array_unregister() local 64 list_for_each_entry_safe(mapi, next, &iio_map_list, l) { in iio_map_array_unregister() 65 if (indio_dev == mapi->indio_dev) { in iio_map_array_unregister() 66 list_del(&mapi->l); in iio_map_array_unregister() [all …]
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_da_btree.c | 2150 int nmap, error, got, i, mapi; in xfs_da_grow_inode_int() local 2172 mapi = 1; in xfs_da_grow_inode_int() 2182 for (b = *bno, mapi = 0; b < *bno + count; ) { in xfs_da_grow_inode_int() 2187 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int() 2192 mapi += nmap; in xfs_da_grow_inode_int() 2193 b = mapp[mapi - 1].br_startoff + in xfs_da_grow_inode_int() 2194 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int() 2197 mapi = 0; in xfs_da_grow_inode_int() 2204 for (i = 0, got = 0; i < mapi; i++) in xfs_da_grow_inode_int() 2207 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int()
|