Home
last modified time | relevance | path

Searched refs:filp (Results 1 – 16 of 16) sorted by relevance

/third_party/ltp/testcases/kernel/device-drivers/drm/kernel_space/
Dstr_drm.h34 extern int tdrm_test_interface(struct inode *inode, struct file *filp,
36 extern int tdrm_test_stub_register(struct inode *inode,struct file *filp,
38 extern int tdrm_test_stub_unregister(struct inode *inode,struct file *filp,
40 extern int tdrm_test_uninit_agp(struct inode *inode,struct file *filp,
42 extern int tdrm_test_init_agp(struct inode *inode,struct file *filp,
44 extern int tdrm_test_add_magic(struct inode *inode,struct file *filp,
46 extern int tdrm_test_remove_magic(struct inode *inode,struct file *filp,
48 extern int tdrm_test_ctxbitmap_init(struct inode *inode,struct file *filp,
50 extern int tdrm_test_ctxbitmap_cleanup(struct inode *inode,struct file *filp,
52 extern int tdrm_test_alloc_pages(struct inode *inode,struct file *filp,
[all …]
Dtdrm.c81 int tdrm_test_stub_register(struct inode *inode, struct file *filp, in tdrm_test_stub_register() argument
84 drm_file_t *priv = filp->private_data; in tdrm_test_stub_register()
92 int tdrm_test_stub_unregister(struct inode *inode, struct file *filp, in tdrm_test_stub_unregister() argument
99 int tdrm_test_uninit_agp(struct inode *inode, struct file *filp, in tdrm_test_uninit_agp() argument
106 int tdrm_test_init_agp(struct inode *inode, struct file *filp, in tdrm_test_init_agp() argument
113 int tdrm_test_add_magic(struct inode *inode, struct file *filp, in tdrm_test_add_magic() argument
116 drm_file_t *priv = filp->private_data; in tdrm_test_add_magic()
122 int tdrm_test_remove_magic(struct inode *inode, struct file *filp, in tdrm_test_remove_magic() argument
125 drm_file_t *priv = filp->private_data; in tdrm_test_remove_magic()
131 int tdrm_test_ctxbitmap_init(struct inode *inode, struct file *filp, in tdrm_test_ctxbitmap_init() argument
[all …]
/third_party/mesa3d/src/amd/common/
Dsid_tables.py68 def emit(self, filp, name, static=True): argument
82 filp.write('%sconst char %s[] = {\n%s\n};\n' % (
121 def emit(self, filp, name, static=True): argument
137 filp.write('%sconst %s %s[] = {\n%s\n};\n' % (
211 def emit(self, filp, string_table, idx_table): argument
219 filp.write('static const struct si_field sid_fields_table[] = {\n')
222 filp.write('\t/* %s */\n' % (start))
224 filp.write('\t%s,\n' % (field.format(string_table, idx_table)))
226 filp.write('};\n')
229 def parse_packet3(filp): argument
[all …]
Dgfx10_format_table.py280 with open(sys.argv[2], 'r') as filp:
281 db = RegisterDatabase.from_json(json.load(filp))
289 with open(sys.argv[3], 'r') as filp:
290 db = RegisterDatabase.from_json(json.load(filp))
/third_party/selinux/libselinux/src/
Dlabel_db.c241 FILE *filp; in db_init() local
280 if ((filp = fopen(path, "re")) == NULL) { in db_init()
284 if (fstat(fileno(filp), &sb) < 0) { in db_init()
286 fclose(filp); in db_init()
291 fclose(filp); in db_init()
298 fclose(filp); in db_init()
305 while (getline(&line_buf, &line_len, filp) > 0) { in db_init()
331 if (digest_add_specfile(rec->digest, filp, NULL, sb.st_size, path) < 0) in db_init()
337 fclose(filp); in db_init()
351 fclose(filp); in db_init()
/third_party/mesa3d/src/amd/registers/
Dmakeregheader.py264 def print(self, filp, sort='address'): argument
294 print('/* Automatically generated by amd/registers/makeregheader.py */\n', file=filp)
295 print(file=filp)
296 print(COPYRIGHT.strip(), file=filp)
297 print(file=filp)
300 print('#ifndef {self.guard}'.format(**locals()), file=filp)
301 print('#define {self.guard}\n'.format(**locals()), file=filp)
311 print('#define {define_name} 0x{address}{comment}'.format(**locals()), file=filp)
330 .format(**locals()), file=filp)
332 .format(**locals()), file=filp)
[all …]
Dmergedbs.py41 with open(filename, 'r') as filp:
42 regdb.update(RegisterDatabase.from_json(json.load(filp)))
Dcanonicalize.py69 def json_canonicalize(filp, chips = None): argument
70 regdb = RegisterDatabase.from_json(json.load(filp))
Dparseheader.py80 def parse_header(self, filp): argument
89 for line in filp:
/third_party/ffmpeg/libavfilter/
Dvf_mcdeint.c209 uint8_t *filp = &frame_dec->data[i][x + y*fils]; in filter_frame() local
215 int diff0 = filp[-fils] - srcp[-srcs]; in filter_frame()
216 int diff1 = filp[+fils] - srcp[+srcs]; in filter_frame()
217 int temp = filp[0]; in filter_frame()
235 diff0 = filp[-fils+DELTA(j)] - srcp[-srcs+DELTA(j)];\ in filter_frame()
236 diff1 = filp[+fils+DELTA(-(j))] - srcp[+srcs+DELTA(-(j))];\ in filter_frame()
242 diff0 = filp[-fils+(j)] - srcp[-srcs+(j)];\ in filter_frame()
243 diff1 = filp[+fils-(j)] - srcp[+srcs-(j)];\ in filter_frame()
260 *filp = *dstp = temp > 255U ? ~(temp>>31) : temp;
262 *dstp = *filp;
/third_party/mesa3d/src/gallium/drivers/r600/
Degd_tables.py54 def emit(self, filp, name, static=True): argument
67 filp.write('%sconst char %s[] =\n%s;\n' % (
106 def emit(self, filp, name, static=True): argument
122 filp.write('%sconst %s %s[] = {\n%s\n};\n' % (
/third_party/NuttX/fs/vfs/include/
Dfile.h583 void poll_wait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p);
/third_party/NuttX/fs/vfs/
Dfs_poll.c352 void poll_wait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p) in poll_wait() argument
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h42707 struct file *filp; member
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi35637 …<var-decl name="filp" type-id="77e79a4c" visibility="default" filepath="include/drm/drm_file.h" li…
37656 …<var-decl name="filp" type-id="77e79a4c" visibility="default" filepath="include/drm/drm_file.h" li…
Dtest-PR27569-v0.abi35608 …<var-decl name="filp" type-id="77e79a4c" visibility="default" filepath="include/drm/drm_file.h" li…
37627 …<var-decl name="filp" type-id="77e79a4c" visibility="default" filepath="include/drm/drm_file.h" li…