/linux-4.19.296/drivers/isdn/hisax/ |
D | fsm.c | 54 FsmEvent(struct FsmInst *fi, int event, void *arg) in FsmEvent() argument 58 if ((fi->state >= fi->fsm->state_count) || (event >= fi->fsm->event_count)) { in FsmEvent() 60 (long)fi->state, (long)fi->fsm->state_count, event, (long)fi->fsm->event_count); in FsmEvent() 63 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state]; in FsmEvent() 65 if (fi->debug) in FsmEvent() 66 fi->printdebug(fi, "State %s Event %s", in FsmEvent() 67 fi->fsm->strState[fi->state], in FsmEvent() 68 fi->fsm->strEvent[event]); in FsmEvent() 69 r(fi, event, arg); in FsmEvent() 72 if (fi->debug) in FsmEvent() [all …]
|
D | callc.c | 206 lli_close(struct FsmInst *fi) in lli_close() argument 208 struct Channel *chanp = fi->userdata; in lli_close() 210 FsmChangeState(fi, ST_NULL); in lli_close() 216 lli_leased_in(struct FsmInst *fi, int event, void *arg) in lli_leased_in() argument 218 struct Channel *chanp = fi->userdata; in lli_leased_in() 225 FsmChangeState(fi, ST_IN_WAIT_LL); in lli_leased_in() 242 FsmChangeState(fi, ST_NULL); in lli_leased_in() 251 lli_init_bchan_out(struct FsmInst *fi, int event, void *arg) in lli_init_bchan_out() argument 253 struct Channel *chanp = fi->userdata; in lli_init_bchan_out() 255 FsmChangeState(fi, ST_WAIT_BCONN); in lli_init_bchan_out() [all …]
|
D | isdnl2.c | 25 static void l2m_debug(struct FsmInst *fi, char *fmt, ...); 499 establishlink(struct FsmInst *fi) in establishlink() argument 501 struct PStack *st = fi->userdata; in establishlink() 512 FsmChangeState(fi, ST_L2_5); in establishlink() 516 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_ua() argument 519 struct PStack *st = fi->userdata; in l2_mdl_error_ua() 528 l2_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_dm() argument 531 struct PStack *st = fi->userdata; in l2_mdl_error_dm() 537 establishlink(fi); in l2_mdl_error_dm() 543 l2_st8_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_st8_mdl_error_dm() argument [all …]
|
D | isdnl1.c | 142 l1m_debug(struct FsmInst *fi, char *fmt, ...) in l1m_debug() argument 145 struct PStack *st = fi->userdata; in l1m_debug() 458 l1_reset(struct FsmInst *fi, int event, void *arg) in l1_reset() argument 460 FsmChangeState(fi, ST_L1_F3); in l1_reset() 464 l1_deact_cnf(struct FsmInst *fi, int event, void *arg) in l1_deact_cnf() argument 466 struct PStack *st = fi->userdata; in l1_deact_cnf() 468 FsmChangeState(fi, ST_L1_F3); in l1_deact_cnf() 474 l1_deact_req_s(struct FsmInst *fi, int event, void *arg) in l1_deact_req_s() argument 476 struct PStack *st = fi->userdata; in l1_deact_req_s() 478 FsmChangeState(fi, ST_L1_F3); in l1_deact_req_s() [all …]
|
D | hisax_isac.c | 266 static void l1_di(struct FsmInst *fi, int event, void *arg) in l1_di() argument 268 struct isac *isac = fi->userdata; in l1_di() 270 FsmChangeState(fi, ST_L1_RESET); in l1_di() 274 static void l1_di_deact_ind(struct FsmInst *fi, int event, void *arg) in l1_di_deact_ind() argument 276 struct isac *isac = fi->userdata; in l1_di_deact_ind() 278 FsmChangeState(fi, ST_L1_RESET); in l1_di_deact_ind() 283 static void l1_go_f3pdown(struct FsmInst *fi, int event, void *arg) in l1_go_f3pdown() argument 285 FsmChangeState(fi, ST_L1_F3_PDOWN); in l1_go_f3pdown() 288 static void l1_go_f3pend_deact_ind(struct FsmInst *fi, int event, void *arg) in l1_go_f3pend_deact_ind() argument 290 struct isac *isac = fi->userdata; in l1_go_f3pend_deact_ind() [all …]
|
D | isdnl3.c | 70 l3m_debug(struct FsmInst *fi, char *fmt, ...) in l3m_debug() argument 73 struct PStack *st = fi->userdata; in l3m_debug() 418 lc_activate(struct FsmInst *fi, int event, void *arg) in lc_activate() argument 420 struct PStack *st = fi->userdata; in lc_activate() 422 FsmChangeState(fi, ST_L3_LC_ESTAB_WAIT); in lc_activate() 427 lc_connect(struct FsmInst *fi, int event, void *arg) in lc_connect() argument 429 struct PStack *st = fi->userdata; in lc_connect() 433 FsmChangeState(fi, ST_L3_LC_ESTAB); in lc_connect() 447 lc_connected(struct FsmInst *fi, int event, void *arg) in lc_connected() argument 449 struct PStack *st = fi->userdata; in lc_connected() [all …]
|
D | tei.c | 127 tei_id_request(struct FsmInst *fi, int event, void *arg) in tei_id_request() argument 129 struct PStack *st = fi->userdata; in tei_id_request() 148 tei_id_assign(struct FsmInst *fi, int event, void *arg) in tei_id_assign() argument 150 struct PStack *ost, *st = fi->userdata; in tei_id_assign() 176 tei_id_test_dup(struct FsmInst *fi, int event, void *arg) in tei_id_test_dup() argument 178 struct PStack *ost, *st = fi->userdata; in tei_id_test_dup() 197 tei_id_denied(struct FsmInst *fi, int event, void *arg) in tei_id_denied() argument 199 struct PStack *st = fi->userdata; in tei_id_denied() 211 tei_id_chk_req(struct FsmInst *fi, int event, void *arg) in tei_id_chk_req() argument 213 struct PStack *st = fi->userdata; in tei_id_chk_req() [all …]
|
D | st5481_d.c | 64 l1_go_f3(struct FsmInst *fi, int event, void *arg) in l1_go_f3() argument 66 struct st5481_adapter *adapter = fi->userdata; in l1_go_f3() 68 if (fi->state == ST_L1_F7) in l1_go_f3() 71 FsmChangeState(fi, ST_L1_F3); in l1_go_f3() 76 l1_go_f6(struct FsmInst *fi, int event, void *arg) in l1_go_f6() argument 78 struct st5481_adapter *adapter = fi->userdata; in l1_go_f6() 80 if (fi->state == ST_L1_F7) in l1_go_f6() 83 FsmChangeState(fi, ST_L1_F6); in l1_go_f6() 87 l1_go_f7(struct FsmInst *fi, int event, void *arg) in l1_go_f7() argument 89 struct st5481_adapter *adapter = fi->userdata; in l1_go_f7() [all …]
|
D | fsm.h | 44 struct FsmInst *fi; member 52 int FsmEvent(struct FsmInst *fi, int event, void *arg); 53 void FsmChangeState(struct FsmInst *fi, int newstate); 54 void FsmInitTimer(struct FsmInst *fi, struct FsmTimer *ft);
|
/linux-4.19.296/drivers/isdn/mISDN/ |
D | fsm.c | 64 mISDN_FsmEvent(struct FsmInst *fi, int event, void *arg) in mISDN_FsmEvent() argument 68 if ((fi->state >= fi->fsm->state_count) || in mISDN_FsmEvent() 69 (event >= fi->fsm->event_count)) { in mISDN_FsmEvent() 72 (long)fi->state, (long)fi->fsm->state_count, event, in mISDN_FsmEvent() 73 (long)fi->fsm->event_count); in mISDN_FsmEvent() 76 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state]; in mISDN_FsmEvent() 78 if (fi->debug) in mISDN_FsmEvent() 79 fi->printdebug(fi, "State %s Event %s", in mISDN_FsmEvent() 80 fi->fsm->strState[fi->state], in mISDN_FsmEvent() 81 fi->fsm->strEvent[event]); in mISDN_FsmEvent() [all …]
|
D | layer1.c | 101 l1m_debug(struct FsmInst *fi, char *fmt, ...) in l1m_debug() argument 103 struct layer1 *l1 = fi->userdata; in l1m_debug() 118 l1_reset(struct FsmInst *fi, int event, void *arg) in l1_reset() argument 120 mISDN_FsmChangeState(fi, ST_L1_F3); in l1_reset() 124 l1_deact_cnf(struct FsmInst *fi, int event, void *arg) in l1_deact_cnf() argument 126 struct layer1 *l1 = fi->userdata; in l1_deact_cnf() 128 mISDN_FsmChangeState(fi, ST_L1_F3); in l1_deact_cnf() 134 l1_deact_req_s(struct FsmInst *fi, int event, void *arg) in l1_deact_req_s() argument 136 struct layer1 *l1 = fi->userdata; in l1_deact_req_s() 138 mISDN_FsmChangeState(fi, ST_L1_F3); in l1_deact_req_s() [all …]
|
D | layer2.c | 99 l2m_debug(struct FsmInst *fi, char *fmt, ...) in l2m_debug() argument 101 struct layer2 *l2 = fi->userdata; in l2m_debug() 287 l2_timeout(struct FsmInst *fi, int event, void *arg) in l2_timeout() argument 289 struct layer2 *l2 = fi->userdata; in l2_timeout() 706 establishlink(struct FsmInst *fi) in establishlink() argument 708 struct layer2 *l2 = fi->userdata; in establishlink() 719 mISDN_FsmChangeState(fi, ST_L2_5); in establishlink() 723 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_ua() argument 726 struct layer2 *l2 = fi->userdata; in l2_mdl_error_ua() 736 l2_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_dm() argument [all …]
|
D | tei.c | 79 da_debug(struct FsmInst *fi, char *fmt, ...) in da_debug() argument 81 struct manager *mgr = fi->userdata; in da_debug() 99 da_activate(struct FsmInst *fi, int event, void *arg) in da_activate() argument 101 struct manager *mgr = fi->userdata; in da_activate() 103 if (fi->state == ST_L1_DEACT_PENDING) in da_activate() 105 mISDN_FsmChangeState(fi, ST_L1_ACTIV); in da_activate() 109 da_deactivate_ind(struct FsmInst *fi, int event, void *arg) in da_deactivate_ind() argument 111 mISDN_FsmChangeState(fi, ST_L1_DEACT); in da_deactivate_ind() 115 da_deactivate(struct FsmInst *fi, int event, void *arg) in da_deactivate() argument 117 struct manager *mgr = fi->userdata; in da_deactivate() [all …]
|
/linux-4.19.296/drivers/s390/net/ |
D | fsm.h | 91 fsm_instance *fi; member 120 extern void kfree_fsm(fsm_instance *fi); 124 fsm_print_history(fsm_instance *fi); 127 fsm_record_history(fsm_instance *fi, int state, int event); 144 fsm_event(fsm_instance *fi, int event, void *arg) in fsm_event() argument 147 int state = atomic_read(&fi->state); in fsm_event() 149 if ((state >= fi->f->nr_states) || in fsm_event() 150 (event >= fi->f->nr_events) ) { in fsm_event() 152 fi->name, (long)state,(long)fi->f->nr_states, event, in fsm_event() 153 (long)fi->f->nr_events); in fsm_event() [all …]
|
D | fsm.c | 88 fsm_print_history(fsm_instance *fi) in fsm_print_history() argument 93 if (fi->history_size >= FSM_HISTORY_SIZE) in fsm_print_history() 94 idx = fi->history_index; in fsm_print_history() 96 printk(KERN_DEBUG "fsm(%s): History:\n", fi->name); in fsm_print_history() 97 for (i = 0; i < fi->history_size; i++) { in fsm_print_history() 98 int e = fi->history[idx].event; in fsm_print_history() 99 int s = fi->history[idx++].state; in fsm_print_history() 103 fi->f->state_names[s]); in fsm_print_history() 106 fi->f->state_names[s], in fsm_print_history() 107 fi->f->event_names[e]); in fsm_print_history() [all …]
|
D | ctcm_fsms.c | 132 static void ctcm_action_nop(fsm_instance *fi, int event, void *arg); 138 static void chx_txdone(fsm_instance *fi, int event, void *arg); 139 static void chx_rx(fsm_instance *fi, int event, void *arg); 140 static void chx_rxidle(fsm_instance *fi, int event, void *arg); 141 static void chx_firstio(fsm_instance *fi, int event, void *arg); 142 static void ctcm_chx_setmode(fsm_instance *fi, int event, void *arg); 143 static void ctcm_chx_start(fsm_instance *fi, int event, void *arg); 144 static void ctcm_chx_haltio(fsm_instance *fi, int event, void *arg); 145 static void ctcm_chx_stopped(fsm_instance *fi, int event, void *arg); 146 static void ctcm_chx_stop(fsm_instance *fi, int event, void *arg); [all …]
|
D | netiucv.c | 598 static void netiucv_action_nop(fsm_instance *fi, int event, void *arg) in netiucv_action_nop() argument 669 static void conn_action_rx(fsm_instance *fi, int event, void *arg) in conn_action_rx() argument 705 static void conn_action_txdone(fsm_instance *fi, int event, void *arg) in conn_action_txdone() argument 763 fsm_newstate(fi, CONN_STATE_IDLE); in conn_action_txdone() 781 fsm_newstate(fi, CONN_STATE_IDLE); in conn_action_txdone() 795 static void conn_action_connaccept(fsm_instance *fi, int event, void *arg) in conn_action_connaccept() argument 814 fsm_newstate(fi, CONN_STATE_IDLE); in conn_action_connaccept() 819 static void conn_action_connreject(fsm_instance *fi, int event, void *arg) in conn_action_connreject() argument 828 static void conn_action_connack(fsm_instance *fi, int event, void *arg) in conn_action_connack() argument 836 fsm_newstate(fi, CONN_STATE_IDLE); in conn_action_connack() [all …]
|
/linux-4.19.296/fs/udf/ |
D | directory.c | 28 struct fileIdentDesc *fi; in udf_fileident_read() local 37 fi = udf_get_fileident(iinfo->i_data - in udf_fileident_read() 43 if (!fi) in udf_fileident_read() 48 memcpy((uint8_t *)cfi, (uint8_t *)fi, in udf_fileident_read() 51 return fi; in udf_fileident_read() 102 fi = udf_get_fileident(fibh->sbh->b_data, dir->i_sb->s_blocksize, in udf_fileident_read() 105 if (!fi) in udf_fileident_read() 111 memcpy((uint8_t *)cfi, (uint8_t *)fi, in udf_fileident_read() 139 memcpy((uint8_t *)cfi, (uint8_t *)fi, -fibh->soffset); in udf_fileident_read() 148 memcpy((uint8_t *)cfi, (uint8_t *)fi, in udf_fileident_read() [all …]
|
D | namei.c | 168 struct fileIdentDesc *fi = NULL; in udf_find_entry() local 194 fi = ERR_PTR(-EIO); in udf_find_entry() 209 fi = ERR_PTR(-EIO); in udf_find_entry() 216 fi = ERR_PTR(-ENOMEM); in udf_find_entry() 221 fi = udf_fileident_read(dir, &f_pos, fibh, cfi, &epos, &eloc, in udf_find_entry() 223 if (!fi) { in udf_find_entry() 224 fi = ERR_PTR(-EIO); in udf_find_entry() 232 nameptr = fi->fileIdent + liu; in udf_find_entry() 247 fi = ERR_PTR(-ENOMEM); in udf_find_entry() 252 memcpy(nameptr, fi->fileIdent + liu, in udf_find_entry() [all …]
|
/linux-4.19.296/drivers/xen/ |
D | features.c | 23 struct xen_feature_info fi; in xen_setup_features() local 27 fi.submap_idx = i; in xen_setup_features() 28 if (HYPERVISOR_xen_version(XENVER_get_features, &fi) < 0) in xen_setup_features() 31 xen_features[i * 32 + j] = !!(fi.submap & 1U << j); in xen_setup_features()
|
/linux-4.19.296/fs/f2fs/ |
D | inode.c | 201 struct f2fs_inode_info *fi = F2FS_I(inode); in sanity_check_inode() local 243 if (fi->i_extra_isize > F2FS_TOTAL_EXTRA_ATTR_SIZE || in sanity_check_inode() 244 fi->i_extra_isize % sizeof(__le32)) { in sanity_check_inode() 249 __func__, inode->i_ino, fi->i_extra_isize, in sanity_check_inode() 296 struct f2fs_inode_info *fi = F2FS_I(inode); in do_read_inode() local 327 fi->i_current_depth = le32_to_cpu(ri->i_current_depth); in do_read_inode() 329 fi->i_gc_failures[GC_FAILURE_PIN] = in do_read_inode() 331 fi->i_xattr_nid = le32_to_cpu(ri->i_xattr_nid); in do_read_inode() 332 fi->i_flags = le32_to_cpu(ri->i_flags); in do_read_inode() 333 fi->flags = 0; in do_read_inode() [all …]
|
/linux-4.19.296/fs/fuse/ |
D | inode.c | 85 struct fuse_inode *fi; in fuse_alloc_inode() local 91 fi = get_fuse_inode(inode); in fuse_alloc_inode() 92 fi->i_time = 0; in fuse_alloc_inode() 93 fi->nodeid = 0; in fuse_alloc_inode() 94 fi->nlookup = 0; in fuse_alloc_inode() 95 fi->attr_version = 0; in fuse_alloc_inode() 96 fi->writectr = 0; in fuse_alloc_inode() 97 fi->orig_ino = 0; in fuse_alloc_inode() 98 fi->state = 0; in fuse_alloc_inode() 99 INIT_LIST_HEAD(&fi->write_files); in fuse_alloc_inode() [all …]
|
/linux-4.19.296/fs/btrfs/ |
D | file.c | 756 struct btrfs_file_extent_item *fi; in __btrfs_drop_extents() local 828 fi = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_drop_extents() 830 extent_type = btrfs_file_extent_type(leaf, fi); in __btrfs_drop_extents() 834 disk_bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); in __btrfs_drop_extents() 835 num_bytes = btrfs_file_extent_disk_num_bytes(leaf, fi); in __btrfs_drop_extents() 836 extent_offset = btrfs_file_extent_offset(leaf, fi); in __btrfs_drop_extents() 838 btrfs_file_extent_num_bytes(leaf, fi); in __btrfs_drop_extents() 841 btrfs_file_extent_ram_bytes(leaf, fi); in __btrfs_drop_extents() 897 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in __btrfs_drop_extents() 899 btrfs_set_file_extent_num_bytes(leaf, fi, in __btrfs_drop_extents() [all …]
|
D | tree-checker.c | 97 #define CHECK_FE_ALIGNED(fs_info, leaf, slot, fi, name, alignment) \ argument 99 if (!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), (alignment))) \ 102 (#name), btrfs_file_extent_##name((leaf), (fi)), \ 104 (!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), (alignment))); \ 111 struct btrfs_file_extent_item *fi; in check_extent_data_item() local 122 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in check_extent_data_item() 124 if (btrfs_file_extent_type(leaf, fi) > BTRFS_FILE_EXTENT_TYPES) { in check_extent_data_item() 127 btrfs_file_extent_type(leaf, fi), in check_extent_data_item() 136 if (btrfs_file_extent_compression(leaf, fi) > BTRFS_COMPRESS_TYPES) { in check_extent_data_item() 139 btrfs_file_extent_compression(leaf, fi), in check_extent_data_item() [all …]
|
/linux-4.19.296/include/net/ |
D | ip_fib.h | 144 struct fib_info *fi; member 165 #define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) 167 #define FIB_RES_NH(res) ((res).fi->fib_nh[0]) 187 #define FIB_RES_PREFSRC(net, res) ((res).fi->fib_prefsrc ? : \ 194 struct fib_info *fi; member 427 void free_fib_info(struct fib_info *fi); 429 static inline void fib_info_hold(struct fib_info *fi) in fib_info_hold() argument 431 refcount_inc(&fi->fib_clntref); in fib_info_hold() 434 static inline void fib_info_put(struct fib_info *fi) in fib_info_put() argument 436 if (refcount_dec_and_test(&fi->fib_clntref)) in fib_info_put() [all …]
|