Home
last modified time | relevance | path

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

/external/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 …]
/external/mesa3d/src/amd/common/
Dsid_tables.py59 def emit(self, filp, name, static=True): argument
72 filp.write('%sconst char %s[] =\n%s;\n' % (
111 def emit(self, filp, name, static=True): argument
127 filp.write('%sconst %s %s[] = {\n%s\n};\n' % (
198 def emit(self, filp, string_table, idx_table): argument
206 filp.write('static const struct si_field sid_fields_table[] = {\n')
209 filp.write('\t/* %s */\n' % (start))
211 filp.write('\t%s,\n' % (field.format(string_table, idx_table)))
213 filp.write('};\n')
247 def parse(self, filp, packets, older_asics): argument
[all …]
/external/selinux/libselinux/src/
Dlabel_db.c241 FILE *filp; in db_init() local
280 if ((filp = fopen(path, "rb")) == 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()
300 while (getline(&line_buf, &line_len, filp) > 0) { in db_init()
327 if (digest_add_specfile(rec->digest, filp, NULL, sb.st_size, path) < 0) in db_init()
332 fclose(filp); in db_init()
345 fclose(filp); in db_init()
/external/mesa3d/src/gallium/drivers/r600/
Degd_tables.py55 def emit(self, filp, name, static=True): argument
68 filp.write('%sconst char %s[] =\n%s;\n' % (
107 def emit(self, filp, name, static=True): argument
123 filp.write('%sconst %s %s[] = {\n%s\n};\n' % (
/external/u-boot/drivers/usb/gadget/
Dstorage_common.c295 #define fsg_lun_is_open(curlun) ((curlun)->filp != NULL)