Lines Matching refs:binfmt_misc_entry
103 struct binfmt_misc_entry { struct
143 static bool entry_matches_magic(const struct binfmt_misc_entry *e, in entry_matches_magic()
159 static bool entry_matches_extension(const struct binfmt_misc_entry *e, in entry_matches_extension()
182 static struct binfmt_misc_entry *
187 struct binfmt_misc_entry *e; in search_binfmt_handler()
231 static struct binfmt_misc_entry *get_binfmt_handler(struct binfmt_misc *misc, in get_binfmt_handler()
285 static void entry_put_interpreters(struct binfmt_misc_entry *e) in entry_put_interpreters()
314 static int entry_attach_interpreter(struct binfmt_misc_entry *e, in entry_attach_interpreter()
354 struct binfmt_misc_entry *e = container_of(rcu, struct binfmt_misc_entry, rcu); in bm_entry_free_rcu()
371 static void put_binfmt_handler(struct binfmt_misc_entry *e) in put_binfmt_handler()
383 DEFINE_FREE(put_binfmt_handler, struct binfmt_misc_entry *, put_binfmt_handler(_T)) in DEFINE_FREE() argument
438 static const char *entry_select_interpreter(const struct binfmt_misc_entry *e, in entry_select_interpreter()
489 static unsigned long entry_invocation_flags(const struct binfmt_misc_entry *e, in entry_invocation_flags()
528 static struct file *entry_open_interpreter(const struct binfmt_misc_entry *e, in entry_open_interpreter()
623 struct binfmt_misc_entry *fmt __free(put_binfmt_handler) = NULL; in load_misc_binary()
721 static char *check_special_flags(char *p, struct binfmt_misc_entry *e) in check_special_flags()
734 static char *parse_magic_fields(struct binfmt_misc_entry *e, char *p, char del) in parse_magic_fields()
795 static char *parse_extension_fields(struct binfmt_misc_entry *e, char *p, in parse_extension_fields()
826 static char *parse_bpf_fields(struct binfmt_misc_entry *e, char *p, char del) in parse_bpf_fields()
848 static struct binfmt_misc_entry *create_entry(const char __user *buffer, in create_entry()
851 struct binfmt_misc_entry *e __free(kfree) = NULL; in create_entry()
1060 struct binfmt_misc_entry *e = m->private; in bm_entry_show()
1151 struct binfmt_misc_entry *e = inode->i_private; in bm_evict_inode()
1180 struct binfmt_misc_entry *e) in unlink_binfmt_handler()
1196 struct binfmt_misc_entry *e) in remove_binfmt_handler()
1203 static void bm_remove_entry(struct binfmt_misc_entry *e, struct super_block *sb) in bm_remove_entry()
1228 struct binfmt_misc_entry *e = d_inode(child)->i_private; in bm_remove_all_entries()
1248 struct binfmt_misc_entry *e = d_inode(dentry)->i_private; in bm_unlink()
1301 static ssize_t bm_entry_add_interp(struct binfmt_misc_entry *e, in bm_entry_add_interp()
1366 struct binfmt_misc_entry *e = inode->i_private; in bm_entry_write()
1431 static int add_entry(struct binfmt_misc_entry *e, struct super_block *sb) in add_entry()
1465 struct binfmt_misc_entry *e __free(put_binfmt_handler) = NULL; in bm_register_write()