Searched refs:fi (Results 1 - 25 of 214) sorted by relevance

123456789

/linux-master/arch/x86/um/shared/sysdep/
H A Dfaultinfo_32.h24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
25 #define FAULT_ADDRESS(fi) ((fi).cr2)
28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
H A Dfaultinfo_64.h24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
25 #define FAULT_ADDRESS(fi) ((fi).cr2)
28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
H A Dmcontext.h13 #define GET_FAULTINFO_FROM_MC(fi, mc) \
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) \
24 (fi).cr2 = (mc)->gregs[REG_CR2]; \
25 (fi).error_code = (mc)->gregs[REG_ERR]; \
26 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
/linux-master/drivers/usb/gadget/
H A Dfunctions.c15 struct usb_function_instance *fi; local
17 fi = ERR_PTR(-ENOENT);
25 fi = ERR_PTR(-EBUSY);
28 fi = fd->alloc_inst();
29 if (IS_ERR(fi))
32 fi->fd = fd;
36 return fi;
41 struct usb_function_instance *fi; local
44 fi = try_get_usb_function_instance(name);
45 if (!IS_ERR(fi))
57 usb_get_function(struct usb_function_instance *fi) argument
69 usb_put_function_instance(struct usb_function_instance *fi) argument
[all...]
/linux-master/drivers/s390/net/
H A Dfsm.h91 fsm_instance *fi; member in struct:__anon8036
118 * @param fi Pointer to an FSM, previously created with init_fsm.
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);
135 * @param fi Pointer to FSM which should receive the event.
144 fsm_event(fsm_instance *fi, int event, void *arg) argument
147 int state = atomic_read(&fi->state);
149 if ((state >= fi->f->nr_states) ||
150 (event >= fi
192 fsm_newstate(fsm_instance *fi, int newstate) argument
213 fsm_getstate(fsm_instance *fi) argument
[all...]
H A Dfsm.c88 fsm_print_history(fsm_instance *fi) argument
93 if (fi->history_size >= FSM_HISTORY_SIZE)
94 idx = fi->history_index;
96 printk(KERN_DEBUG "fsm(%s): History:\n", fi->name);
97 for (i = 0; i < fi->history_size; i++) {
98 int e = fi->history[idx].event;
99 int s = fi->history[idx++].state;
103 fi->f->state_names[s]);
106 fi->f->state_names[s],
107 fi
113 fsm_record_history(fsm_instance *fi, int state, int event) argument
124 fsm_getstate_str(fsm_instance *fi) argument
144 fsm_settimer(fsm_instance *fi, fsm_timer *this) argument
[all...]
/linux-master/drivers/isdn/mISDN/
H A Dfsm.c55 mISDN_FsmEvent(struct FsmInst *fi, int event, void *arg) argument
59 if ((fi->state >= fi->fsm->state_count) ||
60 (event >= fi->fsm->event_count)) {
63 (long)fi->state, (long)fi->fsm->state_count, event,
64 (long)fi->fsm->event_count);
67 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi
86 mISDN_FsmChangeState(struct FsmInst *fi, int newstate) argument
107 mISDN_FsmInitTimer(struct FsmInst *fi, struct FsmTimer *ft) argument
[all...]
H A Dlayer1.c92 l1m_debug(struct FsmInst *fi, char *fmt, ...) argument
94 struct layer1 *l1 = fi->userdata;
109 l1_reset(struct FsmInst *fi, int event, void *arg) argument
111 mISDN_FsmChangeState(fi, ST_L1_F3);
115 l1_deact_cnf(struct FsmInst *fi, int event, void *arg) argument
117 struct layer1 *l1 = fi->userdata;
119 mISDN_FsmChangeState(fi, ST_L1_F3);
125 l1_deact_req_s(struct FsmInst *fi, int event, void *arg) argument
127 struct layer1 *l1 = fi->userdata;
129 mISDN_FsmChangeState(fi, ST_L1_F
135 l1_power_up_s(struct FsmInst *fi, int event, void *arg) argument
147 l1_go_F5(struct FsmInst *fi, int event, void *arg) argument
153 l1_go_F8(struct FsmInst *fi, int event, void *arg) argument
159 l1_info2_ind(struct FsmInst *fi, int event, void *arg) argument
168 l1_info4_ind(struct FsmInst *fi, int event, void *arg) argument
185 l1_timer3(struct FsmInst *fi, int event, void *arg) argument
202 l1_timer_act(struct FsmInst *fi, int event, void *arg) argument
212 l1_timer_deact(struct FsmInst *fi, int event, void *arg) argument
225 l1_activate_s(struct FsmInst *fi, int event, void *arg) argument
236 l1_activate_no(struct FsmInst *fi, int event, void *arg) argument
[all...]
H A Dlayer2.c90 l2m_debug(struct FsmInst *fi, char *fmt, ...) argument
92 struct layer2 *l2 = fi->userdata;
278 l2_timeout(struct FsmInst *fi, int event, void *arg) argument
280 struct layer2 *l2 = fi->userdata;
697 establishlink(struct FsmInst *fi) argument
699 struct layer2 *l2 = fi->userdata;
710 mISDN_FsmChangeState(fi, ST_L2_5);
714 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) argument
717 struct layer2 *l2 = fi->userdata;
727 l2_mdl_error_dm(struct FsmInst *fi, in argument
742 l2_st8_mdl_error_dm(struct FsmInst *fi, int event, void *arg) argument
756 l2_go_st3(struct FsmInst *fi, int event, void *arg) argument
763 l2_mdl_assign(struct FsmInst *fi, int event, void *arg) argument
773 l2_queue_ui_assign(struct FsmInst *fi, int event, void *arg) argument
784 l2_queue_ui(struct FsmInst *fi, int event, void *arg) argument
810 l2_send_ui(struct FsmInst *fi, int event, void *arg) argument
820 l2_got_ui(struct FsmInst *fi, int event, void *arg) argument
836 l2_establish(struct FsmInst *fi, int event, void *arg) argument
847 l2_discard_i_setl3(struct FsmInst *fi, int event, void *arg) argument
859 l2_l3_reestablish(struct FsmInst *fi, int event, void *arg) argument
871 l2_release(struct FsmInst *fi, int event, void *arg) argument
881 l2_pend_rel(struct FsmInst *fi, int event, void *arg) argument
891 l2_disconnect(struct FsmInst *fi, int event, void *arg) argument
907 l2_start_multi(struct FsmInst *fi, int event, void *arg) argument
927 l2_send_UA(struct FsmInst *fi, int event, void *arg) argument
936 l2_send_DM(struct FsmInst *fi, int event, void *arg) argument
945 l2_restart_multi(struct FsmInst *fi, int event, void *arg) argument
980 l2_stop_multi(struct FsmInst *fi, int event, void *arg) argument
998 l2_connected(struct FsmInst *fi, int event, void *arg) argument
1035 l2_released(struct FsmInst *fi, int event, void *arg) argument
1053 l2_reestablish(struct FsmInst *fi, int event, void *arg) argument
1065 l2_st5_dm_release(struct FsmInst *fi, int event, void *arg) argument
1085 l2_st6_dm_release(struct FsmInst *fi, int event, void *arg) argument
1145 nrerrorrecovery(struct FsmInst *fi) argument
1183 l2_st7_got_super(struct FsmInst *fi, int event, void *arg) argument
1244 l2_feed_i_if_reest(struct FsmInst *fi, int event, void *arg) argument
1256 l2_feed_i_pull(struct FsmInst *fi, int event, void *arg) argument
1266 l2_feed_iqueue(struct FsmInst *fi, int event, void *arg) argument
1275 l2_got_iframe(struct FsmInst *fi, int event, void *arg) argument
1344 l2_got_tei(struct FsmInst *fi, int event, void *arg) argument
1363 l2_st5_tout_200(struct FsmInst *fi, int event, void *arg) argument
1390 l2_st6_tout_200(struct FsmInst *fi, int event, void *arg) argument
1413 l2_st7_tout_200(struct FsmInst *fi, int event, void *arg) argument
1430 l2_st8_tout_200(struct FsmInst *fi, int event, void *arg) argument
1451 l2_st7_tout_203(struct FsmInst *fi, int event, void *arg) argument
1466 l2_pull_iqueue(struct FsmInst *fi, int event, void *arg) argument
1516 l2_st8_got_super(struct FsmInst *fi, int event, void *arg) argument
1570 l2_got_FRMR(struct FsmInst *fi, int event, void *arg) argument
1587 l2_st24_tei_remove(struct FsmInst *fi, int event, void *arg) argument
1597 l2_st3_tei_remove(struct FsmInst *fi, int event, void *arg) argument
1608 l2_st5_tei_remove(struct FsmInst *fi, int event, void *arg) argument
1622 l2_st6_tei_remove(struct FsmInst *fi, int event, void *arg) argument
1634 l2_tei_remove(struct FsmInst *fi, int event, void *arg) argument
1653 l2_st14_persistent_da(struct FsmInst *fi, int event, void *arg) argument
1667 l2_st5_persistent_da(struct FsmInst *fi, int event, void *arg) argument
1684 l2_st6_persistent_da(struct FsmInst *fi, int event, void *arg) argument
1698 l2_persistent_da(struct FsmInst *fi, int event, void *arg) argument
1715 l2_set_own_busy(struct FsmInst *fi, int event, void *arg) argument
1728 l2_clear_own_busy(struct FsmInst *fi, int event, void *arg) argument
1741 l2_frame_error(struct FsmInst *fi, int event, void *arg) argument
1749 l2_frame_error_reest(struct FsmInst *fi, int event, void *arg) argument
[all...]
/linux-master/fs/fuse/
H A Diomode.c18 static inline bool fuse_is_io_cache_wait(struct fuse_inode *fi) argument
20 return READ_ONCE(fi->iocachectr) < 0 && !fuse_inode_backing(fi);
31 struct fuse_inode *fi = get_fuse_inode(inode); local
37 spin_lock(&fi->lock);
42 while (fuse_is_io_cache_wait(fi)) {
43 set_bit(FUSE_I_CACHE_IO_MODE, &fi->state);
44 spin_unlock(&fi->lock);
45 wait_event(fi->direct_io_waitq, !fuse_is_io_cache_wait(fi));
72 struct fuse_inode *fi = get_fuse_inode(inode); local
87 struct fuse_inode *fi = get_fuse_inode(inode); local
120 struct fuse_inode *fi = get_fuse_inode(inode); local
180 struct fuse_inode *fi = get_fuse_inode(inode); local
[all...]
H A Dreaddir.c19 struct fuse_inode *fi = get_fuse_inode(dir); local
25 if (test_and_clear_bit(FUSE_I_ADVISE_RDPLUS, &fi->state))
35 struct fuse_inode *fi = get_fuse_inode(file_inode(file)); local
44 spin_lock(&fi->rdc.lock);
49 if (fi->rdc.cached || pos != fi->rdc.pos) {
50 spin_unlock(&fi->rdc.lock);
53 version = fi->rdc.version;
54 size = fi->rdc.size;
62 spin_unlock(&fi
96 struct fuse_inode *fi = get_fuse_inode(file_inode(file)); local
203 struct fuse_inode *fi; local
248 struct fuse_inode *fi = get_fuse_inode(inode); local
434 struct fuse_inode *fi = get_fuse_inode(inode); local
449 struct fuse_inode *fi = get_fuse_inode(inode); local
[all...]
/linux-master/net/ipv4/
H A Dfib_lookup.h39 int fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi,
41 bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi);
46 size_t fib_nlmsg_size(struct fib_info *fi);
49 struct fib_info *fi)
52 res->fi = fi;
53 res->nhc = fib_info_nhc(fi, 0);
48 fib_result_assign(struct fib_result *res, struct fib_info *fi) argument
H A Dfib_semantics.c69 #define for_nexthops(fi) { \
71 for (nhsel = 0, nh = (fi)->fib_nh; \
72 nhsel < fib_info_num_path((fi)); \
75 #define change_nexthops(fi) { \
77 for (nhsel = 0, nexthop_nh = (struct fib_nh *)((fi)->fib_nh); \
78 nhsel < fib_info_num_path((fi)); \
85 #define for_nexthops(fi) { \
86 int nhsel; const struct fib_nh *nh = (fi)->fib_nh; \
89 #define change_nexthops(fi) { \
91 struct fib_nh *nexthop_nh = (struct fib_nh *)((fi)
235 struct fib_info *fi = container_of(head, struct fib_info, rcu); local
250 free_fib_info(struct fib_info *fi) argument
261 fib_release_info(struct fib_info *fi) argument
288 nh_comp(struct fib_info *fi, struct fib_info *ofi) argument
357 fib_info_hashfn(struct fib_info *fi) argument
381 struct fib_info *fi; local
412 struct fib_info *fi; local
465 fib_nlmsg_size(struct fib_info *fi) argument
550 fib_detect_death(struct fib_info *fi, int order, struct fib_info **last_resort, int *last_idx, int dflt) argument
691 fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, int remaining, struct fib_config *cfg, struct netlink_ext_ack *extack) argument
802 fib_rebalance(struct fib_info *fi) argument
842 fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, int remaining, struct fib_config *cfg, struct netlink_ext_ack *extack) argument
877 fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi, struct netlink_ext_ack *extack) argument
1010 fib_metrics_match(struct fib_config *cfg, struct fib_info *fi) argument
1290 struct fib_info *fi; local
1307 struct fib_info *fi; local
1389 struct fib_info *fi = NULL; local
1741 fib_add_multipath(struct sk_buff *skb, struct fib_info *fi) argument
1774 fib_add_multipath(struct sk_buff *skb, struct fib_info *fi) argument
1784 struct fib_info *fi = fri->fi; local
1881 struct fib_info *fi; local
1999 struct fib_info *fi = nh->nh_parent; local
2055 struct fib_info *fi = NULL, *last_resort = NULL; local
2158 struct fib_info *fi = nh->nh_parent; local
2223 struct fib_info *fi = res->fi; local
[all...]
/linux-master/drivers/media/firewire/
H A Dfiredtv-fe.c151 struct dvb_frontend_internal_info *fi = &ops->info; local
173 fi->frequency_min_hz = 950 * MHz;
174 fi->frequency_max_hz = 2150 * MHz;
175 fi->frequency_stepsize_hz = 125 * kHz;
176 fi->symbol_rate_min = 1000000;
177 fi->symbol_rate_max = 40000000;
179 fi->caps = FE_CAN_INVERSION_AUTO |
193 fi->frequency_min_hz = 950 * MHz;
194 fi->frequency_max_hz = 2150 * MHz;
195 fi
[all...]
/linux-master/drivers/xen/
H A Dfeatures.c37 struct xen_feature_info fi; local
41 fi.submap_idx = i;
42 if (HYPERVISOR_xen_version(XENVER_get_features, &fi) < 0)
45 xen_features[i * 32 + j] = !!(fi.submap & 1U << j);
/linux-master/drivers/video/fbdev/core/
H A Dfb_procfs.c31 struct fb_info *fi = registered_fb[i]; local
33 if (fi)
34 seq_printf(m, "%d %s\n", fi->node, fi->fix.id);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dmp.c103 static void mlx5_lag_fib_set(struct lag_mp *mp, struct fib_info *fi, u32 dst, int dst_len) argument
105 mp->fib.mfi = fi;
106 mp->fib.priority = fi->fib_priority;
123 struct fib_info *fi,
129 nhs = fib_info_num_path(fi);
133 fib_dev = fib_info_nh(fi, i)->fib_nh_dev;
141 fib_dev = fib_info_nh(fi, i)->fib_nh_dev;
154 struct fib_info *fi = fen_info->fi; local
160 if (mp->fib.mfi == fi)
122 mlx5_lag_get_next_fib_dev(struct mlx5_lag *ldev, struct fib_info *fi, struct net_device *current_dev) argument
211 mlx5_lag_fib_nexthop_event(struct mlx5_lag *ldev, unsigned long event, struct fib_nh *fib_nh, struct fib_info *fi) argument
293 struct fib_info *fi; local
[all...]
/linux-master/arch/um/kernel/
H A Dtrap.c137 struct faultinfo *fi = UPT_FAULTINFO(regs); local
147 tsk->comm, task_pid_nr(tsk), FAULT_ADDRESS(*fi),
149 fi->error_code);
155 static void bad_segv(struct faultinfo fi, unsigned long ip) argument
157 current->thread.arch.faultinfo = fi;
158 force_sig_fault(SIGSEGV, SEGV_ACCERR, (void __user *) FAULT_ADDRESS(fi));
185 struct faultinfo * fi = UPT_FAULTINFO(regs); local
187 if (UPT_IS_USER(regs) && !SEGV_IS_FIXABLE(fi)) {
189 bad_segv(*fi, UPT_IP(regs));
192 segv(*fi, UPT_I
201 segv(struct faultinfo fi, unsigned long ip, int is_user, struct uml_pt_regs *regs) argument
294 struct faultinfo *fi = UPT_FAULTINFO(regs); local
[all...]
/linux-master/fs/iomap/
H A Dfiemap.c12 static int iomap_to_fiemap(struct fiemap_extent_info *fi, argument
37 return fiemap_fill_next_extent(fi, iomap->offset,
43 struct fiemap_extent_info *fi, struct iomap *prev)
50 ret = iomap_to_fiemap(fi, prev, 0);
62 int iomap_fiemap(struct inode *inode, struct fiemap_extent_info *fi, argument
76 ret = fiemap_prep(inode, fi, start, &iter.len, 0);
81 iter.processed = iomap_fiemap_iter(&iter, fi, &prev);
84 ret = iomap_to_fiemap(fi, &prev, FIEMAP_EXTENT_LAST);
42 iomap_fiemap_iter(const struct iomap_iter *iter, struct fiemap_extent_info *fi, struct iomap *prev) argument
/linux-master/drivers/scsi/esas2r/
H A Desas2r_flash.c243 static void fix_bios(struct esas2r_adapter *a, struct esas2r_flash_img *fi) argument
245 struct esas2r_component_header *ch = &fi->cmp_hdr[CH_IT_BIOS];
249 pi = (struct esas2r_pc_image *)((u8 *)fi + ch->image_offset);
275 static void fix_efi(struct esas2r_adapter *a, struct esas2r_flash_img *fi) argument
277 struct esas2r_component_header *ch = &fi->cmp_hdr[CH_IT_EFI];
286 ei = (struct esas2r_efi_image *)((u8 *)fi + offset);
307 struct esas2r_flash_img *fi = fc->fi; local
309 fi->status = fi_stat;
310 fi
328 struct esas2r_flash_img *fi = fc->fi; local
666 struct esas2r_flash_img *fi = fc->fi; local
695 struct esas2r_flash_img *fi = fc->fi; local
1390 esas2r_fm_api(struct esas2r_adapter *a, struct esas2r_flash_img *fi, struct esas2r_request *rq, struct esas2r_sg_context *sgc) argument
[all...]
/linux-master/tools/testing/selftests/memfd/
H A Dfuse_mnt.c49 struct fuse_file_info *fi)
61 static int memfd_open(const char *path, struct fuse_file_info *fi) argument
66 if ((fi->flags & 3) != O_RDONLY)
70 fi->direct_io = 1;
79 struct fuse_file_info *fi)
45 memfd_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi) argument
75 memfd_read(const char *path, char *buf, size_t size, off_t offset, struct fuse_file_info *fi) argument
/linux-master/drivers/firmware/efi/libstub/
H A Dfile.c38 struct finfo *fi,
49 for (c = fi->filename; *c != L'\0'; c++) {
54 status = efi_call_proto(volume, open, &fh, fi->filename,
57 efi_err("Failed to open file: %ls\n", fi->filename);
62 status = efi_call_proto(fh, get_info, &info_guid, &info_sz, fi);
70 *file_size = fi->info.file_size;
129 struct finfo *fi)
149 fi->filename);
165 /* Copy the remaining file path into the fi structure */
167 memcpy(fi
37 efi_open_file(efi_file_protocol_t *volume, struct finfo *fi, efi_file_protocol_t **handle, unsigned long *file_size) argument
128 efi_open_device_path(efi_file_protocol_t **volume, struct finfo *fi) argument
213 struct finfo fi; local
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nffw.c104 static u32 nffw_fwinfo_loaded_get(const struct nffw_fwinfo *fi) argument
106 return (le32_to_cpu(fi->loaded__mu_da__mip_off_hi) >> 31) & 1;
110 static u32 nffw_fwinfo_mip_cppid_get(const struct nffw_fwinfo *fi) argument
112 return le32_to_cpu(fi->mip_cppid);
116 static u32 nffw_fwinfo_mip_mu_da_get(const struct nffw_fwinfo *fi) argument
118 return (le32_to_cpu(fi->loaded__mu_da__mip_off_hi) >> 8) & 1;
122 static u64 nffw_fwinfo_mip_offset_get(const struct nffw_fwinfo *fi) argument
124 u64 mip_off_hi = le32_to_cpu(fi->loaded__mu_da__mip_off_hi);
126 return (mip_off_hi & 0xFF) << 32 | le32_to_cpu(fi->mip_offset_lo);
/linux-master/fs/udf/
H A Dnamei.c69 if (iter->fi.fileCharacteristics & FID_FILE_CHAR_DELETED) {
74 if (iter->fi.fileCharacteristics & FID_FILE_CHAR_HIDDEN) {
79 if ((iter->fi.fileCharacteristics & FID_FILE_CHAR_PARENT) &&
83 if (!iter->fi.lengthFileIdent)
87 iter->fi.lengthFileIdent, fname, UDF_NAME_LEN);
124 loc = lelb_to_cpu(iter.fi.icb.extLocation);
201 iter.fi.descTag.tagLocation = cpu_to_le32(*block);
202 if (iter.fi.lengthOfImpUse != cpu_to_le16(0))
242 if (iter->fi.fileCharacteristics & FID_FILE_CHAR_DELETED) {
243 if (udf_dir_entry_len(&iter->fi)
[all...]
/linux-master/fs/f2fs/
H A Dinode.c264 struct f2fs_inode_info *fi = F2FS_I(inode); local
288 if (fi->i_extra_isize > F2FS_TOTAL_EXTRA_ATTR_SIZE ||
289 fi->i_extra_isize < F2FS_MIN_EXTRA_ATTR_SIZE ||
290 fi->i_extra_isize % sizeof(__le32)) {
292 __func__, inode->i_ino, fi->i_extra_isize,
298 (!fi->i_inline_xattr_size ||
299 fi->i_inline_xattr_size > MAX_INLINE_XATTR_SIZE)) {
301 __func__, inode->i_ino, fi->i_inline_xattr_size,
306 fi->i_flags & F2FS_COMPR_FL &&
307 F2FS_FITS_IN_INODE(ri, fi
369 struct f2fs_inode_info *fi = F2FS_I(inode); local
379 struct f2fs_inode_info *fi = F2FS_I(inode); local
804 struct f2fs_inode_info *fi = F2FS_I(inode); local
[all...]

Completed in 358 milliseconds

123456789