/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
D | fsm.c | 55 mISDN_FsmEvent(struct FsmInst *fi, int event, void *arg) in mISDN_FsmEvent() argument 59 if ((fi->state >= fi->fsm->state_count) || in mISDN_FsmEvent() 60 (event >= fi->fsm->event_count)) { in mISDN_FsmEvent() 63 (long)fi->state, (long)fi->fsm->state_count, event, in mISDN_FsmEvent() 64 (long)fi->fsm->event_count); in mISDN_FsmEvent() 67 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state]; in mISDN_FsmEvent() 69 if (fi->debug) in mISDN_FsmEvent() 70 fi->printdebug(fi, "State %s Event %s", in mISDN_FsmEvent() 71 fi->fsm->strState[fi->state], in mISDN_FsmEvent() 72 fi->fsm->strEvent[event]); in mISDN_FsmEvent() [all …]
|
D | layer2.c | 90 l2m_debug(struct FsmInst *fi, char *fmt, ...) in l2m_debug() argument 92 struct layer2 *l2 = fi->userdata; in l2m_debug() 278 l2_timeout(struct FsmInst *fi, int event, void *arg) in l2_timeout() argument 280 struct layer2 *l2 = fi->userdata; in l2_timeout() 697 establishlink(struct FsmInst *fi) in establishlink() argument 699 struct layer2 *l2 = fi->userdata; in establishlink() 710 mISDN_FsmChangeState(fi, ST_L2_5); in establishlink() 714 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_ua() argument 717 struct layer2 *l2 = fi->userdata; in l2_mdl_error_ua() 727 l2_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_dm() argument [all …]
|
D | layer1.c | 92 l1m_debug(struct FsmInst *fi, char *fmt, ...) in l1m_debug() argument 94 struct layer1 *l1 = fi->userdata; in l1m_debug() 109 l1_reset(struct FsmInst *fi, int event, void *arg) in l1_reset() argument 111 mISDN_FsmChangeState(fi, ST_L1_F3); in l1_reset() 115 l1_deact_cnf(struct FsmInst *fi, int event, void *arg) in l1_deact_cnf() argument 117 struct layer1 *l1 = fi->userdata; in l1_deact_cnf() 119 mISDN_FsmChangeState(fi, ST_L1_F3); in l1_deact_cnf() 125 l1_deact_req_s(struct FsmInst *fi, int event, void *arg) in l1_deact_req_s() argument 127 struct layer1 *l1 = fi->userdata; in l1_deact_req_s() 129 mISDN_FsmChangeState(fi, ST_L1_F3); in l1_deact_req_s() [all …]
|
D | tei.c | 70 da_debug(struct FsmInst *fi, char *fmt, ...) in da_debug() argument 72 struct manager *mgr = fi->userdata; in da_debug() 90 da_activate(struct FsmInst *fi, int event, void *arg) in da_activate() argument 92 struct manager *mgr = fi->userdata; in da_activate() 94 if (fi->state == ST_L1_DEACT_PENDING) in da_activate() 96 mISDN_FsmChangeState(fi, ST_L1_ACTIV); in da_activate() 100 da_deactivate_ind(struct FsmInst *fi, int event, void *arg) in da_deactivate_ind() argument 102 mISDN_FsmChangeState(fi, ST_L1_DEACT); in da_deactivate_ind() 106 da_deactivate(struct FsmInst *fi, int event, void *arg) in da_deactivate() argument 108 struct manager *mgr = fi->userdata; in da_deactivate() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/net/decnet/ |
D | dn_fib.c | 49 #define for_fib_info() { struct dn_fib_info *fi;\ 50 for(fi = dn_fib_info_list; fi; fi = fi->fib_next) 53 #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\ argument 54 for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) 56 #define change_nexthops(fi) { int nhsel; struct dn_fib_nh *nh;\ argument 57 for(nhsel = 0, nh = (struct dn_fib_nh *)((fi)->fib_nh); nhsel < (fi)->fib_nhs; nh++, nhsel++) 59 #define endfor_nexthops(fi) } argument 87 void dn_fib_free_info(struct dn_fib_info *fi) in dn_fib_free_info() argument 89 if (fi->fib_dead == 0) { in dn_fib_free_info() 94 change_nexthops(fi) { in dn_fib_free_info() [all …]
|
D | dn_table.c | 64 #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\ argument 65 for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) 67 #define endfor_nexthops(fi) } argument 229 …fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct nlattr *attrs[], struct dn_fib_info *fi) in dn_fib_nh_match() argument 235 nla_get_u32(attrs[RTA_PRIORITY]) != fi->fib_priority) in dn_fib_nh_match() 239 if ((!attrs[RTA_OIF] || nla_get_u32(attrs[RTA_OIF]) == fi->fib_nh->nh_oif) && in dn_fib_nh_match() 240 (!attrs[RTA_GATEWAY] || nla_get_le16(attrs[RTA_GATEWAY]) != fi->fib_nh->nh_gw)) in dn_fib_nh_match() 251 for_nexthops(fi) { in dn_fib_nh_match() 269 } endfor_nexthops(fi); in dn_fib_nh_match() 274 static inline size_t dn_fib_nlmsg_size(struct dn_fib_info *fi) in dn_fib_nlmsg_size() argument [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | fib_semantics.c | 66 #define for_nexthops(fi) { \ argument 68 for (nhsel = 0, nh = (fi)->fib_nh; \ 69 nhsel < fib_info_num_path((fi)); \ 72 #define change_nexthops(fi) { \ argument 74 for (nhsel = 0, nexthop_nh = (struct fib_nh *)((fi)->fib_nh); \ 75 nhsel < fib_info_num_path((fi)); \ 82 #define for_nexthops(fi) { \ argument 83 int nhsel; const struct fib_nh *nh = (fi)->fib_nh; \ 86 #define change_nexthops(fi) { \ argument 88 struct fib_nh *nexthop_nh = (struct fib_nh *)((fi)->fib_nh); \ [all …]
|
/kernel/linux/linux-5.10/drivers/usb/gadget/ |
D | functions.c | 15 struct usb_function_instance *fi; in try_get_usb_function_instance() local 17 fi = ERR_PTR(-ENOENT); in try_get_usb_function_instance() 25 fi = ERR_PTR(-EBUSY); in try_get_usb_function_instance() 28 fi = fd->alloc_inst(); in try_get_usb_function_instance() 29 if (IS_ERR(fi)) in try_get_usb_function_instance() 32 fi->fd = fd; in try_get_usb_function_instance() 36 return fi; in try_get_usb_function_instance() 41 struct usb_function_instance *fi; in usb_get_function_instance() local 44 fi = try_get_usb_function_instance(name); in usb_get_function_instance() 45 if (!IS_ERR(fi)) in usb_get_function_instance() [all …]
|
/kernel/linux/linux-5.10/drivers/media/firewire/ |
D | firedtv-fe.c | 151 struct dvb_frontend_internal_info *fi = &ops->info; in fdtv_frontend_init() local 173 fi->frequency_min_hz = 950 * MHz; in fdtv_frontend_init() 174 fi->frequency_max_hz = 2150 * MHz; in fdtv_frontend_init() 175 fi->frequency_stepsize_hz = 125 * kHz; in fdtv_frontend_init() 176 fi->symbol_rate_min = 1000000; in fdtv_frontend_init() 177 fi->symbol_rate_max = 40000000; in fdtv_frontend_init() 179 fi->caps = FE_CAN_INVERSION_AUTO | in fdtv_frontend_init() 193 fi->frequency_min_hz = 950 * MHz; in fdtv_frontend_init() 194 fi->frequency_max_hz = 2150 * MHz; in fdtv_frontend_init() 195 fi->frequency_stepsize_hz = 125 * kHz; in fdtv_frontend_init() [all …]
|
/kernel/linux/linux-5.10/fs/fuse/ |
D | readdir.c | 19 struct fuse_inode *fi = get_fuse_inode(dir); in fuse_use_readdirplus() local 25 if (test_and_clear_bit(FUSE_I_ADVISE_RDPLUS, &fi->state)) in fuse_use_readdirplus() 35 struct fuse_inode *fi = get_fuse_inode(file_inode(file)); in fuse_add_dirent_to_cache() local 44 spin_lock(&fi->rdc.lock); in fuse_add_dirent_to_cache() 49 if (fi->rdc.cached || pos != fi->rdc.pos) { in fuse_add_dirent_to_cache() 50 spin_unlock(&fi->rdc.lock); in fuse_add_dirent_to_cache() 53 version = fi->rdc.version; in fuse_add_dirent_to_cache() 54 size = fi->rdc.size; in fuse_add_dirent_to_cache() 62 spin_unlock(&fi->rdc.lock); in fuse_add_dirent_to_cache() 73 spin_lock(&fi->rdc.lock); in fuse_add_dirent_to_cache() [all …]
|
D | dax.c | 187 struct fuse_inode *fi = get_fuse_inode(inode); in fuse_setup_one_mapping() local 205 args.nodeid = fi->nodeid; in fuse_setup_one_mapping() 222 interval_tree_insert(&dmap->itn, &fi->dax->tree); in fuse_setup_one_mapping() 223 fi->dax->nr++; in fuse_setup_one_mapping() 236 struct fuse_inode *fi = get_fuse_inode(inode); in fuse_send_removemapping() local 241 args.nodeid = fi->nodeid; in fuse_send_removemapping() 312 struct fuse_inode *fi = get_fuse_inode(inode); in inode_reclaim_dmap_range() local 321 node = interval_tree_iter_first(&fi->dax->tree, start_idx, in inode_reclaim_dmap_range() 328 interval_tree_remove(&dmap->itn, &fi->dax->tree); in inode_reclaim_dmap_range() 337 WARN_ON(fi->dax->nr < num); in inode_reclaim_dmap_range() [all …]
|
D | inode.c | 74 struct fuse_inode *fi; in fuse_alloc_inode() local 76 fi = kmem_cache_alloc(fuse_inode_cachep, GFP_KERNEL); in fuse_alloc_inode() 77 if (!fi) in fuse_alloc_inode() 80 fi->i_time = 0; in fuse_alloc_inode() 81 fi->inval_mask = 0; in fuse_alloc_inode() 82 fi->nodeid = 0; in fuse_alloc_inode() 83 fi->nlookup = 0; in fuse_alloc_inode() 84 fi->attr_version = 0; in fuse_alloc_inode() 85 fi->orig_ino = 0; in fuse_alloc_inode() 86 fi->state = 0; in fuse_alloc_inode() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/esas2r/ |
D | esas2r_flash.c | 243 static void fix_bios(struct esas2r_adapter *a, struct esas2r_flash_img *fi) in fix_bios() argument 245 struct esas2r_component_header *ch = &fi->cmp_hdr[CH_IT_BIOS]; in fix_bios() 249 pi = (struct esas2r_pc_image *)((u8 *)fi + ch->image_offset); in fix_bios() 275 static void fix_efi(struct esas2r_adapter *a, struct esas2r_flash_img *fi) in fix_efi() argument 277 struct esas2r_component_header *ch = &fi->cmp_hdr[CH_IT_EFI]; in fix_efi() 286 ei = (struct esas2r_efi_image *)((u8 *)fi + offset); in fix_efi() 307 struct esas2r_flash_img *fi = fc->fi; in complete_fmapi_req() local 309 fi->status = fi_stat; in complete_fmapi_req() 310 fi->driver_error = rq->req_stat; in complete_fmapi_req() 328 struct esas2r_flash_img *fi = fc->fi; in fw_download_proc() local [all …]
|
/kernel/linux/linux-5.10/arch/x86/um/shared/sysdep/ |
D | mcontext.h | 13 #define GET_FAULTINFO_FROM_MC(fi, mc) \ argument 15 (fi).cr2 = (mc)->cr2; \ 16 (fi).error_code = (mc)->gregs[REG_ERR]; \ 17 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \ 22 #define GET_FAULTINFO_FROM_MC(fi, mc) \ argument 24 (fi).cr2 = (mc)->gregs[REG_CR2]; \ 25 (fi).error_code = (mc)->gregs[REG_ERR]; \ 26 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
|
D | faultinfo_32.h | 24 #define FAULT_WRITE(fi) ((fi).error_code & 2) argument 25 #define FAULT_ADDRESS(fi) ((fi).cr2) argument 28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14) argument
|
D | faultinfo_64.h | 24 #define FAULT_WRITE(fi) ((fi).error_code & 2) argument 25 #define FAULT_ADDRESS(fi) ((fi).cr2) argument 28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14) argument
|
/kernel/linux/linux-5.10/arch/um/kernel/ |
D | trap.c | 135 struct faultinfo *fi = UPT_FAULTINFO(regs); in show_segv_info() local 145 tsk->comm, task_pid_nr(tsk), FAULT_ADDRESS(*fi), in show_segv_info() 147 fi->error_code); in show_segv_info() 153 static void bad_segv(struct faultinfo fi, unsigned long ip) in bad_segv() argument 155 current->thread.arch.faultinfo = fi; in bad_segv() 156 force_sig_fault(SIGSEGV, SEGV_ACCERR, (void __user *) FAULT_ADDRESS(fi)); in bad_segv() 183 struct faultinfo * fi = UPT_FAULTINFO(regs); in segv_handler() local 185 if (UPT_IS_USER(regs) && !SEGV_IS_FIXABLE(fi)) { in segv_handler() 187 bad_segv(*fi, UPT_IP(regs)); in segv_handler() 190 segv(*fi, UPT_IP(regs), UPT_IS_USER(regs), regs); in segv_handler() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/include/net/ |
D | dn_fib.h | 12 struct dn_fib_info *fi; member 48 #define DN_FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) 50 #define DN_FIB_RES_PREFSRC(res) ((res).fi->fib_prefsrc ? : __dn_fib_res_prefsrc(&res)) 107 int dn_fib_semantic_match(int type, struct dn_fib_info *fi, 109 void dn_fib_release_info(struct dn_fib_info *fi); 131 void dn_fib_free_info(struct dn_fib_info *fi); 133 static inline void dn_fib_info_put(struct dn_fib_info *fi) in dn_fib_info_put() argument 135 if (refcount_dec_and_test(&fi->fib_clntref)) in dn_fib_info_put() 136 dn_fib_free_info(fi); in dn_fib_info_put() 141 if (res->fi) in dn_fib_res_put() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | lag_mp.c | 112 struct fib_info *fi) in mlx5_lag_fib_route_event() argument 121 if (mp->mfi == fi) in mlx5_lag_fib_route_event() 127 nhs = fib_info_num_path(fi); in mlx5_lag_fib_route_event() 130 struct fib_nh *nh = fib_info_nh(fi, 0); in mlx5_lag_fib_route_event() 148 fib_nh0 = fib_info_nh(fi, 0); in mlx5_lag_fib_route_event() 149 fib_nh1 = fib_info_nh(fi, 1); in mlx5_lag_fib_route_event() 168 mp->mfi = fi; in mlx5_lag_fib_route_event() 174 struct fib_info *fi) in mlx5_lag_fib_nexthop_event() argument 179 if (!mp->mfi || mp->mfi != fi) in mlx5_lag_fib_nexthop_event() 191 fib_info_num_path(fi) == 2) { in mlx5_lag_fib_nexthop_event() [all …]
|
/kernel/linux/linux-5.10/arch/s390/kvm/ |
D | interrupt.c | 680 struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; in __deliver_machine_check() local 686 spin_lock(&fi->lock); in __deliver_machine_check() 708 if (test_and_clear_bit(IRQ_PEND_MCHK_REP, &fi->pending_irqs)) { in __deliver_machine_check() 709 mchk.mcic |= fi->mchk.mcic; in __deliver_machine_check() 710 mchk.cr14 |= fi->mchk.cr14; in __deliver_machine_check() 711 memset(&fi->mchk, 0, sizeof(mchk)); in __deliver_machine_check() 715 spin_unlock(&fi->lock); in __deliver_machine_check() 1001 struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; in __deliver_service() local 1004 spin_lock(&fi->lock); in __deliver_service() 1005 if (test_bit(IRQ_PEND_EXT_SERVICE, &fi->masked_irqs) || in __deliver_service() [all …]
|