Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/nouveau/nvif/
H A Dfifo.c31 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 Ddevice.c51 kfree(device->runlist); in nvif_device_dtor()
52 device->runlist = NULL; in nvif_device_dtor()
61 device->runlist = NULL; in nvif_device_ctor()
/linux/fs/ntfs/
H A Diomap.c200 down_write(&ni->runlist.lock); in ntfs_read_iomap_begin_non_resident()
203 up_write(&ni->runlist.lock); in ntfs_read_iomap_begin_non_resident()
209 up_write(&ni->runlist.lock); in ntfs_read_iomap_begin_non_resident()
213 up_write(&ni->runlist.lock); in ntfs_read_iomap_begin_non_resident()
238 "runlist(vcn : %lld, length : %lld, lcn : %lld) is corrupted\n", in ntfs_read_iomap_begin_non_resident()
240 up_write(&ni->runlist.lock); in ntfs_read_iomap_begin_non_resident()
248 up_write(&ni->runlist.lock); in ntfs_read_iomap_begin_non_resident()
285 * Check that the cached iomap still matches the NTFS runlist before in ntfs_read_iomap_begin()
286 * iomap_zero_range() is called. if the runlist changes while iomap is in ntfs_read_iomap_begin()
301 down_read(&ni->runlist
[all...]
H A Dattrib.c41 * 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
436 __ntfs_attr_find_vcn_nolock(struct runlist * runlist,const s64 vcn) __ntfs_attr_find_vcn_nolock() argument
[all...]
H A Dmft.c1048 * - This function takes NTFS_I(vol->mftbmp_ino)->runlist.lock for in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1082 down_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1089 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1110 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1127 /* Update the mft bitmap runlist. */ in ntfs_mft_attr_extend()
1141 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_attr_extend()
1146 rl = ntfs_runlists_merge(&mftbmp_ni->runlist, rl2, 0, &new_rl_count);
1148 up_write(&mftbmp_ni->runlist.lock);
1158 mftbmp_ni->runlist.rl = rl;
1159 mftbmp_ni->runlist
[all...]
H A Dcompress.c607 down_read(&ni->runlist.lock); in ntfs_read_compressed_block()
608 rl = ni->runlist.rl; in ntfs_read_compressed_block()
636 up_read(&ni->runlist.lock); in ntfs_read_compressed_block()
664 up_read(&ni->runlist.lock); in ntfs_read_compressed_block()
854 up_read(&ni->runlist.lock); in ntfs_read_compressed_block()
859 up_read(&ni->runlist.lock); in ntfs_read_compressed_block()
1393 down_write(&ni->runlist.lock); in ntfs_write_cb()
1394 rl = ntfs_runlists_merge(&ni->runlist, rlc, 0, &new_rl_count); in ntfs_write_cb()
1396 up_write(&ni->runlist.lock); in ntfs_write_cb()
1405 ni->runlist.count = new_rl_count; in ntfs_write_cb()
[all …]
H A Drunlist.c3 * 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
1501 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 Dlogfile.c664 * by the runlist by hand. in ntfs_empty_logfile()
672 down_write(&log_ni->runlist.lock); in ntfs_empty_logfile()
673 rl = log_ni->runlist.rl; in ntfs_empty_logfile()
678 ntfs_error(sb, "Failed to map runlist fragment (error %d).", -err); in ntfs_empty_logfile()
681 rl = log_ni->runlist.rl; in ntfs_empty_logfile()
683 /* Seek to the runlist element containing @vcn. */ in ntfs_empty_logfile()
706 * runlist will have been updated. in ntfs_empty_logfile()
757 up_write(&log_ni->runlist.lock); in ntfs_empty_logfile()
776 up_write(&log_ni->runlist.lock); in ntfs_empty_logfile()
H A Dfile.c68 * allocated_size and runlist in units of preallocated size to reduce
69 * runlist merge overhead for small writes. This can leave
90 down_write(&ni->runlist.lock); in ntfs_trim_prealloc()
98 rc = ni->runlist.count - 2; in ntfs_trim_prealloc()
99 rl = ni->runlist.rl; in ntfs_trim_prealloc()
107 err = ntfs_rl_truncate_nolock(vol, &ni->runlist, vcn_tr); in ntfs_trim_prealloc()
109 kvfree(ni->runlist.rl); in ntfs_trim_prealloc()
110 ni->runlist.rl = NULL; in ntfs_trim_prealloc()
122 up_write(&ni->runlist.lock); in ntfs_trim_prealloc()
1074 down_write(&ni->runlist in ntfs_fallocate()
[all...]
H A Dinode.c340 err = ntfs_cluster_free_from_rl(ni->vol, ni->runlist.rl); in ntfs_non_resident_dealloc_clusters()
357 "Failed to decompress runlist. Leaving inconsistent metadata.\n"); in ntfs_non_resident_dealloc_clusters()
440 * The attribute runlist lock has separate locking rules from the
441 * normal runlist lock, so split the two lock-classes:
463 ntfs_init_runlist(&ni->runlist); in __ntfs_init_inode()
468 lockdep_set_class(&ni->runlist.lock, in __ntfs_init_inode()
1714 * @rl: runlist of the attribute list in load_attribute_list_mount()
1719 * Walk the runlist @rl and load all clusters from it copying them into in load_attribute_list_mount()
1748 /* Read all clusters specified by the runlist one run at a time. */ in load_attribute_list_mount()
2069 * the result into the existing runlist in ntfs_read_inode_mount()
[all...]
H A Daops.c163 down_read(&ni->runlist.lock); in ntfs_bmap()
166 up_read(&ni->runlist.lock); in ntfs_bmap()
H A Dsuper.c914 lockdep_set_class(&NTFS_I(tmp_ino)->runlist.lock,
953 * Note, this function also results in the mft mirror runlist being completely in check_mft_mirror()
955 * should it find an unmapped runlist element. in check_mft_mirror()
1053 /* Construct the mft mirror runlist by hand. */ in load_and_check_logfile()
1063 * mapped the full runlist for it. in load_and_check_logfile()
1066 down_read(&mirr_ni->runlist.lock); in load_and_check_logfile()
1067 rl = mirr_ni->runlist.rl; in load_and_check_logfile()
1074 up_read(&mirr_ni->runlist.lock);
1078 up_read(&mirr_ni->runlist.lock);
1429 lockdep_set_class(&NTFS_I(vol->mftbmp_ino)->runlist
[all...]
H A Dea.c643 mp_size = ntfs_get_size_for_mapping_pairs(ni->vol, ni->runlist.rl, 0, -1, -1); in ntfs_new_attr_flags()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/top/
H A Dga100.c59 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 Dgk104.c60 info->runlist = (data & 0x01e00000) >> 21; in gk104_top_parse()
103 info->addr, info->fault, info->engine, info->runlist, in gk104_top_parse()
H A Dbase.c36 info->runlist = -1; in nvkm_top_device_new()
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dif0021.h9 __u8 runlist; member
H A Ddevice.h15 } *runlist; member
H A Dif0020.h9 __u8 runlist; member
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dtop.h18 int runlist; member
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dga100.c473 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 Ducgrp.c98 runl = nvkm_runl_get(fifo, args->v0.runlist, 0); in nvkm_ucgrp_new()
H A Duchan.c350 runl = nvkm_runl_get(fifo, args->v0.runlist, 0); in nvkm_uchan_new()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_chan.c299 args->runlist = __ffs64(runm); in nouveau_channel_ctor()
346 chan->runlist = args->runlist; in nouveau_channel_ctor()
H A Dnv84_fence.c82 return chan->cli->drm->runl[chan->runlist].chan_id_base + chan->chid; in nv84_fence_chid()

12