/linux/drivers/gpu/drm/nouveau/nvif/ |
A D | fifo.c | 32 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 D | device.c | 45 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 D | runlist.h | 43 } 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 D | runlist.c | 1492 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 D | attrib.c | 177 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 D | aops.c | 249 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 D | mft.c | 537 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 D | file.c | 828 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 D | inode.h | 55 runlist runlist; /* If state has the NI_NonResident bit set, member 87 runlist attr_list_rl; /* Run list for the attribute list value. */
|
A D | compress.c | 602 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 D | logfile.c | 744 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 D | inode.c | 376 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 D | gk104.c | 176 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 D | gpfifogv100.c | 128 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 D | nv50.c | 36 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 D | gpfifogk104.c | 258 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 D | gf100.c | 61 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 D | gpfifotu102.c | 67 args->v0.ilength, args->v0.runlist, args->v0.priv); in tu102_fifo_gpfifo_new() 69 &args->v0.runlist, in tu102_fifo_gpfifo_new()
|
A D | tu102.c | 112 .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 D | gk104.h | 39 } runlist[16]; member 75 } *runlist; member
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
A D | ga100.c | 57 info->runlist = (data & 0x00fffc00); in ga100_top_oneinit() 90 info->addr, info->fault, info->runlist < 0 ? 0 : info->runlist, in ga100_top_oneinit()
|
A D | gk104.c | 58 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 D | nouveau_chan.c | 251 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 D | cla06f.h | 11 __u64 runlist; member
|
A D | clc36f.h | 11 __u64 runlist; member
|