Searched refs:btnc (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/fs/nilfs2/
H A Dbtnode.c37 void nilfs_btnode_cache_clear(struct address_space *btnc) nilfs_btnode_cache_clear() argument
39 invalidate_mapping_pages(btnc, 0, -1); nilfs_btnode_cache_clear()
40 truncate_inode_pages(btnc, 0); nilfs_btnode_cache_clear()
44 nilfs_btnode_create_block(struct address_space *btnc, __u64 blocknr) nilfs_btnode_create_block() argument
46 struct inode *inode = NILFS_BTNC_I(btnc); nilfs_btnode_create_block()
49 bh = nilfs_grab_buffer(inode, btnc, blocknr, 1 << BH_NILFS_Node); nilfs_btnode_create_block()
69 int nilfs_btnode_submit_block(struct address_space *btnc, __u64 blocknr, nilfs_btnode_submit_block() argument
74 struct inode *inode = NILFS_BTNC_I(btnc); nilfs_btnode_submit_block()
78 bh = nilfs_grab_buffer(inode, btnc, blocknr, 1 << BH_NILFS_Node); nilfs_btnode_submit_block()
170 int nilfs_btnode_prepare_change_key(struct address_space *btnc, nilfs_btnode_prepare_change_key() argument
174 struct inode *inode = NILFS_BTNC_I(btnc); nilfs_btnode_prepare_change_key()
201 spin_lock_irq(&btnc->tree_lock); nilfs_btnode_prepare_change_key()
202 err = radix_tree_insert(&btnc->page_tree, newkey, obh->b_page); nilfs_btnode_prepare_change_key()
203 spin_unlock_irq(&btnc->tree_lock); nilfs_btnode_prepare_change_key()
216 err = invalidate_inode_pages2_range(btnc, newkey, newkey); nilfs_btnode_prepare_change_key()
223 nbh = nilfs_btnode_create_block(btnc, newkey); nilfs_btnode_prepare_change_key()
240 void nilfs_btnode_commit_change_key(struct address_space *btnc, nilfs_btnode_commit_change_key() argument
259 spin_lock_irq(&btnc->tree_lock); nilfs_btnode_commit_change_key()
260 radix_tree_delete(&btnc->page_tree, oldkey); nilfs_btnode_commit_change_key()
261 radix_tree_tag_set(&btnc->page_tree, newkey, nilfs_btnode_commit_change_key()
263 spin_unlock_irq(&btnc->tree_lock); nilfs_btnode_commit_change_key()
281 void nilfs_btnode_abort_change_key(struct address_space *btnc, nilfs_btnode_abort_change_key() argument
291 spin_lock_irq(&btnc->tree_lock); nilfs_btnode_abort_change_key()
292 radix_tree_delete(&btnc->page_tree, newkey); nilfs_btnode_abort_change_key()
293 spin_unlock_irq(&btnc->tree_lock); nilfs_btnode_abort_change_key()
H A Dbtnode.h47 struct buffer_head *nilfs_btnode_create_block(struct address_space *btnc,
H A Dnilfs.h89 static inline struct inode *NILFS_BTNC_I(struct address_space *btnc) NILFS_BTNC_I() argument
92 container_of(btnc, struct nilfs_inode_info, i_btnode_cache); NILFS_BTNC_I()
H A Dbtree.c74 struct address_space *btnc = &NILFS_BMAP_I(btree)->i_btnode_cache; nilfs_btree_get_new_block() local
77 bh = nilfs_btnode_create_block(btnc, ptr); nilfs_btree_get_new_block()
478 struct address_space *btnc = &NILFS_BMAP_I(btree)->i_btnode_cache; __nilfs_btree_get_block() local
483 ret = nilfs_btnode_submit_block(btnc, ptr, 0, READ, &bh, &submit_ptr); __nilfs_btree_get_block()
499 ret = nilfs_btnode_submit_block(btnc, ptr2, 0, READA, __nilfs_btree_get_block()
/linux-4.1.27/drivers/input/joystick/
H A Dtmdc.c97 char btnc[4]; member in struct:tmdc_model
119 unsigned char btnc[4]; member in struct:tmdc_port
134 unsigned char btnc[2][4];
224 for (i = 0; i < port->btnc[k]; i++) tmdc_parse_packet()
227 l += port->btnc[k]; tmdc_parse_packet()
304 port->btnc[i] = i < (data[TMDC_BYTE_DEF] & 0xf) ? 8 : 0; tmdc_setup_port()
308 port->btnc[i] = model->btnc[i]; tmdc_setup_port()
343 for (j = 0; j < port->btnc[i] && j < TMDC_BTN; j++) tmdc_setup_port()
345 b += port->btnc[i]; tmdc_setup_port()

Completed in 126 milliseconds