Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/nouveau/nvif/
A Dfifo.c32 struct nv_device_info_v1_data runlist[64]; in nvif_fifo_runlists() member
37 if (device->runlist) in nvif_fifo_runlists()
45 for (i = 0; i < ARRAY_SIZE(a->v.runlist); i++) { in nvif_fifo_runlists()
46 a->v.runlist[i].mthd = NV_DEVICE_HOST_RUNLIST_ENGINES; in nvif_fifo_runlists()
47 a->v.runlist[i].data = i; in nvif_fifo_runlists()
55 device->runlist = kcalloc(device->runlists, sizeof(*device->runlist), in nvif_fifo_runlists()
57 if (!device->runlist) { in nvif_fifo_runlists()
63 if (a->v.runlist[i].mthd != NV_DEVICE_INFO_INVALID) in nvif_fifo_runlists()
64 device->runlist[i].engines = a->v.runlist[i].data; in nvif_fifo_runlists()
82 if (device->runlist[i].engines & engine) in nvif_fifo_runlist()
A Ddevice.c45 kfree(device->runlist); in nvif_device_dtor()
46 device->runlist = NULL; in nvif_device_dtor()
56 device->runlist = NULL; in nvif_device_ctor()
/linux/fs/ntfs/
A Drunlist.h43 } runlist; typedef
45 static inline void ntfs_init_runlist(runlist *rl) in ntfs_init_runlist()
81 runlist *const runlist, const s64 new_length);
83 int ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist,
A Drunlist.c1492 BUG_ON(!runlist); in ntfs_rl_truncate_nolock()
1494 rl = runlist->rl; in ntfs_rl_truncate_nolock()
1497 runlist->rl = NULL; in ntfs_rl_truncate_nolock()
1513 runlist->rl = rl; in ntfs_rl_truncate_nolock()
1564 runlist->rl = rl; in ntfs_rl_truncate_nolock()
1586 runlist->rl = rl; in ntfs_rl_truncate_nolock()
1630 int ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist, in ntfs_rl_punch_nolock() argument
1641 BUG_ON(!runlist); in ntfs_rl_punch_nolock()
1645 rl = runlist->rl; in ntfs_rl_punch_nolock()
1722 runlist->rl = rl; in ntfs_rl_punch_nolock()
[all …]
A Dattrib.c177 ni->runlist.rl = rl; in ntfs_map_runlist_nolock()
340 if (!ni->runlist.rl) { in ntfs_attr_vcn_to_lcn_nolock()
463 if (!ni->runlist.rl) { in ntfs_attr_find_vcn_nolock()
472 rl = ni->runlist.rl; in ntfs_attr_find_vcn_nolock()
696 int load_attribute_list(ntfs_volume *vol, runlist *runlist, u8 *al_start, in load_attribute_list() argument
722 rl = runlist->rl; in load_attribute_list()
1698 ni->runlist.rl = rl; in ntfs_attr_make_non_resident()
1810 ni->runlist.rl = NULL; in ntfs_attr_make_non_resident()
2158 rl = ni->runlist.rl; in ntfs_attr_extend_allocation()
2186 ni->runlist.rl = rl; in ntfs_attr_extend_allocation()
[all …]
A Daops.c249 rl = ni->runlist.rl; in ntfs_read_block()
282 up_read(&ni->runlist.lock); in ntfs_read_block()
288 up_read(&ni->runlist.lock); in ntfs_read_block()
328 up_read(&ni->runlist.lock); in ntfs_read_block()
705 rl = ni->runlist.rl; in ntfs_write_block()
760 up_read(&ni->runlist.lock); in ntfs_write_block()
766 up_read(&ni->runlist.lock); in ntfs_write_block()
796 up_read(&ni->runlist.lock); in ntfs_write_block()
1014 rl = ni->runlist.rl; in ntfs_write_mst_block()
1097 up_read(&ni->runlist.lock); in ntfs_write_mst_block()
[all …]
A Dmft.c537 runlist.lock); in ntfs_sync_mft_mirror()
1372 mftbmp_ni->runlist.rl = rl; in ntfs_mft_bitmap_extend_allocation_nolock()
1731 down_write(&mft_ni->runlist.lock); in ntfs_mft_data_extend_allocation_nolock()
1738 up_write(&mft_ni->runlist.lock); in ntfs_mft_data_extend_allocation_nolock()
1769 up_write(&mft_ni->runlist.lock); in ntfs_mft_data_extend_allocation_nolock()
1785 up_write(&mft_ni->runlist.lock); in ntfs_mft_data_extend_allocation_nolock()
1799 up_write(&mft_ni->runlist.lock); in ntfs_mft_data_extend_allocation_nolock()
1810 mft_ni->runlist.rl = rl; in ntfs_mft_data_extend_allocation_nolock()
1928 up_write(&mft_ni->runlist.lock); in ntfs_mft_data_extend_allocation_nolock()
1942 up_write(&mft_ni->runlist.lock); in ntfs_mft_data_extend_allocation_nolock()
[all …]
A Dfile.c828 down_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write()
830 rl = ni->runlist.rl; in ntfs_prepare_pages_for_non_resident_write()
882 up_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write()
964 up_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write()
1003 ni->runlist.rl = rl; in ntfs_prepare_pages_for_non_resident_write()
1167 up_write(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write()
1179 up_write(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write()
1182 up_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write()
1320 up_write(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write()
1322 up_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write()
[all …]
A Dinode.h55 runlist runlist; /* If state has the NI_NonResident bit set, member
87 runlist attr_list_rl; /* Run list for the attribute list value. */
A Dcompress.c602 down_read(&ni->runlist.lock); in ntfs_read_compressed_block()
603 rl = ni->runlist.rl; in ntfs_read_compressed_block()
629 up_read(&ni->runlist.lock); in ntfs_read_compressed_block()
647 up_read(&ni->runlist.lock); in ntfs_read_compressed_block()
926 up_read(&ni->runlist.lock); in ntfs_read_compressed_block()
932 up_read(&ni->runlist.lock); in ntfs_read_compressed_block()
A Dlogfile.c744 down_write(&log_ni->runlist.lock); in ntfs_empty_logfile()
745 rl = log_ni->runlist.rl; in ntfs_empty_logfile()
754 rl = log_ni->runlist.rl; in ntfs_empty_logfile()
820 up_write(&log_ni->runlist.lock); in ntfs_empty_logfile()
843 up_write(&log_ni->runlist.lock); in ntfs_empty_logfile()
A Dinode.c376 ntfs_init_runlist(&ni->runlist); in __ntfs_init_inode()
2037 ni->runlist.rl = nrl; in ntfs_read_inode_mount()
2178 down_write(&ni->runlist.lock); in __ntfs_clear_inode()
2179 if (ni->runlist.rl) { in __ntfs_clear_inode()
2180 ntfs_free(ni->runlist.rl); in __ntfs_clear_inode()
2181 ni->runlist.rl = NULL; in __ntfs_clear_inode()
2183 up_write(&ni->runlist.lock); in __ntfs_clear_inode()
2367 down_write(&ni->runlist.lock); in ntfs_truncate()
2537 up_write(&ni->runlist.lock); in ntfs_truncate()
2786 up_write(&ni->runlist.lock); in ntfs_truncate()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
A Dgk104.c176 mem = fifo->runlist[runl].mem[fifo->runlist[runl].next]; in gk104_fifo_runlist_update()
177 fifo->runlist[runl].next = !fifo->runlist[runl].next; in gk104_fifo_runlist_update()
771 wake_up(&fifo->runlist[runl].wait); in gk104_fifo_intr_runlist()
966 if (map[j] & BIT(tdev->runlist)) { in gk104_fifo_oneinit()
987 fifo->runlist[tdev->runlist].engm |= BIT(engn); in gk104_fifo_oneinit()
988 fifo->runlist[tdev->runlist].engm_sw |= BIT(engn); in gk104_fifo_oneinit()
990 fifo->runlist[tdev->runlist].engm_sw |= BIT(GK104_FIFO_ENGN_SW); in gk104_fifo_oneinit()
1000 fifo->func->runlist->size, in gk104_fifo_oneinit()
1002 &fifo->runlist[i].mem[j]); in gk104_fifo_oneinit()
1008 INIT_LIST_HEAD(&fifo->runlist[i].cgrp); in gk104_fifo_oneinit()
[all …]
A Dgpfifogv100.c128 int runlist = ffs(*runlists) -1, ret, i; in gv100_fifo_gpfifo_new_() local
132 if (!vmm || runlist < 0 || runlist >= fifo->runlist_nr) in gv100_fifo_gpfifo_new_()
134 *runlists = BIT_ULL(runlist); in gv100_fifo_gpfifo_new_()
141 chan->runl = runlist; in gv100_fifo_gpfifo_new_()
145 0, fifo->runlist[runlist].engm, 1, fifo->user.bar->addr, 0x200, in gv100_fifo_gpfifo_new_()
228 args->v0.ilength, args->v0.runlist, args->v0.priv); in gv100_fifo_gpfifo_new()
230 &args->v0.runlist, in gv100_fifo_gpfifo_new()
A Dnv50.c36 cur = fifo->runlist[fifo->cur_runlist]; in nv50_fifo_runlist_update_locked()
67 false, &fifo->runlist[0]); in nv50_fifo_oneinit()
72 false, &fifo->runlist[1]); in nv50_fifo_oneinit()
103 nvkm_memory_unref(&fifo->runlist[1]); in nv50_fifo_dtor()
104 nvkm_memory_unref(&fifo->runlist[0]); in nv50_fifo_dtor()
A Dgpfifogk104.c258 int runlist = ffs(*runlists) -1, ret, i; in gk104_fifo_gpfifo_new_() local
261 if (!vmm || runlist < 0 || runlist >= fifo->runlist_nr) in gk104_fifo_gpfifo_new_()
263 *runlists = BIT_ULL(runlist); in gk104_fifo_gpfifo_new_()
270 chan->runl = runlist; in gk104_fifo_gpfifo_new_()
274 0x1000, 0x1000, true, vmm, 0, fifo->runlist[runlist].engm_sw, in gk104_fifo_gpfifo_new_()
343 args->v0.ilength, args->v0.runlist, args->v0.priv); in gk104_fifo_gpfifo_new()
345 &args->v0.runlist, in gk104_fifo_gpfifo_new()
A Dgf100.c61 cur = fifo->runlist.mem[fifo->runlist.active]; in gf100_fifo_runlist_commit()
62 fifo->runlist.active = !fifo->runlist.active; in gf100_fifo_runlist_commit()
85 if (wait_event_timeout(fifo->runlist.wait, in gf100_fifo_runlist_commit()
450 wake_up(&fifo->runlist.wait); in gf100_fifo_intr_runlist()
589 false, &fifo->runlist.mem[0]); in gf100_fifo_oneinit()
594 false, &fifo->runlist.mem[1]); in gf100_fifo_oneinit()
598 init_waitqueue_head(&fifo->runlist.wait); in gf100_fifo_oneinit()
663 nvkm_memory_unref(&fifo->runlist.mem[0]); in gf100_fifo_dtor()
664 nvkm_memory_unref(&fifo->runlist.mem[1]); in gf100_fifo_dtor()
A Dgpfifotu102.c67 args->v0.ilength, args->v0.runlist, args->v0.priv); in tu102_fifo_gpfifo_new()
69 &args->v0.runlist, in tu102_fifo_gpfifo_new()
A Dtu102.c112 .runlist = &tu102_fifo_runlist,
178 list_for_each_entry(chan, &fifo->runlist[runl].chan, head) { in tu102_fifo_recover_chid()
185 list_for_each_entry(cgrp, &fifo->runlist[runl].cgrp, head) { in tu102_fifo_recover_chid()
207 unsigned long engn, engm = fifo->runlist[runl].engm; in tu102_fifo_recover_chan()
A Dgk104.h39 } runlist[16]; member
75 } *runlist; member
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/top/
A Dga100.c57 info->runlist = (data & 0x00fffc00); in ga100_top_oneinit()
90 info->addr, info->fault, info->runlist < 0 ? 0 : info->runlist, in ga100_top_oneinit()
A Dgk104.c58 info->runlist = (data & 0x01e00000) >> 21; in gk104_top_oneinit()
101 info->addr, info->fault, info->engine, info->runlist, in gk104_top_oneinit()
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_chan.c251 u64 runlist, bool priv, struct nouveau_channel **pchan) in nouveau_channel_ind() argument
287 args.volta.runlist = runlist; in nouveau_channel_ind()
296 args.kepler.runlist = runlist; in nouveau_channel_ind()
/linux/drivers/gpu/drm/nouveau/include/nvif/
A Dcla06f.h11 __u64 runlist; member
A Dclc36f.h11 __u64 runlist; member

Completed in 77 milliseconds

12