Home
last modified time | relevance | path

Searched refs:filp (Results 1 - 13 of 13) sorted by relevance

/third_party/ltp/testcases/kernel/device-drivers/drm/kernel_space/
H A 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...]
H A 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
139 tdrm_test_ctxbitmap_cleanup(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg) tdrm_test_ctxbitmap_cleanup() argument
148 tdrm_test_alloc_pages(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg) tdrm_test_alloc_pages() argument
156 tdrm_test_free_pages(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg) tdrm_test_free_pages() argument
[all...]
/third_party/mesa3d/src/amd/common/
H A Dsid_tables.py68 def emit(self, filp, name, static=True):
72 to filp.
82 filp.write('%sconst char %s[] = {\n%s\n};\n' % (
121 def emit(self, filp, name, static=True):
125 to filp.
137 filp.write('%sconst %s %s[] = {\n%s\n};\n' % (
211 def emit(self, filp, string_table, idx_table):
215 to filp.
219 filp.write('static const struct si_field sid_fields_table[] = {\n')
222 filp
[all...]
H A 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/
H A 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()
[all...]
/third_party/mesa3d/src/amd/registers/
H A Dmakeregheader.py264 def print(self, filp, sort='address'):
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...]
H A Dmergedbs.py41 with open(filename, 'r') as filp:
42 regdb.update(RegisterDatabase.from_json(json.load(filp)))
H A Dcanonicalize.py69 def json_canonicalize(filp, chips = None):
70 regdb = RegisterDatabase.from_json(json.load(filp))
H A Dparseheader.py80 def parse_header(self, filp):
89 for line in filp:
/third_party/ffmpeg/libavfilter/
H A Dvf_mcdeint.c198 uint8_t *filp = &frame_dec->data[i][x + y*fils]; in filter_frame() local
204 int diff0 = filp[-fils] - srcp[-srcs]; in filter_frame()
205 int diff1 = filp[+fils] - srcp[+srcs]; in filter_frame()
206 int temp = filp[0]; in filter_frame()
224 diff0 = filp[-fils+DELTA(j)] - srcp[-srcs+DELTA(j)];\ in filter_frame()
225 diff1 = filp[+fils+DELTA(-(j))] - srcp[+srcs+DELTA(-(j))];\ in filter_frame()
231 diff0 = filp[-fils+(j)] - srcp[-srcs+(j)];\ in filter_frame()
232 diff1 = filp[+fils-(j)] - srcp[+srcs-(j)];\ in filter_frame()
249 *filp = *dstp = temp > 255U ? ~(temp>>31) : temp;
251 *dstp = *filp;
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Degd_tables.py54 def emit(self, filp, name, static=True):
58 to filp.
67 filp.write('%sconst char %s[] =\n%s;\n' % (
106 def emit(self, filp, name, static=True):
110 to filp.
122 filp.write('%sconst %s %s[] = {\n%s\n};\n' % (
/third_party/NuttX/fs/vfs/include/
H A Dfile.h583 void poll_wait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p);
/third_party/NuttX/fs/vfs/
H A Dfs_poll.c352 void poll_wait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p) in poll_wait() argument

Completed in 6 milliseconds