Home
last modified time | relevance | path

Searched defs:c (Results 1 – 200 of 2281) sorted by relevance

12345678910>>...12

/linux-4.1.27/include/linux/
Dctype.h22 #define isalnum(c) ((__ismask(c)&(_U|_L|_D)) != 0) argument
23 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) argument
24 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument
25 #define isdigit(c) ((__ismask(c)&(_D)) != 0) argument
26 #define isgraph(c) ((__ismask(c)&(_P|_U|_L|_D)) != 0) argument
27 #define islower(c) ((__ismask(c)&(_L)) != 0) argument
28 #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0) argument
29 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument
31 #define isspace(c) ((__ismask(c)&(_S)) != 0) argument
32 #define isupper(c) ((__ismask(c)&(_U)) != 0) argument
[all …]
Djhash.h35 #define __jhash_mix(a, b, c) \ argument
46 #define __jhash_final(a, b, c) \ argument
72 u32 a, b, c; in jhash() local
119 u32 a, b, c; in jhash2() local
149 static inline u32 __jhash_nwords(u32 a, u32 b, u32 c, u32 initval) in __jhash_nwords()
160 static inline u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval) in jhash_3words()
Dintel-iommu.h90 #define cap_read_drain(c) (((c) >> 55) & 1) argument
91 #define cap_write_drain(c) (((c) >> 54) & 1) argument
92 #define cap_max_amask_val(c) (((c) >> 48) & 0x3f) argument
93 #define cap_num_fault_regs(c) ((((c) >> 40) & 0xff) + 1) argument
94 #define cap_pgsel_inv(c) (((c) >> 39) & 1) argument
96 #define cap_super_page_val(c) (((c) >> 34) & 0xf) argument
97 #define cap_super_offset(c) (((find_first_bit(&cap_super_page_val(c), 4)) \ argument
100 #define cap_fault_reg_offset(c) ((((c) >> 24) & 0x3ff) * 16) argument
101 #define cap_max_fault_reg_offset(c) \ argument
104 #define cap_zlr(c) (((c) >> 22) & 1) argument
[all …]
Ddebug_locks.h24 #define DEBUG_LOCKS_WARN_ON(c) \ argument
37 # define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c) argument
39 # define SMP_DEBUG_LOCKS_WARN_ON(c) do { } while (0) argument
Dconsolemap.h29 #define conv_8bit_to_uni(c) ((uint32_t)(c)) argument
30 #define conv_uni_to_8bit(c) ((int) ((c) & 0xff)) argument
31 #define console_map_init(c) do { ; } while (0) argument
Dcapability.h95 # define cap_clear(c) do { (c) = __cap_empty_set; } while (0) argument
97 #define cap_raise(c, flag) ((c).cap[CAP_TO_INDEX(flag)] |= CAP_TO_MASK(flag)) argument
98 #define cap_lower(c, flag) ((c).cap[CAP_TO_INDEX(flag)] &= ~CAP_TO_MASK(flag)) argument
99 #define cap_raised(c, flag) ((c).cap[CAP_TO_INDEX(flag)] & CAP_TO_MASK(flag)) argument
101 #define CAP_BOP_ALL(c, a, b, OP) \ argument
109 #define CAP_UOP_ALL(c, a, OP) \ argument
141 static inline kernel_cap_t cap_invert(const kernel_cap_t c) in cap_invert()
Drcupdate.h113 #define do_trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ argument
557 #define rcu_lockdep_assert(c, s) \ argument
589 #define rcu_lockdep_assert(c, s) do { } while (0) argument
616 #define __rcu_dereference_check(p, c, space) \ argument
624 #define __rcu_dereference_protected(p, c, space) \ argument
637 #define __rcu_dereference_index_check(p, c) \ argument
754 #define rcu_dereference_check(p, c) \ argument
764 #define rcu_dereference_bh_check(p, c) \ argument
774 #define rcu_dereference_sched_check(p, c) \ argument
821 #define rcu_dereference_index_check(p, c) \ argument
[all …]
/linux-4.1.27/fs/jffs2/
Dos-linux.h25 #define OFNI_BS_2SFFJ(c) ((struct super_block *)c->os_priv) argument
62 #define jffs2_is_readonly(c) (OFNI_BS_2SFFJ(c)->s_flags & MS_RDONLY) argument
69 #define jffs2_can_mark_obsolete(c) (0) argument
71 #define jffs2_can_mark_obsolete(c) (1) argument
74 #define jffs2_is_writebuffered(c) (0) argument
75 #define jffs2_cleanmarker_oob(c) (0) argument
76 #define jffs2_write_nand_cleanmarker(c,jeb) (-EIO) argument
78 #define jffs2_flash_write(c, ofs, len, retlen, buf) jffs2_flash_direct_write(c, ofs, len, retlen, b… argument
79 #define jffs2_flash_read(c, ofs, len, retlen, buf) (mtd_read((c)->mtd, ofs, len, retlen, buf)) argument
80 #define jffs2_flush_wbuf_pad(c) ({ do{} while(0); (void)(c), 0; }) argument
[all …]
Dwbuf.c48 static int jffs2_wbuf_pending_for_ino(struct jffs2_sb_info *c, uint32_t ino) in jffs2_wbuf_pending_for_ino()
69 static void jffs2_clear_wbuf_ino_list(struct jffs2_sb_info *c) in jffs2_clear_wbuf_ino_list()
85 static void jffs2_wbuf_dirties_inode(struct jffs2_sb_info *c, uint32_t ino) in jffs2_wbuf_dirties_inode()
108 static inline void jffs2_refile_wbuf_blocks(struct jffs2_sb_info *c) in jffs2_refile_wbuf_blocks()
141 static void jffs2_block_refile(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, int allow_emp… in jffs2_block_refile()
182 static struct jffs2_raw_node_ref **jffs2_incore_replace_raw(struct jffs2_sb_info *c, in jffs2_incore_replace_raw()
230 static int jffs2_verify_write(struct jffs2_sb_info *c, unsigned char *buf, in jffs2_verify_write()
269 #define jffs2_verify_write(c,b,o) (0) argument
275 static void jffs2_wbuf_recover(struct jffs2_sb_info *c) in jffs2_wbuf_recover()
580 static int __jffs2_flush_wbuf(struct jffs2_sb_info *c, int pad) in __jffs2_flush_wbuf()
[all …]
Dnodelist.c26 void jffs2_add_fd_to_list(struct jffs2_sb_info *c, struct jffs2_full_dirent *new, struct jffs2_full… in jffs2_add_fd_to_list()
59 uint32_t jffs2_truncate_fragtree(struct jffs2_sb_info *c, struct rb_root *list, uint32_t size) in jffs2_truncate_fragtree()
101 static void jffs2_obsolete_node_frag(struct jffs2_sb_info *c, in jffs2_obsolete_node_frag()
169 static int no_overlapping_node(struct jffs2_sb_info *c, struct rb_root *root, in no_overlapping_node()
215 static int jffs2_add_frag_to_fragtree(struct jffs2_sb_info *c, struct rb_root *root, struct jffs2_n… in jffs2_add_frag_to_fragtree()
363 int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2… in jffs2_add_full_dnode_to_inode()
408 void jffs2_set_inocache_state(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, int state) in jffs2_set_inocache_state()
421 struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, uint32_t ino) in jffs2_get_ino_cache()
436 void jffs2_add_ino_cache (struct jffs2_sb_info *c, struct jffs2_inode_cache *new) in jffs2_add_ino_cache()
457 void jffs2_del_ino_cache(struct jffs2_sb_info *c, struct jffs2_inode_cache *old) in jffs2_del_ino_cache()
[all …]
Dxattr.c71 static int is_xattr_datum_unchecked(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in is_xattr_datum_unchecked()
87 static void unload_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in unload_xattr_datum()
102 static void reclaim_xattr_datum(struct jffs2_sb_info *c) in reclaim_xattr_datum()
132 static int do_verify_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in do_verify_xattr_datum()
204 static int do_load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in do_load_xattr_datum()
263 static int load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in load_xattr_datum()
284 static int save_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in save_xattr_datum()
336 static struct jffs2_xattr_datum *create_xattr_datum(struct jffs2_sb_info *c, in create_xattr_datum()
404 static void unrefer_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in unrefer_xattr_datum()
444 static int verify_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref) in verify_xattr_ref()
[all …]
Dbuild.c26 first_inode_chain(int *i, struct jffs2_sb_info *c) in first_inode_chain()
36 next_inode(int *i, struct jffs2_inode_cache *ic, struct jffs2_sb_info *c) in next_inode()
45 #define for_each_inode(i, c, ic) \ argument
51 static void jffs2_build_inode_pass1(struct jffs2_sb_info *c, in jffs2_build_inode_pass1()
98 static int jffs2_build_filesystem(struct jffs2_sb_info *c) in jffs2_build_filesystem()
238 static void jffs2_build_remove_unlinked_inode(struct jffs2_sb_info *c, in jffs2_build_remove_unlinked_inode()
307 static void jffs2_calc_trigger_levels(struct jffs2_sb_info *c) in jffs2_calc_trigger_levels()
369 int jffs2_do_mount_fs(struct jffs2_sb_info *c) in jffs2_do_mount_fs()
Dfs.c34 struct jffs2_sb_info *c = JFFS2_SB_INFO(inode->i_sb); in jffs2_do_setattr() local
209 struct jffs2_sb_info *c = JFFS2_SB_INFO(dentry->d_sb); in jffs2_statfs() local
240 struct jffs2_sb_info *c = JFFS2_SB_INFO(inode->i_sb); in jffs2_evict_inode() local
253 struct jffs2_sb_info *c; in jffs2_iget() local
397 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); in jffs2_do_remount_fs() local
426 struct jffs2_sb_info *c; in jffs2_new_inode() local
515 struct jffs2_sb_info *c; in jffs2_do_fill_super() local
614 void jffs2_gc_release_inode(struct jffs2_sb_info *c, in jffs2_gc_release_inode()
620 struct jffs2_inode_info *jffs2_gc_fetch_inode(struct jffs2_sb_info *c, in jffs2_gc_fetch_inode()
685 unsigned char *jffs2_gc_fetch_page(struct jffs2_sb_info *c, in jffs2_gc_fetch_page()
[all …]
Derase.c26 struct jffs2_sb_info *c; member
36 static void jffs2_erase_block(struct jffs2_sb_info *c, in jffs2_erase_block()
112 int jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count) in jffs2_erase_pending_blocks()
172 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_erase_succeeded()
185 static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_… in jffs2_erase_failed()
235 static inline void jffs2_remove_node_refs_from_ino_list(struct jffs2_sb_info *c, in jffs2_remove_node_refs_from_ino_list()
316 void jffs2_free_jeb_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_free_jeb_node_refs()
340 static int jffs2_block_check_erase(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t … in jffs2_block_check_erase()
427 static void jffs2_mark_erased_block(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_mark_erased_block()
Dnodemgmt.c24 static int jffs2_rp_can_write(struct jffs2_sb_info *c) in jffs2_rp_can_write()
74 int jffs2_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_reserve_space()
212 int jffs2_reserve_space_gc(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_reserve_space_gc()
243 static void jffs2_close_nextblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_close_nextblock()
280 static int jffs2_find_nextblock(struct jffs2_sb_info *c) in jffs2_find_nextblock()
354 static int jffs2_do_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_do_reserve_space()
500 struct jffs2_raw_node_ref *jffs2_add_physical_node_ref(struct jffs2_sb_info *c, in jffs2_add_physical_node_ref()
556 void jffs2_complete_reservation(struct jffs2_sb_info *c) in jffs2_complete_reservation()
579 void jffs2_mark_node_obsolete(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref) in jffs2_mark_node_obsolete()
837 int jffs2_thread_should_wake(struct jffs2_sb_info *c) in jffs2_thread_should_wake()
Ddebug.h223 #define jffs2_dbg_acct_paranoia_check(c, jeb) \ argument
225 #define jffs2_dbg_acct_paranoia_check_nolock(c, jeb) \ argument
227 #define jffs2_dbg_prewrite_paranoia_check(c, ofs, len) \ argument
232 #define jffs2_dbg_acct_paranoia_check(c, jeb) argument
233 #define jffs2_dbg_acct_paranoia_check_nolock(c, jeb) argument
234 #define jffs2_dbg_prewrite_paranoia_check(c, ofs, len) argument
238 #define jffs2_dbg_dump_jeb(c, jeb) \ argument
242 #define jffs2_dbg_dump_block_lists(c) \ argument
244 #define jffs2_dbg_dump_block_lists_nolock(c) \ argument
252 #define jffs2_dbg_dump_node(c, ofs) \ argument
[all …]
Ddebug.c28 __jffs2_dbg_acct_sanity_check_nolock(struct jffs2_sb_info *c, in __jffs2_dbg_acct_sanity_check_nolock()
52 __jffs2_dbg_acct_sanity_check(struct jffs2_sb_info *c, in __jffs2_dbg_acct_sanity_check()
125 __jffs2_dbg_prewrite_paranoia_check(struct jffs2_sb_info *c, in __jffs2_dbg_prewrite_paranoia_check()
160 void __jffs2_dbg_superblock_counts(struct jffs2_sb_info *c) in __jffs2_dbg_superblock_counts()
301 __jffs2_dbg_acct_paranoia_check(struct jffs2_sb_info *c, in __jffs2_dbg_acct_paranoia_check()
310 __jffs2_dbg_acct_paranoia_check_nolock(struct jffs2_sb_info *c, in __jffs2_dbg_acct_paranoia_check_nolock()
392 __jffs2_dbg_dump_node_refs(struct jffs2_sb_info *c, in __jffs2_dbg_dump_node_refs()
401 __jffs2_dbg_dump_node_refs_nolock(struct jffs2_sb_info *c, in __jffs2_dbg_dump_node_refs_nolock()
435 __jffs2_dbg_dump_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in __jffs2_dbg_dump_jeb()
459 __jffs2_dbg_dump_block_lists(struct jffs2_sb_info *c) in __jffs2_dbg_dump_block_lists()
[all …]
Dreadinode.c31 static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) in check_node_data()
150 static int check_tn_node(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) in check_tn_node()
199 static void jffs2_kill_tn(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) in jffs2_kill_tn()
218 static int jffs2_add_tn_to_tree(struct jffs2_sb_info *c, in jffs2_add_tn_to_tree()
451 static int jffs2_build_inode_fragtree(struct jffs2_sb_info *c, in jffs2_build_inode_fragtree()
586 static inline int read_direntry(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, in read_direntry()
693 static inline int read_dnode(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, in read_dnode()
868 static inline int read_unknown(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, struct jffs… in read_unknown()
920 static int read_more(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, in read_more()
961 static int jffs2_get_inode_nodes(struct jffs2_sb_info *c, struct jffs2_inode_info *f, in jffs2_get_inode_nodes()
[all …]
Dscan.c51 static inline int min_free(struct jffs2_sb_info *c) in min_free()
69 static int file_dirty(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in file_dirty()
91 int jffs2_scan_medium(struct jffs2_sb_info *c) in jffs2_scan_medium()
287 static int jffs2_fill_scan_buf(struct jffs2_sb_info *c, void *buf, in jffs2_fill_scan_buf()
307 int jffs2_scan_classify_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_scan_classify_jeb()
327 static int jffs2_scan_xattr_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_xattr_node()
383 static int jffs2_scan_xref_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_xref_node()
442 static int jffs2_scan_eraseblock (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_eraseblock()
959 struct jffs2_inode_cache *jffs2_scan_make_ino_cache(struct jffs2_sb_info *c, uint32_t ino) in jffs2_scan_make_ino_cache()
985 static int jffs2_scan_inode_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_inode_node()
[all …]
Dbackground.c27 void jffs2_garbage_collect_trigger(struct jffs2_sb_info *c) in jffs2_garbage_collect_trigger()
35 int jffs2_start_garbage_collect_thread(struct jffs2_sb_info *c) in jffs2_start_garbage_collect_thread()
61 void jffs2_stop_garbage_collect_thread(struct jffs2_sb_info *c) in jffs2_stop_garbage_collect_thread()
77 struct jffs2_sb_info *c = _c; in jffs2_garbage_collect_thread() local
Dsummary.c26 int jffs2_sum_init(struct jffs2_sb_info *c) in jffs2_sum_init()
50 void jffs2_sum_exit(struct jffs2_sb_info *c) in jffs2_sum_exit()
231 void jffs2_sum_move_collected(struct jffs2_sb_info *c, struct jffs2_summary *s) in jffs2_sum_move_collected()
248 int jffs2_sum_add_kvec(struct jffs2_sb_info *c, const struct kvec *invecs, in jffs2_sum_add_kvec()
370 static struct jffs2_raw_node_ref *sum_link_node_ref(struct jffs2_sb_info *c, in sum_link_node_ref()
386 static int jffs2_sum_process_sum_data(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_sum_process_sum_data()
572 int jffs2_sum_scan_sumnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_sum_scan_sumnode()
674 static int jffs2_sum_write_data(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_sum_write_data()
846 int jffs2_sum_write_sumnode(struct jffs2_sb_info *c) in jffs2_sum_write_sumnode()
Dsuper.c88 struct jffs2_sb_info *c = JFFS2_SB_INFO(root->d_sb); in jffs2_show_options() local
101 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); in jffs2_sync_fs() local
178 static int jffs2_parse_options(struct jffs2_sb_info *c, char *data) in jffs2_parse_options()
243 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); in jffs2_remount_fs() local
272 struct jffs2_sb_info *c; in jffs2_fill_super() local
322 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); in jffs2_put_super() local
347 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); in jffs2_kill_sb() local
Dgc.c44 static struct jffs2_eraseblock *jffs2_find_gc_block(struct jffs2_sb_info *c) in jffs2_find_gc_block()
124 int jffs2_garbage_collect_pass(struct jffs2_sb_info *c) in jffs2_garbage_collect_pass()
477 static int jffs2_garbage_collect_live(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_garbage_collect_live()
571 static int jffs2_garbage_collect_pristine(struct jffs2_sb_info *c, in jffs2_garbage_collect_pristine()
738 static int jffs2_garbage_collect_metadata(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_garbage_collect_metadata()
830 static int jffs2_garbage_collect_dirent(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_garbage_collect_dirent()
875 static int jffs2_garbage_collect_deletion_dirent(struct jffs2_sb_info *c, struct jffs2_eraseblock *… in jffs2_garbage_collect_deletion_dirent()
993 static int jffs2_garbage_collect_hole(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_garbage_collect_hole()
1144 static int jffs2_garbage_collect_dnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *orig_jeb, in jffs2_garbage_collect_dnode()
Dwrite.c23 int jffs2_do_new_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, in jffs2_do_new_inode()
59 struct jffs2_full_dnode *jffs2_write_dnode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, in jffs2_write_dnode()
205 struct jffs2_full_dirent *jffs2_write_dirent(struct jffs2_sb_info *c, struct jffs2_inode_info *f, in jffs2_write_dirent()
340 int jffs2_write_inode_range(struct jffs2_sb_info *c, struct jffs2_inode_info *f, in jffs2_write_inode_range()
440 int jffs2_do_create(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, in jffs2_do_create()
546 int jffs2_do_unlink(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, in jffs2_do_unlink()
668 int jffs2_do_link (struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, uint32_t ino, uint8_t t… in jffs2_do_link()
Dxattr.h108 #define jffs2_init_xattr_subsystem(c) argument
109 #define jffs2_build_xattr_subsystem(c) argument
110 #define jffs2_clear_xattr_subsystem(c) argument
112 #define jffs2_xattr_do_crccheck_inode(c, ic) argument
113 #define jffs2_xattr_delete_inode(c, ic) argument
114 #define jffs2_xattr_free_inode(c, ic) argument
115 #define jffs2_verify_xattr(c) (1) argument
Ddir.c163 struct jffs2_sb_info *c; in jffs2_create() local
225 struct jffs2_sb_info *c = JFFS2_SB_INFO(dir_i->i_sb); in jffs2_unlink() local
244 struct jffs2_sb_info *c = JFFS2_SB_INFO(d_inode(old_dentry)->i_sb); in jffs2_link() local
281 struct jffs2_sb_info *c; in jffs2_symlink() local
443 struct jffs2_sb_info *c; in jffs2_mkdir() local
586 struct jffs2_sb_info *c = JFFS2_SB_INFO(dir_i->i_sb); in jffs2_rmdir() local
611 struct jffs2_sb_info *c; in jffs2_mknod() local
763 struct jffs2_sb_info *c = JFFS2_SB_INFO(old_dir_i->i_sb); in jffs2_rename() local
Dfile.c35 struct jffs2_sb_info *c = JFFS2_SB_INFO(inode->i_sb); in jffs2_fsync() local
85 struct jffs2_sb_info *c = JFFS2_SB_INFO(inode->i_sb); in jffs2_do_readpage_nolock() local
153 struct jffs2_sb_info *c = JFFS2_SB_INFO(inode->i_sb); in jffs2_write_begin() local
246 struct jffs2_sb_info *c = JFFS2_SB_INFO(inode->i_sb); in jffs2_write_end() local
Dwritev.c16 int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, in jffs2_flash_direct_writev()
32 int jffs2_flash_direct_write(struct jffs2_sb_info *c, loff_t ofs, size_t len, in jffs2_flash_direct_write()
/linux-4.1.27/fs/ubifs/
Dkey.h96 static inline void ino_key_init(const struct ubifs_info *c, in ino_key_init()
109 static inline void ino_key_init_flash(const struct ubifs_info *c, void *k, in ino_key_init_flash()
125 static inline void lowest_ino_key(const struct ubifs_info *c, in lowest_ino_key()
138 static inline void highest_ino_key(const struct ubifs_info *c, in highest_ino_key()
152 static inline void dent_key_init(const struct ubifs_info *c, in dent_key_init()
171 static inline void dent_key_init_hash(const struct ubifs_info *c, in dent_key_init_hash()
187 static inline void dent_key_init_flash(const struct ubifs_info *c, void *k, in dent_key_init_flash()
206 static inline void lowest_dent_key(const struct ubifs_info *c, in lowest_dent_key()
220 static inline void xent_key_init(const struct ubifs_info *c, in xent_key_init()
238 static inline void xent_key_init_flash(const struct ubifs_info *c, void *k, in xent_key_init_flash()
[all …]
Dbudget.c63 static void shrink_liability(struct ubifs_info *c, int nr_to_write) in shrink_liability()
78 static int run_gc(struct ubifs_info *c) in run_gc()
104 static long long get_liability(struct ubifs_info *c) in get_liability()
132 static int make_free_space(struct ubifs_info *c) in make_free_space()
178 int ubifs_calc_min_idx_lebs(struct ubifs_info *c) in ubifs_calc_min_idx_lebs()
209 long long ubifs_calc_available(const struct ubifs_info *c, int min_idx_lebs) in ubifs_calc_available()
273 static int can_use_rp(struct ubifs_info *c) in can_use_rp()
306 static int do_budget_space(struct ubifs_info *c) in do_budget_space()
374 static int calc_idx_growth(const struct ubifs_info *c, in calc_idx_growth()
390 static int calc_data_growth(const struct ubifs_info *c, in calc_data_growth()
[all …]
Dlpt_commit.c99 static int get_cnodes_to_commit(struct ubifs_info *c) in get_cnodes_to_commit()
140 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab()
160 static int alloc_lpt_leb(struct ubifs_info *c, int *lnum) in alloc_lpt_leb()
193 static int layout_cnodes(struct ubifs_info *c) in layout_cnodes()
344 static int realloc_lpt_leb(struct ubifs_info *c, int *lnum) in realloc_lpt_leb()
371 static int write_cnodes(struct ubifs_info *c) in write_cnodes()
563 static struct ubifs_pnode *next_pnode_to_dirty(struct ubifs_info *c, in next_pnode_to_dirty()
628 static struct ubifs_pnode *pnode_lookup(struct ubifs_info *c, int i) in pnode_lookup()
657 static void add_pnode_dirt(struct ubifs_info *c, struct ubifs_pnode *pnode) in add_pnode_dirt()
668 static void do_make_pnode_dirty(struct ubifs_info *c, struct ubifs_pnode *pnode) in do_make_pnode_dirty()
[all …]
Dsuper.c67 static int validate_inode(struct ubifs_info *c, const struct inode *inode) in validate_inode()
106 struct ubifs_info *c = sb->s_fs_info; in ubifs_iget() local
293 struct ubifs_info *c = inode->i_sb->s_fs_info; in ubifs_write_inode() local
337 struct ubifs_info *c = inode->i_sb->s_fs_info; in ubifs_evict_inode() local
394 struct ubifs_info *c = dentry->d_sb->s_fs_info; in ubifs_statfs() local
421 struct ubifs_info *c = root->d_sb->s_fs_info; in ubifs_show_options() local
449 struct ubifs_info *c = sb->s_fs_info; in ubifs_sync_fs() local
492 static int init_constants_early(struct ubifs_info *c) in init_constants_early()
633 static int bud_wbuf_callback(struct ubifs_info *c, int lnum, int free, int pad) in bud_wbuf_callback()
647 static int init_constants_sb(struct ubifs_info *c) in init_constants_sb()
[all …]
Dlprops.c62 static void move_up_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in move_up_lpt_heap()
99 static void adjust_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in adjust_lpt_heap()
178 static int add_to_lpt_heap(struct ubifs_info *c, struct ubifs_lprops *lprops, in add_to_lpt_heap()
226 static void remove_from_lpt_heap(struct ubifs_info *c, in remove_from_lpt_heap()
256 static void lpt_heap_replace(struct ubifs_info *c, in lpt_heap_replace()
275 void ubifs_add_to_cat(struct ubifs_info *c, struct ubifs_lprops *lprops, in ubifs_add_to_cat()
318 static void ubifs_remove_from_cat(struct ubifs_info *c, in ubifs_remove_from_cat()
355 void ubifs_replace_cat(struct ubifs_info *c, struct ubifs_lprops *old_lprops, in ubifs_replace_cat()
387 void ubifs_ensure_cat(struct ubifs_info *c, struct ubifs_lprops *lprops) in ubifs_ensure_cat()
410 int ubifs_categorize_lprops(const struct ubifs_info *c, in ubifs_categorize_lprops()
[all …]
Dcommit.c68 static int nothing_to_commit(struct ubifs_info *c) in nothing_to_commit()
109 static int do_commit(struct ubifs_info *c) in do_commit()
244 static int run_bg_commit(struct ubifs_info *c) in run_bg_commit()
290 struct ubifs_info *c = info; in ubifs_bg_thread() local
338 void ubifs_commit_required(struct ubifs_info *c) in ubifs_commit_required()
368 void ubifs_request_bg_commit(struct ubifs_info *c) in ubifs_request_bg_commit()
387 static int wait_for_commit(struct ubifs_info *c) in wait_for_commit()
411 int ubifs_run_commit(struct ubifs_info *c) in ubifs_run_commit()
479 int ubifs_gc_should_commit(struct ubifs_info *c) in ubifs_gc_should_commit()
526 int dbg_old_index_check_init(struct ubifs_info *c, struct ubifs_zbranch *zroot) in dbg_old_index_check_init()
[all …]
Dio.c82 void ubifs_ro_mode(struct ubifs_info *c, int err) in ubifs_ro_mode()
99 int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs, in ubifs_leb_read()
117 int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs, in ubifs_leb_write()
138 int ubifs_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len) in ubifs_leb_change()
158 int ubifs_leb_unmap(struct ubifs_info *c, int lnum) in ubifs_leb_unmap()
177 int ubifs_leb_map(struct ubifs_info *c, int lnum) in ubifs_leb_map()
196 int ubifs_is_mapped(const struct ubifs_info *c, int lnum) in ubifs_is_mapped()
237 int ubifs_check_node(const struct ubifs_info *c, const void *buf, int lnum, in ubifs_check_node()
318 void ubifs_pad(const struct ubifs_info *c, void *buf, int pad) in ubifs_pad()
348 static unsigned long long next_sqnum(struct ubifs_info *c) in next_sqnum()
[all …]
Dtnc.c77 static int insert_old_idx(struct ubifs_info *c, int lnum, int offs) in insert_old_idx()
118 int insert_old_idx_znode(struct ubifs_info *c, struct ubifs_znode *znode) in insert_old_idx_znode()
140 static int ins_clr_old_idx_znode(struct ubifs_info *c, in ins_clr_old_idx_znode()
179 void destroy_old_idx(struct ubifs_info *c) in destroy_old_idx()
196 static struct ubifs_znode *copy_znode(struct ubifs_info *c, in copy_znode()
238 static int add_idx_dirt(struct ubifs_info *c, int lnum, int dirt) in add_idx_dirt()
251 static struct ubifs_znode *dirty_cow_znode(struct ubifs_info *c, in dirty_cow_znode()
313 static int lnc_add(struct ubifs_info *c, struct ubifs_zbranch *zbr, in lnc_add()
349 static int lnc_add_directly(struct ubifs_info *c, struct ubifs_zbranch *zbr, in lnc_add_directly()
392 static int tnc_read_node_nm(struct ubifs_info *c, struct ubifs_zbranch *zbr, in tnc_read_node_nm()
[all …]
Dmisc.h68 static inline void ubifs_wake_up_bgt(struct ubifs_info *c) in ubifs_wake_up_bgt()
176 static inline int ubifs_add_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_dirt()
190 static inline int ubifs_return_leb(struct ubifs_info *c, int lnum) in ubifs_return_leb()
201 static inline int ubifs_idx_node_sz(const struct ubifs_info *c, int child_cnt) in ubifs_idx_node_sz()
213 struct ubifs_branch *ubifs_idx_branch(const struct ubifs_info *c, in ubifs_idx_branch()
226 static inline void *ubifs_idx_key(const struct ubifs_info *c, in ubifs_idx_key()
253 static inline int ubifs_tnc_lookup(struct ubifs_info *c, in ubifs_tnc_lookup()
266 static inline void ubifs_get_lprops(struct ubifs_info *c) in ubifs_get_lprops()
278 static inline void ubifs_release_lprops(struct ubifs_info *c) in ubifs_release_lprops()
294 static inline int ubifs_next_log_lnum(const struct ubifs_info *c, int lnum) in ubifs_next_log_lnum()
Dlpt.c58 static void do_calc_lpt_geom(struct ubifs_info *c) in do_calc_lpt_geom()
137 int ubifs_calc_lpt_geom(struct ubifs_info *c) in ubifs_calc_lpt_geom()
174 static int calc_dflt_lpt_geom(struct ubifs_info *c, int *main_lebs, in calc_dflt_lpt_geom()
350 void ubifs_pack_pnode(struct ubifs_info *c, void *buf, in ubifs_pack_pnode()
383 void ubifs_pack_nnode(struct ubifs_info *c, void *buf, in ubifs_pack_nnode()
415 void ubifs_pack_ltab(struct ubifs_info *c, void *buf, in ubifs_pack_ltab()
440 void ubifs_pack_lsave(struct ubifs_info *c, void *buf, int *lsave) in ubifs_pack_lsave()
462 void ubifs_add_lpt_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_lpt_dirt()
479 static void set_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in set_ltab()
494 void ubifs_add_nnode_dirt(struct ubifs_info *c, struct ubifs_nnode *nnode) in ubifs_add_nnode_dirt()
[all …]
Dorphan.c65 int ubifs_add_orphan(struct ubifs_info *c, ino_t inum) in ubifs_add_orphan()
115 void ubifs_delete_orphan(struct ubifs_info *c, ino_t inum) in ubifs_delete_orphan()
168 int ubifs_orphan_start_commit(struct ubifs_info *c) in ubifs_orphan_start_commit()
202 static int avail_orphs(struct ubifs_info *c) in avail_orphs()
222 static int tot_avail_orphs(struct ubifs_info *c) in tot_avail_orphs()
242 static int do_write_orph_node(struct ubifs_info *c, int len, int atomic) in do_write_orph_node()
273 static int write_orph_node(struct ubifs_info *c, int atomic) in write_orph_node()
336 static int write_orph_nodes(struct ubifs_info *c, int atomic) in write_orph_nodes()
369 static int consolidate(struct ubifs_info *c) in consolidate()
414 static int commit_orphans(struct ubifs_info *c) in commit_orphans()
[all …]
Ddebug.c101 const char *dbg_snprintf_key(const struct ubifs_info *c, in dbg_snprintf_key()
233 void ubifs_dump_inode(struct ubifs_info *c, const struct inode *inode) in ubifs_dump_inode()
301 void ubifs_dump_node(const struct ubifs_info *c, const void *node) in ubifs_dump_node()
577 void ubifs_dump_budg(struct ubifs_info *c, const struct ubifs_budg_info *bi) in ubifs_dump_budg()
645 void ubifs_dump_lprop(const struct ubifs_info *c, const struct ubifs_lprops *lp) in ubifs_dump_lprop()
736 void ubifs_dump_lprops(struct ubifs_info *c) in ubifs_dump_lprops()
758 void ubifs_dump_lpt_info(struct ubifs_info *c) in ubifs_dump_lpt_info()
796 void ubifs_dump_sleb(const struct ubifs_info *c, in ubifs_dump_sleb()
812 void ubifs_dump_leb(const struct ubifs_info *c, int lnum) in ubifs_dump_leb()
850 void ubifs_dump_znode(const struct ubifs_info *c, in ubifs_dump_znode()
[all …]
Dgc.c81 static int switch_gc_head(struct ubifs_info *c) in switch_gc_head()
128 struct ubifs_info *c = priv; in data_nodes_cmp() local
172 struct ubifs_info *c = priv; in nondata_nodes_cmp() local
247 static int sort_nodes(struct ubifs_info *c, struct ubifs_scan_leb *sleb, in sort_nodes()
321 static int move_node(struct ubifs_info *c, struct ubifs_scan_leb *sleb, in move_node()
349 static int move_nodes(struct ubifs_info *c, struct ubifs_scan_leb *sleb) in move_nodes()
446 static int gc_sync_wbufs(struct ubifs_info *c) in gc_sync_wbufs()
469 int ubifs_garbage_collect_leb(struct ubifs_info *c, struct ubifs_lprops *lp) in ubifs_garbage_collect_leb()
648 int ubifs_garbage_collect(struct ubifs_info *c, int anyway) in ubifs_garbage_collect()
839 int ubifs_gc_start_commit(struct ubifs_info *c) in ubifs_gc_start_commit()
[all …]
Dfind.c54 static int valuable(struct ubifs_info *c, const struct ubifs_lprops *lprops) in valuable()
95 static int scan_for_dirty_cb(struct ubifs_info *c, in scan_for_dirty_cb()
136 static const struct ubifs_lprops *scan_for_dirty(struct ubifs_info *c, in scan_for_dirty()
233 int ubifs_find_dirty_leb(struct ubifs_info *c, struct ubifs_lprops *ret_lp, in ubifs_find_dirty_leb()
362 static int scan_for_free_cb(struct ubifs_info *c, in scan_for_free_cb()
407 const struct ubifs_lprops *do_find_free_space(struct ubifs_info *c, in do_find_free_space()
493 int ubifs_find_free_space(struct ubifs_info *c, int min_space, int *offs, in ubifs_find_free_space()
602 static int scan_for_idx_cb(struct ubifs_info *c, in scan_for_idx_cb()
633 static const struct ubifs_lprops *scan_for_leb_for_idx(struct ubifs_info *c) in scan_for_leb_for_idx()
673 int ubifs_find_free_leb_for_idx(struct ubifs_info *c) in ubifs_find_free_leb_for_idx()
[all …]
Dtnc_commit.c37 static int make_idx_node(struct ubifs_info *c, struct ubifs_idx_node *idx, in make_idx_node()
111 static int fill_gap(struct ubifs_info *c, int lnum, int gap_start, int gap_end, in fill_gap()
168 static int find_old_idx(struct ubifs_info *c, int lnum, int offs) in find_old_idx()
203 static int is_idx_node_in_use(struct ubifs_info *c, union ubifs_key *key, in is_idx_node_in_use()
229 static int layout_leb_in_gaps(struct ubifs_info *c, int *p) in layout_leb_in_gaps()
339 static int get_leb_cnt(struct ubifs_info *c, int cnt) in get_leb_cnt()
361 static int layout_in_gaps(struct ubifs_info *c, int cnt) in layout_in_gaps()
413 static int layout_in_empty_space(struct ubifs_info *c) in layout_in_empty_space()
552 static int layout_commit(struct ubifs_info *c, int no_space, int cnt) in layout_commit()
626 static int get_znodes_to_commit(struct ubifs_info *c) in get_znodes_to_commit()
[all …]
Drecovery.c109 static int get_master_node(const struct ubifs_info *c, int lnum, void **pbuf, in get_master_node()
204 static int write_rcvrd_mst_node(struct ubifs_info *c, in write_rcvrd_mst_node()
236 int ubifs_recover_master_node(struct ubifs_info *c) in ubifs_recover_master_node()
386 int ubifs_write_rcvrd_mst_node(struct ubifs_info *c) in ubifs_write_rcvrd_mst_node()
413 static int is_last_write(const struct ubifs_info *c, void *buf, int offs) in is_last_write()
440 static void clean_buf(const struct ubifs_info *c, void **buf, int lnum, in clean_buf()
470 static int no_more_nodes(const struct ubifs_info *c, void *buf, int len, in no_more_nodes()
503 static int fix_unclean_leb(struct ubifs_info *c, struct ubifs_scan_leb *sleb, in fix_unclean_leb()
634 struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum, in ubifs_recover_leb()
811 static int get_cs_sqnum(struct ubifs_info *c, int lnum, int offs, in get_cs_sqnum()
[all …]
Dreplay.c97 static int set_bud_lprops(struct ubifs_info *c, struct bud_entry *b) in set_bud_lprops()
171 static int set_buds_lprops(struct ubifs_info *c) in set_buds_lprops()
190 static int trun_remove_range(struct ubifs_info *c, struct replay_entry *r) in trun_remove_range()
219 static int apply_replay_entry(struct ubifs_info *c, struct replay_entry *r) in apply_replay_entry()
300 static int apply_replay_list(struct ubifs_info *c) in apply_replay_list()
324 static void destroy_replay_list(struct ubifs_info *c) in destroy_replay_list()
356 static int insert_node(struct ubifs_info *c, int lnum, int offs, int len, in insert_node()
404 static int insert_dent(struct ubifs_info *c, int lnum, int offs, int len, in insert_dent()
450 int ubifs_validate_entry(struct ubifs_info *c, in ubifs_validate_entry()
484 static int is_last_bud(struct ubifs_info *c, struct ubifs_bud *bud) in is_last_bud()
[all …]
Dlog.c42 struct ubifs_bud *ubifs_search_bud(struct ubifs_info *c, int lnum) in ubifs_search_bud()
71 struct ubifs_wbuf *ubifs_get_wbuf(struct ubifs_info *c, int lnum) in ubifs_get_wbuf()
102 static inline long long empty_log_bytes(const struct ubifs_info *c) in empty_log_bytes()
124 void ubifs_add_bud(struct ubifs_info *c, struct ubifs_bud *bud) in ubifs_add_bud()
176 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs) in ubifs_add_bud_to_log()
300 static void remove_buds(struct ubifs_info *c) in remove_buds()
359 int ubifs_log_start_commit(struct ubifs_info *c, int *ltail_lnum) in ubifs_log_start_commit()
458 int ubifs_log_end_commit(struct ubifs_info *c, int ltail_lnum) in ubifs_log_end_commit()
507 int ubifs_log_post_commit(struct ubifs_info *c, int old_ltail_lnum) in ubifs_log_post_commit()
602 static int add_node(struct ubifs_info *c, void *buf, int *lnum, int *offs, in add_node()
[all …]
Dsb.c73 static int create_default_filesystem(struct ubifs_info *c) in create_default_filesystem()
352 static int validate_sb(struct ubifs_info *c, struct ubifs_sb_node *sup) in validate_sb()
484 struct ubifs_sb_node *ubifs_read_sb_node(struct ubifs_info *c) in ubifs_read_sb_node()
510 int ubifs_write_sb_node(struct ubifs_info *c, struct ubifs_sb_node *sup) in ubifs_write_sb_node()
526 int ubifs_read_superblock(struct ubifs_info *c) in ubifs_read_superblock()
669 static int fixup_leb(struct ubifs_info *c, int lnum, int len) in fixup_leb()
697 static int fixup_free_space(struct ubifs_info *c) in fixup_free_space()
780 int ubifs_fixup_free_space(struct ubifs_info *c) in ubifs_fixup_free_space()
Djournal.c115 static int reserve_space(struct ubifs_info *c, int jhead, int len) in reserve_space()
255 static int write_node(struct ubifs_info *c, int jhead, void *node, int len, in write_node()
286 static int write_head(struct ubifs_info *c, int jhead, void *buf, int len, in write_head()
323 static int make_reservation(struct ubifs_info *c, int jhead, int len) in make_reservation()
406 static inline void release_head(struct ubifs_info *c, int jhead) in release_head()
418 static void finish_reservation(struct ubifs_info *c) in finish_reservation()
457 static void pack_inode(struct ubifs_info *c, struct ubifs_ino_node *ino, in pack_inode()
507 static void mark_inode_clean(struct ubifs_info *c, struct ubifs_inode *ui) in mark_inode_clean()
541 int ubifs_jnl_update(struct ubifs_info *c, const struct inode *dir, in ubifs_jnl_update()
696 int ubifs_jnl_write_data(struct ubifs_info *c, const struct inode *inode, in ubifs_jnl_write_data()
[all …]
Dfile.c60 struct ubifs_info *c = inode->i_sb->s_fs_info; in read_block() local
163 struct ubifs_info *c = inode->i_sb->s_fs_info; in do_readpage() local
200 static void release_new_page_budget(struct ubifs_info *c) in release_new_page_budget()
214 static void release_existing_page_budget(struct ubifs_info *c) in release_existing_page_budget()
226 struct ubifs_info *c = inode->i_sb->s_fs_info; in write_begin_slow() local
329 static int allocate_budget(struct ubifs_info *c, struct page *page, in allocate_budget()
430 struct ubifs_info *c = inode->i_sb->s_fs_info; in ubifs_write_begin() local
524 static void cancel_budget(struct ubifs_info *c, struct page *page, in cancel_budget()
546 struct ubifs_info *c = inode->i_sb->s_fs_info; in ubifs_write_end() local
610 static int populate_page(struct ubifs_info *c, struct page *page, in populate_page()
[all …]
Ddir.c88 struct inode *ubifs_new_inode(struct ubifs_info *c, const struct inode *dir, in ubifs_new_inode()
171 static int dbg_check_name(const struct ubifs_info *c, in dbg_check_name()
191 struct ubifs_info *c = dir->i_sb->s_fs_info; in ubifs_lookup() local
249 struct ubifs_info *c = dir->i_sb->s_fs_info; in ubifs_create() local
358 struct ubifs_info *c = dir->i_sb->s_fs_info; in ubifs_readdir() local
501 struct ubifs_info *c = dir->i_sb->s_fs_info; in ubifs_link() local
556 struct ubifs_info *c = dir->i_sb->s_fs_info; in ubifs_unlink() local
626 static int check_dir_empty(struct ubifs_info *c, struct inode *dir) in check_dir_empty()
648 struct ubifs_info *c = dir->i_sb->s_fs_info; in ubifs_rmdir() local
712 struct ubifs_info *c = dir->i_sb->s_fs_info; in ubifs_mkdir() local
[all …]
Dmaster.c36 static int scan_for_master(struct ubifs_info *c) in scan_for_master()
98 static int validate_master(const struct ubifs_info *c) in validate_master()
256 int ubifs_read_master(struct ubifs_info *c) in ubifs_read_master()
359 int ubifs_write_master(struct ubifs_info *c) in ubifs_write_master()
Dscan.c69 int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_scan_a_node()
137 struct ubifs_scan_leb *ubifs_start_scan(const struct ubifs_info *c, int lnum, in ubifs_start_scan()
175 void ubifs_end_scan(const struct ubifs_info *c, struct ubifs_scan_leb *sleb, in ubifs_end_scan()
194 int ubifs_add_snod(const struct ubifs_info *c, struct ubifs_scan_leb *sleb, in ubifs_add_snod()
238 void ubifs_scanned_corruption(const struct ubifs_info *c, int lnum, int offs, in ubifs_scanned_corruption()
267 struct ubifs_scan_leb *ubifs_scan(const struct ubifs_info *c, int lnum, in ubifs_scan()
Dxattr.c100 static int create_xattr(struct ubifs_info *c, struct inode *host, in create_xattr()
197 static int change_xattr(struct ubifs_info *c, struct inode *host, in change_xattr()
285 static struct inode *iget_xattr(struct ubifs_info *c, ino_t inum) in iget_xattr()
306 struct ubifs_info *c = host->i_sb->s_fs_info; in setxattr() local
376 struct ubifs_info *c = host->i_sb->s_fs_info; in ubifs_getxattr() local
436 struct ubifs_info *c = host->i_sb->s_fs_info; in ubifs_listxattr() local
496 static int remove_xattr(struct ubifs_info *c, struct inode *host, in remove_xattr()
539 struct ubifs_info *c = host->i_sb->s_fs_info; in ubifs_removexattr() local
658 struct ubifs_info *c = dentry->i_sb->s_fs_info; in ubifs_init_security() local
Dtnc_misc.c135 int ubifs_search_zbranch(const struct ubifs_info *c, in ubifs_search_zbranch()
273 static int read_znode(struct ubifs_info *c, int lnum, int offs, int len, in read_znode()
406 struct ubifs_znode *ubifs_load_znode(struct ubifs_info *c, in ubifs_load_znode()
458 int ubifs_tnc_read_node(struct ubifs_info *c, struct ubifs_zbranch *zbr, in ubifs_tnc_read_node()
Dshrinker.c70 static int shrink_tnc(struct ubifs_info *c, int nr, int age, int *contention) in shrink_tnc()
158 struct ubifs_info *c; in shrink_tnc_trees() local
228 struct ubifs_info *c; in kick_a_thread() local
Ddebug.h159 #define ubifs_assert_cmt_locked(c) do { \ argument
214 static inline int dbg_is_chk_gen(const struct ubifs_info *c) in dbg_is_chk_gen()
218 static inline int dbg_is_chk_index(const struct ubifs_info *c) in dbg_is_chk_index()
222 static inline int dbg_is_chk_orph(const struct ubifs_info *c) in dbg_is_chk_orph()
226 static inline int dbg_is_chk_lprops(const struct ubifs_info *c) in dbg_is_chk_lprops()
230 static inline int dbg_is_chk_fs(const struct ubifs_info *c) in dbg_is_chk_fs()
234 static inline int dbg_is_tst_rcvry(const struct ubifs_info *c) in dbg_is_tst_rcvry()
238 static inline int dbg_is_power_cut(const struct ubifs_info *c) in dbg_is_power_cut()
/linux-4.1.27/arch/mips/kernel/
Dcpu-probe.c73 static inline void cpu_set_fpu_fcsr_mask(struct cpuinfo_mips *c) in cpu_set_fpu_fcsr_mask()
101 static void cpu_set_nofpu_id(struct cpuinfo_mips *c) in cpu_set_nofpu_id()
122 static void cpu_set_fpu_opts(struct cpuinfo_mips *c) in cpu_set_fpu_opts()
142 static void cpu_set_nofpu_opts(struct cpuinfo_mips *c) in cpu_set_nofpu_opts()
247 struct cpuinfo_mips *c = &current_cpu_data; in check_errata() local
297 static inline void cpu_probe_vmbits(struct cpuinfo_mips *c) in cpu_probe_vmbits()
306 static void set_isa(struct cpuinfo_mips *c, unsigned int isa) in set_isa()
341 static unsigned int calculate_ftlb_probability(struct cpuinfo_mips *c) in calculate_ftlb_probability()
367 static void set_ftlb_enable(struct cpuinfo_mips *c, int enable) in set_ftlb_enable()
393 static inline unsigned int decode_config0(struct cpuinfo_mips *c) in decode_config0()
[all …]
/linux-4.1.27/drivers/staging/i2o/
Diop.c63 struct i2o_message *i2o_msg_get_wait(struct i2o_controller *c, int wait) in i2o_msg_get_wait()
92 u32 i2o_cntxt_list_add(struct i2o_controller * c, void *ptr) in i2o_cntxt_list_add()
138 u32 i2o_cntxt_list_remove(struct i2o_controller * c, void *ptr) in i2o_cntxt_list_remove()
172 void *i2o_cntxt_list_get(struct i2o_controller *c, u32 context) in i2o_cntxt_list_get()
205 u32 i2o_cntxt_list_get_ptr(struct i2o_controller * c, void *ptr) in i2o_cntxt_list_get_ptr()
240 struct i2o_controller *c; in i2o_find_iop() local
260 struct i2o_device *i2o_iop_find_device(struct i2o_controller *c, u16 tid) in i2o_iop_find_device()
280 static int i2o_iop_quiesce(struct i2o_controller *c) in i2o_iop_quiesce()
321 static int i2o_iop_enable(struct i2o_controller *c) in i2o_iop_enable()
360 struct i2o_controller *c, *tmp; in i2o_iop_quiesce_all() local
[all …]
Dpci.c55 static void i2o_pci_free(struct i2o_controller *c) in i2o_pci_free()
87 static int i2o_pci_alloc(struct i2o_controller *c) in i2o_pci_alloc()
233 struct i2o_controller *c = dev_id; in i2o_pci_interrupt() local
269 static int i2o_pci_irq_enable(struct i2o_controller *c) in i2o_pci_irq_enable()
299 static void i2o_pci_irq_disable(struct i2o_controller *c) in i2o_pci_irq_disable()
320 struct i2o_controller *c; in i2o_pci_probe() local
460 struct i2o_controller *c; in i2o_pci_remove() local
Di2o_scsi.c95 static struct i2o_scsi_host *i2o_scsi_host_alloc(struct i2o_controller *c) in i2o_scsi_host_alloc()
167 static struct i2o_scsi_host *i2o_scsi_get_host(struct i2o_controller *c) in i2o_scsi_get_host()
183 struct i2o_controller *c = i2o_dev->iop; in i2o_scsi_remove() local
214 struct i2o_controller *c = i2o_dev->iop; in i2o_scsi_probe() local
343 static int i2o_scsi_reply(struct i2o_controller *c, u32 m, in i2o_scsi_reply()
434 static void i2o_scsi_notify_controller_add(struct i2o_controller *c) in i2o_scsi_notify_controller_add()
464 static void i2o_scsi_notify_controller_remove(struct i2o_controller *c) in i2o_scsi_notify_controller_remove()
510 struct i2o_controller *c; in i2o_scsi_queuecommand_lck() local
707 struct i2o_controller *c; in DEF_SCSI_QCMD() local
Ddriver.c79 struct i2o_controller *c; in i2o_driver_register() local
149 struct i2o_controller *c; in i2o_driver_unregister() local
188 int i2o_driver_dispatch(struct i2o_controller *c, u32 m) in i2o_driver_dispatch()
261 void i2o_driver_notify_controller_add_all(struct i2o_controller *c) in i2o_driver_notify_controller_add_all()
281 void i2o_driver_notify_controller_remove_all(struct i2o_controller *c) in i2o_driver_notify_controller_remove_all()
Dexec-osm.c62 struct i2o_controller *c; /* controller on which the LCT NOTIFY member
122 int i2o_msg_post_wait_mem(struct i2o_controller *c, struct i2o_message *msg, in i2o_msg_post_wait_mem()
216 static int i2o_msg_post_wait_complete(struct i2o_controller *c, u32 m, in i2o_msg_post_wait_complete()
381 static int i2o_exec_lct_notify(struct i2o_controller *c, u32 change_ind) in i2o_exec_lct_notify()
434 struct i2o_controller *c = work->c; in i2o_exec_lct_modified() local
460 static int i2o_exec_reply(struct i2o_controller *c, u32 m, in i2o_exec_reply()
544 int i2o_exec_lct_get(struct i2o_controller *c) in i2o_exec_lct_get()
Di2o_config.c71 struct i2o_controller *c; in i2o_cfg_getiops() local
89 struct i2o_controller *c; in i2o_cfg_gethrt() local
126 struct i2o_controller *c; in i2o_cfg_getlct() local
163 struct i2o_controller *c; in i2o_cfg_parms() local
239 struct i2o_controller *c; in i2o_cfg_swdl() local
317 struct i2o_controller *c; in i2o_cfg_swul() local
385 struct i2o_controller *c; in i2o_cfg_swdel() local
431 struct i2o_controller *c; in i2o_cfg_validate() local
463 struct i2o_controller *c; in i2o_cfg_evt_reg() local
528 struct i2o_controller *c; in i2o_cfg_passthru32() local
[all …]
Dmemory.c30 u16 i2o_sg_tablesize(struct i2o_controller *c, u16 body_size) in i2o_sg_tablesize()
71 dma_addr_t i2o_dma_map_single(struct i2o_controller *c, void *ptr, in i2o_dma_map_single()
127 int i2o_dma_map_sg(struct i2o_controller *c, struct scatterlist *sg, in i2o_dma_map_sg()
/linux-4.1.27/sound/firewire/
Dcmp.c46 void cmp_error(struct cmp_connection *c, const char *fmt, ...) in cmp_error()
57 static u64 mpr_address(struct cmp_connection *c) in mpr_address()
65 static u64 pcr_address(struct cmp_connection *c) in pcr_address()
73 static int pcr_modify(struct cmp_connection *c, in pcr_modify()
74 __be32 (*modify)(struct cmp_connection *c, __be32 old), in pcr_modify()
75 int (*check)(struct cmp_connection *c, __be32 pcr), in pcr_modify()
120 int cmp_connection_init(struct cmp_connection *c, in cmp_connection_init()
160 int cmp_connection_check_used(struct cmp_connection *c, bool *used) in cmp_connection_check_used()
180 void cmp_connection_destroy(struct cmp_connection *c) in cmp_connection_destroy()
189 static __be32 ipcr_set_modify(struct cmp_connection *c, __be32 ipcr) in ipcr_set_modify()
[all …]
/linux-4.1.27/drivers/iommu/
Dmsm_iommu_hw-8xxx.h38 #define GET_CONTEXT_FIELD(b, c, r, F) \ argument
43 #define SET_CONTEXT_FIELD(b, c, r, F, v) \ argument
134 #define SET_SCTLR(b, c, v) SET_CTX_REG(SCTLR, (b), (c), (v)) argument
135 #define SET_ACTLR(b, c, v) SET_CTX_REG(ACTLR, (b), (c), (v)) argument
136 #define SET_CONTEXTIDR(b, c, v) SET_CTX_REG(CONTEXTIDR, (b), (c), (v)) argument
137 #define SET_TTBR0(b, c, v) SET_CTX_REG(TTBR0, (b), (c), (v)) argument
138 #define SET_TTBR1(b, c, v) SET_CTX_REG(TTBR1, (b), (c), (v)) argument
139 #define SET_TTBCR(b, c, v) SET_CTX_REG(TTBCR, (b), (c), (v)) argument
140 #define SET_PAR(b, c, v) SET_CTX_REG(PAR, (b), (c), (v)) argument
141 #define SET_FSR(b, c, v) SET_CTX_REG(FSR, (b), (c), (v)) argument
[all …]
/linux-4.1.27/arch/arm64/include/asm/
Dio.h120 #define readb_relaxed(c) ({ u8 __v = __raw_readb(c); __v; }) argument
121 #define readw_relaxed(c) ({ u16 __v = le16_to_cpu((__force __le16)__raw_readw(c)); __v; }) argument
122 #define readl_relaxed(c) ({ u32 __v = le32_to_cpu((__force __le32)__raw_readl(c)); __v; }) argument
123 #define readq_relaxed(c) ({ u64 __v = le64_to_cpu((__force __le64)__raw_readq(c)); __v; }) argument
125 #define writeb_relaxed(v,c) ((void)__raw_writeb((v),(c))) argument
126 #define writew_relaxed(v,c) ((void)__raw_writew((__force u16)cpu_to_le16(v),(c))) argument
127 #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c))) argument
128 #define writeq_relaxed(v,c) ((void)__raw_writeq((__force u64)cpu_to_le64(v),(c))) argument
135 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; }) argument
136 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; }) argument
[all …]
/linux-4.1.27/drivers/net/wan/
Dz85230.c126 static inline u8 read_zsreg(struct z8530_channel *c, u8 reg) in read_zsreg()
141 static inline u8 read_zsdata(struct z8530_channel *c) in read_zsdata()
160 static inline void write_zsreg(struct z8530_channel *c, u8 reg, u8 val) in write_zsreg()
176 static inline void write_zsctrl(struct z8530_channel *c, u8 val) in write_zsctrl()
190 static inline void write_zsdata(struct z8530_channel *c, u8 val) in write_zsdata()
276 static void z8530_flush_fifo(struct z8530_channel *c) in z8530_flush_fifo()
302 static void z8530_rtsdtr(struct z8530_channel *c, int set) in z8530_rtsdtr()
335 static void z8530_rx(struct z8530_channel *c) in z8530_rx()
409 static void z8530_tx(struct z8530_channel *c) in z8530_tx()
629 static void z8530_rx_clear(struct z8530_channel *c) in z8530_rx_clear()
[all …]
/linux-4.1.27/drivers/md/
Ddm-bufio.c148 struct dm_bufio_client *c; member
159 static inline int dm_bufio_cache_index(struct dm_bufio_client *c) in dm_bufio_cache_index()
168 #define DM_BUFIO_CACHE(c) (dm_bufio_caches[dm_bufio_cache_index(c)]) argument
169 #define DM_BUFIO_CACHE_NAME(c) (dm_bufio_cache_names[dm_bufio_cache_index(c)]) argument
173 static void dm_bufio_lock(struct dm_bufio_client *c) in dm_bufio_lock()
178 static int dm_bufio_trylock(struct dm_bufio_client *c) in dm_bufio_trylock()
183 static void dm_bufio_unlock(struct dm_bufio_client *c) in dm_bufio_unlock()
259 static struct dm_buffer *__find(struct dm_bufio_client *c, sector_t block) in __find()
276 static void __insert(struct dm_bufio_client *c, struct dm_buffer *b) in __insert()
298 static void __remove(struct dm_bufio_client *c, struct dm_buffer *b) in __remove()
[all …]
/linux-4.1.27/arch/sparc/crypto/
Dopcodes.h17 #define CRC32C(a,b,c) \ argument
29 #define AES_EROUND01(a,b,c,d) \ argument
31 #define AES_EROUND23(a,b,c,d) \ argument
33 #define AES_DROUND01(a,b,c,d) \ argument
35 #define AES_DROUND23(a,b,c,d) \ argument
37 #define AES_EROUND01_L(a,b,c,d) \ argument
39 #define AES_EROUND23_L(a,b,c,d) \ argument
41 #define AES_DROUND01_L(a,b,c,d) \ argument
43 #define AES_DROUND23_L(a,b,c,d) \ argument
45 #define AES_KEXPAND1(a,b,c,d) \ argument
[all …]
/linux-4.1.27/sound/aoa/soundbus/i2sbus/
Dcontrol.c22 int i2sbus_control_init(struct macio_dev* dev, struct i2sbus_control **c) in i2sbus_control_init()
34 void i2sbus_control_destroy(struct i2sbus_control *c) in i2sbus_control_destroy()
40 int i2sbus_control_add_dev(struct i2sbus_control *c, in i2sbus_control_add_dev()
74 void i2sbus_control_remove_dev(struct i2sbus_control *c, in i2sbus_control_remove_dev()
83 int i2sbus_control_enable(struct i2sbus_control *c, in i2sbus_control_enable()
110 int i2sbus_control_cell(struct i2sbus_control *c, in i2sbus_control_cell()
153 int i2sbus_control_clock(struct i2sbus_control *c, in i2sbus_control_clock()
/linux-4.1.27/arch/mips/alchemy/common/
Dclock.c236 struct clk *c; in alchemy_clk_setup_aux() local
267 struct clk *c; in alchemy_clk_setup_sysbus() local
281 struct clk *c; in alchemy_clk_setup_periph() local
296 struct clk *c; in alchemy_clk_setup_mem() local
335 struct clk *c; in alchemy_clk_setup_lrclk() local
479 struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); in alchemy_clk_fgv1_en() local
493 struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); in alchemy_clk_fgv1_isen() local
501 struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); in alchemy_clk_fgv1_dis() local
513 struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); in alchemy_clk_fgv1_setp() local
530 struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); in alchemy_clk_fgv1_getp() local
[all …]
/linux-4.1.27/scripts/dtc/
Dchecks.c24 #define TRACE(c, ...) \ argument
31 #define TRACE(c, fmt, ...) do { } while (0) argument
104 static inline void check_msg(struct check *c, const char *fmt, ...) in check_msg()
118 #define FAIL(c, ...) \ argument
125 static void check_nodes_props(struct check *c, struct node *dt, struct node *node) in check_nodes_props()
144 static int run_check(struct check *c, struct node *dt) in run_check()
191 static inline void check_always_fail(struct check *c, struct node *dt) in check_always_fail()
197 static void check_is_string(struct check *c, struct node *root, in check_is_string()
216 static void check_is_cell(struct check *c, struct node *root, in check_is_cell()
239 static void check_duplicate_node_names(struct check *c, struct node *dt, in check_duplicate_node_names()
[all …]
/linux-4.1.27/drivers/usb/misc/sisusbvga/
Dsisusb_con.c76 #define sisusbcon_memmovew(d, s, c) memmove(d, s, c) argument
77 #define sisusbcon_memcpyw(d, s, c) memcpy(d, s, c) argument
86 sisusbcon_memsetw(u16 *s, u16 c, unsigned int count) in sisusbcon_memsetw()
107 sisusbcon_set_start_address(struct sisusb_usb_data *sisusb, struct vc_data *c) in sisusbcon_set_start_address()
187 sisusb_is_inactive(struct vc_data *c, struct sisusb_usb_data *sisusb) in sisusb_is_inactive()
206 sisusbcon_init(struct vc_data *c, int init) in sisusbcon_init()
271 sisusbcon_deinit(struct vc_data *c) in sisusbcon_deinit()
310 sisusbcon_build_attr(struct vc_data *c, u8 color, u8 intensity, in sisusbcon_build_attr()
367 sisusbcon_putc(struct vc_data *c, int ch, int y, int x) in sisusbcon_putc()
390 sisusbcon_putcs(struct vc_data *c, const unsigned short *s, in sisusbcon_putcs()
[all …]
/linux-4.1.27/arch/x86/kernel/cpu/
Dintel.c28 static void early_init_intel(struct cpuinfo_x86 *c) in early_init_intel()
184 static void intel_smp_check(struct cpuinfo_x86 *c) in intel_smp_check()
212 static void intel_workarounds(struct cpuinfo_x86 *c) in intel_workarounds()
296 static void intel_workarounds(struct cpuinfo_x86 *c) in intel_workarounds()
301 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node()
321 static int intel_num_cpu_cores(struct cpuinfo_x86 *c) in intel_num_cpu_cores()
336 static void detect_vmx_virtcap(struct cpuinfo_x86 *c) in detect_vmx_virtcap()
374 static void init_intel(struct cpuinfo_x86 *c) in init_intel()
499 static unsigned int intel_size_cache(struct cpuinfo_x86 *c, unsigned int size) in intel_size_cache()
665 static void intel_detect_tlb(struct cpuinfo_x86 *c) in intel_detect_tlb()
Damd.c72 static void init_amd_k5(struct cpuinfo_x86 *c) in init_amd_k5()
91 static void init_amd_k6(struct cpuinfo_x86 *c) in init_amd_k6()
185 static void init_amd_k7(struct cpuinfo_x86 *c) in init_amd_k7()
292 static void amd_get_topology(struct cpuinfo_x86 *c) in amd_get_topology()
342 static void amd_detect_cmp(struct cpuinfo_x86 *c) in amd_detect_cmp()
369 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node()
421 static void early_init_amd_mc(struct cpuinfo_x86 *c) in early_init_amd_mc()
447 static void bsp_init_amd(struct cpuinfo_x86 *c) in bsp_init_amd()
498 static void early_init_amd(struct cpuinfo_x86 *c) in early_init_amd()
548 static void init_amd_k8(struct cpuinfo_x86 *c) in init_amd_k8()
[all …]
Dcommon.c69 static void default_init(struct cpuinfo_x86 *c) in default_init()
236 static void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) in squash_the_stupid_serial_number()
267 static inline void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) in squash_the_stupid_serial_number()
279 static __always_inline void setup_smep(struct cpuinfo_x86 *c) in setup_smep()
292 static __always_inline void setup_smap(struct cpuinfo_x86 *c) in setup_smap()
326 static void filter_cpuid_features(struct cpuinfo_x86 *c, bool warn) in filter_cpuid_features()
364 static const char *table_lookup_model(struct cpuinfo_x86 *c) in table_lookup_model()
418 static void get_model_name(struct cpuinfo_x86 *c) in get_model_name()
447 void cpu_detect_cache_sizes(struct cpuinfo_x86 *c) in cpu_detect_cache_sizes()
494 static void cpu_detect_tlb(struct cpuinfo_x86 *c) in cpu_detect_tlb()
[all …]
Dproc.c10 static void show_cpuinfo_core(struct seq_file *m, struct cpuinfo_x86 *c, in show_cpuinfo_core()
24 static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c) in show_cpuinfo_misc()
43 static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c) in show_cpuinfo_misc()
56 struct cpuinfo_x86 *c = v; in show_cpuinfo() local
Dcyrix.c89 static void check_cx686_slop(struct cpuinfo_x86 *c) in check_cx686_slop()
168 static void early_init_cyrix(struct cpuinfo_x86 *c) in early_init_cyrix()
187 static void init_cyrix(struct cpuinfo_x86 *c) in init_cyrix()
358 static void init_nsc(struct cpuinfo_x86 *c) in init_nsc()
407 static void cyrix_identify(struct cpuinfo_x86 *c) in cyrix_identify()
Dcentaur.c19 static void init_c3(struct cpuinfo_x86 *c) in init_c3()
90 static void early_init_centaur(struct cpuinfo_x86 *c) in early_init_centaur()
109 static void init_centaur(struct cpuinfo_x86 *c) in init_centaur()
200 centaur_size_cache(struct cpuinfo_x86 *c, unsigned int size) in centaur_size_cache()
Dtransmeta.c7 static void early_init_transmeta(struct cpuinfo_x86 *c) in early_init_transmeta()
19 static void init_transmeta(struct cpuinfo_x86 *c) in init_transmeta()
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c57 static void atmel_hlcdc_crtc_mode_set_nofb(struct drm_crtc *c) in atmel_hlcdc_crtc_mode_set_nofb()
131 static void atmel_hlcdc_crtc_disable(struct drm_crtc *c) in atmel_hlcdc_crtc_disable()
170 static void atmel_hlcdc_crtc_enable(struct drm_crtc *c) in atmel_hlcdc_crtc_enable()
210 void atmel_hlcdc_crtc_suspend(struct drm_crtc *c) in atmel_hlcdc_crtc_suspend()
221 void atmel_hlcdc_crtc_resume(struct drm_crtc *c) in atmel_hlcdc_crtc_resume()
231 static int atmel_hlcdc_crtc_atomic_check(struct drm_crtc *c, in atmel_hlcdc_crtc_atomic_check()
242 static void atmel_hlcdc_crtc_atomic_begin(struct drm_crtc *c) in atmel_hlcdc_crtc_atomic_begin()
273 static void atmel_hlcdc_crtc_destroy(struct drm_crtc *c) in atmel_hlcdc_crtc_destroy()
281 void atmel_hlcdc_crtc_cancel_page_flip(struct drm_crtc *c, in atmel_hlcdc_crtc_cancel_page_flip()
313 void atmel_hlcdc_crtc_irq(struct drm_crtc *c) in atmel_hlcdc_crtc_irq()
/linux-4.1.27/arch/powerpc/kernel/
Dtm.S17 #define __SAVE_32FPRS_VSRS(n,c,base) \ argument
25 #define __REST_32FPRS_VSRS(n,c,base) \ argument
34 #define __SAVE_32FPRS_VSRS(n,c,base) SAVE_32FPRS(n, base) argument
35 #define __REST_32FPRS_VSRS(n,c,base) REST_32FPRS(n, base) argument
37 #define SAVE_32FPRS_VSRS(n,c,base) \ argument
39 #define REST_32FPRS_VSRS(n,c,base) \ argument
Dfpu.S29 #define __REST_32FPVSRS(n,c,base) \ argument
38 #define __SAVE_32FPVSRS(n,c,base) \ argument
50 #define REST_32FPVSRS(n,c,base) __REST_32FPVSRS(n,__REG_##c,__REG_##base) argument
51 #define SAVE_32FPVSRS(n,c,base) __SAVE_32FPVSRS(n,__REG_##c,__REG_##base) argument
/linux-4.1.27/drivers/md/bcache/
Ddebug.h13 #define expensive_debug_checks(c) ((c)->expensive_debug_checks) argument
14 #define key_merging_disabled(c) ((c)->key_merging_disabled) argument
22 #define expensive_debug_checks(c) 0 argument
23 #define key_merging_disabled(c) 0 argument
31 static inline void bch_debug_init_cache_set(struct cache_set *c) {} in bch_debug_init_cache_set()
Dsuper.c303 struct cache_set *c = container_of(cl, struct cache_set, sb_write); in bcache_write_super_unlock() local
308 void bcache_write_super(struct cache_set *c) in bcache_write_super()
345 struct cache_set *c = container_of(cl, struct cache_set, uuid_write); in uuid_endio() local
354 struct cache_set *c = container_of(cl, struct cache_set, uuid_write); in uuid_io_unlock() local
359 static void uuid_io(struct cache_set *c, unsigned long rw, in uuid_io()
399 static char *uuid_read(struct cache_set *c, struct jset *j, struct closure *cl) in uuid_read()
440 static int __uuid_write(struct cache_set *c) in __uuid_write()
460 int bch_uuid_write(struct cache_set *c) in bch_uuid_write()
470 static struct uuid_entry *uuid_find(struct cache_set *c, const char *uuid) in uuid_find()
482 static struct uuid_entry *uuid_find_empty(struct cache_set *c) in uuid_find_empty()
[all …]
Djournal.c144 int bch_journal_read(struct cache_set *c, struct list_head *list) in bch_journal_read()
266 void bch_journal_mark(struct cache_set *c, struct list_head *list) in bch_journal_mark()
366 static void btree_flush_write(struct cache_set *c) in btree_flush_write()
467 static void journal_reclaim(struct cache_set *c) in journal_reclaim()
573 struct cache_set *c = container_of(cl, struct cache_set, journal.io); in journal_write_unlock() local
582 struct cache_set *c = container_of(cl, struct cache_set, journal.io); in journal_write_unlocked() local
656 struct cache_set *c = container_of(cl, struct cache_set, journal.io); in journal_write() local
662 static void journal_try_write(struct cache_set *c) in journal_try_write()
678 static struct journal_write *journal_wait_for_write(struct cache_set *c, in journal_wait_for_write()
734 struct cache_set *c = container_of(to_delayed_work(work), in journal_write_work() local
[all …]
Dsysfs.c195 struct cache_set *c; in STORE() local
418 static int bch_bset_print_stats(struct cache_set *c, char *buf) in bch_bset_print_stats()
444 static unsigned bch_root_usage(struct cache_set *c) in bch_root_usage()
468 static size_t bch_cache_size(struct cache_set *c) in bch_cache_size()
481 static unsigned bch_cache_max_chain(struct cache_set *c) in bch_cache_max_chain()
504 static unsigned bch_btree_used(struct cache_set *c) in bch_btree_used()
510 static unsigned bch_average_key_size(struct cache_set *c) in bch_average_key_size()
519 struct cache_set *c = container_of(kobj, struct cache_set, kobj); in SHOW() local
582 struct cache_set *c = container_of(kobj, struct cache_set, kobj); in STORE() local
662 struct cache_set *c = container_of(kobj, struct cache_set, internal); in SHOW() local
[all …]
Dbtree.c93 #define PTR_HASH(c, k) \ argument
136 #define btree_root(fn, c, op, ...) \ argument
178 void bkey_put(struct cache_set *c, struct bkey *k) in bkey_put()
557 #define mca_reserve(c) (((c->root && c->root->level) \ argument
559 #define mca_can_free(c) \ argument
600 static struct btree *mca_bucket_alloc(struct cache_set *c, in mca_bucket_alloc()
664 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_scan() local
728 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_count() local
739 void bch_btree_cache_free(struct cache_set *c) in bch_btree_cache_free()
781 int bch_btree_cache_alloc(struct cache_set *c) in bch_btree_cache_alloc()
[all …]
Dio.c114 void bch_bbio_free(struct bio *bio, struct cache_set *c) in bch_bbio_free()
120 struct bio *bch_bbio_alloc(struct cache_set *c) in bch_bbio_alloc()
133 void __bch_submit_bbio(struct bio *bio, struct cache_set *c) in __bch_submit_bbio()
144 void bch_submit_bbio(struct bio *bio, struct cache_set *c, in bch_submit_bbio()
206 void bch_bbio_count_io_errors(struct cache_set *c, struct bio *bio, in bch_bbio_count_io_errors()
235 void bch_bbio_endio(struct cache_set *c, struct bio *bio, in bch_bbio_endio()
Dextents.c41 int64_t c = bkey_cmp(l.k, r.k); in bch_key_sort_cmp() local
46 static bool __ptr_invalid(struct cache_set *c, const struct bkey *k) in __ptr_invalid()
67 static const char *bch_ptr_status(struct cache_set *c, const struct bkey *k) in bch_ptr_status()
148 bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k) in __bch_btree_ptr_invalid()
259 int64_t c = bkey_cmp(&START_KEY(l.k), &START_KEY(r.k)); in bch_extent_sort_cmp() local
312 struct cache_set *c, in bch_subtract_dirty()
326 struct cache_set *c = container_of(b, struct btree, keys)->c; in bch_extent_insert_fixup() local
477 bool __bch_extent_invalid(struct cache_set *c, const struct bkey *k) in __bch_extent_invalid()
Dalloc.c84 void bch_rescale_priorities(struct cache_set *c, int sectors) in bch_rescale_priorities()
453 void bch_bucket_free(struct cache_set *c, struct bkey *k) in bch_bucket_free()
462 int __bch_bucket_alloc_set(struct cache_set *c, unsigned reserve, in __bch_bucket_alloc_set()
495 int bch_bucket_alloc_set(struct cache_set *c, unsigned reserve, in bch_bucket_alloc_set()
533 static struct open_bucket *pick_data_bucket(struct cache_set *c, in pick_data_bucket()
571 bool bch_alloc_sectors(struct cache_set *c, struct bkey *k, unsigned sectors, in bch_alloc_sectors()
658 void bch_open_buckets_free(struct cache_set *c) in bch_open_buckets_free()
670 int bch_open_buckets_alloc(struct cache_set *c) in bch_open_buckets_alloc()
Dbtree.h127 struct cache_set *c; member
191 static inline void set_gc_sectors(struct cache_set *c) in set_gc_sectors()
200 #define for_each_cached_btree(b, c, iter) \ argument
261 static inline void wake_up_gc(struct cache_set *c) in wake_up_gc()
279 static inline int bch_btree_map_nodes(struct btree_op *op, struct cache_set *c, in bch_btree_map_nodes()
286 struct cache_set *c, in bch_btree_map_leaf_nodes()
Dstats.c198 void bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d, in bch_mark_cache_accounting()
206 void bch_mark_cache_readahead(struct cache_set *c, struct bcache_device *d) in bch_mark_cache_readahead()
213 void bch_mark_cache_miss_collision(struct cache_set *c, struct bcache_device *d) in bch_mark_cache_miss_collision()
220 void bch_mark_sectors_bypassed(struct cache_set *c, struct cached_dev *dc, in bch_mark_sectors_bypassed()
Dmovinggc.c23 struct cache_set *c = container_of(buf, struct cache_set, in moving_pred() local
129 static void read_moving(struct cache_set *c) in read_moving()
199 void bch_moving_gc(struct cache_set *c) in bch_moving_gc()
252 void bch_moving_init_cache_set(struct cache_set *c) in bch_moving_init_cache_set()
Dbcache.h264 struct cache_set *c; member
700 #define btree_bytes(c) ((c)->btree_pages * PAGE_SIZE) argument
704 #define btree_default_blocks(c) \ argument
707 #define bucket_pages(c) ((c)->sb.bucket_size / PAGE_SECTORS) argument
708 #define bucket_bytes(c) ((c)->sb.bucket_size << 9) argument
709 #define block_bytes(c) ((c)->sb.block_size << 9) argument
711 #define prios_per_bucket(c) \ argument
714 #define prio_buckets(c) \ argument
717 static inline size_t sector_to_bucket(struct cache_set *c, sector_t s) in sector_to_bucket()
722 static inline sector_t bucket_to_sector(struct cache_set *c, size_t b) in bucket_to_sector()
[all …]
/linux-4.1.27/drivers/clocksource/
Dmmio.c18 static inline struct clocksource_mmio *to_mmio_clksrc(struct clocksource *c) in to_mmio_clksrc()
23 cycle_t clocksource_mmio_readl_up(struct clocksource *c) in clocksource_mmio_readl_up()
28 cycle_t clocksource_mmio_readl_down(struct clocksource *c) in clocksource_mmio_readl_down()
33 cycle_t clocksource_mmio_readw_up(struct clocksource *c) in clocksource_mmio_readw_up()
38 cycle_t clocksource_mmio_readw_down(struct clocksource *c) in clocksource_mmio_readw_down()
/linux-4.1.27/drivers/acpi/acpica/
Dacutils.h258 #define ACPI_IS_DIGIT(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_DI)) argument
259 #define ACPI_IS_SPACE(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_SP)) argument
260 #define ACPI_IS_XDIGIT(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_XD)) argument
261 #define ACPI_IS_UPPER(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_UP)) argument
262 #define ACPI_IS_LOWER(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO)) argument
263 #define ACPI_IS_PRINT(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP | _ACPI_DI | _ACP… argument
264 #define ACPI_IS_ALPHA(c) (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP)) argument
268 #define ACPI_IS_ASCII(c) ((c) < 0x80) argument
/linux-4.1.27/drivers/video/console/
Dvgacon.c178 static inline void vga_set_mem_top(struct vc_data *c) in vga_set_mem_top()
213 static void vgacon_scrollback_update(struct vc_data *c, int t, int count) in vgacon_scrollback_update()
239 static void vgacon_restore_screen(struct vc_data *c) in vgacon_restore_screen()
252 static int vgacon_scrolldelta(struct vc_data *c, int lines) in vgacon_scrolldelta()
332 static void vgacon_restore_screen(struct vc_data *c) in vgacon_restore_screen()
338 static int vgacon_scrolldelta(struct vc_data *c, int lines) in vgacon_scrolldelta()
555 static void vgacon_init(struct vc_data *c, int init) in vgacon_init()
593 static void vgacon_deinit(struct vc_data *c) in vgacon_deinit()
607 static u8 vgacon_build_attr(struct vc_data *c, u8 color, u8 intensity, in vgacon_build_attr()
639 static void vgacon_invert_region(struct vc_data *c, u16 * p, int count) in vgacon_invert_region()
[all …]
Dmdacon.c345 static void mdacon_init(struct vc_data *c, int init) in mdacon_init()
362 static void mdacon_deinit(struct vc_data *c) in mdacon_deinit()
387 static u8 mdacon_build_attr(struct vc_data *c, u8 color, u8 intensity, in mdacon_build_attr()
405 static void mdacon_invert_region(struct vc_data *c, u16 *p, int count) in mdacon_invert_region()
415 static void mdacon_putc(struct vc_data *c, int ch, int y, int x) in mdacon_putc()
420 static void mdacon_putcs(struct vc_data *c, const unsigned short *s, in mdacon_putcs()
430 static void mdacon_clear(struct vc_data *c, int y, int x, in mdacon_clear()
447 static void mdacon_bmove(struct vc_data *c, int sy, int sx, in mdacon_bmove()
479 static int mdacon_switch(struct vc_data *c) in mdacon_switch()
484 static int mdacon_set_palette(struct vc_data *c, unsigned char *table) in mdacon_set_palette()
[all …]
/linux-4.1.27/drivers/dma/
Domap-dma.c166 static inline struct omap_chan *to_omap_dma_chan(struct dma_chan *c) in to_omap_dma_chan()
240 static void omap_dma_chan_write(struct omap_chan *c, unsigned reg, unsigned val) in omap_dma_chan_write()
247 static unsigned omap_dma_chan_read(struct omap_chan *c, unsigned reg) in omap_dma_chan_read()
254 static void omap_dma_clear_csr(struct omap_chan *c) in omap_dma_clear_csr()
262 static unsigned omap_dma_get_csr(struct omap_chan *c) in omap_dma_get_csr()
272 static void omap_dma_assign(struct omap_dmadev *od, struct omap_chan *c, in omap_dma_assign()
280 static void omap_dma_start(struct omap_chan *c, struct omap_desc *d) in omap_dma_start()
298 static void omap_dma_stop(struct omap_chan *c) in omap_dma_stop()
359 static void omap_dma_start_sg(struct omap_chan *c, struct omap_desc *d, in omap_dma_start_sg()
384 static void omap_dma_start_desc(struct omap_chan *c) in omap_dma_start_desc()
[all …]
Dsa11x0-dma.c140 static struct sa11x0_dma_desc *sa11x0_dma_next_desc(struct sa11x0_dma_chan *c) in sa11x0_dma_next_desc()
163 struct sa11x0_dma_chan *c) in sa11x0_dma_start_sg()
227 struct sa11x0_dma_chan *c) in sa11x0_dma_complete()
256 struct sa11x0_dma_chan *c; in sa11x0_dma_irq() local
303 static void sa11x0_dma_start_txd(struct sa11x0_dma_chan *c) in sa11x0_dma_start_txd()
334 struct sa11x0_dma_chan *c; in sa11x0_dma_tasklet() local
394 struct sa11x0_dma_chan *c = to_sa11x0_dma_chan(chan); in sa11x0_dma_free_chan_resources() local
424 struct sa11x0_dma_chan *c = to_sa11x0_dma_chan(chan); in sa11x0_dma_tx_status() local
506 struct sa11x0_dma_chan *c = to_sa11x0_dma_chan(chan); in sa11x0_dma_issue_pending() local
530 struct sa11x0_dma_chan *c = to_sa11x0_dma_chan(chan); in sa11x0_dma_prep_slave_sg() local
[all …]
Dbcm2835-dma.c132 static inline struct bcm2835_chan *to_bcm2835_dma_chan(struct dma_chan *c) in to_bcm2835_dma_chan()
188 static void bcm2835_dma_start_desc(struct bcm2835_chan *c) in bcm2835_dma_start_desc()
208 struct bcm2835_chan *c = data; in bcm2835_dma_callback() local
234 struct bcm2835_chan *c = to_bcm2835_dma_chan(chan); in bcm2835_dma_alloc_chan_resources() local
245 struct bcm2835_chan *c = to_bcm2835_dma_chan(chan); in bcm2835_dma_free_chan_resources() local
286 struct bcm2835_chan *c = to_bcm2835_dma_chan(chan); in bcm2835_dma_tx_status() local
323 struct bcm2835_chan *c = to_bcm2835_dma_chan(chan); in bcm2835_dma_issue_pending() local
340 struct bcm2835_chan *c = to_bcm2835_dma_chan(chan); in bcm2835_dma_prep_dma_cyclic() local
442 struct bcm2835_chan *c = to_bcm2835_dma_chan(chan); in bcm2835_dma_slave_config() local
459 struct bcm2835_chan *c = to_bcm2835_dma_chan(chan); in bcm2835_dma_terminate_all() local
[all …]
Dk3dma.c193 struct k3_dma_chan *c; in k3_dma_int_handler() local
231 static int k3_dma_start_txd(struct k3_dma_chan *c) in k3_dma_start_txd()
265 struct k3_dma_chan *c, *cn; in k3_dma_tasklet() local
318 struct k3_dma_chan *c = to_k3_chan(chan); in k3_dma_free_chan_resources() local
333 struct k3_dma_chan *c = to_k3_chan(chan); in k3_dma_tx_status() local
379 struct k3_dma_chan *c = to_k3_chan(chan); in k3_dma_issue_pending() local
419 struct k3_dma_chan *c = to_k3_chan(chan); in k3_dma_prep_memcpy() local
468 struct k3_dma_chan *c = to_k3_chan(chan); in k3_dma_prep_slave_sg() local
524 struct k3_dma_chan *c = to_k3_chan(chan); in k3_dma_config() local
570 struct k3_dma_chan *c = to_k3_chan(chan); in k3_dma_terminate_all() local
[all …]
/linux-4.1.27/arch/powerpc/include/asm/
Dide.h12 #define __ide_mm_insw(p, a, c) readsw((void __iomem *)(p), (a), (c)) argument
13 #define __ide_mm_insl(p, a, c) readsl((void __iomem *)(p), (a), (c)) argument
14 #define __ide_mm_outsw(p, a, c) writesw((void __iomem *)(p), (a), (c)) argument
15 #define __ide_mm_outsl(p, a, c) writesl((void __iomem *)(p), (a), (c)) argument
Dword-at-a-time.h20 …ic inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time *c) in prep_zero_mask()
36 static inline bool has_zero(unsigned long val, unsigned long *data, const struct word_at_a_time *c) in has_zero()
54 …inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) in has_zero()
65 …e unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask()
133 …inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) in has_zero()
140 …e unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask()
/linux-4.1.27/include/linux/uwb/
Dwhci.h38 # define UWBCAPINFO_TO_N_CAPS(c) (((c) >> 0) & 0xFull) argument
40 # define UWBCAPDATA_TO_VERSION(c) (((c) >> 32) & 0xFFFFull) argument
41 # define UWBCAPDATA_TO_OFFSET(c) (((c) >> 18) & 0x3FFFull) argument
42 # define UWBCAPDATA_TO_BAR(c) (((c) >> 16) & 0x3ull) argument
43 # define UWBCAPDATA_TO_SIZE(c) ((((c) >> 8) & 0xFFull) * sizeof(u32)) argument
44 # define UWBCAPDATA_TO_CAP_ID(c) (((c) >> 0) & 0xFFull) argument
/linux-4.1.27/drivers/media/i2c/cx25840/
Dcx25840-ir.c113 struct i2c_client *c; member
344 static inline void control_tx_irq_watermark(struct i2c_client *c, in control_tx_irq_watermark()
350 static inline void control_rx_irq_watermark(struct i2c_client *c, in control_rx_irq_watermark()
356 static inline void control_tx_enable(struct i2c_client *c, bool enable) in control_tx_enable()
362 static inline void control_rx_enable(struct i2c_client *c, bool enable) in control_rx_enable()
368 static inline void control_tx_modulation_enable(struct i2c_client *c, in control_tx_modulation_enable()
375 static inline void control_rx_demodulation_enable(struct i2c_client *c, in control_rx_demodulation_enable()
382 static inline void control_rx_s_edge_detection(struct i2c_client *c, in control_rx_s_edge_detection()
389 static void control_rx_s_carrier_window(struct i2c_client *c, in control_rx_s_carrier_window()
415 static inline void control_tx_polarity_invert(struct i2c_client *c, in control_tx_polarity_invert()
[all …]
/linux-4.1.27/drivers/mtd/onenand/
Domap2.c68 struct omap2_onenand *c = data; in omap2_onenand_dma_cb() local
75 struct omap2_onenand *c = dev_id; in omap2_onenand_interrupt() local
82 static inline unsigned short read_reg(struct omap2_onenand *c, int reg) in read_reg()
87 static inline void write_reg(struct omap2_onenand *c, unsigned short value, in write_reg()
108 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap2_onenand_wait() local
300 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap3_onenand_read_bufferram() local
378 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap3_onenand_write_bufferram() local
469 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap2_onenand_read_bufferram() local
514 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap2_onenand_write_bufferram() local
577 struct omap2_onenand *c = dev_get_drvdata(&pdev->dev); in omap2_onenand_shutdown() local
[all …]
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_atomic.c64 struct msm_commit *c = kzalloc(sizeof(*c), GFP_KERNEL); in commit_init() local
81 static void commit_destroy(struct msm_commit *c) in commit_destroy()
90 static void complete_commit(struct msm_commit *c) in complete_commit()
131 struct msm_commit *c = in fence_cb() local
136 static void add_fb(struct msm_commit *c, struct drm_framebuffer *fb) in add_fb()
182 struct msm_commit *c; in msm_atomic_commit() local
/linux-4.1.27/net/ceph/
Darmor.c14 static int encode_bits(int c) in encode_bits()
19 static int decode_bits(char c) in decode_bits()
42 unsigned char a, b, c; in ceph_armor() local
79 int a, b, c, d; in ceph_unarmor() local
Dceph_hash.c10 #define mix(a, b, c) \ argument
26 __u32 a, b, c; /* the internal state */ in ceph_str_hash_rjenkins() local
87 unsigned char c; in ceph_str_hash_linux() local
/linux-4.1.27/net/ceph/crush/
Dhash.c10 #define crush_hashmix(a, b, c) do { \ argument
46 static __u32 crush_hash32_rjenkins1_3(__u32 a, __u32 b, __u32 c) in crush_hash32_rjenkins1_3()
59 static __u32 crush_hash32_rjenkins1_4(__u32 a, __u32 b, __u32 c, __u32 d) in crush_hash32_rjenkins1_4()
73 static __u32 crush_hash32_rjenkins1_5(__u32 a, __u32 b, __u32 c, __u32 d, in crush_hash32_rjenkins1_5()
111 __u32 crush_hash32_3(int type, __u32 a, __u32 b, __u32 c) in crush_hash32_3()
121 __u32 crush_hash32_4(int type, __u32 a, __u32 b, __u32 c, __u32 d) in crush_hash32_4()
131 __u32 crush_hash32_5(int type, __u32 a, __u32 b, __u32 c, __u32 d, __u32 e) in crush_hash32_5()
/linux-4.1.27/drivers/mmc/host/
Dsdhci-acpi.c81 static inline bool sdhci_acpi_flag(struct sdhci_acpi_host *c, unsigned int flag) in sdhci_acpi_flag()
88 struct sdhci_acpi_host *c = sdhci_priv(host); in sdhci_acpi_enable_dma() local
152 struct sdhci_acpi_host *c = platform_get_drvdata(pdev); in sdhci_acpi_emmc_probe_slot() local
173 struct sdhci_acpi_host *c = platform_get_drvdata(pdev); in sdhci_acpi_sdio_probe_slot() local
189 struct sdhci_acpi_host *c = platform_get_drvdata(pdev); in sdhci_acpi_sd_probe_slot() local
287 struct sdhci_acpi_host *c; in sdhci_acpi_probe() local
391 struct sdhci_acpi_host *c = platform_get_drvdata(pdev); in sdhci_acpi_remove() local
415 struct sdhci_acpi_host *c = dev_get_drvdata(dev); in sdhci_acpi_suspend() local
422 struct sdhci_acpi_host *c = dev_get_drvdata(dev); in sdhci_acpi_resume() local
438 struct sdhci_acpi_host *c = dev_get_drvdata(dev); in sdhci_acpi_runtime_suspend() local
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/
Dobject.h41 #define nvif_rd(a,b,c) ({ \ argument
50 #define nvif_wr(a,b,c,d) ({ \ argument
60 #define nvif_wr08(a,b,c) nvif_wr((a), 8, (b), (u8)(c)) argument
61 #define nvif_wr16(a,b,c) nvif_wr((a), 16, (b), (u16)(c)) argument
62 #define nvif_wr32(a,b,c) nvif_wr((a), 32, (b), (u32)(c)) argument
63 #define nvif_mask(a,b,c,d) ({ \ argument
69 #define nvif_mthd(a,b,c,d) nvif_object_mthd(nvif_object(a), (b), (c), (d)) argument
/linux-4.1.27/drivers/spi/
Dspi-txx9.c87 static u32 txx9spi_rd(struct txx9spi *c, int reg) in txx9spi_rd()
91 static void txx9spi_wr(struct txx9spi *c, u32 val, int reg) in txx9spi_wr()
96 static void txx9spi_cs_func(struct spi_device *spi, struct txx9spi *c, in txx9spi_cs_func()
118 struct txx9spi *c = spi_master_get_devdata(spi->master); in txx9spi_setup() local
139 struct txx9spi *c = dev_id; in txx9spi_interrupt() local
148 static void txx9spi_work_one(struct txx9spi *c, struct spi_message *m) in txx9spi_work_one()
283 struct txx9spi *c = container_of(work, struct txx9spi, work); in txx9spi_work() local
304 struct txx9spi *c = spi_master_get_devdata(master); in txx9spi_transfer() local
327 struct txx9spi *c; in txx9spi_probe() local
413 struct txx9spi *c = spi_master_get_devdata(master); in txx9spi_remove() local
/linux-4.1.27/arch/arm/include/asm/
Dio.h296 #define readb_relaxed(c) ({ u8 __r = __raw_readb(c); __r; }) argument
297 #define readw_relaxed(c) ({ u16 __r = le16_to_cpu((__force __le16) \ argument
299 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32) \ argument
302 #define writeb_relaxed(v,c) __raw_writeb(v,c) argument
303 #define writew_relaxed(v,c) __raw_writew((__force u16) cpu_to_le16(v),c) argument
304 #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) argument
306 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; }) argument
307 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; }) argument
308 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) argument
310 #define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); }) argument
[all …]
/linux-4.1.27/drivers/isdn/gigaset/
Dasyncdata.c26 static inline int muststuff(unsigned char c) in muststuff()
55 unsigned char c; in cmd_loop() local
147 unsigned char c; in hdlc_loop() local
293 unsigned char c; in iraw_loop() local
462 unsigned char c; in HDLC_Encode() local
539 unsigned char c; in iraw_encode() local
Disocdata.c218 unsigned char c; in dump_bytes() local
403 unsigned char c; in hdlc_buildframe() local
454 unsigned char c; in trans_buildframe() local
501 static inline void hdlc_putbyte(unsigned char c, struct bc_state *bcs) in hdlc_putbyte()
659 unsigned char c = *src++; in hdlc_unpack() local
898 unsigned char c; in cmd_loop() local
/linux-4.1.27/arch/sh/include/asm/
Dio_noioport.h55 #define insb(a, b, c) BUG() argument
56 #define insw(a, b, c) BUG() argument
57 #define insl(a, b, c) BUG() argument
59 #define outsb(a, b, c) BUG() argument
60 #define outsw(a, b, c) BUG() argument
61 #define outsl(a, b, c) BUG() argument
Dio.h38 #define readb_relaxed(c) ({ u8 __v = ioswabb(__raw_readb(c)); __v; }) argument
39 #define readw_relaxed(c) ({ u16 __v = ioswabw(__raw_readw(c)); __v; }) argument
40 #define readl_relaxed(c) ({ u32 __v = ioswabl(__raw_readl(c)); __v; }) argument
41 #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) argument
43 #define writeb_relaxed(v,c) ((void)__raw_writeb((__force u8)ioswabb(v),c)) argument
44 #define writew_relaxed(v,c) ((void)__raw_writew((__force u16)ioswabw(v),c)) argument
45 #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)ioswabl(v),c)) argument
46 #define writeq_relaxed(v,c) ((void)__raw_writeq((__force u64)ioswabq(v),c)) argument
/linux-4.1.27/drivers/media/firewire/
Dfiredtv-avc.c94 static inline void clear_operands(struct avc_command_frame *c, int from, int to) in clear_operands()
99 static void pad_operands(struct avc_command_frame *c, int from) in pad_operands()
340 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_tuneqpsk() local
421 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_dsd_dvb_c() local
489 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_dsd_dvb_t() local
590 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_dsd() local
629 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_set_pids() local
675 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_get_ts() local
715 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_identify_subunit() local
755 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_status() local
[all …]
/linux-4.1.27/net/ipv4/netfilter/
Dipt_CLUSTERIP.c78 clusterip_config_get(struct clusterip_config *c) in clusterip_config_get()
90 clusterip_config_put(struct clusterip_config *c) in clusterip_config_put()
100 clusterip_config_entry_put(struct clusterip_config *c) in clusterip_config_entry_put()
128 struct clusterip_config *c; in __clusterip_config_find() local
142 struct clusterip_config *c; in clusterip_config_find_get() local
158 clusterip_config_init_nodelist(struct clusterip_config *c, in clusterip_config_init_nodelist()
171 struct clusterip_config *c; in clusterip_config_init() local
213 clusterip_add_node(struct clusterip_config *c, u_int16_t nodenum) in clusterip_add_node()
228 clusterip_del_node(struct clusterip_config *c, u_int16_t nodenum) in clusterip_del_node()
511 struct clusterip_config *c; in arp_mangle() local
[all …]
/linux-4.1.27/drivers/media/common/siano/
Dsmsdvb-main.c132 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in smsdvb_stats_not_ready() local
227 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in smsdvb_update_tx_params() local
244 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in smsdvb_update_per_slices() local
284 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in smsdvb_update_dvb_stats() local
336 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in smsdvb_update_isdbt_stats() local
432 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in smsdvb_update_isdbt_stats_ex() local
523 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in smsdvb_onresponse() local
789 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in smsdvb_read_signal_strength() local
812 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in smsdvb_read_snr() local
831 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in smsdvb_read_ucblocks() local
[all …]
/linux-4.1.27/kernel/printk/
Dbraille.h7 braille_set_options(struct console_cmdline *c, char *brl_options) in braille_set_options()
24 braille_set_options(struct console_cmdline *c, char *brl_options) in braille_set_options()
35 _braille_register_console(struct console *console, struct console_cmdline *c) in _braille_register_console()
/linux-4.1.27/drivers/tty/
Dn_tty.c305 static inline void put_tty_queue(unsigned char c, struct n_tty_data *ldata) in put_tty_queue()
403 static inline int is_utf8_continuation(unsigned char c) in is_utf8_continuation()
416 static inline int is_continuation(unsigned char c, struct tty_struct *tty) in is_continuation()
443 static int do_output_char(unsigned char c, struct tty_struct *tty, int space) in do_output_char()
518 static int process_output(unsigned char c, struct tty_struct *tty) in process_output()
573 unsigned char c = *cp; in process_output_block() local
643 unsigned char c; in __process_echoes() local
839 static inline void add_echo_byte(unsigned char c, struct n_tty_data *ldata) in add_echo_byte()
913 static void echo_char_raw(unsigned char c, struct n_tty_data *ldata) in echo_char_raw()
935 static void echo_char(unsigned char c, struct tty_struct *tty) in echo_char()
[all …]
/linux-4.1.27/lib/
Dstring_helpers.c297 static bool escape_passthrough(unsigned char c, char **dst, char *end) in escape_passthrough()
307 static bool escape_space(unsigned char c, char **dst, char *end) in escape_space()
343 static bool escape_special(unsigned char c, char **dst, char *end) in escape_special()
373 static bool escape_null(unsigned char c, char **dst, char *end) in escape_null()
391 static bool escape_octal(unsigned char c, char **dst, char *end) in escape_octal()
412 static bool escape_hex(unsigned char c, char **dst, char *end) in escape_hex()
495 unsigned char c = *src++; in string_escape_mem() local
Dstring.c280 char *strchr(const char *s, int c) in strchr()
299 char *strchrnul(const char *s, int c) in strchrnul()
314 char *strrchr(const char *s, int c) in strrchr()
333 char *strnchr(const char *s, size_t count, int c) in strnchr()
582 void *memset(void *s, int c, size_t count) in memset()
699 void *memscan(void *addr, int c, size_t size) in memscan()
774 void *memchr(const void *s, int c, size_t n) in memchr()
807 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv()
/linux-4.1.27/drivers/net/fddi/skfp/h/
Dcmtdef.h57 #define DB_PR(flag,a,b,c) { if (flag) printf(a,b,c) ; } argument
59 #define DB_PR(flag,a,b,c) argument
63 #define DB_ECM(a,b,c) DB_PR((smc->debug.d_smt&1),a,b,c) argument
64 #define DB_ECMN(n,a,b,c) DB_PR((smc->debug.d_ecm >=(n)),a,b,c) argument
65 #define DB_RMT(a,b,c) DB_PR((smc->debug.d_smt&2),a,b,c) argument
66 #define DB_RMTN(n,a,b,c) DB_PR((smc->debug.d_rmt >=(n)),a,b,c) argument
67 #define DB_CFM(a,b,c) DB_PR((smc->debug.d_smt&4),a,b,c) argument
68 #define DB_CFMN(n,a,b,c) DB_PR((smc->debug.d_cfm >=(n)),a,b,c) argument
69 #define DB_PCM(a,b,c) DB_PR((smc->debug.d_smt&8),a,b,c) argument
70 #define DB_PCMN(n,a,b,c) DB_PR((smc->debug.d_pcm >=(n)),a,b,c) argument
[all …]
/linux-4.1.27/tools/testing/selftests/powerpc/primitives/
Dword-at-a-time.h20 …ic inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time *c) in prep_zero_mask()
36 static inline bool has_zero(unsigned long val, unsigned long *data, const struct word_at_a_time *c) in has_zero()
54 …inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) in has_zero()
65 …e unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask()
133 …inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) in has_zero()
140 …e unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask()
/linux-4.1.27/arch/m32r/boot/compressed/
Dm32r_sio.c15 char c; in puts() local
44 static void putc(char c) in putc()
64 static void putc(char c) in putc()
/linux-4.1.27/arch/x86/include/asm/
Dstring_32.h207 static inline void *__memset_generic(void *s, char c, size_t count) in __memset_generic()
219 #define __constant_count_memset(s, c, count) __memset_generic((s), (c), (count)) argument
227 void *__constant_c_memset(void *s, unsigned long c, size_t count) in __constant_c_memset()
313 #define __constant_c_x_memset(s, c, count) \ argument
318 #define __memset(s, c, count) \ argument
325 #define memset(s, c, count) __builtin_memset(s, c, count) argument
327 #define memset(s, c, count) \ argument
/linux-4.1.27/tools/perf/util/
Dconfig.c32 int c; in get_next_char() local
63 int c = get_next_char(); in parse_value() local
122 static inline int iskeychar(int c) in iskeychar()
129 int c; in get_value() local
158 static int get_extended_base_var(char *name, int baselen, int c) in get_extended_base_var()
199 int c = get_next_char(); in get_base_var() local
225 int line, c = get_next_char(); in perf_parse_file() local
521 struct buildid_dir_config *c = data; in buildid_dir_command_config() local
537 struct buildid_dir_config c; in check_buildid_dir_config() local
/linux-4.1.27/arch/arm/boot/compressed/
Ddecompress.c22 # define Tracec(c,x) {if (verbose && (c)) fprintf x ;} argument
23 # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;} argument
29 # define Tracec(c,x) argument
30 # define Tracecv(c,x) argument
/linux-4.1.27/drivers/gpio/
Dgpio-pxa.c151 #define for_each_gpio_chip(i, c) \ argument
154 static inline void __iomem *gpio_chip_base(struct gpio_chip *c) in gpio_chip_base()
315 struct gpio_chip *c = &chips[i].chip; in pxa_init_gpio_chip() local
346 static inline void update_edge_detect(struct pxa_gpio_chip *c) in update_edge_detect()
360 struct pxa_gpio_chip *c; in pxa_gpio_irq_type() local
406 struct pxa_gpio_chip *c; in pxa_gpio_demux_handler() local
436 struct pxa_gpio_chip *c = gpio_to_pxachip(gpio); in pxa_ack_muxed_gpio() local
444 struct pxa_gpio_chip *c = gpio_to_pxachip(gpio); in pxa_mask_muxed_gpio() local
458 struct pxa_gpio_chip *c = gpio_to_pxachip(gpio); in pxa_gpio_set_wake() local
469 struct pxa_gpio_chip *c = gpio_to_pxachip(gpio); in pxa_unmask_muxed_gpio() local
[all …]
/linux-4.1.27/arch/m68k/include/asm/
Datomic.h96 char c; in atomic_dec_and_test() local
103 char c; in atomic_dec_and_test_lt() local
113 char c; in atomic_inc_and_test() local
157 char c; in atomic_sub_and_test() local
166 char c; in atomic_add_negative() local
185 int c, old; in __atomic_add_unless() local
Dnubus.h14 #define nubus_memset_io(a,b,c) memset((void *)(a),(b),(c)) argument
15 #define nubus_memcpy_fromio(a,b,c) memcpy((a),(void *)(b),(c)) argument
16 #define nubus_memcpy_toio(a,b,c) memcpy((void *)(a),(b),(c)) argument
Dzorro.h14 #define z_memset_io(a,b,c) memset((void *)(a),(b),(c)) argument
15 #define z_memcpy_fromio(a,b,c) memcpy((a),(void *)(b),(c)) argument
16 #define z_memcpy_toio(a,b,c) memcpy((void *)(a),(b),(c)) argument
Dsun3mmu.h74 unsigned char sfc, c; in sun3_get_buserr() local
88 unsigned char c, sfc; in sun3_get_segmap() local
142 unsigned char sfc, c; in sun3_get_context() local
153 static inline void sun3_put_context(unsigned char c) in sun3_put_context()
/linux-4.1.27/sound/aoa/core/
Dcore.c24 static int attach_codec_to_fabric(struct aoa_codec *c) in attach_codec_to_fabric()
87 struct aoa_codec *c; in aoa_fabric_register() local
118 struct aoa_codec *c; in aoa_fabric_unregister() local
/linux-4.1.27/arch/nios2/boot/compressed/
Dmisc.c72 # define Tracec(c, x) {if (verbose && (c)) fprintf x ; } argument
73 # define Tracecv(c, x) {if (verbose > 1 && (c)) fprintf x ; } argument
79 # define Tracec(c, x) argument
80 # define Tracecv(c, x) argument
107 void *memset(void *s, int c, size_t n) in memset()
148 ulg c = crc; /* temporary variable */ in flush_window() local
/linux-4.1.27/security/selinux/ss/
Dcontext.h35 static inline void mls_context_init(struct context *c) in mls_context_init()
105 static inline void mls_context_destroy(struct context *c) in mls_context_destroy()
112 static inline void context_init(struct context *c) in context_init()
141 static inline void context_destroy(struct context *c) in context_destroy()
/linux-4.1.27/include/linux/mmc/
Dcard.h419 #define mmc_card_mmc(c) ((c)->type == MMC_TYPE_MMC) argument
420 #define mmc_card_sd(c) ((c)->type == MMC_TYPE_SD) argument
421 #define mmc_card_sdio(c) ((c)->type == MMC_TYPE_SDIO) argument
423 #define mmc_card_present(c) ((c)->state & MMC_STATE_PRESENT) argument
424 #define mmc_card_readonly(c) ((c)->state & MMC_STATE_READONLY) argument
425 #define mmc_card_blockaddr(c) ((c)->state & MMC_STATE_BLOCKADDR) argument
426 #define mmc_card_ext_capacity(c) ((c)->state & MMC_CARD_SDXC) argument
427 #define mmc_card_removed(c) ((c) && ((c)->state & MMC_CARD_REMOVED)) argument
428 #define mmc_card_doing_bkops(c) ((c)->state & MMC_STATE_DOING_BKOPS) argument
429 #define mmc_card_suspended(c) ((c)->state & MMC_STATE_SUSPENDED) argument
[all …]
/linux-4.1.27/drivers/net/can/sja1000/
Dpeak_pcmcia.c46 #define PCC_CHAN_OFF(c) ((c) * PCC_CHAN_SIZE) argument
68 #define PCC_CCR_RST_CHAN(c) (0x01 << ((c) + 2)) argument
73 #define PCC_LED(c) (1 << (c)) argument
82 #define PCC_CCR_LED_CHAN(s, c) ((s) << (((c) + 2) << 1)) argument
84 #define PCC_CCR_LED_ON_CHAN(c) PCC_CCR_LED_CHAN(PCC_LED_ON, c) argument
85 #define PCC_CCR_LED_FAST_CHAN(c) PCC_CCR_LED_CHAN(PCC_LED_FAST, c) argument
86 #define PCC_CCR_LED_SLOW_CHAN(c) PCC_CCR_LED_CHAN(PCC_LED_SLOW, c) argument
87 #define PCC_CCR_LED_OFF_CHAN(c) PCC_CCR_LED_CHAN(PCC_LED_OFF, c) argument
88 #define PCC_CCR_LED_MASK_CHAN(c) PCC_CCR_LED_OFF_CHAN(c) argument
196 int c = (priv->reg_base - card->ioport_addr) / PCC_CHAN_SIZE; in pcan_write_canreg() local
/linux-4.1.27/drivers/dma/ioat/
Ddma_v2.c64 void ioat2_issue_pending(struct dma_chan *c) in ioat2_issue_pending()
413 struct dma_chan *c = tx->chan; in ioat2_tx_submit_unlock() local
473 static struct ioat_ring_ent **ioat2_alloc_ring(struct dma_chan *c, int order, gfp_t flags) in ioat2_alloc_ring()
514 int ioat2_alloc_chan_resources(struct dma_chan *c) in ioat2_alloc_chan_resources()
586 struct dma_chan *c = &chan->common; in reshape_ring() local
746 ioat2_dma_prep_memcpy_lock(struct dma_chan *c, dma_addr_t dma_dest, in ioat2_dma_prep_memcpy_lock()
795 void ioat2_free_chan_resources(struct dma_chan *c) in ioat2_free_chan_resources()
846 static ssize_t ring_size_show(struct dma_chan *c, char *page) in ring_size_show()
854 static ssize_t ring_active_show(struct dma_chan *c, char *page) in ring_active_show()
880 struct dma_chan *c; in ioat2_dma_probe() local
Ddma.c103 struct dma_chan *c = &chan->common; in ioat_init_channel() local
228 struct dma_chan *c = tx->chan; in ioat1_tx_submit() local
307 static int ioat1_dma_alloc_chan_resources(struct dma_chan *c) in ioat1_dma_alloc_chan_resources()
401 static void ioat1_dma_free_chan_resources(struct dma_chan *c) in ioat1_dma_free_chan_resources()
490 ioat1_dma_prep_memcpy(struct dma_chan *c, dma_addr_t dma_dest, in ioat1_dma_prep_memcpy()
747 ioat_dma_tx_status(struct dma_chan *c, dma_cookie_t cookie, in ioat_dma_tx_status()
1094 static ssize_t ring_size_show(struct dma_chan *c, char *page) in ring_size_show()
1102 static ssize_t ring_active_show(struct dma_chan *c, char *page) in ring_active_show()
1110 static ssize_t cap_show(struct dma_chan *c, char *page) in cap_show()
1124 static ssize_t version_show(struct dma_chan *c, char *page) in version_show()
[all …]
/linux-4.1.27/arch/tile/mm/
Delf.c31 unsigned char c; in sim_notify_exec() local
84 char c = buf[i]; in notify_exec() local
109 unsigned char c = load_addr >> (i * 8); in sim_notify_interp() local
/linux-4.1.27/net/wireless/
Dchan.c117 static void chandef_primary_freqs(const struct cfg80211_chan_def *c, in chandef_primary_freqs()
153 static int cfg80211_chandef_get_width(const struct cfg80211_chan_def *c) in cfg80211_chandef_get_width()
244 struct ieee80211_channel *c; in cfg80211_set_chans_dfs_state() local
311 struct ieee80211_channel *c; in cfg80211_get_chans_dfs_required() local
389 struct ieee80211_channel *c; in cfg80211_get_chans_dfs_usable() local
463 struct ieee80211_channel *c; in cfg80211_get_chans_dfs_available() local
528 struct ieee80211_channel *c; in cfg80211_get_chans_dfs_cac_time() local
585 struct ieee80211_channel *c; in cfg80211_secondary_chans_ok() local
/linux-4.1.27/arch/powerpc/xmon/
Dnonstdio.c27 int xmon_putchar(int c) in xmon_putchar()
42 int c; in xmon_getchar() local
94 int c; in xmon_gets() local
Dspu-insns.h129 #define _A3(a,b,c) {3,a,b,c} argument
130 #define _A4(a,b,c,d) {4,a,b,c,d} argument
/linux-4.1.27/arch/powerpc/sysdev/
Dudbg_memcons.c48 void memcons_putc(char c) in memcons_putc()
63 char c; in memcons_getc_poll() local
86 int c; in memcons_getc() local
/linux-4.1.27/drivers/usb/gadget/
Dcomposite.c242 void usb_remove_function(struct usb_configuration *c, struct usb_function *f) in usb_remove_function()
360 struct usb_configuration *c) in encode_bMaxPower()
381 struct usb_config_descriptor *c = buf; in config_buf() local
442 struct usb_configuration *c; in config_desc() local
501 struct usb_configuration *c; in count_configs() local
635 struct usb_configuration *c = NULL; in set_config() local
741 struct usb_configuration *c; in usb_add_config_only() local
948 struct usb_configuration *c; in get_string() local
1235 int usb_string_ids_n(struct usb_composite_dev *c, unsigned n) in usb_string_ids_n()
1294 static int count_ext_compat(struct usb_configuration *c) in count_ext_compat()
[all …]
/linux-4.1.27/arch/powerpc/platforms/ps3/
Dmm.c391 static void _dma_dump_chunk (const struct dma_chunk* c, const char* func, in _dma_dump_chunk()
408 struct dma_chunk *c; in dma_find_chunk() local
437 struct dma_chunk *c; in dma_find_chunk_lpar() local
465 static int dma_sb_free_chunk(struct dma_chunk *c) in dma_sb_free_chunk()
479 static int dma_ioc0_free_chunk(struct dma_chunk *c) in dma_ioc0_free_chunk()
525 struct dma_chunk *c; in dma_sb_map_pages() local
567 struct dma_chunk *c, *last; in dma_ioc0_map_pages() local
721 struct dma_chunk *c; in dma_sb_region_free() local
752 struct dma_chunk *c, *n; in dma_ioc0_region_free() local
789 struct dma_chunk *c; in dma_sb_map_area() local
[all …]
/linux-4.1.27/arch/sh/kernel/cpu/
Dproc.c33 const char *get_cpu_subtype(struct sh_cpuinfo *c) in get_cpu_subtype()
46 static void show_cpuflags(struct seq_file *m, struct sh_cpuinfo *c) in show_cpuflags()
80 struct sh_cpuinfo *c = v; in show_cpuinfo() local
/linux-4.1.27/drivers/usb/musb/
Dcppi_dma.c59 static inline struct cppi_descriptor *cppi_bd_alloc(struct cppi_channel *c) in cppi_bd_alloc()
69 cppi_bd_free(struct cppi_channel *c, struct cppi_descriptor *bd) in cppi_bd_free()
108 static void cppi_pool_init(struct cppi *cppi, struct cppi_channel *c) in cppi_pool_init()
134 static void cppi_pool_free(struct cppi_channel *c) in cppi_pool_free()
279 cppi_channel_allocate(struct dma_controller *c, in cppi_channel_allocate()
330 struct cppi_channel *c; in cppi_channel_release() local
350 cppi_dump_rx(int level, struct cppi_channel *c, const char *tag) in cppi_dump_rx()
381 cppi_dump_tx(int level, struct cppi_channel *c, const char *tag) in cppi_dump_tx()
410 cppi_rndis_update(struct cppi_channel *c, int is_rx, in cppi_rndis_update()
1350 void dma_controller_destroy(struct dma_controller *c) in dma_controller_destroy()
/linux-4.1.27/arch/powerpc/platforms/powernv/
Dopal-lpc.c121 static void opal_lpc_insb(unsigned long p, void *b, unsigned long c) in opal_lpc_insb()
129 static void opal_lpc_insw(unsigned long p, void *b, unsigned long c) in opal_lpc_insw()
137 static void opal_lpc_insl(unsigned long p, void *b, unsigned long c) in opal_lpc_insl()
145 static void opal_lpc_outsb(unsigned long p, const void *b, unsigned long c) in opal_lpc_outsb()
153 static void opal_lpc_outsw(unsigned long p, const void *b, unsigned long c) in opal_lpc_outsw()
161 static void opal_lpc_outsl(unsigned long p, const void *b, unsigned long c) in opal_lpc_outsl()
/linux-4.1.27/mm/
Dpage_counter.c38 struct page_counter *c; in page_counter_charge() local
66 struct page_counter *c; in page_counter_try_charge() local
118 struct page_counter *c; in page_counter_uncharge() local
/linux-4.1.27/arch/unicore32/kernel/
Dtime.c26 struct clock_event_device *c = dev_id; in puv3_ost0_interrupt() local
37 puv3_osmr0_set_next_event(unsigned long delta, struct clock_event_device *c) in puv3_osmr0_set_next_event()
50 puv3_osmr0_set_mode(enum clock_event_mode mode, struct clock_event_device *c) in puv3_osmr0_set_mode()
/linux-4.1.27/arch/mips/fw/arc/
Dpromlib.c23 void prom_putchar(char c) in prom_putchar()
36 CHAR c; in prom_getchar() local
/linux-4.1.27/arch/alpha/boot/
Dmisc.c68 # define Tracec(c,x) {if (verbose && (c)) fprintf x ;} argument
69 # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;} argument
75 # define Tracec(c,x) argument
76 # define Tracecv(c,x) argument
124 ulg c = crc; in flush_window() local
/linux-4.1.27/drivers/usb/gadget/legacy/
Dg_ffs.c133 struct usb_configuration c; member
416 struct gfs_configuration *c = gfs_configurations + i; in gfs_bind() local
483 static int gfs_do_config(struct usb_configuration *c) in gfs_do_config()
542 static int eth_bind_config(struct usb_configuration *c) in eth_bind_config()
571 static int bind_rndis_config(struct usb_configuration *c) in bind_rndis_config()
/linux-4.1.27/arch/x86/boot/
Dcmdline.c17 static inline int myisspace(u8 c) in myisspace()
33 char c; in __cmdline_find_option() local
105 char c; in __cmdline_find_option_bool() local
/linux-4.1.27/arch/mips/boot/compressed/
Ddbg.c11 void __weak putc(char c) in putc()
17 char c; in puts() local
/linux-4.1.27/arch/x86/crypto/
Dtwofish-x86_64-asm_64.S79 #define encrypt_round(a,b,c,d,round)\ argument
115 #define encrypt_last_round(a,b,c,d,round)\ argument
152 #define decrypt_round(a,b,c,d,round)\ argument
188 #define decrypt_last_round(a,b,c,d,round)\ argument
Dtwofish-i586-asm_32.S80 #define encrypt_round(a,b,c,d,round)\ argument
118 #define encrypt_last_round(a,b,c,d,round)\ argument
155 #define decrypt_round(a,b,c,d,round)\ argument
193 #define decrypt_last_round(a,b,c,d,round)\ argument
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/
Dlib.c61 char c = PARENT_TOKEN; in sync_with_child() local
73 char c; in wait_for_parent() local
83 char c = CHILD_TOKEN; in notify_parent() local
92 char c = ~CHILD_TOKEN; in notify_parent_of_error() local
/linux-4.1.27/drivers/tty/vt/
Dselection.c30 #define isspace(c) ((c) == ' ') argument
96 static inline int inword(const u16 c) { in inword()
129 static int store_utf8(u16 c, char *p) in store_utf8()
165 u16 c; in set_selection() local
/linux-4.1.27/crypto/
Dtwofish_generic.c67 #define ENCROUND(n, a, b, c, d) \ argument
74 #define DECROUND(n, a, b, c, d) \ argument
116 u32 a, b, c, d; in twofish_encrypt() local
153 u32 a, b, c, d; in twofish_decrypt() local
/linux-4.1.27/arch/cris/boot/compressed/
Dmisc.c90 # define Tracec(c, x) do { \ argument
94 # define Tracecv(c, x) do { \ argument
103 # define Tracec(c, x) argument
104 # define Tracecv(c, x) argument
173 void *memset(void *s, int c, size_t n) in memset()
201 ulg c = crc; /* temporary variable */ in flush_window() local
/linux-4.1.27/drivers/base/
Dcomponent.c67 static void component_attach_master(struct master *master, struct component *c) in component_attach_master()
75 static void component_detach_master(struct master *master, struct component *c) in component_detach_master()
90 struct component *c; in component_master_add_child() local
141 struct component *c = list_first_entry(&master->components, in master_remove_components() local
368 struct component *c; in component_unbind_all() local
436 struct component *c; in component_bind_all() local
492 struct component *c, *component = NULL; in component_del() local
/linux-4.1.27/arch/x86/kernel/
Dsmpboot.c275 struct cpuinfo_x86 *c = &cpu_data(id); in smp_store_boot_cpu_info() local
287 struct cpuinfo_x86 *c = &cpu_data(id); in smp_store_cpu_info() local
299 topology_same_node(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in topology_same_node()
307 topology_sane(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o, const char *name) in topology_sane()
323 static bool match_smt(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_smt()
341 static bool match_llc(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_llc()
357 static bool match_die(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_die()
394 struct cpuinfo_x86 *c = &cpu_data(cpu); in set_cpu_sibling_map() local
1111 struct cpuinfo_x86 *c; in smp_cpu_index_default() local
1294 struct cpuinfo_x86 *c = &cpu_data(cpu); in remove_siblinginfo() local
/linux-4.1.27/drivers/block/
Dcpqarray.c236 cmdlist_t *c; in ida_proc_show() local
313 static void release_io_mem(ctlr_info_t *c) in release_io_mem()
605 static int cpqarray_pci_init(ctlr_info_t *c, struct pci_dev *pdev) in cpqarray_pci_init()
872 static inline void addQ(cmdlist_t **Qptr, cmdlist_t *c) in addQ()
885 static inline cmdlist_t *removeQ(cmdlist_t **Qptr, cmdlist_t *c) in removeQ()
907 cmdlist_t *c; in do_ida_request() local
977 cmdlist_t *c; in start_io() local
1046 cmdlist_t *c; in do_ida_intr() local
1237 cmdlist_t *c; in ida_ctlr_ioctl() local
1362 cmdlist_t * c; in cmd_alloc() local
[all …]
Dsmart1,2.h42 static void smart4_submit_command(ctlr_info_t *h, cmdlist_t *c) in smart4_submit_command()
121 static void smart2_submit_command(ctlr_info_t *h, cmdlist_t *c) in smart2_submit_command()
157 static void smart2e_submit_command(ctlr_info_t *h, cmdlist_t *c) in smart2e_submit_command()
207 static void smart1_submit_command(ctlr_info_t *h, cmdlist_t *c) in smart1_submit_command()
Dcciss_scsi.c141 struct cciss_scsi_cmd_stack_elem_t *c; in scsi_cmd_alloc() local
177 scsi_cmd_free(ctlr_info_t *h, CommandList_struct *c) in scsi_cmd_free()
722 static void complete_scsi_command(CommandList_struct *c, int timeout, in complete_scsi_command()
881 CommandList_struct *c, in cciss_unmap_one()
894 CommandList_struct *c, in cciss_map_one()
913 CommandList_struct *c, in cciss_scsi_do_simple_cmd()
955 cciss_scsi_interpret_error(ctlr_info_t *h, CommandList_struct *c) in cciss_scsi_interpret_error()
1034 CommandList_struct *c; in cciss_scsi_do_inquiry() local
1096 CommandList_struct *c; in cciss_scsi_do_report_phys_luns() local
1357 static void cciss_scatter_gather(ctlr_info_t *h, CommandList_struct *c, in cciss_scatter_gather()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxnv40.h90 #define cp_bra(c, f, s, n) _cp_bra((c), 0, CP_FLAG_##f, CP_FLAG_##f##_##s, n) argument
91 #define cp_cal(c, f, s, n) _cp_bra((c), 1, CP_FLAG_##f, CP_FLAG_##f##_##s, n) argument
92 #define cp_ret(c, f, s) _cp_bra((c), 2, CP_FLAG_##f, CP_FLAG_##f##_##s, 0) argument
99 #define cp_wait(c, f, s) _cp_wait((c), CP_FLAG_##f, CP_FLAG_##f##_##s) argument
106 #define cp_set(c, f, s) _cp_set((c), CP_FLAG_##f, CP_FLAG_##f##_##s) argument
/linux-4.1.27/arch/m68k/atari/
Ddebug.c35 static inline void ata_mfp_out(char c) in ata_mfp_out()
52 static inline void ata_scc_out(char c) in ata_scc_out()
71 static inline void ata_midi_out(char c) in ata_midi_out()
88 static int ata_par_out(char c) in ata_par_out()
/linux-4.1.27/drivers/scsi/
Dhpsa.c269 struct CommandList *c) in check_for_unit_attention()
307 static int check_for_busy(struct ctlr_info *h, struct CommandList *c) in check_for_busy()
750 static void set_performant_mode(struct ctlr_info *h, struct CommandList *c) in set_performant_mode()
761 struct CommandList *c) in set_ioaccel1_performant_mode()
779 struct CommandList *c) in set_ioaccel2_performant_mode()
808 struct CommandList *c) in dial_down_lockup_detection_during_fw_flash()
817 struct CommandList *c) in dial_up_lockup_detection_on_fw_flash_complete()
825 struct CommandList *c) in enqueue_cmd_and_start_io()
1584 struct CommandList *c) in hpsa_map_sg_chain_block()
1608 struct CommandList *c) in hpsa_unmap_sg_chain_block()
[all …]
/linux-4.1.27/arch/microblaze/lib/
Dmemset.c35 void *memset(void *v_src, int c, __kernel_size_t n) in memset()
49 void *memset(void *v_src, int c, __kernel_size_t n) in memset()
Dmemcpy.c36 void *memcpy(void *v_dst, const void *v_src, __kernel_size_t c) in memcpy()
48 void *memcpy(void *v_dst, const void *v_src, __kernel_size_t c) in memcpy()
Dmemmove.c35 void *memmove(void *v_dst, const void *v_src, __kernel_size_t c) in memmove()
58 void *memmove(void *v_dst, const void *v_src, __kernel_size_t c) in memmove()
/linux-4.1.27/drivers/input/mouse/
Dsynaptics.h46 #define SYN_CAP_EXTENDED(c) ((c) & (1 << 23)) argument
47 #define SYN_CAP_MIDDLE_BUTTON(c) ((c) & (1 << 18)) argument
48 #define SYN_CAP_PASS_THROUGH(c) ((c) & (1 << 7)) argument
49 #define SYN_CAP_SLEEP(c) ((c) & (1 << 4)) argument
50 #define SYN_CAP_FOUR_BUTTON(c) ((c) & (1 << 3)) argument
51 #define SYN_CAP_MULTIFINGER(c) ((c) & (1 << 1)) argument
52 #define SYN_CAP_PALMDETECT(c) ((c) & (1 << 0)) argument
53 #define SYN_CAP_SUBMODEL_ID(c) (((c) & 0x00ff00) >> 8) argument
54 #define SYN_EXT_CAP_REQUESTS(c) (((c) & 0x700000) >> 20) argument
/linux-4.1.27/arch/arm/mach-davinci/
Dboard-dm644x-evm.c302 evm_led_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_setup()
329 evm_led_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_teardown()
361 evm_u18_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_setup()
391 evm_u18_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_teardown()
415 evm_u35_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_setup()
451 evm_u35_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_teardown()
/linux-4.1.27/arch/m68k/sun3/prom/
Dconsole.c34 prom_nbputchar(char c) in prom_nbputchar()
56 prom_putchar(char c) in prom_putchar()
/linux-4.1.27/drivers/macintosh/
Dans-lcd.c33 anslcd_write_byte_ctrl ( unsigned char c ) in anslcd_write_byte_ctrl()
49 anslcd_write_byte_data ( unsigned char c ) in anslcd_write_byte_data()
72 char c; in anslcd_write() local
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dfirmware.c61 static bool is_nvram_char(char c) in is_nvram_char()
71 static bool is_whitespace(char c) in is_whitespace()
78 char c; in brcmf_nvram_handle_idle() local
102 char c; in brcmf_nvram_handle_key() local
125 char c; in brcmf_nvram_handle_value() local
/linux-4.1.27/drivers/parisc/
Deisa_enumerator.c85 u_int8_t c; in configure_memory() local
123 u_int8_t c; in configure_irq() local
154 u_int8_t c; in configure_dma() local
176 u_int8_t c; in configure_port() local
217 u_int8_t c; in configure_port_init() local
/linux-4.1.27/drivers/input/misc/
Dmma8450.c63 struct i2c_client *c = m->client; in mma8450_read() local
77 struct i2c_client *c = m->client; in mma8450_write() local
94 struct i2c_client *c = m->client; in mma8450_read_block() local
170 static int mma8450_probe(struct i2c_client *c, in mma8450_probe()
/linux-4.1.27/arch/x86/kernel/cpu/microcode/
Dintel.c92 struct cpuinfo_x86 *c = &cpu_data(cpu_num); in collect_cpu_info() local
136 struct cpuinfo_x86 *c = &cpu_data(cpu_num); in apply_microcode_intel() local
279 struct cpuinfo_x86 *c = &cpu_data(cpu); in request_microcode_fw() local
328 struct cpuinfo_x86 *c = &cpu_data(0); in init_intel_microcode() local
/linux-4.1.27/drivers/media/dvb-core/
Ddvb_frontend.c338 struct dtv_frontend_properties *c = &fe->dtv_property_cache, tmp; in dvb_frontend_swzigzag_autotune() local
435 struct dtv_frontend_properties *c = &fe->dtv_property_cache, tmp; in dvb_frontend_swzigzag() local
993 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in dvb_frontend_check_parameters() local
1033 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in dvb_frontend_clear_cache() local
1220 struct dtv_frontend_properties *c, in dtv_property_cache_sync()
1297 const struct dtv_frontend_properties *c = &fe->dtv_property_cache; in dtv_property_legacy_params_sync() local
1393 const struct dtv_frontend_properties *c, in dtv_property_process_get()
1645 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in emulate_delivery_system() local
1701 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in dvbv5_set_delivery_system() local
1804 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in dvbv3_set_delivery_system() local
[all …]
/linux-4.1.27/arch/cris/arch-v10/kernel/
Dtraps.c78 unsigned char c; in show_registers() local
119 unsigned char c; in handle_BUG() local
/linux-4.1.27/arch/x86/kvm/
Di8254.c54 static u64 muldiv64(u64 a, u32 b, u32 c) in muldiv64()
75 struct kvm_kpit_channel_state *c = in pit_set_gate() local
130 static s64 kpit_elapsed(struct kvm *kvm, struct kvm_kpit_channel_state *c, in kpit_elapsed()
141 struct kvm_kpit_channel_state *c = in pit_get_count() local
171 struct kvm_kpit_channel_state *c = in pit_get_out() local
206 struct kvm_kpit_channel_state *c = in pit_latch_count() local
219 struct kvm_kpit_channel_state *c = in pit_latch_status() local
642 struct kvm_kpit_channel_state *c; in kvm_pit_reset() local
/linux-4.1.27/arch/x86/math-emu/
Dreg_compare.c171 int f = 0, c; in FPU_compare_st_data() local
208 int f = 0, c; in compare_st_st() local
254 int f = 0, c; in compare_u_st_st() local
/linux-4.1.27/security/tomoyo/
Dutil.c203 char c = *(cp + 1); in tomoyo_parse_ulong() local
338 static inline bool tomoyo_alphabet_char(const char c) in tomoyo_alphabet_char()
364 static inline bool tomoyo_valid(const unsigned char c) in tomoyo_valid()
376 static inline bool tomoyo_invalid(const unsigned char c) in tomoyo_invalid()
447 unsigned char c; in tomoyo_correct_word2() local
621 char c; in tomoyo_const_part_length() local
688 char c; in tomoyo_file_matches_pattern2() local
/linux-4.1.27/arch/x86/lib/
Dcmdline.c12 static inline int myisspace(u8 c) in myisspace()
28 char c; in cmdline_find_option_bool() local
/linux-4.1.27/drivers/zorro/
Dgen-devlist.c17 pq(FILE *f, const char *c) in pq()
31 char line[1024], *c, *bra, manuf[8]; in main() local
/linux-4.1.27/arch/x86/kernel/acpi/
Dcstate.c32 struct cpuinfo_x86 *c = &cpu_data(cpu); in acpi_processor_power_init_bm_check() local
121 struct cpuinfo_x86 *c = &cpu_data(cpu); in acpi_processor_ffh_cstate_probe() local
168 struct cpuinfo_x86 *c = &boot_cpu_data; in ffh_cstate_init() local
/linux-4.1.27/arch/x86/boot/tools/
Dbuild.c118 static u32 partial_crc32_one(u8 c, u32 crc) in partial_crc32_one()
241 static int reserve_pecoff_reloc_section(int c) in reserve_pecoff_reloc_section()
285 static inline int reserve_pecoff_reloc_section(int c) in reserve_pecoff_reloc_section()
306 int c; in parse_zoffset() local
334 int c; in main() local
/linux-4.1.27/arch/metag/kernel/
Ddma.c119 struct metag_vm_region *c, *new; in metag_vm_region_alloc() local
159 struct metag_vm_region *c; in metag_vm_region_find() local
178 struct metag_vm_region *c; in dma_alloc_coherent() local
274 struct metag_vm_region *c; in dma_free_coherent() local
341 struct metag_vm_region *c; in dma_mmap() local
/linux-4.1.27/arch/powerpc/crypto/
Dsha1-spe-asm.S111 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument
135 #define R_16_19(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
161 #define R_20_39(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
185 #define R_40_59(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
213 #define R_60_79(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
/linux-4.1.27/arch/mn10300/boot/compressed/
Dmisc.c58 static inline void *memset(const void *s, int c, size_t n) in memset()
110 # define Tracec(c, x) { if (verbose && (c)) fprintf x ; } argument
111 # define Tracecv(c, x) { if (verbose > 1 && (c)) fprintf x ; } argument
117 # define Tracec(c, x) argument
118 # define Tracecv(c, x) argument
261 ulg c = crc; /* temporary variable */ in flush_window_low() local
279 ulg c = crc; /* temporary variable */ in flush_window_high() local

12345678910>>...12