| /linux/drivers/gpu/drm/nouveau/nvif/ |
| H A D | fifo.c | 31 struct nv_device_info_v1_data runlist[64]; in nvif_fifo_runlists() 36 if (device->runlist) in nvif_fifo_runlists() 44 for (i = 0; i < ARRAY_SIZE(a->v.runlist); i++) { in nvif_fifo_runlists() 45 a->v.runlist[i].mthd = NV_DEVICE_HOST_RUNLIST_ENGINES; in nvif_fifo_runlists() 46 a->v.runlist[i].data = i; in nvif_fifo_runlists() 54 device->runlist = kzalloc_objs(*device->runlist, device->runlists); in nvif_fifo_runlists() 55 if (!device->runlist) { in nvif_fifo_runlists() 61 if (a->v.runlist[i].mthd != NV_DEVICE_INFO_INVALID) in nvif_fifo_runlists() 62 device->runlist[i].engines = a->v.runlist[i].data; in nvif_fifo_runlists() 80 if (device->runlist[i].engines & engine) in nvif_fifo_runlist()
|
| H A D | device.c | 64 kfree(device->runlist); in nvif_device_dtor() 65 device->runlist = NULL; in nvif_device_dtor() 74 device->runlist = NULL; in nvif_device_ctor()
|
| /linux/fs/ntfs/ |
| H A D | attrib.c | 41 * ntfs_map_runlist_nolock - map (a part of) a runlist of an ntfs inode 42 * @ni: ntfs inode for which to map (part of) a runlist 43 * @vcn: map runlist part containing this vcn 46 * Map the part of a runlist containing the @vcn of the ntfs inode @ni. 50 * runlist fragments and allows their mapping. If you do not have the mft 67 * of bounds of the runlist. 69 * Note the runlist can be NULL after this function returns if @vcn is zero and 70 * the attribute has zero allocated size, i.e. there simply is no runlist. 79 * Locking: - The runlist described by @ni must be locked for writing on entry 80 * and is locked on return. Note the runlist wil 440 __ntfs_attr_find_vcn_nolock(struct runlist * runlist,const s64 vcn) __ntfs_attr_find_vcn_nolock() argument [all...] |
| H A D | attrlist.c | 83 /* The buffered I/O below can reacquire the attribute runlist lock. */ in ntfs_attrlist_repack() 135 old_rl = attr_ni->runlist.rl; in ntfs_attrlist_repack() 136 old_rl_count = attr_ni->runlist.count; in ntfs_attrlist_repack() 137 down_write(&attr_ni->runlist.lock); in ntfs_attrlist_repack() 138 attr_ni->runlist.rl = new_rl; in ntfs_attrlist_repack() 139 attr_ni->runlist.count = new_rl_count; in ntfs_attrlist_repack() 140 up_write(&attr_ni->runlist.lock); in ntfs_attrlist_repack() 172 * Restore allocated_size before dropping the runlist lock: in ntfs_attrlist_repack() 174 * falls past the end of the runlist. in ntfs_attrlist_repack() 176 down_write(&attr_ni->runlist in ntfs_attrlist_repack() [all...] |
| H A D | mft.c | 1327 * - This function takes NTFS_I(vol->mftbmp_ino)->runlist.lock for in ntfs_mft_bitmap_extend_allocation_nolock() 1365 down_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1372 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1398 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1423 /* Update the mft bitmap runlist. */ in ntfs_mft_bitmap_extend_allocation_nolock() 1438 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1445 rl = ntfs_runlists_merge(&mftbmp_ni->runlist, rl2, 0, &new_rl_count); in ntfs_mft_bitmap_extend_allocation_nolock() 1447 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1457 mftbmp_ni->runlist.rl = rl; in ntfs_mft_bitmap_extend_allocation_nolock() 1458 mftbmp_ni->runlist in ntfs_mft_bitmap_extend_allocation_nolock() [all...] |
| H A D | wof.c | 150 struct runlist *runlist, in ntfs_bdev_read_from_rl() argument 169 down_read(&runlist->lock); in ntfs_bdev_read_from_rl() 170 if (!runlist->rl) { in ntfs_bdev_read_from_rl() 175 rl = __ntfs_attr_find_vcn_nolock(runlist, vcn); in ntfs_bdev_read_from_rl() 242 up_read(&runlist->lock); in ntfs_bdev_read_from_rl() 294 ret = ntfs_bdev_read_from_rl(ni->vol, &ni->runlist, in parse_wof_chunk_table() 386 err = ntfs_bdev_read_from_rl(vol, &wof_ni->runlist, in ntfs_read_wof_chunk() 698 down_write(&wof_ni->runlist.lock); in ntfs_read_wof_compressed_block() 701 up_write(&wof_ni->runlist in ntfs_read_wof_compressed_block() [all...] |
| H A D | runlist.c | 3 * NTFS runlist handling code. 24 * ntfs_rl_mm - runlist memmove 25 * @base: base runlist array 30 * It is up to the caller to serialize access to the runlist @base. 39 * ntfs_rl_mc - runlist memory copy 40 * @dstbase: destination runlist array 42 * @srcbase: source runlist array 58 * @rl: original runlist 59 * @old_size: number of runlist elements in the original runlist 1557 ntfs_rl_truncate_nolock(const struct ntfs_volume * vol,struct runlist * const runlist,const s64 new_length) ntfs_rl_truncate_nolock() argument [all...] |
| H A D | compress.c | 578 * We have the runlist, and all the destination pages we need to fill. in ntfs_read_compressed_block() 606 down_read(&ni->runlist.lock); in ntfs_read_compressed_block() 607 rl = ni->runlist.rl; in ntfs_read_compressed_block() 632 * Attempt to map runlist, dropping lock for the in ntfs_read_compressed_block() 635 up_read(&ni->runlist.lock); in ntfs_read_compressed_block() 662 up_read(&ni->runlist.lock); in ntfs_read_compressed_block() 842 up_read(&ni->runlist.lock); in ntfs_read_compressed_block() 847 up_read(&ni->runlist.lock); in ntfs_read_compressed_block() 1440 down_write(&ni->runlist.lock); in ntfs_write_cb() 1441 rl = ntfs_runlists_merge(&ni->runlist, rl in ntfs_write_cb() [all...] |
| H A D | logfile.c | 665 * by the runlist by hand. in ntfs_empty_logfile() 673 down_write(&log_ni->runlist.lock); in ntfs_empty_logfile() 674 rl = log_ni->runlist.rl; in ntfs_empty_logfile() 679 ntfs_error(sb, "Failed to map runlist fragment (error %d).", -err); in ntfs_empty_logfile() 682 rl = log_ni->runlist.rl; in ntfs_empty_logfile() 684 /* Seek to the runlist element containing @vcn. */ in ntfs_empty_logfile() 707 * runlist will have been updated. in ntfs_empty_logfile() 758 up_write(&log_ni->runlist.lock); in ntfs_empty_logfile() 777 up_write(&log_ni->runlist.lock); in ntfs_empty_logfile()
|
| H A D | file.c | 76 * allocated_size and runlist in units of preallocated size to reduce 77 * runlist merge overhead for small writes. This can leave 99 down_write(&ni->runlist.lock); in ntfs_trim_prealloc() 107 rc = ni->runlist.count - 2; in ntfs_trim_prealloc() 108 rl = ni->runlist.rl; in ntfs_trim_prealloc() 116 err = ntfs_rl_truncate_nolock(vol, &ni->runlist, vcn_tr); in ntfs_trim_prealloc() 118 kvfree(ni->runlist.rl); in ntfs_trim_prealloc() 119 ni->runlist.rl = NULL; in ntfs_trim_prealloc() 132 up_write(&ni->runlist.lock); in ntfs_file_release() 1488 down_write(&ni->runlist [all...] |
| H A D | attrib.h | 67 struct runlist_element *__ntfs_attr_find_vcn_nolock(struct runlist *runlist,
|
| H A D | inode.c | 385 err = ntfs_cluster_free_from_rl(ni->vol, ni->runlist.rl); in ntfs_drop_big_inode() 402 "Failed to decompress runlist. Leaving inconsistent metadata.\n"); in ntfs_drop_big_inode() 485 * The attribute runlist lock has separate locking rules from the in __ntfs_init_inode() 486 * normal runlist lock, so split the two lock-classes: in __ntfs_init_inode() 509 ntfs_init_runlist(&ni->runlist); 514 lockdep_set_class(&ni->runlist.lock, in ntfs_new_extent_inode() 1853 * @rl: runlist of the attribute list 1858 * Walk the runlist @rl and load all clusters from it copying them into in ntfs_read_inode_mount() 1887 /* Read all clusters specified by the runlist one run at a time. */ in ntfs_read_inode_mount() 2214 * the result into the existing runlist in ntfs_read_inode_mount() [all...] |
| H A D | aops.c | 170 down_read(&ni->runlist.lock); in ntfs_bmap() 173 up_read(&ni->runlist.lock); in ntfs_bmap()
|
| H A D | inode.h | 46 * @runlist: If state has the NI_NonResident bit set, the runlist of 49 * (if NInoAttr()). If runlist.rl is NULL, the runlist has not been read 52 * attribute (small directory). In the latter case runlist.rl is always 112 struct runlist runlist; 183 * NI_RunlistDirty runlist need to be updated. 110 struct runlist runlist; global() member
|
| H A D | super.c | 568 * variety of ntfs locks the dirty-bit write cannot be taken under (runlist in is_boot_sector_ntfs() 805 * The current direct-write path stores at most two MFT runlist in parse_ntfs_boot_sector() 814 * runlist element. Keep valid geometries that require crossing a in parse_ntfs_boot_sector() 1121 lockdep_set_class(&NTFS_I(tmp_ino)->runlist.lock, 1160 * Note, this function also results in the mft mirror runlist being completely in check_windows_hibernation_status() 1162 * should it find an unmapped runlist element. in check_windows_hibernation_status() 1262 /* Construct the mft mirror runlist by hand. */ in load_and_init_attrdef() 1272 * mapped the full runlist for it. in load_and_init_attrdef() 1275 down_read(&mirr_ni->runlist.lock); in load_and_init_attrdef() 1276 rl = mirr_ni->runlist in load_and_init_attrdef() [all...] |
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
| H A D | ga100.c | 59 info->runlist = (data & 0x00fffc00); in ga100_top_parse() 92 info->addr, info->fault, info->runlist < 0 ? 0 : info->runlist, in ga100_top_parse()
|
| H A D | gk104.c | 60 info->runlist = (data & 0x01e00000) >> 21; in gk104_top_parse() 103 info->addr, info->fault, info->engine, info->runlist, in gk104_top_parse()
|
| H A D | base.c | 36 info->runlist = -1; in nvkm_top_device_new()
|
| /linux/drivers/gpu/drm/nouveau/include/nvif/ |
| H A D | if0021.h | 9 __u8 runlist; member
|
| H A D | device.h | 15 } *runlist; member
|
| H A D | if0020.h | 9 __u8 runlist; member
|
| /linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
| H A D | top.h | 18 int runlist; member
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| H A D | ga100.c | 473 nvkm_list_foreach(tdev, &device->top->device, head, tdev->runlist == runl->addr) { in ga100_runl_new() 587 nvkm_list_foreach(tdev, &device->top->device, head, tdev->runlist >= 0) { in ga100_fifo_runl_ctor() 588 runl = nvkm_runl_get(fifo, -1, tdev->runlist); in ga100_fifo_runl_ctor() 590 ret = ga100_runl_new(fifo, id++, tdev->runlist, &runl); in ga100_fifo_runl_ctor()
|
| H A D | ucgrp.c | 98 runl = nvkm_runl_get(fifo, args->v0.runlist, 0); in nvkm_ucgrp_new()
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_chan.c | 306 args->runlist = __ffs64(runm); in nouveau_channel_ctor() 353 chan->runlist = args->runlist; in nouveau_channel_ctor()
|