Home
last modified time | relevance | path

Searched refs:fobj (Results 1 – 22 of 22) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/dma-buf/
H A Ddma-resv.c158 struct dma_resv_list *fobj; in dma_resv_fini() local
169 fobj = rcu_dereference_protected(obj->fence, 1); in dma_resv_fini()
170 dma_resv_list_free(fobj); in dma_resv_fini()
265 struct dma_resv_list *fobj; in dma_resv_add_shared_fence() local
273 fobj = dma_resv_get_list(obj); in dma_resv_add_shared_fence()
274 count = fobj->shared_count; in dma_resv_add_shared_fence()
280 old = rcu_dereference_protected(fobj->shared[i], in dma_resv_add_shared_fence()
287 BUG_ON(fobj->shared_count >= fobj->shared_max); in dma_resv_add_shared_fence()
292 RCU_INIT_POINTER(fobj->shared[i], fence); in dma_resv_add_shared_fence()
294 smp_store_mb(fobj->shared_count, count); in dma_resv_add_shared_fence()
[all …]
H A Ddma-buf.c287 struct dma_resv_list *fobj; in dma_buf_poll() local
308 fobj = rcu_dereference(resv->fence); in dma_buf_poll()
309 if (fobj) in dma_buf_poll()
310 shared_count = fobj->shared_count; in dma_buf_poll()
370 struct dma_fence *fence = rcu_dereference(fobj->shared[i]); in dma_buf_poll()
1515 struct dma_resv_list *fobj; in dma_buf_debug_show() local
1550 fobj = rcu_dereference(robj->fence); in dma_buf_debug_show()
1551 shared_count = fobj ? fobj->shared_count : 0; in dma_buf_debug_show()
1564 fence = rcu_dereference(fobj->shared[i]); in dma_buf_debug_show()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dprocess.py90 for fobj, _ in extrafiles:
91 bb.utils.nonblockingfd(fobj.fileno())
92 rin.append(fobj)
95 for fobj, func in extrafiles:
96 if fobj in selected:
98 data = fobj.read()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/qxl/
H A Dqxl_debugfs.c60 struct dma_resv_list *fobj; in qxl_debugfs_buffers_info() local
64 fobj = rcu_dereference(bo->tbo.base.resv->fence); in qxl_debugfs_buffers_info()
65 rel = fobj ? fobj->shared_count : 0; in qxl_debugfs_buffers_info()
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/buildperf/
H A Dbase.py152 with open(os.path.join(self.out_dir, 'buildstats.json'), 'w') as fobj:
153 json.dump(buildstats, fobj, cls=ResultsJsonEncoder)
179 with open(os.path.join(self.out_dir, 'results.json'), 'w') as fobj:
180 json.dump(results, fobj, indent=4,
240 with open(os.path.join(self.out_dir, 'results.xml'), 'w') as fobj:
241 dom_doc.writexml(fobj, addindent=' ', newl='\n', encoding='utf-8')
318 with open('/proc/{}/io'.format(os.getpid())) as fobj:
319 for line in fobj.readlines():
410 with open(filename) as fobj:
411 for line in fobj.readlines():
H A Dtest_basic.py48 with open(postfile, 'w') as fobj:
49 fobj.write('INHERIT += "rm_work"\n')
/OK3568_Linux_fs/yocto/poky/scripts/
H A Doe-build-perf-test112 with open(filename, 'a') as fobj:
113 fobj.write('{},{}:{},{},'.format(metadata['hostname'],
117 fobj.write(','.join(values) + '\n')
185 with open(os.path.join(out_dir, 'metadata.json'), 'w') as fobj:
186 json.dump(metadata, fobj, indent=2)
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/
H A Dnouveau_fence.c347 struct dma_resv_list *fobj; in nouveau_fence_sync() local
358 fobj = dma_resv_get_list(resv); in nouveau_fence_sync()
361 if (fence && (!exclusive || !fobj || !fobj->shared_count)) { in nouveau_fence_sync()
380 if (!exclusive || !fobj) in nouveau_fence_sync()
383 for (i = 0; i < fobj->shared_count && !ret; ++i) { in nouveau_fence_sync()
387 fence = rcu_dereference_protected(fobj->shared[i], in nouveau_fence_sync()
/OK3568_Linux_fs/yocto/poky/scripts/lib/
H A Dbuildstats.py87 with open(buildstat_file) as fobj:
88 for line in fobj.readlines():
211 with open(path) as fobj:
212 bs_json = json.load(fobj)
238 with open(path) as fobj:
239 for line in fobj.readlines():
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/
H A Dmsm_gem.c714 struct dma_resv_list *fobj; in msm_gem_sync_object() local
718 fobj = dma_resv_get_list(obj->resv); in msm_gem_sync_object()
719 if (!fobj || (fobj->shared_count == 0)) { in msm_gem_sync_object()
729 if (!exclusive || !fobj) in msm_gem_sync_object()
732 for (i = 0; i < fobj->shared_count; i++) { in msm_gem_sync_object()
733 fence = rcu_dereference_protected(fobj->shared[i], in msm_gem_sync_object()
812 struct dma_resv_list *fobj; in msm_gem_describe() local
872 fobj = rcu_dereference(robj->fence); in msm_gem_describe()
873 if (fobj) { in msm_gem_describe()
874 unsigned int i, shared_count = fobj->shared_count; in msm_gem_describe()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/scripts/python/
H A Dcompaction-times.py111 fobj = None variable in chead
115 cls.fobj = filter
124 if cls.fobj != None:
125 filtered = cls.fobj.filter(pid, comm)
/OK3568_Linux_fs/kernel/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem.c455 struct dma_resv_list *fobj; in etnaviv_gem_describe() local
465 fobj = rcu_dereference(robj->fence); in etnaviv_gem_describe()
466 if (fobj) { in etnaviv_gem_describe()
467 unsigned int i, shared_count = fobj->shared_count; in etnaviv_gem_describe()
470 fence = rcu_dereference(fobj->shared[i]); in etnaviv_gem_describe()
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Dgpg_sign.py88 with open(passphrase_file) as fobj:
89 passphrase = fobj.readline();
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/templatetags/
H A Dprojecttags.py180 for fobj in file_list:
181 fname = fobj.file_name
/OK3568_Linux_fs/external/xserver/hw/xquartz/GL/
H A Dindirect.c450 CGLPixelFormatObj fobj; in makeFormat() local
496 error = CGLChoosePixelFormat(attr, &fobj, &formats); in makeFormat()
502 return fobj; in makeFormat()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ui/
H A Dknotty.py77 fobj = sys.stdout variable in NonInteractiveProgress
85 self.fobj.write("%s..." % self.msg)
86 self.fobj.flush()
95 self.fobj.write("done.\n")
96 self.fobj.flush()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/minidump/
H A Dminidump_memory.c1049 struct dma_resv_list *fobj; in dump_bufinfo() local
1078 fobj = rcu_dereference(robj->fence); in dump_bufinfo()
1079 shared_count = fobj ? fobj->shared_count : 0; in dump_bufinfo()
1098 fence = rcu_dereference(fobj->shared[i]); in dump_bufinfo()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/ttm/
H A Dttm_bo.c359 struct dma_resv_list *fobj; in ttm_bo_flush_all_fences() local
364 fobj = rcu_dereference(resv->fence); in ttm_bo_flush_all_fences()
369 for (i = 0; fobj && i < fobj->shared_count; ++i) { in ttm_bo_flush_all_fences()
370 fence = rcu_dereference(fobj->shared[i]); in ttm_bo_flush_all_fences()
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dexternalsrc.bbclass243 with open(oe_hash_file, 'w') as fobj:
244 fobj.write(sha1)
/OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/
H A Dstandard.py1378 with open(outfile, 'wb') as fobj:
1379 fobj.write(stdout)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/info/
H A Dgdb.info25181 def __init__(self, fobj):
25182 super(InlinedFrameDecorator, self).__init__(fobj)
25185 frame = fobj.inferior_frame()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/info/
H A Dgdb.info25181 def __init__(self, fobj):
25182 super(InlinedFrameDecorator, self).__init__(fobj)
25185 frame = fobj.inferior_frame()