fi 136 arch/arm/mach-omap1/lcd_dma.c long ei, fi; fi 175 arch/arm/mach-omap1/lcd_dma.c fi = PIXSTEP(lcd_dma.xres - 1, 0, 0, 1); fi 180 arch/arm/mach-omap1/lcd_dma.c fi = PIXSTEP(0, 0, lcd_dma.xres - 1, 1); fi 190 arch/arm/mach-omap1/lcd_dma.c fi = PIXSTEP(0, 0, 1, lcd_dma.yres - 1); fi 195 arch/arm/mach-omap1/lcd_dma.c fi = PIXSTEP(1, 0, 0, lcd_dma.yres - 1); fi 205 arch/arm/mach-omap1/lcd_dma.c fi = PIXSTEP(0, 1, lcd_dma.xres - 1, 0); fi 210 arch/arm/mach-omap1/lcd_dma.c fi = PIXSTEP(lcd_dma.xres - 1, 1, 0, 0); fi 220 arch/arm/mach-omap1/lcd_dma.c fi = PIXSTEP(1, lcd_dma.yres - 1, 0, 0); fi 225 arch/arm/mach-omap1/lcd_dma.c fi = PIXSTEP(0, lcd_dma.yres - 1, 1, 0); fi 277 arch/arm/mach-omap1/lcd_dma.c omap_writew(fi >> 16, OMAP1610_DMA_LCD_SRC_FI_B1_U); fi 278 arch/arm/mach-omap1/lcd_dma.c omap_writew(fi, OMAP1610_DMA_LCD_SRC_FI_B1_L); fi 647 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; fi 653 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 675 arch/s390/kvm/interrupt.c if (test_and_clear_bit(IRQ_PEND_MCHK_REP, &fi->pending_irqs)) { fi 676 arch/s390/kvm/interrupt.c mchk.mcic |= fi->mchk.mcic; fi 677 arch/s390/kvm/interrupt.c mchk.cr14 |= fi->mchk.cr14; fi 678 arch/s390/kvm/interrupt.c memset(&fi->mchk, 0, sizeof(mchk)); fi 682 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 907 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; fi 911 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 912 arch/s390/kvm/interrupt.c if (!(test_bit(IRQ_PEND_EXT_SERVICE, &fi->pending_irqs))) { fi 913 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 916 arch/s390/kvm/interrupt.c ext = fi->srv_signal; fi 917 arch/s390/kvm/interrupt.c memset(&fi->srv_signal, 0, sizeof(ext)); fi 918 arch/s390/kvm/interrupt.c clear_bit(IRQ_PEND_EXT_SERVICE, &fi->pending_irqs); fi 919 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 941 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; fi 945 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 946 arch/s390/kvm/interrupt.c inti = list_first_entry_or_null(&fi->lists[FIRQ_LIST_PFAULT], fi 951 arch/s390/kvm/interrupt.c fi->counters[FIRQ_CNTR_PFAULT] -= 1; fi 953 arch/s390/kvm/interrupt.c if (list_empty(&fi->lists[FIRQ_LIST_PFAULT])) fi 954 arch/s390/kvm/interrupt.c clear_bit(IRQ_PEND_PFAULT_DONE, &fi->pending_irqs); fi 955 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 983 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; fi 987 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 988 arch/s390/kvm/interrupt.c inti = list_first_entry_or_null(&fi->lists[FIRQ_LIST_VIRTIO], fi 1001 arch/s390/kvm/interrupt.c fi->counters[FIRQ_CNTR_VIRTIO] -= 1; fi 1003 arch/s390/kvm/interrupt.c if (list_empty(&fi->lists[FIRQ_LIST_VIRTIO])) fi 1004 arch/s390/kvm/interrupt.c clear_bit(IRQ_PEND_VIRTIO, &fi->pending_irqs); fi 1005 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 1048 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi; fi 1055 arch/s390/kvm/interrupt.c fi = &vcpu->kvm->arch.float_int; fi 1057 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 1059 arch/s390/kvm/interrupt.c isc_list = &fi->lists[isc]; fi 1080 arch/s390/kvm/interrupt.c fi->counters[FIRQ_CNTR_IO] -= 1; fi 1083 arch/s390/kvm/interrupt.c clear_bit(irq_type, &fi->pending_irqs); fi 1084 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 1577 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &kvm->arch.float_int; fi 1578 arch/s390/kvm/interrupt.c struct list_head *isc_list = &fi->lists[FIRQ_LIST_IO_ISC_0 + isc]; fi 1583 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 1590 arch/s390/kvm/interrupt.c fi->counters[FIRQ_CNTR_IO] -= 1; fi 1592 arch/s390/kvm/interrupt.c clear_bit(isc_to_irq_type(isc), &fi->pending_irqs); fi 1593 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 1596 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 1691 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &kvm->arch.float_int; fi 1694 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 1695 arch/s390/kvm/interrupt.c fi->srv_signal.ext_params |= inti->ext.ext_params & SCCB_EVENT_PENDING; fi 1704 arch/s390/kvm/interrupt.c if (fi->srv_signal.ext_params & SCCB_MASK) fi 1706 arch/s390/kvm/interrupt.c fi->srv_signal.ext_params |= inti->ext.ext_params & SCCB_MASK; fi 1707 arch/s390/kvm/interrupt.c set_bit(IRQ_PEND_EXT_SERVICE, &fi->pending_irqs); fi 1709 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 1717 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &kvm->arch.float_int; fi 1720 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 1721 arch/s390/kvm/interrupt.c if (fi->counters[FIRQ_CNTR_VIRTIO] >= KVM_S390_MAX_VIRTIO_IRQS) { fi 1722 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 1725 arch/s390/kvm/interrupt.c fi->counters[FIRQ_CNTR_VIRTIO] += 1; fi 1726 arch/s390/kvm/interrupt.c list_add_tail(&inti->list, &fi->lists[FIRQ_LIST_VIRTIO]); fi 1727 arch/s390/kvm/interrupt.c set_bit(IRQ_PEND_VIRTIO, &fi->pending_irqs); fi 1728 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 1735 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &kvm->arch.float_int; fi 1738 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 1739 arch/s390/kvm/interrupt.c if (fi->counters[FIRQ_CNTR_PFAULT] >= fi 1741 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 1744 arch/s390/kvm/interrupt.c fi->counters[FIRQ_CNTR_PFAULT] += 1; fi 1745 arch/s390/kvm/interrupt.c list_add_tail(&inti->list, &fi->lists[FIRQ_LIST_PFAULT]); fi 1746 arch/s390/kvm/interrupt.c set_bit(IRQ_PEND_PFAULT_DONE, &fi->pending_irqs); fi 1747 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 1755 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &kvm->arch.float_int; fi 1758 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 1759 arch/s390/kvm/interrupt.c fi->mchk.cr14 |= inti->mchk.cr14 & (1UL << CR_PENDING_SUBCLASS); fi 1760 arch/s390/kvm/interrupt.c fi->mchk.mcic |= inti->mchk.mcic; fi 1761 arch/s390/kvm/interrupt.c set_bit(IRQ_PEND_MCHK_REP, &fi->pending_irqs); fi 1762 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 1770 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi; fi 1784 arch/s390/kvm/interrupt.c fi = &kvm->arch.float_int; fi 1785 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 1786 arch/s390/kvm/interrupt.c if (fi->counters[FIRQ_CNTR_IO] >= KVM_S390_MAX_FLOAT_IRQS) { fi 1787 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 1790 arch/s390/kvm/interrupt.c fi->counters[FIRQ_CNTR_IO] += 1; fi 1799 arch/s390/kvm/interrupt.c list = &fi->lists[FIRQ_LIST_IO_ISC_0 + isc]; fi 1801 arch/s390/kvm/interrupt.c set_bit(isc_to_irq_type(isc), &fi->pending_irqs); fi 1802 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 2081 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &kvm->arch.float_int; fi 2084 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 2085 arch/s390/kvm/interrupt.c fi->pending_irqs = 0; fi 2086 arch/s390/kvm/interrupt.c memset(&fi->srv_signal, 0, sizeof(fi->srv_signal)); fi 2087 arch/s390/kvm/interrupt.c memset(&fi->mchk, 0, sizeof(fi->mchk)); fi 2089 arch/s390/kvm/interrupt.c clear_irq_list(&fi->lists[i]); fi 2091 arch/s390/kvm/interrupt.c fi->counters[i] = 0; fi 2092 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 2100 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi; fi 2137 arch/s390/kvm/interrupt.c fi = &kvm->arch.float_int; fi 2138 arch/s390/kvm/interrupt.c spin_lock(&fi->lock); fi 2140 arch/s390/kvm/interrupt.c list_for_each_entry(inti, &fi->lists[i], list) { fi 2150 arch/s390/kvm/interrupt.c if (test_bit(IRQ_PEND_EXT_SERVICE, &fi->pending_irqs)) { fi 2158 arch/s390/kvm/interrupt.c irq->u.ext = fi->srv_signal; fi 2161 arch/s390/kvm/interrupt.c if (test_bit(IRQ_PEND_MCHK_REP, &fi->pending_irqs)) { fi 2169 arch/s390/kvm/interrupt.c irq->u.mchk = fi->mchk; fi 2174 arch/s390/kvm/interrupt.c spin_unlock(&fi->lock); fi 2187 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &kvm->arch.float_int; fi 2196 arch/s390/kvm/interrupt.c mutex_lock(&fi->ais_lock); fi 2197 arch/s390/kvm/interrupt.c ais.simm = fi->simm; fi 2198 arch/s390/kvm/interrupt.c ais.nimm = fi->nimm; fi 2199 arch/s390/kvm/interrupt.c mutex_unlock(&fi->ais_lock); fi 2498 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &kvm->arch.float_int; fi 2512 arch/s390/kvm/interrupt.c (fi->simm & AIS_MODE_MASK(req.isc)) ? fi 2513 arch/s390/kvm/interrupt.c (fi->nimm & AIS_MODE_MASK(req.isc)) ? fi 2517 arch/s390/kvm/interrupt.c mutex_lock(&fi->ais_lock); fi 2520 arch/s390/kvm/interrupt.c fi->simm &= ~AIS_MODE_MASK(req.isc); fi 2521 arch/s390/kvm/interrupt.c fi->nimm &= ~AIS_MODE_MASK(req.isc); fi 2524 arch/s390/kvm/interrupt.c fi->simm |= AIS_MODE_MASK(req.isc); fi 2525 arch/s390/kvm/interrupt.c fi->nimm &= ~AIS_MODE_MASK(req.isc); fi 2530 arch/s390/kvm/interrupt.c mutex_unlock(&fi->ais_lock); fi 2538 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &kvm->arch.float_int; fi 2549 arch/s390/kvm/interrupt.c mutex_lock(&fi->ais_lock); fi 2550 arch/s390/kvm/interrupt.c if (fi->nimm & AIS_MODE_MASK(adapter->isc)) { fi 2556 arch/s390/kvm/interrupt.c if (!ret && (fi->simm & AIS_MODE_MASK(adapter->isc))) { fi 2557 arch/s390/kvm/interrupt.c fi->nimm |= AIS_MODE_MASK(adapter->isc); fi 2562 arch/s390/kvm/interrupt.c mutex_unlock(&fi->ais_lock); fi 2579 arch/s390/kvm/interrupt.c struct kvm_s390_float_interrupt *fi = &kvm->arch.float_int; fi 2588 arch/s390/kvm/interrupt.c mutex_lock(&fi->ais_lock); fi 2589 arch/s390/kvm/interrupt.c fi->simm = ais.simm; fi 2590 arch/s390/kvm/interrupt.c fi->nimm = ais.nimm; fi 2591 arch/s390/kvm/interrupt.c mutex_unlock(&fi->ais_lock); fi 30 arch/um/include/shared/kern_util.h extern unsigned long segv(struct faultinfo fi, unsigned long ip, fi 145 arch/um/kernel/trap.c struct faultinfo *fi = UPT_FAULTINFO(regs); fi 155 arch/um/kernel/trap.c tsk->comm, task_pid_nr(tsk), FAULT_ADDRESS(*fi), fi 157 arch/um/kernel/trap.c fi->error_code); fi 163 arch/um/kernel/trap.c static void bad_segv(struct faultinfo fi, unsigned long ip) fi 165 arch/um/kernel/trap.c current->thread.arch.faultinfo = fi; fi 166 arch/um/kernel/trap.c force_sig_fault(SIGSEGV, SEGV_ACCERR, (void __user *) FAULT_ADDRESS(fi)); fi 193 arch/um/kernel/trap.c struct faultinfo * fi = UPT_FAULTINFO(regs); fi 195 arch/um/kernel/trap.c if (UPT_IS_USER(regs) && !SEGV_IS_FIXABLE(fi)) { fi 197 arch/um/kernel/trap.c bad_segv(*fi, UPT_IP(regs)); fi 200 arch/um/kernel/trap.c segv(*fi, UPT_IP(regs), UPT_IS_USER(regs), regs); fi 209 arch/um/kernel/trap.c unsigned long segv(struct faultinfo fi, unsigned long ip, int is_user, fi 215 arch/um/kernel/trap.c int is_write = FAULT_WRITE(fi); fi 216 arch/um/kernel/trap.c unsigned long address = FAULT_ADDRESS(fi); fi 235 arch/um/kernel/trap.c if (SEGV_IS_FIXABLE(&fi)) fi 269 arch/um/kernel/trap.c current->thread.arch.faultinfo = fi; fi 273 arch/um/kernel/trap.c current->thread.arch.faultinfo = fi; fi 302 arch/um/kernel/trap.c struct faultinfo *fi = UPT_FAULTINFO(regs); fi 303 arch/um/kernel/trap.c current->thread.arch.faultinfo = *fi; fi 304 arch/um/kernel/trap.c force_sig_fault(sig, code, (void __user *)FAULT_ADDRESS(*fi)); fi 91 arch/um/os-Linux/skas/process.c static void get_skas_faultinfo(int pid, struct faultinfo *fi, unsigned long *aux_fp_regs) fi 113 arch/um/os-Linux/skas/process.c memcpy(fi, (void *)current_stub_stack(), sizeof(*fi)); fi 833 arch/x86/kernel/apic/x2apic_uv_x.c int nasid, lnasid, fi, li; fi 868 arch/x86/kernel/apic/x2apic_uv_x.c max_io = lnasid = fi = li = -1; fi 899 arch/x86/kernel/apic/x2apic_uv_x.c f = fi; fi 904 arch/x86/kernel/apic/x2apic_uv_x.c pr_info("UV: %s[%03d..%03d] NASID 0x%04x ADDR 0x%016lx - 0x%016lx\n", id, fi, li, lnasid, addr1, addr2); fi 908 arch/x86/kernel/apic/x2apic_uv_x.c fi = li = i; fi 24 arch/x86/um/shared/sysdep/faultinfo_32.h #define FAULT_WRITE(fi) ((fi).error_code & 2) fi 25 arch/x86/um/shared/sysdep/faultinfo_32.h #define FAULT_ADDRESS(fi) ((fi).cr2) fi 28 arch/x86/um/shared/sysdep/faultinfo_32.h #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14) fi 24 arch/x86/um/shared/sysdep/faultinfo_64.h #define FAULT_WRITE(fi) ((fi).error_code & 2) fi 25 arch/x86/um/shared/sysdep/faultinfo_64.h #define FAULT_ADDRESS(fi) ((fi).cr2) fi 28 arch/x86/um/shared/sysdep/faultinfo_64.h #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14) fi 13 arch/x86/um/shared/sysdep/mcontext.h #define GET_FAULTINFO_FROM_MC(fi, mc) \ fi 15 arch/x86/um/shared/sysdep/mcontext.h (fi).cr2 = (mc)->cr2; \ fi 16 arch/x86/um/shared/sysdep/mcontext.h (fi).error_code = (mc)->gregs[REG_ERR]; \ fi 17 arch/x86/um/shared/sysdep/mcontext.h (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \ fi 22 arch/x86/um/shared/sysdep/mcontext.h #define GET_FAULTINFO_FROM_MC(fi, mc) \ fi 24 arch/x86/um/shared/sysdep/mcontext.h (fi).cr2 = (mc)->gregs[REG_CR2]; \ fi 25 arch/x86/um/shared/sysdep/mcontext.h (fi).error_code = (mc)->gregs[REG_ERR]; \ fi 26 arch/x86/um/shared/sysdep/mcontext.h (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \ fi 241 arch/x86/um/signal.c struct faultinfo * fi = ¤t->thread.arch.faultinfo; fi 272 arch/x86/um/signal.c sc.cr2 = fi->cr2; fi 273 arch/x86/um/signal.c sc.err = fi->error_code; fi 274 arch/x86/um/signal.c sc.trapno = fi->trap_no; fi 211 drivers/auxdisplay/ht16k33.c static int ht16k33_bl_check_fb(struct backlight_device *bl, struct fb_info *fi) fi 215 drivers/auxdisplay/ht16k33.c return (fi == NULL) || (fi->par == priv); fi 81 drivers/dma/ti/omap-dma.c int32_t fi; /* for double indexing */ fi 96 drivers/dma/ti/omap-dma.c int32_t fi; /* for OMAP_DMA_SYNC_PACKET / double indexing */ fi 266 drivers/dma/ti/omap-dma.c t2_desc->cdfi = sg->fi; fi 267 drivers/dma/ti/omap-dma.c t2_desc->csfi = d->fi; fi 275 drivers/dma/ti/omap-dma.c t2_desc->cdfi = d->fi; fi 276 drivers/dma/ti/omap-dma.c t2_desc->csfi = sg->fi; fi 521 drivers/dma/ti/omap-dma.c omap_dma_chan_write(c, cxfi, sg->fi); fi 568 drivers/dma/ti/omap-dma.c omap_dma_chan_write(c, cxfi, d->fi); fi 951 drivers/dma/ti/omap-dma.c d->fi = -(port_window_bytes - 1); fi 1114 drivers/dma/ti/omap-dma.c d->fi = burst; fi 1186 drivers/dma/ti/omap-dma.c d->fi = 0; fi 1254 drivers/dma/ti/omap-dma.c d->fi = src_icg + 1; fi 1257 drivers/dma/ti/omap-dma.c d->fi = 0; fi 1269 drivers/dma/ti/omap-dma.c sg->fi = dst_icg + 1; fi 1272 drivers/dma/ti/omap-dma.c sg->fi = 0; fi 287 drivers/firewire/net.c struct fwnet_fragment_info *fi; fi 290 drivers/firewire/net.c list_for_each_entry(fi, &pd->fi_list, fi_link) fi 291 drivers/firewire/net.c if (offset < fi->offset + fi->len && end > fi->offset) fi 301 drivers/firewire/net.c struct fwnet_fragment_info *fi, *fi2, *new; fi 305 drivers/firewire/net.c list_for_each_entry(fi, &pd->fi_list, fi_link) { fi 306 drivers/firewire/net.c if (fi->offset + fi->len == offset) { fi 309 drivers/firewire/net.c fi2 = list_entry(fi->fi_link.next, fi 311 drivers/firewire/net.c if (fi->offset + fi->len == fi2->offset) { fi 313 drivers/firewire/net.c fi->len += len + fi2->len; fi 317 drivers/firewire/net.c fi->len += len; fi 320 drivers/firewire/net.c return fi; fi 322 drivers/firewire/net.c if (offset + len == fi->offset) { fi 325 drivers/firewire/net.c fi2 = list_entry(fi->fi_link.prev, fi 327 drivers/firewire/net.c if (fi2->offset + fi2->len == fi->offset) { fi 329 drivers/firewire/net.c fi2->len += fi->len + len; fi 330 drivers/firewire/net.c list_del(&fi->fi_link); fi 331 drivers/firewire/net.c kfree(fi); fi 335 drivers/firewire/net.c fi->offset = offset; fi 336 drivers/firewire/net.c fi->len += len; fi 338 drivers/firewire/net.c return fi; fi 340 drivers/firewire/net.c if (offset > fi->offset + fi->len) { fi 341 drivers/firewire/net.c list = &fi->fi_link; fi 344 drivers/firewire/net.c if (offset + len < fi->offset) { fi 345 drivers/firewire/net.c list = fi->fi_link.prev; fi 366 drivers/firewire/net.c struct fwnet_fragment_info *fi; fi 373 drivers/firewire/net.c fi = fwnet_frag_new(new, frag_off, frag_len); fi 374 drivers/firewire/net.c if (fi == NULL) fi 391 drivers/firewire/net.c kfree(fi); fi 413 drivers/firewire/net.c struct fwnet_fragment_info *fi, *n; fi 415 drivers/firewire/net.c list_for_each_entry_safe(fi, n, &old->fi_list, fi_link) fi 416 drivers/firewire/net.c kfree(fi); fi 443 drivers/firewire/net.c struct fwnet_fragment_info *fi; fi 445 drivers/firewire/net.c fi = list_entry(pd->fi_list.next, struct fwnet_fragment_info, fi_link); fi 447 drivers/firewire/net.c return fi->len == pd->datagram_size; fi 543 drivers/gpu/drm/nouveau/nouveau_svm.c int fi, fn, pi, fill; fi 576 drivers/gpu/drm/nouveau/nouveau_svm.c for (fi = 0, svmm = NULL; fi < buffer->fault_nr; fi++) { fi 577 drivers/gpu/drm/nouveau/nouveau_svm.c if (!svmm || buffer->fault[fi]->inst != inst) { fi 579 drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_ivmm_find(svm, buffer->fault[fi]->inst); fi 581 drivers/gpu/drm/nouveau/nouveau_svm.c inst = buffer->fault[fi]->inst; fi 584 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fi]->svmm = svmm; fi 595 drivers/gpu/drm/nouveau/nouveau_svm.c for (fi = 0; fn = fi + 1, fi < buffer->fault_nr; fi = fn) { fi 597 drivers/gpu/drm/nouveau/nouveau_svm.c if (!(svmm = buffer->fault[fi]->svmm)) { fi 598 drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_svm_fault_cancel_fault(svm, buffer->fault[fi]); fi 601 drivers/gpu/drm/nouveau/nouveau_svm.c SVMM_DBG(svmm, "addr %016llx", buffer->fault[fi]->addr); fi 606 drivers/gpu/drm/nouveau/nouveau_svm.c start = buffer->fault[fi]->addr; fi 623 drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_svm_fault_cancel_fault(svm, buffer->fault[fi]); fi 630 drivers/gpu/drm/nouveau/nouveau_svm.c if (buffer->fault[fi]->addr != start) { fi 631 drivers/gpu/drm/nouveau/nouveau_svm.c SVMM_ERR(svmm, "addr %016llx", buffer->fault[fi]->addr); fi 633 drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_svm_fault_cancel_fault(svm, buffer->fault[fi]); fi 643 drivers/gpu/drm/nouveau/nouveau_svm.c for (fn = fi, pi = 0;;) { fi 686 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.p.addr + args.i.p.size, fn - fi); fi 721 drivers/gpu/drm/nouveau/nouveau_svm.c while (fi < fn) { fi 722 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_svm_fault *fault = buffer->fault[fi++]; fi 55 drivers/isdn/mISDN/fsm.c mISDN_FsmEvent(struct FsmInst *fi, int event, void *arg) fi 59 drivers/isdn/mISDN/fsm.c if ((fi->state >= fi->fsm->state_count) || fi 60 drivers/isdn/mISDN/fsm.c (event >= fi->fsm->event_count)) { fi 63 drivers/isdn/mISDN/fsm.c (long)fi->state, (long)fi->fsm->state_count, event, fi 64 drivers/isdn/mISDN/fsm.c (long)fi->fsm->event_count); fi 67 drivers/isdn/mISDN/fsm.c r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state]; fi 69 drivers/isdn/mISDN/fsm.c if (fi->debug) fi 70 drivers/isdn/mISDN/fsm.c fi->printdebug(fi, "State %s Event %s", fi 71 drivers/isdn/mISDN/fsm.c fi->fsm->strState[fi->state], fi 72 drivers/isdn/mISDN/fsm.c fi->fsm->strEvent[event]); fi 73 drivers/isdn/mISDN/fsm.c r(fi, event, arg); fi 76 drivers/isdn/mISDN/fsm.c if (fi->debug) fi 77 drivers/isdn/mISDN/fsm.c fi->printdebug(fi, "State %s Event %s no action", fi 78 drivers/isdn/mISDN/fsm.c fi->fsm->strState[fi->state], fi 79 drivers/isdn/mISDN/fsm.c fi->fsm->strEvent[event]); fi 86 drivers/isdn/mISDN/fsm.c mISDN_FsmChangeState(struct FsmInst *fi, int newstate) fi 88 drivers/isdn/mISDN/fsm.c fi->state = newstate; fi 89 drivers/isdn/mISDN/fsm.c if (fi->debug) fi 90 drivers/isdn/mISDN/fsm.c fi->printdebug(fi, "ChangeState %s", fi 91 drivers/isdn/mISDN/fsm.c fi->fsm->strState[newstate]); fi 100 drivers/isdn/mISDN/fsm.c if (ft->fi->debug) fi 101 drivers/isdn/mISDN/fsm.c ft->fi->printdebug(ft->fi, "FsmExpireTimer %lx", (long) ft); fi 103 drivers/isdn/mISDN/fsm.c mISDN_FsmEvent(ft->fi, ft->event, ft->arg); fi 107 drivers/isdn/mISDN/fsm.c mISDN_FsmInitTimer(struct FsmInst *fi, struct FsmTimer *ft) fi 109 drivers/isdn/mISDN/fsm.c ft->fi = fi; fi 111 drivers/isdn/mISDN/fsm.c if (ft->fi->debug) fi 112 drivers/isdn/mISDN/fsm.c ft->fi->printdebug(ft->fi, "mISDN_FsmInitTimer %lx", (long) ft); fi 122 drivers/isdn/mISDN/fsm.c if (ft->fi->debug) fi 123 drivers/isdn/mISDN/fsm.c ft->fi->printdebug(ft->fi, "mISDN_FsmDelTimer %lx %d", fi 136 drivers/isdn/mISDN/fsm.c if (ft->fi->debug) fi 137 drivers/isdn/mISDN/fsm.c ft->fi->printdebug(ft->fi, "mISDN_FsmAddTimer %lx %d %d", fi 142 drivers/isdn/mISDN/fsm.c if (ft->fi->debug) { fi 145 drivers/isdn/mISDN/fsm.c ft->fi->printdebug(ft->fi, fi 164 drivers/isdn/mISDN/fsm.c if (ft->fi->debug) fi 165 drivers/isdn/mISDN/fsm.c ft->fi->printdebug(ft->fi, "mISDN_FsmRestartTimer %lx %d %d", fi 43 drivers/isdn/mISDN/fsm.h struct FsmInst *fi; fi 92 drivers/isdn/mISDN/layer1.c l1m_debug(struct FsmInst *fi, char *fmt, ...) fi 94 drivers/isdn/mISDN/layer1.c struct layer1 *l1 = fi->userdata; fi 109 drivers/isdn/mISDN/layer1.c l1_reset(struct FsmInst *fi, int event, void *arg) fi 111 drivers/isdn/mISDN/layer1.c mISDN_FsmChangeState(fi, ST_L1_F3); fi 115 drivers/isdn/mISDN/layer1.c l1_deact_cnf(struct FsmInst *fi, int event, void *arg) fi 117 drivers/isdn/mISDN/layer1.c struct layer1 *l1 = fi->userdata; fi 119 drivers/isdn/mISDN/layer1.c mISDN_FsmChangeState(fi, ST_L1_F3); fi 125 drivers/isdn/mISDN/layer1.c l1_deact_req_s(struct FsmInst *fi, int event, void *arg) fi 127 drivers/isdn/mISDN/layer1.c struct layer1 *l1 = fi->userdata; fi 129 drivers/isdn/mISDN/layer1.c mISDN_FsmChangeState(fi, ST_L1_F3); fi 135 drivers/isdn/mISDN/layer1.c l1_power_up_s(struct FsmInst *fi, int event, void *arg) fi 137 drivers/isdn/mISDN/layer1.c struct layer1 *l1 = fi->userdata; fi 140 drivers/isdn/mISDN/layer1.c mISDN_FsmChangeState(fi, ST_L1_F4); fi 143 drivers/isdn/mISDN/layer1.c mISDN_FsmChangeState(fi, ST_L1_F3); fi 147 drivers/isdn/mISDN/layer1.c l1_go_F5(struct FsmInst *fi, int event, void *arg) fi 149 drivers/isdn/mISDN/layer1.c mISDN_FsmChangeState(fi, ST_L1_F5); fi 153 drivers/isdn/mISDN/layer1.c l1_go_F8(struct FsmInst *fi, int event, void *arg) fi 155 drivers/isdn/mISDN/layer1.c mISDN_FsmChangeState(fi, ST_L1_F8); fi 159 drivers/isdn/mISDN/layer1.c l1_info2_ind(struct FsmInst *fi, int event, void *arg) fi 161 drivers/isdn/mISDN/layer1.c struct layer1 *l1 = fi->userdata; fi 163 drivers/isdn/mISDN/layer1.c mISDN_FsmChangeState(fi, ST_L1_F6); fi 168 drivers/isdn/mISDN/layer1.c l1_info4_ind(struct FsmInst *fi, int event, void *arg) fi 170 drivers/isdn/mISDN/layer1.c struct layer1 *l1 = fi->userdata; fi 172 drivers/isdn/mISDN/layer1.c mISDN_FsmChangeState(fi, ST_L1_F7); fi 185 drivers/isdn/mISDN/layer1.c l1_timer3(struct FsmInst *fi, int event, void *arg) fi 187 drivers/isdn/mISDN/layer1.c struct layer1 *l1 = fi->userdata; fi 196 drivers/isdn/mISDN/layer1.c mISDN_FsmChangeState(fi, ST_L1_F3); fi 202 drivers/isdn/mISDN/layer1.c l1_timer_act(struct FsmInst *fi, int event, void *arg) fi 204 drivers/isdn/mISDN/layer1.c struct layer1 *l1 = fi->userdata; fi 212 drivers/isdn/mISDN/layer1.c l1_timer_deact(struct FsmInst *fi, int event, void *arg) fi 214 drivers/isdn/mISDN/layer1.c struct layer1 *l1 = fi->userdata; fi 225 drivers/isdn/mISDN/layer1.c l1_activate_s(struct FsmInst *fi, int event, void *arg) fi 227 drivers/isdn/mISDN/layer1.c struct layer1 *l1 = fi->userdata; fi 236 drivers/isdn/mISDN/layer1.c l1_activate_no(struct FsmInst *fi, int event, void *arg) fi 238 drivers/isdn/mISDN/layer1.c struct layer1 *l1 = fi->userdata; fi 90 drivers/isdn/mISDN/layer2.c l2m_debug(struct FsmInst *fi, char *fmt, ...) fi 92 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 278 drivers/isdn/mISDN/layer2.c l2_timeout(struct FsmInst *fi, int event, void *arg) fi 280 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 697 drivers/isdn/mISDN/layer2.c establishlink(struct FsmInst *fi) fi 699 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 710 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_5); fi 714 drivers/isdn/mISDN/layer2.c l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) fi 717 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 727 drivers/isdn/mISDN/layer2.c l2_mdl_error_dm(struct FsmInst *fi, int event, void *arg) fi 730 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 736 drivers/isdn/mISDN/layer2.c establishlink(fi); fi 742 drivers/isdn/mISDN/layer2.c l2_st8_mdl_error_dm(struct FsmInst *fi, int event, void *arg) fi 745 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 751 drivers/isdn/mISDN/layer2.c establishlink(fi); fi 756 drivers/isdn/mISDN/layer2.c l2_go_st3(struct FsmInst *fi, int event, void *arg) fi 759 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_3); fi 763 drivers/isdn/mISDN/layer2.c l2_mdl_assign(struct FsmInst *fi, int event, void *arg) fi 765 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 767 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_3); fi 773 drivers/isdn/mISDN/layer2.c l2_queue_ui_assign(struct FsmInst *fi, int event, void *arg) fi 775 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 779 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_2); fi 784 drivers/isdn/mISDN/layer2.c l2_queue_ui(struct FsmInst *fi, int event, void *arg) fi 786 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 810 drivers/isdn/mISDN/layer2.c l2_send_ui(struct FsmInst *fi, int event, void *arg) fi 812 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 820 drivers/isdn/mISDN/layer2.c l2_got_ui(struct FsmInst *fi, int event, void *arg) fi 822 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 836 drivers/isdn/mISDN/layer2.c l2_establish(struct FsmInst *fi, int event, void *arg) fi 839 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 841 drivers/isdn/mISDN/layer2.c establishlink(fi); fi 847 drivers/isdn/mISDN/layer2.c l2_discard_i_setl3(struct FsmInst *fi, int event, void *arg) fi 850 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 859 drivers/isdn/mISDN/layer2.c l2_l3_reestablish(struct FsmInst *fi, int event, void *arg) fi 862 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 865 drivers/isdn/mISDN/layer2.c establishlink(fi); fi 871 drivers/isdn/mISDN/layer2.c l2_release(struct FsmInst *fi, int event, void *arg) fi 873 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 881 drivers/isdn/mISDN/layer2.c l2_pend_rel(struct FsmInst *fi, int event, void *arg) fi 884 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 891 drivers/isdn/mISDN/layer2.c l2_disconnect(struct FsmInst *fi, int event, void *arg) fi 893 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 898 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_6); fi 907 drivers/isdn/mISDN/layer2.c l2_start_multi(struct FsmInst *fi, int event, void *arg) fi 909 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 918 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_7); fi 927 drivers/isdn/mISDN/layer2.c l2_send_UA(struct FsmInst *fi, int event, void *arg) fi 929 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 936 drivers/isdn/mISDN/layer2.c l2_send_DM(struct FsmInst *fi, int event, void *arg) fi 938 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 945 drivers/isdn/mISDN/layer2.c l2_restart_multi(struct FsmInst *fi, int event, void *arg) fi 947 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 965 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_7); fi 976 drivers/isdn/mISDN/layer2.c mISDN_FsmEvent(fi, EV_L2_ACK_PULL, NULL); fi 980 drivers/isdn/mISDN/layer2.c l2_stop_multi(struct FsmInst *fi, int event, void *arg) fi 982 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 985 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_4); fi 998 drivers/isdn/mISDN/layer2.c l2_connected(struct FsmInst *fi, int event, void *arg) fi 1000 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1005 drivers/isdn/mISDN/layer2.c l2_mdl_error_ua(fi, event, arg); fi 1010 drivers/isdn/mISDN/layer2.c l2_disconnect(fi, event, NULL); fi 1022 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_7); fi 1028 drivers/isdn/mISDN/layer2.c mISDN_FsmEvent(fi, EV_L2_ACK_PULL, NULL); fi 1035 drivers/isdn/mISDN/layer2.c l2_released(struct FsmInst *fi, int event, void *arg) fi 1037 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1041 drivers/isdn/mISDN/layer2.c l2_mdl_error_ua(fi, event, arg); fi 1047 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_4); fi 1053 drivers/isdn/mISDN/layer2.c l2_reestablish(struct FsmInst *fi, int event, void *arg) fi 1055 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1059 drivers/isdn/mISDN/layer2.c establishlink(fi); fi 1065 drivers/isdn/mISDN/layer2.c l2_st5_dm_release(struct FsmInst *fi, int event, void *arg) fi 1067 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1078 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_4); fi 1085 drivers/isdn/mISDN/layer2.c l2_st6_dm_release(struct FsmInst *fi, int event, void *arg) fi 1087 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1093 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_4); fi 1145 drivers/isdn/mISDN/layer2.c nrerrorrecovery(struct FsmInst *fi) fi 1147 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1150 drivers/isdn/mISDN/layer2.c establishlink(fi); fi 1183 drivers/isdn/mISDN/layer2.c l2_st7_got_super(struct FsmInst *fi, int event, void *arg) fi 1185 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1238 drivers/isdn/mISDN/layer2.c mISDN_FsmEvent(fi, EV_L2_ACK_PULL, NULL); fi 1240 drivers/isdn/mISDN/layer2.c nrerrorrecovery(fi); fi 1244 drivers/isdn/mISDN/layer2.c l2_feed_i_if_reest(struct FsmInst *fi, int event, void *arg) fi 1246 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1256 drivers/isdn/mISDN/layer2.c l2_feed_i_pull(struct FsmInst *fi, int event, void *arg) fi 1258 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1262 drivers/isdn/mISDN/layer2.c mISDN_FsmEvent(fi, EV_L2_ACK_PULL, NULL); fi 1266 drivers/isdn/mISDN/layer2.c l2_feed_iqueue(struct FsmInst *fi, int event, void *arg) fi 1268 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1275 drivers/isdn/mISDN/layer2.c l2_got_iframe(struct FsmInst *fi, int event, void *arg) fi 1277 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1324 drivers/isdn/mISDN/layer2.c (fi->state == ST_L2_7)) { fi 1334 drivers/isdn/mISDN/layer2.c nrerrorrecovery(fi); fi 1337 drivers/isdn/mISDN/layer2.c if (skb_queue_len(&l2->i_queue) && (fi->state == ST_L2_7)) fi 1338 drivers/isdn/mISDN/layer2.c mISDN_FsmEvent(fi, EV_L2_ACK_PULL, NULL); fi 1344 drivers/isdn/mISDN/layer2.c l2_got_tei(struct FsmInst *fi, int event, void *arg) fi 1346 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1353 drivers/isdn/mISDN/layer2.c if (fi->state == ST_L2_3) { fi 1354 drivers/isdn/mISDN/layer2.c establishlink(fi); fi 1357 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_4); fi 1363 drivers/isdn/mISDN/layer2.c l2_st5_tout_200(struct FsmInst *fi, int event, void *arg) fi 1365 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1371 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_4); fi 1390 drivers/isdn/mISDN/layer2.c l2_st6_tout_200(struct FsmInst *fi, int event, void *arg) fi 1392 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1398 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_4); fi 1413 drivers/isdn/mISDN/layer2.c l2_st7_tout_200(struct FsmInst *fi, int event, void *arg) fi 1415 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1424 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_8); fi 1430 drivers/isdn/mISDN/layer2.c l2_st8_tout_200(struct FsmInst *fi, int event, void *arg) fi 1432 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1442 drivers/isdn/mISDN/layer2.c establishlink(fi); fi 1451 drivers/isdn/mISDN/layer2.c l2_st7_tout_203(struct FsmInst *fi, int event, void *arg) fi 1453 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1460 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_8); fi 1466 drivers/isdn/mISDN/layer2.c l2_pull_iqueue(struct FsmInst *fi, int event, void *arg) fi 1468 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1516 drivers/isdn/mISDN/layer2.c l2_st8_got_super(struct FsmInst *fi, int event, void *arg) fi 1518 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1554 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_7); fi 1556 drivers/isdn/mISDN/layer2.c mISDN_FsmEvent(fi, EV_L2_ACK_PULL, NULL); fi 1558 drivers/isdn/mISDN/layer2.c nrerrorrecovery(fi); fi 1565 drivers/isdn/mISDN/layer2.c nrerrorrecovery(fi); fi 1570 drivers/isdn/mISDN/layer2.c l2_got_FRMR(struct FsmInst *fi, int event, void *arg) fi 1572 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1578 drivers/isdn/mISDN/layer2.c (IsUA(skb->data) && (fi->state == ST_L2_7))) { fi 1580 drivers/isdn/mISDN/layer2.c establishlink(fi); fi 1587 drivers/isdn/mISDN/layer2.c l2_st24_tei_remove(struct FsmInst *fi, int event, void *arg) fi 1589 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1593 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_1); fi 1597 drivers/isdn/mISDN/layer2.c l2_st3_tei_remove(struct FsmInst *fi, int event, void *arg) fi 1599 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1604 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_1); fi 1608 drivers/isdn/mISDN/layer2.c l2_st5_tei_remove(struct FsmInst *fi, int event, void *arg) fi 1610 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1618 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_1); fi 1622 drivers/isdn/mISDN/layer2.c l2_st6_tei_remove(struct FsmInst *fi, int event, void *arg) fi 1624 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1630 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_1); fi 1634 drivers/isdn/mISDN/layer2.c l2_tei_remove(struct FsmInst *fi, int event, void *arg) fi 1636 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1649 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_1); fi 1653 drivers/isdn/mISDN/layer2.c l2_st14_persistent_da(struct FsmInst *fi, int event, void *arg) fi 1655 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1667 drivers/isdn/mISDN/layer2.c l2_st5_persistent_da(struct FsmInst *fi, int event, void *arg) fi 1669 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1677 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_4); fi 1684 drivers/isdn/mISDN/layer2.c l2_st6_persistent_da(struct FsmInst *fi, int event, void *arg) fi 1686 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1692 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_4); fi 1698 drivers/isdn/mISDN/layer2.c l2_persistent_da(struct FsmInst *fi, int event, void *arg) fi 1700 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1709 drivers/isdn/mISDN/layer2.c mISDN_FsmChangeState(fi, ST_L2_4); fi 1715 drivers/isdn/mISDN/layer2.c l2_set_own_busy(struct FsmInst *fi, int event, void *arg) fi 1717 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1728 drivers/isdn/mISDN/layer2.c l2_clear_own_busy(struct FsmInst *fi, int event, void *arg) fi 1730 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1741 drivers/isdn/mISDN/layer2.c l2_frame_error(struct FsmInst *fi, int event, void *arg) fi 1743 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1749 drivers/isdn/mISDN/layer2.c l2_frame_error_reest(struct FsmInst *fi, int event, void *arg) fi 1751 drivers/isdn/mISDN/layer2.c struct layer2 *l2 = fi->userdata; fi 1754 drivers/isdn/mISDN/layer2.c establishlink(fi); fi 70 drivers/isdn/mISDN/tei.c da_debug(struct FsmInst *fi, char *fmt, ...) fi 72 drivers/isdn/mISDN/tei.c struct manager *mgr = fi->userdata; fi 90 drivers/isdn/mISDN/tei.c da_activate(struct FsmInst *fi, int event, void *arg) fi 92 drivers/isdn/mISDN/tei.c struct manager *mgr = fi->userdata; fi 94 drivers/isdn/mISDN/tei.c if (fi->state == ST_L1_DEACT_PENDING) fi 96 drivers/isdn/mISDN/tei.c mISDN_FsmChangeState(fi, ST_L1_ACTIV); fi 100 drivers/isdn/mISDN/tei.c da_deactivate_ind(struct FsmInst *fi, int event, void *arg) fi 102 drivers/isdn/mISDN/tei.c mISDN_FsmChangeState(fi, ST_L1_DEACT); fi 106 drivers/isdn/mISDN/tei.c da_deactivate(struct FsmInst *fi, int event, void *arg) fi 108 drivers/isdn/mISDN/tei.c struct manager *mgr = fi->userdata; fi 125 drivers/isdn/mISDN/tei.c mISDN_FsmChangeState(fi, ST_L1_DEACT_PENDING); fi 130 drivers/isdn/mISDN/tei.c da_ui(struct FsmInst *fi, int event, void *arg) fi 132 drivers/isdn/mISDN/tei.c struct manager *mgr = fi->userdata; fi 143 drivers/isdn/mISDN/tei.c da_timer(struct FsmInst *fi, int event, void *arg) fi 145 drivers/isdn/mISDN/tei.c struct manager *mgr = fi->userdata; fi 155 drivers/isdn/mISDN/tei.c mISDN_FsmChangeState(fi, ST_L1_ACTIV); fi 161 drivers/isdn/mISDN/tei.c mISDN_FsmChangeState(fi, ST_L1_DEACT); fi 219 drivers/isdn/mISDN/tei.c tei_debug(struct FsmInst *fi, char *fmt, ...) fi 221 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 456 drivers/isdn/mISDN/tei.c tei_id_request(struct FsmInst *fi, int event, void *arg) fi 458 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 471 drivers/isdn/mISDN/tei.c mISDN_FsmChangeState(fi, ST_TEI_IDREQ); fi 477 drivers/isdn/mISDN/tei.c tei_id_assign(struct FsmInst *fi, int event, void *arg) fi 479 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 489 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "identity assign ri %d tei %d", fi 494 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, fi 500 drivers/isdn/mISDN/tei.c mISDN_FsmChangeState(fi, ST_TEI_NOP); fi 506 drivers/isdn/mISDN/tei.c tei_id_test_dup(struct FsmInst *fi, int event, void *arg) fi 508 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 518 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "foreign identity assign ri %d tei %d", fi 523 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, fi 531 drivers/isdn/mISDN/tei.c tei_id_denied(struct FsmInst *fi, int event, void *arg) fi 533 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 542 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "identity denied ri %d tei %d", fi 547 drivers/isdn/mISDN/tei.c tei_id_chk_req(struct FsmInst *fi, int event, void *arg) fi 549 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 555 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "identity check req tei %d", tei); fi 565 drivers/isdn/mISDN/tei.c tei_id_remove(struct FsmInst *fi, int event, void *arg) fi 567 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 573 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "identity remove tei %d", tei); fi 583 drivers/isdn/mISDN/tei.c tei_id_verify(struct FsmInst *fi, int event, void *arg) fi 585 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 588 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "id verify request for tei %d", fi 597 drivers/isdn/mISDN/tei.c tei_id_req_tout(struct FsmInst *fi, int event, void *arg) fi 599 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 604 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "assign req(%d) ri %d", fi 609 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "assign req failed"); fi 611 drivers/isdn/mISDN/tei.c mISDN_FsmChangeState(fi, ST_TEI_NOP); fi 616 drivers/isdn/mISDN/tei.c tei_id_ver_tout(struct FsmInst *fi, int event, void *arg) fi 618 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 622 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, fi 628 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "verify req for tei %d failed", fi 631 drivers/isdn/mISDN/tei.c mISDN_FsmChangeState(fi, ST_TEI_NOP); fi 660 drivers/isdn/mISDN/tei.c tei_assign_req(struct FsmInst *fi, int event, void *arg) fi 662 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 676 drivers/isdn/mISDN/tei.c mISDN_FsmChangeState(fi, ST_TEI_NOP); fi 680 drivers/isdn/mISDN/tei.c tei_id_chk_req_net(struct FsmInst *fi, int event, void *arg) fi 682 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 685 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "id check request for tei %d", fi 695 drivers/isdn/mISDN/tei.c tei_id_chk_resp(struct FsmInst *fi, int event, void *arg) fi 697 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 703 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "identity check resp tei %d", tei); fi 709 drivers/isdn/mISDN/tei.c tei_id_verify_net(struct FsmInst *fi, int event, void *arg) fi 711 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 717 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "identity verify req tei %d/%d", fi 720 drivers/isdn/mISDN/tei.c tei_id_chk_req_net(fi, event, arg); fi 724 drivers/isdn/mISDN/tei.c tei_id_ver_tout_net(struct FsmInst *fi, int event, void *arg) fi 726 drivers/isdn/mISDN/tei.c struct teimgr *tm = fi->userdata; fi 730 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, fi 732 drivers/isdn/mISDN/tei.c mISDN_FsmChangeState(fi, ST_TEI_NOP); fi 738 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, fi 744 drivers/isdn/mISDN/tei.c tm->tei_m.printdebug(fi, "check req for tei %d failed", fi 746 drivers/isdn/mISDN/tei.c mISDN_FsmChangeState(fi, ST_TEI_NOP); fi 151 drivers/media/firewire/firedtv-fe.c struct dvb_frontend_internal_info *fi = &ops->info; fi 173 drivers/media/firewire/firedtv-fe.c fi->frequency_min_hz = 950 * MHz; fi 174 drivers/media/firewire/firedtv-fe.c fi->frequency_max_hz = 2150 * MHz; fi 175 drivers/media/firewire/firedtv-fe.c fi->frequency_stepsize_hz = 125 * kHz; fi 176 drivers/media/firewire/firedtv-fe.c fi->symbol_rate_min = 1000000; fi 177 drivers/media/firewire/firedtv-fe.c fi->symbol_rate_max = 40000000; fi 179 drivers/media/firewire/firedtv-fe.c fi->caps = FE_CAN_INVERSION_AUTO | fi 193 drivers/media/firewire/firedtv-fe.c fi->frequency_min_hz = 950 * MHz; fi 194 drivers/media/firewire/firedtv-fe.c fi->frequency_max_hz = 2150 * MHz; fi 195 drivers/media/firewire/firedtv-fe.c fi->frequency_stepsize_hz = 125 * kHz; fi 196 drivers/media/firewire/firedtv-fe.c fi->symbol_rate_min = 1000000; fi 197 drivers/media/firewire/firedtv-fe.c fi->symbol_rate_max = 40000000; fi 199 drivers/media/firewire/firedtv-fe.c fi->caps = FE_CAN_INVERSION_AUTO | fi 213 drivers/media/firewire/firedtv-fe.c fi->frequency_min_hz = 47 * MHz; fi 214 drivers/media/firewire/firedtv-fe.c fi->frequency_max_hz = 866 * MHz; fi 215 drivers/media/firewire/firedtv-fe.c fi->frequency_stepsize_hz = 62500; fi 216 drivers/media/firewire/firedtv-fe.c fi->symbol_rate_min = 870000; fi 217 drivers/media/firewire/firedtv-fe.c fi->symbol_rate_max = 6900000; fi 219 drivers/media/firewire/firedtv-fe.c fi->caps = FE_CAN_INVERSION_AUTO | fi 231 drivers/media/firewire/firedtv-fe.c fi->frequency_min_hz = 49 * MHz; fi 232 drivers/media/firewire/firedtv-fe.c fi->frequency_max_hz = 861 * MHz; fi 233 drivers/media/firewire/firedtv-fe.c fi->frequency_stepsize_hz = 62500; fi 235 drivers/media/firewire/firedtv-fe.c fi->caps = FE_CAN_INVERSION_AUTO | fi 246 drivers/media/firewire/firedtv-fe.c strscpy(fi->name, name, sizeof(fi->name)); fi 459 drivers/media/i2c/adv7180.c struct v4l2_subdev_frame_interval *fi) fi 464 drivers/media/i2c/adv7180.c fi->interval.numerator = 1001; fi 465 drivers/media/i2c/adv7180.c fi->interval.denominator = 30000; fi 467 drivers/media/i2c/adv7180.c fi->interval.numerator = 1; fi 468 drivers/media/i2c/adv7180.c fi->interval.denominator = 25; fi 1047 drivers/media/i2c/et8ek8/et8ek8_driver.c struct v4l2_subdev_frame_interval *fi) fi 1051 drivers/media/i2c/et8ek8/et8ek8_driver.c memset(fi, 0, sizeof(*fi)); fi 1052 drivers/media/i2c/et8ek8/et8ek8_driver.c fi->interval = sensor->current_reglist->mode.timeperframe; fi 1058 drivers/media/i2c/et8ek8/et8ek8_driver.c struct v4l2_subdev_frame_interval *fi) fi 1065 drivers/media/i2c/et8ek8/et8ek8_driver.c &fi->interval); fi 1205 drivers/media/i2c/imx274.c struct v4l2_subdev_frame_interval *fi) fi 1209 drivers/media/i2c/imx274.c fi->interval = imx274->frame_interval; fi 1227 drivers/media/i2c/imx274.c struct v4l2_subdev_frame_interval *fi) fi 1235 drivers/media/i2c/imx274.c ret = imx274_set_frame_interval(imx274, fi->interval); fi 1243 drivers/media/i2c/imx274.c max = fi->interval.numerator * 1000000 fi 1244 drivers/media/i2c/imx274.c / fi->interval.denominator; fi 1256 drivers/media/i2c/imx274.c fi->interval.numerator * 1000000 fi 1257 drivers/media/i2c/imx274.c / fi->interval.denominator); fi 488 drivers/media/i2c/mt9m032.c struct v4l2_subdev_frame_interval *fi) fi 493 drivers/media/i2c/mt9m032.c memset(fi, 0, sizeof(*fi)); fi 494 drivers/media/i2c/mt9m032.c fi->interval = sensor->frame_interval; fi 501 drivers/media/i2c/mt9m032.c struct v4l2_subdev_frame_interval *fi) fi 514 drivers/media/i2c/mt9m032.c if (fi->interval.denominator == 0) fi 515 drivers/media/i2c/mt9m032.c fi->interval.denominator = 1; fi 517 drivers/media/i2c/mt9m032.c ret = mt9m032_update_timing(sensor, &fi->interval); fi 519 drivers/media/i2c/mt9m032.c sensor->frame_interval = fi->interval; fi 1056 drivers/media/i2c/mt9m111.c struct v4l2_subdev_frame_interval *fi) fi 1060 drivers/media/i2c/mt9m111.c fi->interval = mt9m111->frame_interval; fi 1066 drivers/media/i2c/mt9m111.c struct v4l2_subdev_frame_interval *fi) fi 1070 drivers/media/i2c/mt9m111.c struct v4l2_fract *fract = &fi->interval; fi 1076 drivers/media/i2c/mt9m111.c if (fi->pad != 0) fi 1097 drivers/media/i2c/mt9m111.c mt9m111->frame_interval = fi->interval; fi 607 drivers/media/i2c/ov2680.c struct v4l2_subdev_frame_interval *fi) fi 612 drivers/media/i2c/ov2680.c fi->interval = sensor->frame_interval; fi 2105 drivers/media/i2c/ov5640.c struct v4l2_fract *fi, fi 2116 drivers/media/i2c/ov5640.c if (fi->numerator == 0) { fi 2117 drivers/media/i2c/ov5640.c fi->denominator = maxfps; fi 2118 drivers/media/i2c/ov5640.c fi->numerator = 1; fi 2123 drivers/media/i2c/ov5640.c fps = clamp_val(DIV_ROUND_CLOSEST(fi->denominator, fi->numerator), fi 2136 drivers/media/i2c/ov5640.c fi->numerator = 1; fi 2137 drivers/media/i2c/ov5640.c fi->denominator = best_fps; fi 2773 drivers/media/i2c/ov5640.c struct v4l2_subdev_frame_interval *fi) fi 2778 drivers/media/i2c/ov5640.c fi->interval = sensor->frame_interval; fi 2785 drivers/media/i2c/ov5640.c struct v4l2_subdev_frame_interval *fi) fi 2791 drivers/media/i2c/ov5640.c if (fi->pad != 0) fi 2803 drivers/media/i2c/ov5640.c frame_rate = ov5640_try_frame_interval(sensor, &fi->interval, fi 2807 drivers/media/i2c/ov5640.c fi->interval = sensor->frame_interval; fi 2821 drivers/media/i2c/ov5640.c sensor->frame_interval = fi->interval; fi 1170 drivers/media/i2c/ov7251.c struct v4l2_subdev_frame_interval *fi) fi 1175 drivers/media/i2c/ov7251.c fi->interval = ov7251->current_mode->timeperframe; fi 1182 drivers/media/i2c/ov7251.c struct v4l2_subdev_frame_interval *fi) fi 1189 drivers/media/i2c/ov7251.c new_mode = ov7251_find_mode_by_ival(ov7251, &fi->interval); fi 1220 drivers/media/i2c/ov7251.c fi->interval = ov7251->current_mode->timeperframe; fi 1107 drivers/media/i2c/ov9650.c struct v4l2_subdev_frame_interval *fi) fi 1112 drivers/media/i2c/ov9650.c fi->interval = ov965x->fiv->interval; fi 1119 drivers/media/i2c/ov9650.c struct v4l2_subdev_frame_interval *fi) fi 1126 drivers/media/i2c/ov9650.c if (fi->interval.denominator == 0) fi 1129 drivers/media/i2c/ov9650.c req_int = (u64)fi->interval.numerator * 10000; fi 1130 drivers/media/i2c/ov9650.c do_div(req_int, fi->interval.denominator); fi 1154 drivers/media/i2c/ov9650.c struct v4l2_subdev_frame_interval *fi) fi 1160 drivers/media/i2c/ov9650.c fi->interval.numerator, fi->interval.denominator); fi 1163 drivers/media/i2c/ov9650.c ret = __ov965x_set_frame_interval(ov965x, fi); fi 875 drivers/media/i2c/s5c73m3/s5c73m3-core.c struct v4l2_subdev_frame_interval *fi) fi 879 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (fi->pad != OIF_SOURCE_PAD) fi 883 drivers/media/i2c/s5c73m3/s5c73m3-core.c fi->interval = state->fiv->interval; fi 890 drivers/media/i2c/s5c73m3/s5c73m3-core.c struct v4l2_subdev_frame_interval *fi) fi 898 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (fi->interval.denominator == 0) fi 901 drivers/media/i2c/s5c73m3/s5c73m3-core.c fr_time = fi->interval.numerator * 1000 / fi->interval.denominator; fi 924 drivers/media/i2c/s5c73m3/s5c73m3-core.c struct v4l2_subdev_frame_interval *fi) fi 929 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (fi->pad != OIF_SOURCE_PAD) fi 933 drivers/media/i2c/s5c73m3/s5c73m3-core.c fi->interval.numerator, fi->interval.denominator); fi 937 drivers/media/i2c/s5c73m3/s5c73m3-core.c ret = __s5c73m3_set_frame_interval(state, fi); fi 953 drivers/media/i2c/s5c73m3/s5c73m3-core.c const struct s5c73m3_interval *fi; fi 962 drivers/media/i2c/s5c73m3/s5c73m3-core.c fi = &s5c73m3_intervals[fie->index]; fi 963 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (fie->width > fi->size.width || fie->height > fi->size.height) fi 966 drivers/media/i2c/s5c73m3/s5c73m3-core.c fie->interval = fi->interval; fi 1133 drivers/media/i2c/s5k5baf.c struct v4l2_subdev_frame_interval *fi) fi 1138 drivers/media/i2c/s5k5baf.c fi->interval.numerator = state->fiv; fi 1139 drivers/media/i2c/s5k5baf.c fi->interval.denominator = 10000; fi 1146 drivers/media/i2c/s5k5baf.c struct v4l2_subdev_frame_interval *fi) fi 1148 drivers/media/i2c/s5k5baf.c struct v4l2_fract *i = &fi->interval; fi 1150 drivers/media/i2c/s5k5baf.c if (fi->interval.denominator == 0) fi 1170 drivers/media/i2c/s5k5baf.c struct v4l2_subdev_frame_interval *fi) fi 1175 drivers/media/i2c/s5k5baf.c s5k5baf_set_frame_interval(state, fi); fi 935 drivers/media/i2c/s5k6aa.c struct v4l2_subdev_frame_interval *fi) fi 940 drivers/media/i2c/s5k6aa.c fi->interval = s5k6aa->fiv->interval; fi 947 drivers/media/i2c/s5k6aa.c struct v4l2_subdev_frame_interval *fi) fi 954 drivers/media/i2c/s5k6aa.c if (fi->interval.denominator == 0) fi 957 drivers/media/i2c/s5k6aa.c fr_time = fi->interval.numerator * 10000 / fi->interval.denominator; fi 980 drivers/media/i2c/s5k6aa.c struct v4l2_subdev_frame_interval *fi) fi 986 drivers/media/i2c/s5k6aa.c fi->interval.numerator, fi->interval.denominator); fi 989 drivers/media/i2c/s5k6aa.c ret = __s5k6aa_set_frame_interval(s5k6aa, fi); fi 1004 drivers/media/i2c/s5k6aa.c const struct s5k6aa_interval *fi; fi 1016 drivers/media/i2c/s5k6aa.c fi = &s5k6aa_intervals[fie->index]; fi 1017 drivers/media/i2c/s5k6aa.c if (fie->width > fi->size.width || fie->height > fi->size.height) fi 1020 drivers/media/i2c/s5k6aa.c fie->interval = fi->interval; fi 775 drivers/media/pci/bt8xx/bttv-driver.c unsigned char fl, fh, fi; fi 782 drivers/media/pci/bt8xx/bttv-driver.c fi=fout/fin; fi 792 drivers/media/pci/bt8xx/bttv-driver.c btwrite(fi|BT848_PLL_X, BT848_PLL_XCI); fi 579 drivers/media/platform/qcom/camss/camss-video.c const struct camss_format_info *fi; fi 606 drivers/media/platform/qcom/camss/camss-video.c fi = &video->formats[j]; fi 612 drivers/media/platform/qcom/camss/camss-video.c pix_mp->pixelformat = fi->pixelformat; fi 615 drivers/media/platform/qcom/camss/camss-video.c pix_mp->num_planes = fi->planes; fi 617 drivers/media/platform/qcom/camss/camss-video.c bpl = pix_mp->width / fi->hsub[i].numerator * fi 618 drivers/media/platform/qcom/camss/camss-video.c fi->hsub[i].denominator * fi->bpp[i] / 8; fi 622 drivers/media/platform/qcom/camss/camss-video.c fi->vsub[i].numerator * fi->vsub[i].denominator * bpl; fi 199 drivers/media/v4l2-core/v4l2-subdev.c struct v4l2_subdev_frame_interval *fi) fi 201 drivers/media/v4l2-core/v4l2-subdev.c if (!fi) fi 204 drivers/media/v4l2-core/v4l2-subdev.c return check_pad(sd, fi->pad); fi 208 drivers/media/v4l2-core/v4l2-subdev.c struct v4l2_subdev_frame_interval *fi) fi 210 drivers/media/v4l2-core/v4l2-subdev.c return check_frame_interval(sd, fi) ? : fi 211 drivers/media/v4l2-core/v4l2-subdev.c sd->ops->video->g_frame_interval(sd, fi); fi 215 drivers/media/v4l2-core/v4l2-subdev.c struct v4l2_subdev_frame_interval *fi) fi 217 drivers/media/v4l2-core/v4l2-subdev.c return check_frame_interval(sd, fi) ? : fi 218 drivers/media/v4l2-core/v4l2-subdev.c sd->ops->video->s_frame_interval(sd, fi); fi 515 drivers/media/v4l2-core/v4l2-subdev.c struct v4l2_subdev_frame_interval *fi = arg; fi 517 drivers/media/v4l2-core/v4l2-subdev.c memset(fi->reserved, 0, sizeof(fi->reserved)); fi 522 drivers/media/v4l2-core/v4l2-subdev.c struct v4l2_subdev_frame_interval *fi = arg; fi 524 drivers/media/v4l2-core/v4l2-subdev.c memset(fi->reserved, 0, sizeof(fi->reserved)); fi 286 drivers/net/can/sja1000/sja1000.c uint8_t fi; fi 298 drivers/net/can/sja1000/sja1000.c fi = dlc = cf->can_dlc; fi 302 drivers/net/can/sja1000/sja1000.c fi |= SJA1000_FI_RTR; fi 305 drivers/net/can/sja1000/sja1000.c fi |= SJA1000_FI_FF; fi 307 drivers/net/can/sja1000/sja1000.c priv->write_reg(priv, SJA1000_FI, fi); fi 314 drivers/net/can/sja1000/sja1000.c priv->write_reg(priv, SJA1000_FI, fi); fi 343 drivers/net/can/sja1000/sja1000.c uint8_t fi; fi 353 drivers/net/can/sja1000/sja1000.c fi = priv->read_reg(priv, SJA1000_FI); fi 355 drivers/net/can/sja1000/sja1000.c if (fi & SJA1000_FI_FF) { fi 370 drivers/net/can/sja1000/sja1000.c cf->can_dlc = get_can_dlc(fi & 0x0F); fi 371 drivers/net/can/sja1000/sja1000.c if (fi & SJA1000_FI_RTR) { fi 467 drivers/net/can/sun4i_can.c u8 fi; fi 477 drivers/net/can/sun4i_can.c fi = readl(priv->base + SUN4I_REG_BUF0_ADDR); fi 478 drivers/net/can/sun4i_can.c cf->can_dlc = get_can_dlc(fi & 0x0F); fi 479 drivers/net/can/sun4i_can.c if (fi & SUN4I_MSG_EFF_FLAG) { fi 493 drivers/net/can/sun4i_can.c if (fi & SUN4I_MSG_RTR_FLAG) fi 849 drivers/net/can/usb/peak_usb/pcan_usb_pro.c struct pcan_usb_pro_fwinfo *fi = NULL; fi 858 drivers/net/can/usb/peak_usb/pcan_usb_pro.c fi = kmalloc(sizeof(struct pcan_usb_pro_fwinfo), GFP_KERNEL); fi 860 drivers/net/can/usb/peak_usb/pcan_usb_pro.c if (!usb_if || !fi || !bi) { fi 875 drivers/net/can/usb/peak_usb/pcan_usb_pro.c fi, sizeof(*fi)); fi 914 drivers/net/can/usb/peak_usb/pcan_usb_pro.c kfree(fi); fi 920 drivers/net/can/usb/peak_usb/pcan_usb_pro.c kfree(fi); fi 472 drivers/net/ethernet/intel/fm10k/fm10k.h union fm10k_ftag_info fi; fi 423 drivers/net/ethernet/intel/fm10k/fm10k_main.c u16 idx = le16_to_cpu(FM10K_CB(skb)->fi.w.dglort) - 1; fi 464 drivers/net/ethernet/intel/fm10k/fm10k_main.c FM10K_CB(skb)->fi.w.vlan = rx_desc->w.vlan; fi 466 drivers/net/ethernet/intel/fm10k/fm10k_main.c FM10K_CB(skb)->fi.d.glort = rx_desc->d.glort; fi 1970 drivers/net/ethernet/intel/fm10k/fm10k_pci.c const struct fm10k_info *fi = fm10k_info_tbl[ent->driver_data]; fi 1990 drivers/net/ethernet/intel/fm10k/fm10k_pci.c memcpy(&hw->mac.ops, fi->mac_ops, sizeof(hw->mac.ops)); fi 1991 drivers/net/ethernet/intel/fm10k/fm10k_pci.c hw->mac.type = fi->mac; fi 1994 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (fi->iov_ops) fi 1995 drivers/net/ethernet/intel/fm10k/fm10k_pci.c memcpy(&hw->iov.ops, fi->iov_ops, sizeof(hw->iov.ops)); fi 2000 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fi->get_invariants(hw); fi 659 drivers/net/ethernet/intel/ice/ice_switch.c static void ice_fill_sw_info(struct ice_hw *hw, struct ice_fltr_info *fi) fi 661 drivers/net/ethernet/intel/ice/ice_switch.c fi->lb_en = false; fi 662 drivers/net/ethernet/intel/ice/ice_switch.c fi->lan_en = false; fi 663 drivers/net/ethernet/intel/ice/ice_switch.c if ((fi->flag & ICE_FLTR_TX) && fi 664 drivers/net/ethernet/intel/ice/ice_switch.c (fi->fltr_act == ICE_FWD_TO_VSI || fi 665 drivers/net/ethernet/intel/ice/ice_switch.c fi->fltr_act == ICE_FWD_TO_VSI_LIST || fi 666 drivers/net/ethernet/intel/ice/ice_switch.c fi->fltr_act == ICE_FWD_TO_Q || fi 667 drivers/net/ethernet/intel/ice/ice_switch.c fi->fltr_act == ICE_FWD_TO_QGRP)) { fi 671 drivers/net/ethernet/intel/ice/ice_switch.c if (fi->lkup_type != ICE_SW_LKUP_VLAN) fi 672 drivers/net/ethernet/intel/ice/ice_switch.c fi->lb_en = true; fi 691 drivers/net/ethernet/intel/ice/ice_switch.c if (fi->lkup_type == ICE_SW_LKUP_ETHERTYPE || fi 692 drivers/net/ethernet/intel/ice/ice_switch.c fi->lkup_type == ICE_SW_LKUP_PROMISC || fi 693 drivers/net/ethernet/intel/ice/ice_switch.c fi->lkup_type == ICE_SW_LKUP_ETHERTYPE_MAC || fi 694 drivers/net/ethernet/intel/ice/ice_switch.c fi->lkup_type == ICE_SW_LKUP_PROMISC_VLAN || fi 695 drivers/net/ethernet/intel/ice/ice_switch.c fi->lkup_type == ICE_SW_LKUP_DFLT || fi 696 drivers/net/ethernet/intel/ice/ice_switch.c fi->lkup_type == ICE_SW_LKUP_VLAN || fi 697 drivers/net/ethernet/intel/ice/ice_switch.c (fi->lkup_type == ICE_SW_LKUP_MAC && fi 698 drivers/net/ethernet/intel/ice/ice_switch.c !is_unicast_ether_addr(fi->l_data.mac.mac_addr)) || fi 699 drivers/net/ethernet/intel/ice/ice_switch.c (fi->lkup_type == ICE_SW_LKUP_MAC_VLAN && fi 700 drivers/net/ethernet/intel/ice/ice_switch.c !is_unicast_ether_addr(fi->l_data.mac.mac_addr))) fi 701 drivers/net/ethernet/intel/ice/ice_switch.c fi->lan_en = true; fi 703 drivers/net/ethernet/intel/ice/ice_switch.c fi->lan_en = true; fi 1183 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_fltr_info *fi = &fm_entry->fltr_info; fi 1184 drivers/net/ethernet/intel/ice/ice_switch.c u8 *addr = fi->l_data.mac.mac_addr; fi 1189 drivers/net/ethernet/intel/ice/ice_switch.c if ((fi->flag & ICE_FLTR_TX) && is_unicast_ether_addr(addr) && fi 1190 drivers/net/ethernet/intel/ice/ice_switch.c (fi->fltr_act == ICE_FWD_TO_VSI || fi 1191 drivers/net/ethernet/intel/ice/ice_switch.c fi->fltr_act == ICE_FWD_TO_VSI_LIST || fi 1192 drivers/net/ethernet/intel/ice/ice_switch.c fi->fltr_act == ICE_FWD_TO_Q || fi 1193 drivers/net/ethernet/intel/ice/ice_switch.c fi->fltr_act == ICE_FWD_TO_QGRP)) { fi 1194 drivers/net/ethernet/intel/ice/ice_switch.c status = ice_update_pkt_fwd_rule(hw, fi); fi 2288 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_fltr_info *fi) fi 2299 drivers/net/ethernet/intel/ice/ice_switch.c tmp->fltr_info = *fi; fi 2341 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_fltr_info *fi; fi 2343 drivers/net/ethernet/intel/ice/ice_switch.c fi = &fm_entry->fltr_info; fi 2344 drivers/net/ethernet/intel/ice/ice_switch.c if (!fi || !ice_vsi_uses_fltr(fm_entry, vsi_handle)) fi 2348 drivers/net/ethernet/intel/ice/ice_switch.c vsi_list_head, fi); fi 2362 drivers/net/ethernet/intel/ice/ice_switch.c static u8 ice_determine_promisc_mask(struct ice_fltr_info *fi) fi 2364 drivers/net/ethernet/intel/ice/ice_switch.c u16 vid = fi->l_data.mac_vlan.vlan_id; fi 2365 drivers/net/ethernet/intel/ice/ice_switch.c u8 *macaddr = fi->l_data.mac.mac_addr; fi 2369 drivers/net/ethernet/intel/ice/ice_switch.c if (fi->flag == ICE_FLTR_TX) fi 111 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c struct fib_info *fi) fi 120 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c if (mp->mfi == fi) fi 126 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c nhs = fib_info_num_path(fi); fi 129 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c struct fib_nh *nh = fib_info_nh(fi, 0); fi 142 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_nh0 = fib_info_nh(fi, 0); fi 143 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_nh1 = fib_info_nh(fi, 1); fi 161 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c mp->mfi = fi; fi 167 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c struct fib_info *fi) fi 172 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c if (!mp->mfi || mp->mfi != fi) fi 184 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_info_num_path(fi) == 2) { fi 204 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_work->fen_info.fi); fi 205 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_info_put(fib_work->fen_info.fi); fi 249 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c struct fib_info *fi; fi 267 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fi = fen_info->fi; fi 268 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c if (fi->nh) { fi 272 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; fi 284 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_info_hold(fib_work->fen_info.fi); fi 2840 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct fib_info *fi; fi 2897 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return cmp_arg->fi != mlxsw_sp_nexthop4_group_fi(nh_grp); fi 2917 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct fib_info *fi; fi 2923 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fi = mlxsw_sp_nexthop4_group_fi(nh_grp); fi 2924 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return jhash(&fi, sizeof(fi), seed); fi 2960 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return jhash(&cmp_arg->fi, sizeof(cmp_arg->fi), seed); fi 3002 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct fib_info *fi) fi 3007 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c cmp_arg.fi = fi; fi 3870 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct fib_info *fi) fi 3872 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c const struct fib_nh *nh = fib_info_nh(fi, 0); fi 3879 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_nexthop4_group_create(struct mlxsw_sp *mlxsw_sp, struct fib_info *fi) fi 3881 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c unsigned int nhs = fib_info_num_path(fi); fi 3891 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c nh_grp->priv = fi; fi 3895 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c nh_grp->gateway = mlxsw_sp_fi_is_gateway(mlxsw_sp, fi); fi 3897 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_info_hold(fi); fi 3900 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_nh = fib_info_nh(fi, i); fi 3917 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_info_put(fi); fi 3942 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct fib_info *fi) fi 3946 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c nh_grp = mlxsw_sp_nexthop4_group_lookup(mlxsw_sp, fi); fi 3948 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c nh_grp = mlxsw_sp_nexthop4_group_create(mlxsw_sp, fi); fi 4338 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct net_device *dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; fi 4342 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct fib_info *fi = fen_info->fi; fi 4379 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (mlxsw_sp_fi_is_gateway(mlxsw_sp, fi)) fi 4407 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_nexthop4_group_get(mlxsw_sp, fib_entry, fen_info->fi); fi 4411 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib4_entry->prio = fen_info->fi->fib_priority; fi 4458 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fen_info->fi) { fi 6004 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_info_put(fib_work->fen_info.fi); fi 6008 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_info_put(fib_work->fen_info.fi); fi 6131 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_info_hold(fib_work->fen_info.fi); fi 6267 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fen_info->fi->fib_nh_is_v6) { fi 6271 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fen_info->fi->nh) { fi 104 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c static u32 nffw_fwinfo_loaded_get(const struct nffw_fwinfo *fi) fi 106 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c return (le32_to_cpu(fi->loaded__mu_da__mip_off_hi) >> 31) & 1; fi 110 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c static u32 nffw_fwinfo_mip_cppid_get(const struct nffw_fwinfo *fi) fi 112 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c return le32_to_cpu(fi->mip_cppid); fi 116 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c static u32 nffw_fwinfo_mip_mu_da_get(const struct nffw_fwinfo *fi) fi 118 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c return (le32_to_cpu(fi->loaded__mu_da__mip_off_hi) >> 8) & 1; fi 122 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c static u64 nffw_fwinfo_mip_offset_get(const struct nffw_fwinfo *fi) fi 124 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c u64 mip_off_hi = le32_to_cpu(fi->loaded__mu_da__mip_off_hi); fi 126 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c return (mip_off_hi & 0xFF) << 32 | le32_to_cpu(fi->mip_offset_lo); fi 2166 drivers/net/ethernet/rocker/rocker_main.c fib_info_put(fib_work->fen_info.fi); fi 2170 drivers/net/ethernet/rocker/rocker_main.c fib_info_put(fib_work->fen_info.fi); fi 2212 drivers/net/ethernet/rocker/rocker_main.c if (fen_info->fi->fib_nh_is_v6) { fi 2217 drivers/net/ethernet/rocker/rocker_main.c if (fen_info->fi->nh) { fi 2228 drivers/net/ethernet/rocker/rocker_main.c fib_info_hold(fib_work->fen_info.fi); fi 99 drivers/net/ethernet/rocker/rocker_ofdpa.c struct fib_info *fi; fi 974 drivers/net/ethernet/rocker/rocker_ofdpa.c u32 group_id, struct fib_info *fi, fi 992 drivers/net/ethernet/rocker/rocker_ofdpa.c entry->fi = fi; fi 2268 drivers/net/ethernet/rocker/rocker_ofdpa.c int dst_len, struct fib_info *fi, u32 tb_id, fi 2275 drivers/net/ethernet/rocker/rocker_ofdpa.c u32 priority = fi->fib_priority; fi 2286 drivers/net/ethernet/rocker/rocker_ofdpa.c nh = fib_info_nh(fi, 0); fi 2304 drivers/net/ethernet/rocker/rocker_ofdpa.c group_id, fi, flags); fi 2742 drivers/net/ethernet/rocker/rocker_ofdpa.c nh = fib_info_nh(fen_info->fi, 0); fi 2747 drivers/net/ethernet/rocker/rocker_ofdpa.c fen_info->dst_len, fen_info->fi, fi 2764 drivers/net/ethernet/rocker/rocker_ofdpa.c nh = fib_info_nh(fen_info->fi, 0); fi 2770 drivers/net/ethernet/rocker/rocker_ofdpa.c fen_info->dst_len, fen_info->fi, fi 2793 drivers/net/ethernet/rocker/rocker_ofdpa.c nh = fib_info_nh(flow_entry->fi, 0); fi 167 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(skb); fi 168 drivers/net/wireless/ath/ath9k/xmit.c int q = fi->txq; fi 197 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi; fi 212 drivers/net/wireless/ath/ath9k/xmit.c fi = get_frame_info(skb); fi 213 drivers/net/wireless/ath/ath9k/xmit.c fi->txq = q; fi 239 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi; fi 247 drivers/net/wireless/ath/ath9k/xmit.c fi = get_frame_info(skb); fi 248 drivers/net/wireless/ath/ath9k/xmit.c bf = fi->bf; fi 255 drivers/net/wireless/ath/ath9k/xmit.c if (fi->baw_tracked) { fi 274 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(bf->bf_mpdu); fi 278 drivers/net/wireless/ath/ath9k/xmit.c if (!fi->baw_tracked) fi 297 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(bf->bf_mpdu); fi 301 drivers/net/wireless/ath/ath9k/xmit.c if (fi->baw_tracked) fi 307 drivers/net/wireless/ath/ath9k/xmit.c fi->baw_tracked = 1; fi 324 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi; fi 331 drivers/net/wireless/ath/ath9k/xmit.c fi = get_frame_info(skb); fi 332 drivers/net/wireless/ath/ath9k/xmit.c bf = fi->bf; fi 347 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(skb); fi 348 drivers/net/wireless/ath/ath9k/xmit.c struct ath_buf *bf = fi->bf; fi 350 drivers/net/wireless/ath/ath9k/xmit.c int prev = fi->retries; fi 353 drivers/net/wireless/ath/ath9k/xmit.c fi->retries += count; fi 456 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi; fi 532 drivers/net/wireless/ath/ath9k/xmit.c fi = get_frame_info(skb); fi 550 drivers/net/wireless/ath/ath9k/xmit.c } else if (fi->retries < ATH_MAX_SW_RETRIES) { fi 616 drivers/net/wireless/ath/ath9k/xmit.c fi->bf = tbf; fi 832 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(bf->bf_mpdu); fi 843 drivers/net/wireless/ath/ath9k/xmit.c if ((fi->keyix != ATH9K_TXKEYIX_INVALID) && fi 898 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi; fi 909 drivers/net/wireless/ath/ath9k/xmit.c fi = get_frame_info(skb); fi 910 drivers/net/wireless/ath/ath9k/xmit.c bf = fi->bf; fi 911 drivers/net/wireless/ath/ath9k/xmit.c if (!fi->bf) fi 993 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi; fi 1003 drivers/net/wireless/ath/ath9k/xmit.c fi = get_frame_info(skb); fi 1006 drivers/net/wireless/ath/ath9k/xmit.c al_delta = ATH_AGGR_DELIM_SZ + fi->framelen; fi 1025 drivers/net/wireless/ath/ath9k/xmit.c ndelim = ath_compute_num_delims(sc, tid, bf_first, fi->framelen, fi 1135 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi; fi 1143 drivers/net/wireless/ath/ath9k/xmit.c fi = get_frame_info(skb); fi 1147 drivers/net/wireless/ath/ath9k/xmit.c int txpower = fi->tx_power; fi 1193 drivers/net/wireless/ath/ath9k/xmit.c fi->tx_power); fi 1196 drivers/net/wireless/ath/ath9k/xmit.c fi->tx_power); fi 1214 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(bf->bf_mpdu); fi 1226 drivers/net/wireless/ath/ath9k/xmit.c info->rtscts_rate = fi->rtscts_rate; fi 1359 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(skb); fi 1403 drivers/net/wireless/ath/ath9k/xmit.c len = fi->framelen; fi 1410 drivers/net/wireless/ath/ath9k/xmit.c info.pkt_len = fi->framelen; fi 1411 drivers/net/wireless/ath/ath9k/xmit.c info.keyix = fi->keyix; fi 1412 drivers/net/wireless/ath/ath9k/xmit.c info.keytype = fi->keytype; fi 2047 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(skb); fi 2049 drivers/net/wireless/ath/ath9k/xmit.c struct ath_buf *bf = fi->bf; fi 2061 drivers/net/wireless/ath/ath9k/xmit.c ath_tx_fill_desc(sc, bf, txq, fi->framelen); fi 2075 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(skb); fi 2106 drivers/net/wireless/ath/ath9k/xmit.c memset(fi, 0, sizeof(*fi)); fi 2107 drivers/net/wireless/ath/ath9k/xmit.c fi->txq = -1; fi 2109 drivers/net/wireless/ath/ath9k/xmit.c fi->keyix = hw_key->hw_key_idx; fi 2111 drivers/net/wireless/ath/ath9k/xmit.c fi->keyix = an->ps_key; fi 2113 drivers/net/wireless/ath/ath9k/xmit.c fi->keyix = ATH9K_TXKEYIX_INVALID; fi 2114 drivers/net/wireless/ath/ath9k/xmit.c fi->keytype = keytype; fi 2115 drivers/net/wireless/ath/ath9k/xmit.c fi->framelen = framelen; fi 2116 drivers/net/wireless/ath/ath9k/xmit.c fi->tx_power = txpower; fi 2120 drivers/net/wireless/ath/ath9k/xmit.c fi->rtscts_rate = rate->hw_value; fi 2122 drivers/net/wireless/ath/ath9k/xmit.c fi->rtscts_rate |= rate->hw_value_short; fi 2150 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(skb); fi 2191 drivers/net/wireless/ath/ath9k/xmit.c fi->bf = bf; fi 2271 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(skb); fi 2303 drivers/net/wireless/ath/ath9k/xmit.c fi->txq = q; fi 2350 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(skb); fi 2361 drivers/net/wireless/ath/ath9k/xmit.c ath_buf_set_rate(sc, bf, &info, fi->framelen, false); fi 2846 drivers/net/wireless/ath/ath9k/xmit.c struct ath_frame_info *fi = get_frame_info(skb); fi 2865 drivers/net/wireless/ath/ath9k/xmit.c fi->keyix = ATH9K_TXKEYIX_INVALID; fi 2866 drivers/net/wireless/ath/ath9k/xmit.c fi->framelen = skb->len + FCS_LEN; fi 2867 drivers/net/wireless/ath/ath9k/xmit.c fi->keytype = ATH9K_KEY_TYPE_CLEAR; fi 3535 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c u8 di0, dq0, ei, eq, fi, fq; fi 3553 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_get_radio_loft(pi, &ei, &eq, &fi, &fq); fi 3558 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_get_radio_loft(pi, &ei, &eq, &fi, &fq); fi 3559 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c cc.re = (u16) fi; fi 569 drivers/pci/switch/switchtec.c struct flash_info_regs __iomem *fi = stdev->mmio_flash_info; fi 571 drivers/pci/switch/switchtec.c info.flash_length = ioread32(&fi->flash_length); fi 591 drivers/pci/switch/switchtec.c struct flash_info_regs __iomem *fi = stdev->mmio_flash_info; fi 600 drivers/pci/switch/switchtec.c active_addr = ioread32(&fi->active_cfg); fi 601 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->cfg0); fi 606 drivers/pci/switch/switchtec.c active_addr = ioread32(&fi->active_cfg); fi 607 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->cfg1); fi 612 drivers/pci/switch/switchtec.c active_addr = ioread32(&fi->active_img); fi 613 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->img0); fi 618 drivers/pci/switch/switchtec.c active_addr = ioread32(&fi->active_img); fi 619 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->img1); fi 624 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->nvlog); fi 627 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->vendor[0]); fi 630 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->vendor[1]); fi 633 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->vendor[2]); fi 636 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->vendor[3]); fi 639 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->vendor[4]); fi 642 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->vendor[5]); fi 645 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->vendor[6]); fi 648 drivers/pci/switch/switchtec.c set_fw_info_part(&info, &fi->vendor[7]); fi 140 drivers/pinctrl/meson/pinctrl-meson.h #define BANK_DS(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib, \ fi 146 drivers/pinctrl/meson/pinctrl-meson.h .irq_first = fi, \ fi 158 drivers/pinctrl/meson/pinctrl-meson.h #define BANK(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib) \ fi 159 drivers/pinctrl/meson/pinctrl-meson.h BANK_DS(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib, 0, 0) fi 132 drivers/s390/net/ctcm_fsms.c static void ctcm_action_nop(fsm_instance *fi, int event, void *arg); fi 138 drivers/s390/net/ctcm_fsms.c static void chx_txdone(fsm_instance *fi, int event, void *arg); fi 139 drivers/s390/net/ctcm_fsms.c static void chx_rx(fsm_instance *fi, int event, void *arg); fi 140 drivers/s390/net/ctcm_fsms.c static void chx_rxidle(fsm_instance *fi, int event, void *arg); fi 141 drivers/s390/net/ctcm_fsms.c static void chx_firstio(fsm_instance *fi, int event, void *arg); fi 142 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_setmode(fsm_instance *fi, int event, void *arg); fi 143 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_start(fsm_instance *fi, int event, void *arg); fi 144 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_haltio(fsm_instance *fi, int event, void *arg); fi 145 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_stopped(fsm_instance *fi, int event, void *arg); fi 146 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_stop(fsm_instance *fi, int event, void *arg); fi 147 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_fail(fsm_instance *fi, int event, void *arg); fi 148 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_setuperr(fsm_instance *fi, int event, void *arg); fi 149 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_restart(fsm_instance *fi, int event, void *arg); fi 150 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_rxiniterr(fsm_instance *fi, int event, void *arg); fi 151 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_rxinitfail(fsm_instance *fi, int event, void *arg); fi 152 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_rxdisc(fsm_instance *fi, int event, void *arg); fi 153 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_txiniterr(fsm_instance *fi, int event, void *arg); fi 154 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_txretry(fsm_instance *fi, int event, void *arg); fi 155 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_iofatal(fsm_instance *fi, int event, void *arg); fi 161 drivers/s390/net/ctcm_fsms.c static void ctcmpc_chx_txdone(fsm_instance *fi, int event, void *arg); fi 162 drivers/s390/net/ctcm_fsms.c static void ctcmpc_chx_rx(fsm_instance *fi, int event, void *arg); fi 163 drivers/s390/net/ctcm_fsms.c static void ctcmpc_chx_firstio(fsm_instance *fi, int event, void *arg); fi 229 drivers/s390/net/ctcm_fsms.c static void ctcm_action_nop(fsm_instance *fi, int event, void *arg) fi 246 drivers/s390/net/ctcm_fsms.c static void chx_txdone(fsm_instance *fi, int event, void *arg) fi 320 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_TXIDLE); fi 334 drivers/s390/net/ctcm_fsms.c void ctcm_chx_txidle(fsm_instance *fi, int event, void *arg) fi 343 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_TXIDLE); fi 355 drivers/s390/net/ctcm_fsms.c static void chx_rx(fsm_instance *fi, int event, void *arg) fi 431 drivers/s390/net/ctcm_fsms.c static void chx_firstio(fsm_instance *fi, int event, void *arg) fi 435 drivers/s390/net/ctcm_fsms.c int fsmstate = fsm_getstate(fi); fi 456 drivers/s390/net/ctcm_fsms.c chx_rxidle(fi, event, arg); fi 460 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_TXIDLE); fi 477 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) fi 482 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_SETUPWAIT); fi 509 drivers/s390/net/ctcm_fsms.c static void chx_rxidle(fsm_instance *fi, int event, void *arg) fi 526 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_RXIDLE); fi 529 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_RXINIT); fi 537 drivers/s390/net/ctcm_fsms.c chx_firstio(fi, event, arg); fi 548 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_setmode(fsm_instance *fi, int event, void *arg) fi 562 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_SETUPWAIT); fi 575 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_STARTWAIT); fi 588 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_start(fsm_instance *fi, int event, void *arg) fi 632 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_STARTWAIT); fi 651 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_haltio(fsm_instance *fi, int event, void *arg) fi 668 drivers/s390/net/ctcm_fsms.c oldstate = fsm_getstate(fi); fi 669 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_TERM); fi 679 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, oldstate); fi 693 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_cleanup(fsm_instance *fi, int state, fi 707 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, state); fi 739 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_stopped(fsm_instance *fi, int event, void *arg) fi 741 drivers/s390/net/ctcm_fsms.c ctcm_chx_cleanup(fi, CTC_STATE_STOPPED, arg); fi 752 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_stop(fsm_instance *fi, int event, void *arg) fi 754 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_STOPPED); fi 766 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_fail(fsm_instance *fi, int event, void *arg) fi 768 drivers/s390/net/ctcm_fsms.c ctcm_chx_cleanup(fi, CTC_STATE_NOTOP, arg); fi 778 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_setuperr(fsm_instance *fi, int event, void *arg) fi 789 drivers/s390/net/ctcm_fsms.c if ((fsm_getstate(fi) == CTC_STATE_SETUPWAIT) && fi 792 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_STARTRETRY); fi 809 drivers/s390/net/ctcm_fsms.c fsm_getstate_str(fi)); fi 812 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_RXERR); fi 815 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_TXERR); fi 827 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_restart(fsm_instance *fi, int event, void *arg) fi 842 drivers/s390/net/ctcm_fsms.c oldstate = fsm_getstate(fi); fi 843 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_STARTWAIT); fi 855 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, oldstate); fi 869 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_rxiniterr(fsm_instance *fi, int event, void *arg) fi 880 drivers/s390/net/ctcm_fsms.c ctcm_chx_restart(fi, event, arg); fi 882 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_RXERR); fi 888 drivers/s390/net/ctcm_fsms.c ctc_ch_event_names[event], fsm_getstate_str(fi)); fi 904 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_rxinitfail(fsm_instance *fi, int event, void *arg) fi 913 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_RXERR); fi 924 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_rxdisc(fsm_instance *fi, int event, void *arg) fi 941 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_DTERM); fi 956 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_txiniterr(fsm_instance *fi, int event, void *arg) fi 965 drivers/s390/net/ctcm_fsms.c ctcm_chx_restart(fi, event, arg); fi 967 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_TXERR); fi 973 drivers/s390/net/ctcm_fsms.c ctc_ch_event_names[event], fsm_getstate_str(fi)); fi 988 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_txretry(fsm_instance *fi, int event, void *arg) fi 1008 drivers/s390/net/ctcm_fsms.c ctcm_chx_restart(fi, event, arg); fi 1026 drivers/s390/net/ctcm_fsms.c ctcm_chx_restart(fi, event, arg); fi 1060 drivers/s390/net/ctcm_fsms.c static void ctcm_chx_iofatal(fsm_instance *fi, int event, void *arg) fi 1077 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_RXERR); fi 1080 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_TXERR); fi 1210 drivers/s390/net/ctcm_fsms.c static void ctcmpc_chx_txdone(fsm_instance *fi, int event, void *arg) fi 1253 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_TXIDLE); fi 1379 drivers/s390/net/ctcm_fsms.c static void ctcmpc_chx_rx(fsm_instance *fi, int event, void *arg) fi 1480 drivers/s390/net/ctcm_fsms.c static void ctcmpc_chx_firstio(fsm_instance *fi, int event, void *arg) fi 1492 drivers/s390/net/ctcm_fsms.c CTCM_FUNTAIL, ch->id, fsm_getstate(fi), fi 1495 drivers/s390/net/ctcm_fsms.c if (fsm_getstate(fi) == CTC_STATE_TXIDLE) fi 1502 drivers/s390/net/ctcm_fsms.c switch (fsm_getstate(fi)) { fi 1506 drivers/s390/net/ctcm_fsms.c ctcmpc_chx_rxidle(fi, event, arg); fi 1508 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_TXIDLE); fi 1516 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) fi 1534 drivers/s390/net/ctcm_fsms.c void ctcmpc_chx_rxidle(fsm_instance *fi, int event, void *arg) fi 1546 drivers/s390/net/ctcm_fsms.c fsm_getstate(fi), fsm_getstate(grp->fsm)); fi 1548 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_RXIDLE); fi 1569 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, CTC_STATE_RXINIT); fi 2059 drivers/s390/net/ctcm_fsms.c static void dev_action_start(fsm_instance *fi, int event, void *arg) fi 2068 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STARTWAIT_RXTX); fi 2084 drivers/s390/net/ctcm_fsms.c static void dev_action_stop(fsm_instance *fi, int event, void *arg) fi 2092 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STOPWAIT_RXTX); fi 2104 drivers/s390/net/ctcm_fsms.c static void dev_action_restart(fsm_instance *fi, int event, void *arg) fi 2119 drivers/s390/net/ctcm_fsms.c dev_action_stop(fi, event, arg); fi 2139 drivers/s390/net/ctcm_fsms.c static void dev_action_chup(fsm_instance *fi, int event, void *arg) fi 2143 drivers/s390/net/ctcm_fsms.c int dev_stat = fsm_getstate(fi); fi 2149 drivers/s390/net/ctcm_fsms.c switch (fsm_getstate(fi)) { fi 2152 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STARTWAIT_TX); fi 2154 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STARTWAIT_RX); fi 2158 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_RUNNING); fi 2166 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_RUNNING); fi 2174 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STOPWAIT_RXTX); fi 2178 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STOPWAIT_RXTX); fi 2200 drivers/s390/net/ctcm_fsms.c static void dev_action_chdown(fsm_instance *fi, int event, void *arg) fi 2208 drivers/s390/net/ctcm_fsms.c switch (fsm_getstate(fi)) { fi 2211 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STARTWAIT_TX); fi 2213 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STARTWAIT_RX); fi 2217 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STARTWAIT_RXTX); fi 2221 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STARTWAIT_RXTX); fi 2225 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STOPWAIT_RX); fi 2227 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STOPWAIT_TX); fi 2231 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STOPPED); fi 2235 drivers/s390/net/ctcm_fsms.c fsm_newstate(fi, DEV_STATE_STOPPED); fi 162 drivers/s390/net/ctcm_fsms.h void fsm_action_nop(fsm_instance *fi, int event, void *arg); fi 168 drivers/s390/net/ctcm_fsms.h void ctcm_chx_txidle(fsm_instance *fi, int event, void *arg); fi 184 drivers/s390/net/ctcm_fsms.h void ctcmpc_chx_rxidle(fsm_instance *fi, int event, void *arg); fi 114 drivers/s390/net/ctcm_mpc.c static void mpc_action_go_inop(fsm_instance *fi, int event, void *arg); fi 115 drivers/s390/net/ctcm_mpc.c static void mpc_action_timeout(fsm_instance *fi, int event, void *arg); fi 1340 drivers/s390/net/ctcm_mpc.c static void mpc_action_nop(fsm_instance *fi, int event, void *arg) fi 1350 drivers/s390/net/ctcm_mpc.c static void mpc_action_go_inop(fsm_instance *fi, int event, void *arg) fi 1452 drivers/s390/net/ctcm_mpc.c static void mpc_action_timeout(fsm_instance *fi, int event, void *arg) fi 1488 drivers/s390/net/ctcm_mpc.c void mpc_action_discontact(fsm_instance *fi, int event, void *arg) fi 236 drivers/s390/net/ctcm_mpc.h void mpc_action_discontact(fsm_instance *fi, int event, void *arg); fi 88 drivers/s390/net/fsm.c fsm_print_history(fsm_instance *fi) fi 93 drivers/s390/net/fsm.c if (fi->history_size >= FSM_HISTORY_SIZE) fi 94 drivers/s390/net/fsm.c idx = fi->history_index; fi 96 drivers/s390/net/fsm.c printk(KERN_DEBUG "fsm(%s): History:\n", fi->name); fi 97 drivers/s390/net/fsm.c for (i = 0; i < fi->history_size; i++) { fi 98 drivers/s390/net/fsm.c int e = fi->history[idx].event; fi 99 drivers/s390/net/fsm.c int s = fi->history[idx++].state; fi 103 drivers/s390/net/fsm.c fi->f->state_names[s]); fi 106 drivers/s390/net/fsm.c fi->f->state_names[s], fi 107 drivers/s390/net/fsm.c fi->f->event_names[e]); fi 109 drivers/s390/net/fsm.c fi->history_size = fi->history_index = 0; fi 113 drivers/s390/net/fsm.c fsm_record_history(fsm_instance *fi, int state, int event) fi 115 drivers/s390/net/fsm.c fi->history[fi->history_index].state = state; fi 116 drivers/s390/net/fsm.c fi->history[fi->history_index++].event = event; fi 117 drivers/s390/net/fsm.c fi->history_index %= FSM_HISTORY_SIZE; fi 118 drivers/s390/net/fsm.c if (fi->history_size < FSM_HISTORY_SIZE) fi 119 drivers/s390/net/fsm.c fi->history_size++; fi 124 drivers/s390/net/fsm.c fsm_getstate_str(fsm_instance *fi) fi 126 drivers/s390/net/fsm.c int st = atomic_read(&fi->state); fi 127 drivers/s390/net/fsm.c if (st >= fi->f->nr_states) fi 129 drivers/s390/net/fsm.c return fi->f->state_names[st]; fi 138 drivers/s390/net/fsm.c this->fi->name, this); fi 140 drivers/s390/net/fsm.c fsm_event(this->fi, this->expire_event, this->event_arg); fi 144 drivers/s390/net/fsm.c fsm_settimer(fsm_instance *fi, fsm_timer *this) fi 146 drivers/s390/net/fsm.c this->fi = fi; fi 148 drivers/s390/net/fsm.c printk(KERN_DEBUG "fsm(%s): Create timer %p\n", fi->name, fi 158 drivers/s390/net/fsm.c printk(KERN_DEBUG "fsm(%s): Delete timer %p\n", this->fi->name, fi 170 drivers/s390/net/fsm.c this->fi->name, this, millisec); fi 188 drivers/s390/net/fsm.c this->fi->name, this, millisec); fi 91 drivers/s390/net/fsm.h fsm_instance *fi; fi 120 drivers/s390/net/fsm.h extern void kfree_fsm(fsm_instance *fi); fi 124 drivers/s390/net/fsm.h fsm_print_history(fsm_instance *fi); fi 127 drivers/s390/net/fsm.h fsm_record_history(fsm_instance *fi, int state, int event); fi 144 drivers/s390/net/fsm.h fsm_event(fsm_instance *fi, int event, void *arg) fi 147 drivers/s390/net/fsm.h int state = atomic_read(&fi->state); fi 149 drivers/s390/net/fsm.h if ((state >= fi->f->nr_states) || fi 150 drivers/s390/net/fsm.h (event >= fi->f->nr_events) ) { fi 152 drivers/s390/net/fsm.h fi->name, (long)state,(long)fi->f->nr_states, event, fi 153 drivers/s390/net/fsm.h (long)fi->f->nr_events); fi 155 drivers/s390/net/fsm.h fsm_print_history(fi); fi 159 drivers/s390/net/fsm.h r = fi->f->jumpmatrix[fi->f->nr_states * event + state]; fi 163 drivers/s390/net/fsm.h fi->name, fi->f->state_names[state], fi 164 drivers/s390/net/fsm.h fi->f->event_names[event]); fi 167 drivers/s390/net/fsm.h fsm_record_history(fi, state, event); fi 169 drivers/s390/net/fsm.h r(fi, event, arg); fi 174 drivers/s390/net/fsm.h fi->name, fi->f->event_names[event], fi 175 drivers/s390/net/fsm.h fi->f->state_names[state]); fi 178 drivers/s390/net/fsm.h fsm_print_history(fi); fi 192 drivers/s390/net/fsm.h fsm_newstate(fsm_instance *fi, int newstate) fi 194 drivers/s390/net/fsm.h atomic_set(&fi->state,newstate); fi 196 drivers/s390/net/fsm.h fsm_record_history(fi, newstate, -1); fi 199 drivers/s390/net/fsm.h printk(KERN_DEBUG "fsm(%s): New state %s\n", fi->name, fi 200 drivers/s390/net/fsm.h fi->f->state_names[newstate]); fi 202 drivers/s390/net/fsm.h wake_up(&fi->wait_q); fi 213 drivers/s390/net/fsm.h fsm_getstate(fsm_instance *fi) fi 215 drivers/s390/net/fsm.h return atomic_read(&fi->state); fi 225 drivers/s390/net/fsm.h extern const char *fsm_getstate_str(fsm_instance *fi); fi 234 drivers/s390/net/fsm.h extern void fsm_settimer(fsm_instance *fi, fsm_timer *); fi 598 drivers/s390/net/netiucv.c static void netiucv_action_nop(fsm_instance *fi, int event, void *arg) fi 669 drivers/s390/net/netiucv.c static void conn_action_rx(fsm_instance *fi, int event, void *arg) fi 705 drivers/s390/net/netiucv.c static void conn_action_txdone(fsm_instance *fi, int event, void *arg) fi 763 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_IDLE); fi 781 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_IDLE); fi 795 drivers/s390/net/netiucv.c static void conn_action_connaccept(fsm_instance *fi, int event, void *arg) fi 814 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_IDLE); fi 819 drivers/s390/net/netiucv.c static void conn_action_connreject(fsm_instance *fi, int event, void *arg) fi 828 drivers/s390/net/netiucv.c static void conn_action_connack(fsm_instance *fi, int event, void *arg) fi 836 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_IDLE); fi 841 drivers/s390/net/netiucv.c static void conn_action_conntimsev(fsm_instance *fi, int event, void *arg) fi 848 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_STARTWAIT); fi 851 drivers/s390/net/netiucv.c static void conn_action_connsever(fsm_instance *fi, int event, void *arg) fi 865 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_STARTWAIT); fi 869 drivers/s390/net/netiucv.c static void conn_action_start(fsm_instance *fi, int event, void *arg) fi 878 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_STARTWAIT); fi 886 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_SETUPWAIT); fi 903 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_STARTWAIT); fi 909 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_STARTWAIT); fi 915 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_CONNERR); fi 922 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_CONNERR); fi 928 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_CONNERR); fi 934 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_CONNERR); fi 952 drivers/s390/net/netiucv.c static void conn_action_stop(fsm_instance *fi, int event, void *arg) fi 962 drivers/s390/net/netiucv.c fsm_newstate(fi, CONN_STATE_STOPPED); fi 974 drivers/s390/net/netiucv.c static void conn_action_inval(fsm_instance *fi, int event, void *arg) fi 1030 drivers/s390/net/netiucv.c static void dev_action_start(fsm_instance *fi, int event, void *arg) fi 1037 drivers/s390/net/netiucv.c fsm_newstate(fi, DEV_STATE_STARTWAIT); fi 1049 drivers/s390/net/netiucv.c dev_action_stop(fsm_instance *fi, int event, void *arg) fi 1059 drivers/s390/net/netiucv.c fsm_newstate(fi, DEV_STATE_STOPWAIT); fi 1072 drivers/s390/net/netiucv.c dev_action_connup(fsm_instance *fi, int event, void *arg) fi 1079 drivers/s390/net/netiucv.c switch (fsm_getstate(fi)) { fi 1081 drivers/s390/net/netiucv.c fsm_newstate(fi, DEV_STATE_RUNNING); fi 1105 drivers/s390/net/netiucv.c dev_action_conndown(fsm_instance *fi, int event, void *arg) fi 1109 drivers/s390/net/netiucv.c switch (fsm_getstate(fi)) { fi 1111 drivers/s390/net/netiucv.c fsm_newstate(fi, DEV_STATE_STARTWAIT); fi 1114 drivers/s390/net/netiucv.c fsm_newstate(fi, DEV_STATE_STOPPED); fi 691 drivers/scsi/esas2r/esas2r.h struct esas2r_flash_img *fi; fi 1073 drivers/scsi/esas2r/esas2r.h bool esas2r_fm_api(struct esas2r_adapter *a, struct esas2r_flash_img *fi, fi 243 drivers/scsi/esas2r/esas2r_flash.c static void fix_bios(struct esas2r_adapter *a, struct esas2r_flash_img *fi) fi 245 drivers/scsi/esas2r/esas2r_flash.c struct esas2r_component_header *ch = &fi->cmp_hdr[CH_IT_BIOS]; fi 249 drivers/scsi/esas2r/esas2r_flash.c pi = (struct esas2r_pc_image *)((u8 *)fi + ch->image_offset); fi 275 drivers/scsi/esas2r/esas2r_flash.c static void fix_efi(struct esas2r_adapter *a, struct esas2r_flash_img *fi) fi 277 drivers/scsi/esas2r/esas2r_flash.c struct esas2r_component_header *ch = &fi->cmp_hdr[CH_IT_EFI]; fi 286 drivers/scsi/esas2r/esas2r_flash.c ei = (struct esas2r_efi_image *)((u8 *)fi + offset); fi 307 drivers/scsi/esas2r/esas2r_flash.c struct esas2r_flash_img *fi = fc->fi; fi 309 drivers/scsi/esas2r/esas2r_flash.c fi->status = fi_stat; fi 310 drivers/scsi/esas2r/esas2r_flash.c fi->driver_error = rq->req_stat; fi 328 drivers/scsi/esas2r/esas2r_flash.c struct esas2r_flash_img *fi = fc->fi; fi 344 drivers/scsi/esas2r/esas2r_flash.c ch = &fi->cmp_hdr[fc->comp_typ]; fi 347 drivers/scsi/esas2r/esas2r_flash.c q = (u8 *)fi /* start of the whole gob */ fi 369 drivers/scsi/esas2r/esas2r_flash.c ((u8 *)fc->scratch - (u8 *)fi); fi 379 drivers/scsi/esas2r/esas2r_flash.c ch = &fi->cmp_hdr[fc->comp_typ]; fi 384 drivers/scsi/esas2r/esas2r_flash.c ch = &fi->cmp_hdr[CH_IT_BIOS]; fi 409 drivers/scsi/esas2r/esas2r_flash.c (u8 *)fi); fi 421 drivers/scsi/esas2r/esas2r_flash.c ch = &fi->cmp_hdr[CH_IT_MAC]; fi 429 drivers/scsi/esas2r/esas2r_flash.c + fi->cmp_hdr[CH_IT_BIOS].length; fi 444 drivers/scsi/esas2r/esas2r_flash.c (u8 *)fi); fi 456 drivers/scsi/esas2r/esas2r_flash.c ch = &fi->cmp_hdr[CH_IT_EFI]; fi 464 drivers/scsi/esas2r/esas2r_flash.c + fi->cmp_hdr[CH_IT_BIOS].length fi 465 drivers/scsi/esas2r/esas2r_flash.c + fi->cmp_hdr[CH_IT_MAC].length; fi 480 drivers/scsi/esas2r/esas2r_flash.c (u8 *)fi); fi 492 drivers/scsi/esas2r/esas2r_flash.c ch = &fi->cmp_hdr[CH_IT_CFG]; fi 514 drivers/scsi/esas2r/esas2r_flash.c (u8 *)fi); fi 532 drivers/scsi/esas2r/esas2r_flash.c a->flash_ver = fi->cmp_hdr[CH_IT_BIOS].version; fi 536 drivers/scsi/esas2r/esas2r_flash.c memcpy(a->image_type, fi->rel_version, fi 537 drivers/scsi/esas2r/esas2r_flash.c sizeof(fi->rel_version)); fi 551 drivers/scsi/esas2r/esas2r_flash.c if (fc->comp_typ < fi->num_comps) { fi 552 drivers/scsi/esas2r/esas2r_flash.c ch = &fi->cmp_hdr[fc->comp_typ]; fi 666 drivers/scsi/esas2r/esas2r_flash.c struct esas2r_flash_img *fi = fc->fi; fi 671 drivers/scsi/esas2r/esas2r_flash.c for (len = (fi->length - fc->fi_hdr_len) / 2, fi 672 drivers/scsi/esas2r/esas2r_flash.c pw = (u16 *)((u8 *)fi + fc->fi_hdr_len), fi 695 drivers/scsi/esas2r/esas2r_flash.c struct esas2r_flash_img *fi = fc->fi; fi 703 drivers/scsi/esas2r/esas2r_flash.c len = fi->length; fi 707 drivers/scsi/esas2r/esas2r_flash.c fi->status = FI_STAT_LENGTH; fi 713 drivers/scsi/esas2r/esas2r_flash.c if ((type == FI_AT_UNKNWN) || (fi->adap_typ != type)) { fi 714 drivers/scsi/esas2r/esas2r_flash.c fi->status = FI_STAT_ADAPTYP; fi 725 drivers/scsi/esas2r/esas2r_flash.c for (i = 0, len = 0, ch = fi->cmp_hdr; fi 726 drivers/scsi/esas2r/esas2r_flash.c i < fi->num_comps; fi 770 drivers/scsi/esas2r/esas2r_flash.c if (chk_boot((u8 *)fi + ch->image_offset, ch->length) fi 785 drivers/scsi/esas2r/esas2r_flash.c if (!chk_cfg((u8 *)fi + ch->image_offset + ch->length, fi 793 drivers/scsi/esas2r/esas2r_flash.c fi->status = FI_STAT_UNKNOWN; fi 807 drivers/scsi/esas2r/esas2r_flash.c fi->status = FI_STAT_MISSING; fi 812 drivers/scsi/esas2r/esas2r_flash.c if (len != fi->length - fc->fi_hdr_len) { fi 813 drivers/scsi/esas2r/esas2r_flash.c fi->status = FI_STAT_LENGTH; fi 818 drivers/scsi/esas2r/esas2r_flash.c if (fi->checksum != calc_fi_checksum(fc)) { fi 819 drivers/scsi/esas2r/esas2r_flash.c fi->status = FI_STAT_CHKSUM; fi 1390 drivers/scsi/esas2r/esas2r_flash.c bool esas2r_fm_api(struct esas2r_adapter *a, struct esas2r_flash_img *fi, fi 1399 drivers/scsi/esas2r/esas2r_flash.c fi->status = FI_STAT_BUSY; fi 1405 drivers/scsi/esas2r/esas2r_flash.c fc->fi = fi; fi 1410 drivers/scsi/esas2r/esas2r_flash.c switch (fi->fi_version) { fi 1412 drivers/scsi/esas2r/esas2r_flash.c fc->scratch = ((struct esas2r_flash_img *)fi)->scratch_buf; fi 1424 drivers/scsi/esas2r/esas2r_flash.c switch (fi->action) { fi 1428 drivers/scsi/esas2r/esas2r_flash.c return complete_fmapi_req(a, rq, fi->status); fi 1431 drivers/scsi/esas2r/esas2r_flash.c ch = &fi->cmp_hdr[CH_IT_BIOS]; fi 1434 drivers/scsi/esas2r/esas2r_flash.c fix_bios(a, fi); fi 1437 drivers/scsi/esas2r/esas2r_flash.c ch = &fi->cmp_hdr[CH_IT_EFI]; fi 1440 drivers/scsi/esas2r/esas2r_flash.c fix_efi(a, fi); fi 1447 drivers/scsi/esas2r/esas2r_flash.c fi->checksum = calc_fi_checksum(fc); fi 1465 drivers/scsi/esas2r/esas2r_flash.c fi->adap_typ = get_fi_adap_type(a); fi 1466 drivers/scsi/esas2r/esas2r_flash.c fi->flags = 0; fi 1467 drivers/scsi/esas2r/esas2r_flash.c fi->num_comps = fc->num_comps; fi 1468 drivers/scsi/esas2r/esas2r_flash.c fi->length = fc->fi_hdr_len; fi 1471 drivers/scsi/esas2r/esas2r_flash.c memcpy(fi->rel_version, a->image_type, fi 1472 drivers/scsi/esas2r/esas2r_flash.c sizeof(fi->rel_version)); fi 1475 drivers/scsi/esas2r/esas2r_flash.c for (j = 0, ch = fi->cmp_hdr; fi 1476 drivers/scsi/esas2r/esas2r_flash.c j < fi->num_comps; fi 1488 drivers/scsi/esas2r/esas2r_flash.c fi->cmp_hdr[CH_IT_BIOS].version = fi 1489 drivers/scsi/esas2r/esas2r_flash.c fi->cmp_hdr[CH_IT_MAC].version = fi 1490 drivers/scsi/esas2r/esas2r_flash.c fi->cmp_hdr[CH_IT_EFI].version = fi 1491 drivers/scsi/esas2r/esas2r_flash.c fi->cmp_hdr[CH_IT_CFG].version fi 1494 drivers/scsi/esas2r/esas2r_flash.c fi->cmp_hdr[CH_IT_BIOS].status = fi 1495 drivers/scsi/esas2r/esas2r_flash.c fi->cmp_hdr[CH_IT_MAC].status = fi 1496 drivers/scsi/esas2r/esas2r_flash.c fi->cmp_hdr[CH_IT_EFI].status = fi 1497 drivers/scsi/esas2r/esas2r_flash.c fi->cmp_hdr[CH_IT_CFG].status = fi 109 drivers/scsi/esas2r/esas2r_ioctl.c static void do_fm_api(struct esas2r_adapter *a, struct esas2r_flash_img *fi) fi 114 drivers/scsi/esas2r/esas2r_ioctl.c fi->status = FI_STAT_BUSY; fi 120 drivers/scsi/esas2r/esas2r_ioctl.c fi->status = FI_STAT_BUSY; fi 124 drivers/scsi/esas2r/esas2r_ioctl.c if (fi == &a->firmware.header) { fi 136 drivers/scsi/esas2r/esas2r_ioctl.c fi->status = FI_STAT_BUSY; fi 140 drivers/scsi/esas2r/esas2r_ioctl.c memcpy(a->firmware.header_buff, fi, fi 146 drivers/scsi/esas2r/esas2r_ioctl.c a->save_offset = (u8 *)fi; fi 164 drivers/scsi/esas2r/esas2r_ioctl.c if (fi == &a->firmware.header) { fi 165 drivers/scsi/esas2r/esas2r_ioctl.c memcpy(fi, a->firmware.header_buff, fi 396 drivers/staging/media/imx/imx-ic-prp.c struct v4l2_subdev_frame_interval *fi) fi 400 drivers/staging/media/imx/imx-ic-prp.c if (fi->pad >= PRP_NUM_PADS) fi 404 drivers/staging/media/imx/imx-ic-prp.c fi->interval = priv->frame_interval; fi 411 drivers/staging/media/imx/imx-ic-prp.c struct v4l2_subdev_frame_interval *fi) fi 415 drivers/staging/media/imx/imx-ic-prp.c if (fi->pad >= PRP_NUM_PADS) fi 421 drivers/staging/media/imx/imx-ic-prp.c if (fi->interval.numerator == 0 || fi->interval.denominator == 0) fi 422 drivers/staging/media/imx/imx-ic-prp.c fi->interval = priv->frame_interval; fi 424 drivers/staging/media/imx/imx-ic-prp.c priv->frame_interval = fi->interval; fi 1208 drivers/staging/media/imx/imx-ic-prpencvf.c struct v4l2_subdev_frame_interval *fi) fi 1212 drivers/staging/media/imx/imx-ic-prpencvf.c if (fi->pad >= PRPENCVF_NUM_PADS) fi 1216 drivers/staging/media/imx/imx-ic-prpencvf.c fi->interval = priv->frame_interval; fi 1223 drivers/staging/media/imx/imx-ic-prpencvf.c struct v4l2_subdev_frame_interval *fi) fi 1227 drivers/staging/media/imx/imx-ic-prpencvf.c if (fi->pad >= PRPENCVF_NUM_PADS) fi 1233 drivers/staging/media/imx/imx-ic-prpencvf.c if (fi->interval.numerator == 0 || fi->interval.denominator == 0) fi 1234 drivers/staging/media/imx/imx-ic-prpencvf.c fi->interval = priv->frame_interval; fi 1236 drivers/staging/media/imx/imx-ic-prpencvf.c priv->frame_interval = fi->interval; fi 365 drivers/staging/media/imx/imx-media-capture.c struct v4l2_subdev_frame_interval fi; fi 371 drivers/staging/media/imx/imx-media-capture.c memset(&fi, 0, sizeof(fi)); fi 372 drivers/staging/media/imx/imx-media-capture.c fi.pad = priv->src_sd_pad; fi 373 drivers/staging/media/imx/imx-media-capture.c ret = v4l2_subdev_call(priv->src_sd, video, g_frame_interval, &fi); fi 378 drivers/staging/media/imx/imx-media-capture.c a->parm.capture.timeperframe = fi.interval; fi 387 drivers/staging/media/imx/imx-media-capture.c struct v4l2_subdev_frame_interval fi; fi 393 drivers/staging/media/imx/imx-media-capture.c memset(&fi, 0, sizeof(fi)); fi 394 drivers/staging/media/imx/imx-media-capture.c fi.pad = priv->src_sd_pad; fi 395 drivers/staging/media/imx/imx-media-capture.c fi.interval = a->parm.capture.timeperframe; fi 396 drivers/staging/media/imx/imx-media-capture.c ret = v4l2_subdev_call(priv->src_sd, video, s_frame_interval, &fi); fi 401 drivers/staging/media/imx/imx-media-capture.c a->parm.capture.timeperframe = fi.interval; fi 905 drivers/staging/media/imx/imx-media-csi.c struct v4l2_subdev_frame_interval *fi) fi 909 drivers/staging/media/imx/imx-media-csi.c if (fi->pad >= CSI_NUM_PADS) fi 914 drivers/staging/media/imx/imx-media-csi.c fi->interval = priv->frame_interval[fi->pad]; fi 922 drivers/staging/media/imx/imx-media-csi.c struct v4l2_subdev_frame_interval *fi) fi 932 drivers/staging/media/imx/imx-media-csi.c switch (fi->pad) { fi 935 drivers/staging/media/imx/imx-media-csi.c if (fi->interval.numerator == 0 || fi 936 drivers/staging/media/imx/imx-media-csi.c fi->interval.denominator == 0) fi 937 drivers/staging/media/imx/imx-media-csi.c fi->interval = *input_fi; fi 939 drivers/staging/media/imx/imx-media-csi.c priv->frame_interval[CSI_SRC_PAD_IDMAC] = fi->interval; fi 940 drivers/staging/media/imx/imx-media-csi.c priv->frame_interval[CSI_SRC_PAD_DIRECT] = fi->interval; fi 948 drivers/staging/media/imx/imx-media-csi.c priv->skip = csi_find_best_skip(input_fi, &fi->interval); fi 955 drivers/staging/media/imx/imx-media-csi.c fi->interval = *input_fi; fi 962 drivers/staging/media/imx/imx-media-csi.c priv->frame_interval[fi->pad] = fi->interval; fi 74 drivers/staging/media/imx/imx-media-fim.c const struct v4l2_fract *fi) fi 76 drivers/staging/media/imx/imx-media-fim.c if (fi->denominator == 0) { fi 82 drivers/staging/media/imx/imx-media-fim.c fim->nominal = DIV_ROUND_CLOSEST_ULL(1000000ULL * (u64)fi->numerator, fi 83 drivers/staging/media/imx/imx-media-fim.c fi->denominator); fi 420 drivers/staging/media/imx/imx-media-fim.c const struct v4l2_fract *fi, fi 434 drivers/staging/media/imx/imx-media-fim.c update_fim_nominal(fim, fi); fi 782 drivers/staging/media/imx/imx-media-vdic.c struct v4l2_subdev_frame_interval *fi) fi 786 drivers/staging/media/imx/imx-media-vdic.c if (fi->pad >= VDIC_NUM_PADS) fi 791 drivers/staging/media/imx/imx-media-vdic.c fi->interval = priv->frame_interval[fi->pad]; fi 799 drivers/staging/media/imx/imx-media-vdic.c struct v4l2_subdev_frame_interval *fi) fi 810 drivers/staging/media/imx/imx-media-vdic.c switch (fi->pad) { fi 814 drivers/staging/media/imx/imx-media-vdic.c if (fi->interval.numerator == 0 || fi 815 drivers/staging/media/imx/imx-media-vdic.c fi->interval.denominator == 0) fi 816 drivers/staging/media/imx/imx-media-vdic.c fi->interval = priv->frame_interval[fi->pad]; fi 818 drivers/staging/media/imx/imx-media-vdic.c *output_fi = fi->interval; fi 829 drivers/staging/media/imx/imx-media-vdic.c fi->interval = *input_fi; fi 831 drivers/staging/media/imx/imx-media-vdic.c fi->interval.denominator *= 2; fi 838 drivers/staging/media/imx/imx-media-vdic.c priv->frame_interval[fi->pad] = fi->interval; fi 376 drivers/usb/gadget/configfs.c struct usb_function_instance *fi = container_of(group, fi 389 drivers/usb/gadget/configfs.c if (a_fi == fi) fi 392 drivers/usb/gadget/configfs.c if (a_fi != fi) { fi 398 drivers/usb/gadget/configfs.c if (f->fi == fi) { fi 404 drivers/usb/gadget/configfs.c f = usb_get_function(fi); fi 427 drivers/usb/gadget/configfs.c struct usb_function_instance *fi = container_of(group, fi 443 drivers/usb/gadget/configfs.c if (f->fi == fi) { fi 538 drivers/usb/gadget/configfs.c struct usb_function_instance *fi; fi 557 drivers/usb/gadget/configfs.c fi = usb_get_function_instance(func_name); fi 558 drivers/usb/gadget/configfs.c if (IS_ERR(fi)) fi 559 drivers/usb/gadget/configfs.c return ERR_CAST(fi); fi 561 drivers/usb/gadget/configfs.c ret = config_item_set_name(&fi->group.cg_item, "%s", name); fi 563 drivers/usb/gadget/configfs.c usb_put_function_instance(fi); fi 566 drivers/usb/gadget/configfs.c if (fi->set_inst_name) { fi 567 drivers/usb/gadget/configfs.c ret = fi->set_inst_name(fi, instance_name); fi 569 drivers/usb/gadget/configfs.c usb_put_function_instance(fi); fi 577 drivers/usb/gadget/configfs.c list_add_tail(&fi->cfs_list, &gi->available_func); fi 579 drivers/usb/gadget/configfs.c return &fi->group; fi 586 drivers/usb/gadget/configfs.c struct usb_function_instance *fi = to_usb_function_instance(item); fi 592 drivers/usb/gadget/configfs.c list_del(&fi->cfs_list); fi 726 drivers/usb/gadget/function/f_acm.c static struct usb_function *acm_alloc_func(struct usb_function_instance *fi) fi 749 drivers/usb/gadget/function/f_acm.c opts = container_of(fi, struct f_serial_opts, func_inst); fi 792 drivers/usb/gadget/function/f_acm.c static void acm_free_instance(struct usb_function_instance *fi) fi 796 drivers/usb/gadget/function/f_acm.c opts = container_of(fi, struct f_serial_opts, func_inst); fi 696 drivers/usb/gadget/function/f_ecm.c ecm_opts = container_of(f->fi, struct f_ecm_opts, func_inst); fi 898 drivers/usb/gadget/function/f_ecm.c opts = container_of(f->fi, struct f_ecm_opts, func_inst); fi 922 drivers/usb/gadget/function/f_ecm.c static struct usb_function *ecm_alloc(struct usb_function_instance *fi) fi 933 drivers/usb/gadget/function/f_ecm.c opts = container_of(fi, struct f_ecm_opts, func_inst); fi 250 drivers/usb/gadget/function/f_eem.c eem_opts = container_of(f->fi, struct f_eem_opts, func_inst); fi 598 drivers/usb/gadget/function/f_eem.c opts = container_of(f->fi, struct f_eem_opts, func_inst); fi 612 drivers/usb/gadget/function/f_eem.c static struct usb_function *eem_alloc(struct usb_function_instance *fi) fi 622 drivers/usb/gadget/function/f_eem.c opts = container_of(fi, struct f_eem_opts, func_inst); fi 3048 drivers/usb/gadget/function/f_fs.c container_of(f->fi, struct f_fs_opts, func_inst); fi 3528 drivers/usb/gadget/function/f_fs.c static int ffs_set_inst_name(struct usb_function_instance *fi, const char *name) fi 3532 drivers/usb/gadget/function/f_fs.c return ffs_name_dev(to_f_fs_opts(fi)->dev, name); fi 3572 drivers/usb/gadget/function/f_fs.c container_of(f->fi, struct f_fs_opts, func_inst); fi 3609 drivers/usb/gadget/function/f_fs.c static struct usb_function *ffs_alloc(struct usb_function_instance *fi) fi 1067 drivers/usb/gadget/function/f_hid.c opts = container_of(f->fi, struct f_hid_opts, func_inst); fi 1085 drivers/usb/gadget/function/f_hid.c static struct usb_function *hidg_alloc(struct usb_function_instance *fi) fi 1095 drivers/usb/gadget/function/f_hid.c opts = container_of(fi, struct f_hid_opts, func_inst); fi 225 drivers/usb/gadget/function/f_loopback.c opts = container_of(f->fi, struct f_lb_opts, func_inst); fi 425 drivers/usb/gadget/function/f_loopback.c static struct usb_function *loopback_alloc(struct usb_function_instance *fi) fi 434 drivers/usb/gadget/function/f_loopback.c lb_opts = container_of(fi, struct f_lb_opts, func_inst); fi 561 drivers/usb/gadget/function/f_loopback.c static void lb_free_instance(struct usb_function_instance *fi) fi 565 drivers/usb/gadget/function/f_loopback.c lb_opts = container_of(fi, struct f_lb_opts, func_inst); fi 2912 drivers/usb/gadget/function/f_mass_storage.c opts = fsg_opts_from_func_inst(f->fi); fi 3336 drivers/usb/gadget/function/f_mass_storage.c static void fsg_free_inst(struct usb_function_instance *fi) fi 3340 drivers/usb/gadget/function/f_mass_storage.c opts = fsg_opts_from_func_inst(fi); fi 3401 drivers/usb/gadget/function/f_mass_storage.c opts = container_of(f->fi, struct fsg_opts, func_inst); fi 3410 drivers/usb/gadget/function/f_mass_storage.c static struct usb_function *fsg_alloc(struct usb_function_instance *fi) fi 3412 drivers/usb/gadget/function/f_mass_storage.c struct fsg_opts *opts = fsg_opts_from_func_inst(fi); fi 113 drivers/usb/gadget/function/f_mass_storage.h fsg_opts_from_func_inst(const struct usb_function_instance *fi) fi 115 drivers/usb/gadget/function/f_mass_storage.h return container_of(fi, struct fsg_opts, func_inst); fi 1250 drivers/usb/gadget/function/f_midi.c opts = container_of(f->fi, struct f_midi_opts, func_inst); fi 1288 drivers/usb/gadget/function/f_midi.c static struct usb_function *f_midi_alloc(struct usb_function_instance *fi) fi 1294 drivers/usb/gadget/function/f_midi.c opts = container_of(fi, struct f_midi_opts, func_inst); fi 1398 drivers/usb/gadget/function/f_ncm.c ncm_opts = container_of(f->fi, struct f_ncm_opts, func_inst); fi 1635 drivers/usb/gadget/function/f_ncm.c opts = container_of(f->fi, struct f_ncm_opts, func_inst); fi 1665 drivers/usb/gadget/function/f_ncm.c static struct usb_function *ncm_alloc(struct usb_function_instance *fi) fi 1676 drivers/usb/gadget/function/f_ncm.c opts = container_of(fi, struct f_ncm_opts, func_inst); fi 459 drivers/usb/gadget/function/f_obex.c static struct usb_function *obex_alloc(struct usb_function_instance *fi) fi 469 drivers/usb/gadget/function/f_obex.c opts = container_of(fi, struct f_serial_opts, func_inst); fi 488 drivers/usb/gadget/function/f_phonet.c phonet_opts = container_of(f->fi, struct f_phonet_opts, func_inst); fi 664 drivers/usb/gadget/function/f_phonet.c static struct usb_function *phonet_alloc(struct usb_function_instance *fi) fi 675 drivers/usb/gadget/function/f_phonet.c opts = container_of(fi, struct f_phonet_opts, func_inst); fi 1352 drivers/usb/gadget/function/f_printer.c opts = container_of(f->fi, struct f_printer_opts, func_inst); fi 1403 drivers/usb/gadget/function/f_printer.c static struct usb_function *gprinter_alloc(struct usb_function_instance *fi) fi 1408 drivers/usb/gadget/function/f_printer.c opts = container_of(fi, struct f_printer_opts, func_inst); fi 680 drivers/usb/gadget/function/f_rndis.c rndis_opts = container_of(f->fi, struct f_rndis_opts, func_inst); fi 961 drivers/usb/gadget/function/f_rndis.c opts = container_of(f->fi, struct f_rndis_opts, func_inst); fi 980 drivers/usb/gadget/function/f_rndis.c static struct usb_function *rndis_alloc(struct usb_function_instance *fi) fi 991 drivers/usb/gadget/function/f_rndis.c opts = container_of(fi, struct f_rndis_opts, func_inst); fi 330 drivers/usb/gadget/function/f_serial.c static struct usb_function *gser_alloc(struct usb_function_instance *fi) fi 340 drivers/usb/gadget/function/f_serial.c opts = container_of(fi, struct f_serial_opts, func_inst); fi 452 drivers/usb/gadget/function/f_sourcesink.c opts = container_of(f->fi, struct f_ss_opts, func_inst); fi 834 drivers/usb/gadget/function/f_sourcesink.c struct usb_function_instance *fi) fi 843 drivers/usb/gadget/function/f_sourcesink.c ss_opts = container_of(fi, struct f_ss_opts, func_inst); fi 1235 drivers/usb/gadget/function/f_sourcesink.c static void source_sink_free_instance(struct usb_function_instance *fi) fi 1239 drivers/usb/gadget/function/f_sourcesink.c ss_opts = container_of(fi, struct f_ss_opts, func_inst); fi 302 drivers/usb/gadget/function/f_subset.c gether_opts = container_of(f->fi, struct f_gether_opts, func_inst); fi 465 drivers/usb/gadget/function/f_subset.c static struct usb_function *geth_alloc(struct usb_function_instance *fi) fi 476 drivers/usb/gadget/function/f_subset.c opts = container_of(fi, struct f_gether_opts, func_inst); fi 1396 drivers/usb/gadget/function/f_tcm.c tpg->fi = tpg_instances[i].func_inst; fi 1997 drivers/usb/gadget/function/f_tcm.c opts = container_of(f->fi, struct f_tcm_opts, func_inst); fi 2201 drivers/usb/gadget/function/f_tcm.c struct usb_function_instance *f = tpg->fi; fi 2212 drivers/usb/gadget/function/f_tcm.c struct usb_function_instance *f = tpg->fi; fi 2279 drivers/usb/gadget/function/f_tcm.c static struct usb_function *tcm_alloc(struct usb_function_instance *fi) fi 2286 drivers/usb/gadget/function/f_tcm.c if (tpg_instances[i].func_inst == fi) fi 521 drivers/usb/gadget/function/f_uac1.c audio_opts = container_of(f->fi, struct f_uac1_opts, func_inst); fi 754 drivers/usb/gadget/function/f_uac1.c opts = container_of(f->fi, struct f_uac1_opts, func_inst); fi 771 drivers/usb/gadget/function/f_uac1.c static struct usb_function *f_audio_alloc(struct usb_function_instance *fi) fi 781 drivers/usb/gadget/function/f_uac1.c opts = container_of(fi, struct f_uac1_opts, func_inst); fi 330 drivers/usb/gadget/function/f_uac1_legacy.c opts = container_of(audio->card.func.fi, struct f_uac1_legacy_opts, fi 584 drivers/usb/gadget/function/f_uac1_legacy.c opts = container_of(f->fi, struct f_uac1_legacy_opts, func_inst); fi 707 drivers/usb/gadget/function/f_uac1_legacy.c audio_opts = container_of(f->fi, struct f_uac1_legacy_opts, func_inst); fi 970 drivers/usb/gadget/function/f_uac1_legacy.c opts = container_of(f->fi, struct f_uac1_legacy_opts, func_inst); fi 982 drivers/usb/gadget/function/f_uac1_legacy.c static struct usb_function *f_audio_alloc(struct usb_function_instance *fi) fi 994 drivers/usb/gadget/function/f_uac1_legacy.c opts = container_of(fi, struct f_uac1_legacy_opts, func_inst); fi 59 drivers/usb/gadget/function/f_uac2.c return container_of(agdev->func.fi, struct f_uac2_opts, func_inst); fi 604 drivers/usb/gadget/function/f_uac2.c uac2_opts = container_of(fn->fi, struct f_uac2_opts, func_inst); fi 1094 drivers/usb/gadget/function/f_uac2.c opts = container_of(f->fi, struct f_uac2_opts, func_inst); fi 1111 drivers/usb/gadget/function/f_uac2.c static struct usb_function *afunc_alloc(struct usb_function_instance *fi) fi 1120 drivers/usb/gadget/function/f_uac2.c opts = container_of(fi, struct f_uac2_opts, func_inst); fi 408 drivers/usb/gadget/function/f_uvc.c return sprintf(buf, "%s\n", uvc->func.fi->group.cg_item.ci_name); fi 598 drivers/usb/gadget/function/f_uvc.c opts = fi_to_f_uvc_opts(f->fi); fi 874 drivers/usb/gadget/function/f_uvc.c struct f_uvc_opts *opts = container_of(f->fi, struct f_uvc_opts, fi 897 drivers/usb/gadget/function/f_uvc.c static struct usb_function *uvc_alloc(struct usb_function_instance *fi) fi 909 drivers/usb/gadget/function/f_uvc.c opts = fi_to_f_uvc_opts(fi); fi 46 drivers/usb/gadget/function/tcm.h struct usb_function_instance *fi; fi 298 drivers/usb/gadget/function/u_fs.h static inline struct f_fs_opts *to_f_fs_opts(struct usb_function_instance *fi) fi 300 drivers/usb/gadget/function/u_fs.h return container_of(fi, struct f_fs_opts, func_inst); fi 203 drivers/usb/gadget/function/u_uac1_legacy.c opts = container_of(card->func.fi, struct f_uac1_legacy_opts, fi 15 drivers/usb/gadget/functions.c struct usb_function_instance *fi; fi 17 drivers/usb/gadget/functions.c fi = ERR_PTR(-ENOENT); fi 25 drivers/usb/gadget/functions.c fi = ERR_PTR(-EBUSY); fi 28 drivers/usb/gadget/functions.c fi = fd->alloc_inst(); fi 29 drivers/usb/gadget/functions.c if (IS_ERR(fi)) fi 32 drivers/usb/gadget/functions.c fi->fd = fd; fi 36 drivers/usb/gadget/functions.c return fi; fi 41 drivers/usb/gadget/functions.c struct usb_function_instance *fi; fi 44 drivers/usb/gadget/functions.c fi = try_get_usb_function_instance(name); fi 45 drivers/usb/gadget/functions.c if (!IS_ERR(fi)) fi 46 drivers/usb/gadget/functions.c return fi; fi 47 drivers/usb/gadget/functions.c ret = PTR_ERR(fi); fi 49 drivers/usb/gadget/functions.c return fi; fi 57 drivers/usb/gadget/functions.c struct usb_function *usb_get_function(struct usb_function_instance *fi) fi 61 drivers/usb/gadget/functions.c f = fi->fd->alloc_func(fi); fi 64 drivers/usb/gadget/functions.c f->fi = fi; fi 69 drivers/usb/gadget/functions.c void usb_put_function_instance(struct usb_function_instance *fi) fi 73 drivers/usb/gadget/functions.c if (!fi) fi 76 drivers/usb/gadget/functions.c mod = fi->fd->mod; fi 77 drivers/usb/gadget/functions.c fi->free_func_inst(fi); fi 31 drivers/usb/gadget/legacy/hid.c struct usb_function_instance *fi; fi 101 drivers/usb/gadget/legacy/hid.c e->f = usb_get_function(e->fi); fi 146 drivers/usb/gadget/legacy/hid.c n->fi = usb_get_function_instance("hid"); fi 147 drivers/usb/gadget/legacy/hid.c if (IS_ERR(n->fi)) { fi 148 drivers/usb/gadget/legacy/hid.c status = PTR_ERR(n->fi); fi 151 drivers/usb/gadget/legacy/hid.c hid_opts = container_of(n->fi, struct f_hid_opts, func_inst); fi 198 drivers/usb/gadget/legacy/hid.c usb_put_function_instance(m->fi); fi 209 drivers/usb/gadget/legacy/hid.c usb_put_function_instance(n->fi); fi 342 drivers/usb/host/isp1362.h #define FSMP(fi) (0x7fff & ((6 * ((fi) - 210)) / 7)) fi 690 drivers/usb/host/ohci.h #define FSMP(fi) (0x7fff & ((6 * ((fi) - 210)) / 7)) fi 696 drivers/usb/host/ohci.h u32 fi = ohci->fminterval & 0x03fff; fi 701 drivers/usb/host/ohci.h ohci_writel (ohci, ((9 * fi) / 10) & 0x3fff, fi 1526 drivers/usb/host/u132-hcd.c u32 fi = u132->hc_fminterval & 0x03fff; fi 1538 drivers/usb/host/u132-hcd.c ((9 * fi) / 10) & 0x3fff); fi 98 drivers/video/backlight/aat2870_bl.c static int aat2870_bl_check_fb(struct backlight_device *bd, struct fb_info *fi) fi 167 drivers/video/fbdev/clps711x-fb.c static int clps711x_lcd_check_fb(struct lcd_device *lcddev, struct fb_info *fi) fi 171 drivers/video/fbdev/clps711x-fb.c return (!fi || fi->par == cfb) ? 1 : 0; fi 724 drivers/video/fbdev/core/fbmem.c struct fb_info *fi = registered_fb[i]; fi 726 drivers/video/fbdev/core/fbmem.c if (fi) fi 727 drivers/video/fbdev/core/fbmem.c seq_printf(m, "%d %s\n", fi->node, fi->fix.id); fi 1484 drivers/video/fbdev/core/fbmem.c static int fb_check_foreignness(struct fb_info *fi) fi 1486 drivers/video/fbdev/core/fbmem.c const bool foreign_endian = fi->flags & FBINFO_FOREIGN_ENDIAN; fi 1488 drivers/video/fbdev/core/fbmem.c fi->flags &= ~FBINFO_FOREIGN_ENDIAN; fi 1491 drivers/video/fbdev/core/fbmem.c fi->flags |= foreign_endian ? 0 : FBINFO_BE_MATH; fi 1493 drivers/video/fbdev/core/fbmem.c fi->flags |= foreign_endian ? FBINFO_BE_MATH : 0; fi 1496 drivers/video/fbdev/core/fbmem.c if (fi->flags & FBINFO_BE_MATH && !fb_be_math(fi)) { fi 1498 drivers/video/fbdev/core/fbmem.c "support this framebuffer\n", fi->fix.id); fi 1500 drivers/video/fbdev/core/fbmem.c } else if (!(fi->flags & FBINFO_BE_MATH) && fb_be_math(fi)) { fi 1502 drivers/video/fbdev/core/fbmem.c "support this framebuffer\n", fi->fix.id); fi 757 drivers/video/fbdev/imxfb.c static int imxfb_lcd_check_fb(struct lcd_device *lcddev, struct fb_info *fi) fi 761 drivers/video/fbdev/imxfb.c if (!fi || fi->par == fbi) fi 806 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define VIDEO_FIFO(fi) ((fi) << 0) fi 808 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define GRAPHIC_FIFO(fi) ((fi) << 2) fi 839 drivers/video/fbdev/tridentfb.c unsigned long fi, d, di; fi 849 drivers/video/fbdev/tridentfb.c fi = ((14318l * (n + 8)) / (m + 2)) >> k; fi 850 drivers/video/fbdev/tridentfb.c di = abs(fi - freq); fi 857 drivers/video/fbdev/tridentfb.c if (fi > freq) fi 24 drivers/xen/features.c struct xen_feature_info fi; fi 28 drivers/xen/features.c fi.submap_idx = i; fi 29 drivers/xen/features.c if (HYPERVISOR_xen_version(XENVER_get_features, &fi) < 0) fi 32 drivers/xen/features.c xen_features[i * 32 + j] = !!(fi.submap & 1<<j); fi 28 fs/btrfs/backref.c const struct btrfs_file_extent_item *fi, fi 37 fs/btrfs/backref.c !btrfs_file_extent_compression(eb, fi) && fi 38 fs/btrfs/backref.c !btrfs_file_extent_encryption(eb, fi) && fi 39 fs/btrfs/backref.c !btrfs_file_extent_other_encoding(eb, fi)) { fi 43 fs/btrfs/backref.c data_offset = btrfs_file_extent_offset(eb, fi); fi 44 fs/btrfs/backref.c data_len = btrfs_file_extent_num_bytes(eb, fi); fi 81 fs/btrfs/backref.c struct btrfs_file_extent_item *fi; fi 97 fs/btrfs/backref.c fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); fi 98 fs/btrfs/backref.c extent_type = btrfs_file_extent_type(eb, fi); fi 102 fs/btrfs/backref.c disk_byte = btrfs_file_extent_disk_bytenr(eb, fi); fi 106 fs/btrfs/backref.c ret = check_extent_in_eb(&key, eb, fi, extent_item_pos, eie, ignore_offset); fi 422 fs/btrfs/backref.c struct btrfs_file_extent_item *fi; fi 458 fs/btrfs/backref.c fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); fi 459 fs/btrfs/backref.c disk_byte = btrfs_file_extent_disk_bytenr(eb, fi); fi 466 fs/btrfs/backref.c ret = check_extent_in_eb(&key, eb, fi, fi 4377 fs/btrfs/ctree.c struct btrfs_file_extent_item *fi; fi 4393 fs/btrfs/ctree.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 4395 fs/btrfs/ctree.c extent_len = btrfs_file_extent_num_bytes(leaf, fi); fi 4419 fs/btrfs/ctree.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 4421 fs/btrfs/ctree.c if (extent_len != btrfs_file_extent_num_bytes(leaf, fi)) fi 4637 fs/btrfs/ctree.c struct btrfs_file_extent_item *fi; fi 4639 fs/btrfs/ctree.c fi = btrfs_item_ptr(leaf, slot, fi 4641 fs/btrfs/ctree.c fi = (struct btrfs_file_extent_item *)( fi 4642 fs/btrfs/ctree.c (unsigned long)fi - size_diff); fi 4644 fs/btrfs/ctree.c if (btrfs_file_extent_type(leaf, fi) == fi 4648 fs/btrfs/ctree.c (unsigned long)fi, fi 2810 fs/btrfs/ctree.h struct btrfs_file_extent_item *fi, fi 2429 fs/btrfs/extent-tree.c struct btrfs_file_extent_item *fi; fi 2461 fs/btrfs/extent-tree.c fi = btrfs_item_ptr(buf, i, fi 2463 fs/btrfs/extent-tree.c if (btrfs_file_extent_type(buf, fi) == fi 2466 fs/btrfs/extent-tree.c bytenr = btrfs_file_extent_disk_bytenr(buf, fi); fi 2470 fs/btrfs/extent-tree.c num_bytes = btrfs_file_extent_disk_num_bytes(buf, fi); fi 2471 fs/btrfs/extent-tree.c key.offset -= btrfs_file_extent_offset(buf, fi); fi 938 fs/btrfs/file-item.c struct btrfs_file_extent_item *fi, fi 949 fs/btrfs/file-item.c u8 type = btrfs_file_extent_type(leaf, fi); fi 950 fs/btrfs/file-item.c int compress_type = btrfs_file_extent_compression(leaf, fi); fi 959 fs/btrfs/file-item.c btrfs_file_extent_num_bytes(leaf, fi); fi 962 fs/btrfs/file-item.c size = btrfs_file_extent_ram_bytes(leaf, fi); fi 967 fs/btrfs/file-item.c em->ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); fi 973 fs/btrfs/file-item.c btrfs_file_extent_offset(leaf, fi); fi 974 fs/btrfs/file-item.c em->orig_block_len = btrfs_file_extent_disk_num_bytes(leaf, fi); fi 975 fs/btrfs/file-item.c bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); fi 986 fs/btrfs/file-item.c bytenr += btrfs_file_extent_offset(leaf, fi); fi 757 fs/btrfs/file.c struct btrfs_file_extent_item *fi; fi 830 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 832 fs/btrfs/file.c extent_type = btrfs_file_extent_type(leaf, fi); fi 836 fs/btrfs/file.c disk_bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); fi 837 fs/btrfs/file.c num_bytes = btrfs_file_extent_disk_num_bytes(leaf, fi); fi 838 fs/btrfs/file.c extent_offset = btrfs_file_extent_offset(leaf, fi); fi 840 fs/btrfs/file.c btrfs_file_extent_num_bytes(leaf, fi); fi 843 fs/btrfs/file.c btrfs_file_extent_ram_bytes(leaf, fi); fi 899 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0] - 1, fi 901 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 904 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 908 fs/btrfs/file.c btrfs_set_file_extent_offset(leaf, fi, extent_offset); fi 909 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 947 fs/btrfs/file.c btrfs_set_file_extent_offset(leaf, fi, extent_offset); fi 948 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 968 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 1109 fs/btrfs/file.c struct btrfs_file_extent_item *fi; fi 1120 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); fi 1121 fs/btrfs/file.c if (btrfs_file_extent_type(leaf, fi) != BTRFS_FILE_EXTENT_REG || fi 1122 fs/btrfs/file.c btrfs_file_extent_disk_bytenr(leaf, fi) != bytenr || fi 1123 fs/btrfs/file.c btrfs_file_extent_offset(leaf, fi) != key.offset - orig_offset || fi 1124 fs/btrfs/file.c btrfs_file_extent_compression(leaf, fi) || fi 1125 fs/btrfs/file.c btrfs_file_extent_encryption(leaf, fi) || fi 1126 fs/btrfs/file.c btrfs_file_extent_other_encoding(leaf, fi)) fi 1129 fs/btrfs/file.c extent_end = key.offset + btrfs_file_extent_num_bytes(leaf, fi); fi 1152 fs/btrfs/file.c struct btrfs_file_extent_item *fi; fi 1193 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 1195 fs/btrfs/file.c if (btrfs_file_extent_type(leaf, fi) != BTRFS_FILE_EXTENT_PREALLOC) { fi 1200 fs/btrfs/file.c extent_end = key.offset + btrfs_file_extent_num_bytes(leaf, fi); fi 1207 fs/btrfs/file.c bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); fi 1208 fs/btrfs/file.c num_bytes = btrfs_file_extent_disk_num_bytes(leaf, fi); fi 1209 fs/btrfs/file.c orig_offset = key.offset - btrfs_file_extent_offset(leaf, fi); fi 1220 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 1222 fs/btrfs/file.c btrfs_set_file_extent_generation(leaf, fi, fi 1224 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 1226 fs/btrfs/file.c btrfs_set_file_extent_offset(leaf, fi, fi 1228 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0] - 1, fi 1230 fs/btrfs/file.c btrfs_set_file_extent_generation(leaf, fi, fi 1232 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 1245 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 1247 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 1249 fs/btrfs/file.c btrfs_set_file_extent_generation(leaf, fi, fi 1255 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 1257 fs/btrfs/file.c btrfs_set_file_extent_generation(leaf, fi, fi 1259 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 1261 fs/btrfs/file.c btrfs_set_file_extent_offset(leaf, fi, fi 1284 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0] - 1, fi 1286 fs/btrfs/file.c btrfs_set_file_extent_generation(leaf, fi, trans->transid); fi 1287 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 1290 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 1293 fs/btrfs/file.c btrfs_set_file_extent_generation(leaf, fi, trans->transid); fi 1294 fs/btrfs/file.c btrfs_set_file_extent_offset(leaf, fi, split - orig_offset); fi 1295 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 1363 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 1365 fs/btrfs/file.c btrfs_set_file_extent_type(leaf, fi, fi 1367 fs/btrfs/file.c btrfs_set_file_extent_generation(leaf, fi, trans->transid); fi 1370 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, del_slot - 1, fi 1372 fs/btrfs/file.c btrfs_set_file_extent_type(leaf, fi, fi 1374 fs/btrfs/file.c btrfs_set_file_extent_generation(leaf, fi, trans->transid); fi 1375 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 2263 fs/btrfs/file.c struct btrfs_file_extent_item *fi; fi 2274 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); fi 2276 fs/btrfs/file.c if (btrfs_file_extent_type(leaf, fi) != BTRFS_FILE_EXTENT_REG) fi 2279 fs/btrfs/file.c if (btrfs_file_extent_disk_bytenr(leaf, fi)) fi 2284 fs/btrfs/file.c if (key.offset + btrfs_file_extent_num_bytes(leaf, fi) == start) fi 2296 fs/btrfs/file.c struct btrfs_file_extent_item *fi; fi 2325 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 2327 fs/btrfs/file.c num_bytes = btrfs_file_extent_num_bytes(leaf, fi) + fi 2329 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, num_bytes); fi 2330 fs/btrfs/file.c btrfs_set_file_extent_ram_bytes(leaf, fi, num_bytes); fi 2331 fs/btrfs/file.c btrfs_set_file_extent_offset(leaf, fi, 0); fi 2341 fs/btrfs/file.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 2343 fs/btrfs/file.c num_bytes = btrfs_file_extent_num_bytes(leaf, fi) + end - fi 2345 fs/btrfs/file.c btrfs_set_file_extent_num_bytes(leaf, fi, num_bytes); fi 2346 fs/btrfs/file.c btrfs_set_file_extent_ram_bytes(leaf, fi, num_bytes); fi 2347 fs/btrfs/file.c btrfs_set_file_extent_offset(leaf, fi, 0); fi 1364 fs/btrfs/inode.c struct btrfs_file_extent_item *fi; fi 1443 fs/btrfs/inode.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 1445 fs/btrfs/inode.c extent_type = btrfs_file_extent_type(leaf, fi); fi 1447 fs/btrfs/inode.c ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); fi 1450 fs/btrfs/inode.c disk_bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); fi 1451 fs/btrfs/inode.c extent_offset = btrfs_file_extent_offset(leaf, fi); fi 1453 fs/btrfs/inode.c btrfs_file_extent_num_bytes(leaf, fi); fi 1455 fs/btrfs/inode.c btrfs_file_extent_disk_num_bytes(leaf, fi); fi 1468 fs/btrfs/inode.c if (btrfs_file_extent_compression(leaf, fi) || fi 1469 fs/btrfs/inode.c btrfs_file_extent_encryption(leaf, fi) || fi 1470 fs/btrfs/inode.c btrfs_file_extent_other_encoding(leaf, fi)) fi 1480 fs/btrfs/inode.c btrfs_file_extent_generation(leaf, fi) <= fi 2367 fs/btrfs/inode.c struct btrfs_file_extent_item *fi; fi 2390 fs/btrfs/inode.c 1, sizeof(*fi), &extent_inserted); fi 2401 fs/btrfs/inode.c sizeof(*fi)); fi 2406 fs/btrfs/inode.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 2408 fs/btrfs/inode.c btrfs_set_file_extent_generation(leaf, fi, trans->transid); fi 2409 fs/btrfs/inode.c btrfs_set_file_extent_type(leaf, fi, extent_type); fi 2410 fs/btrfs/inode.c btrfs_set_file_extent_disk_bytenr(leaf, fi, disk_bytenr); fi 2411 fs/btrfs/inode.c btrfs_set_file_extent_disk_num_bytes(leaf, fi, disk_num_bytes); fi 2412 fs/btrfs/inode.c btrfs_set_file_extent_offset(leaf, fi, 0); fi 2413 fs/btrfs/inode.c btrfs_set_file_extent_num_bytes(leaf, fi, num_bytes); fi 2414 fs/btrfs/inode.c btrfs_set_file_extent_ram_bytes(leaf, fi, ram_bytes); fi 2415 fs/btrfs/inode.c btrfs_set_file_extent_compression(leaf, fi, compression); fi 2416 fs/btrfs/inode.c btrfs_set_file_extent_encryption(leaf, fi, encryption); fi 2417 fs/btrfs/inode.c btrfs_set_file_extent_other_encoding(leaf, fi, other_encoding); fi 2690 fs/btrfs/inode.c struct btrfs_file_extent_item *fi, fi 2693 fs/btrfs/inode.c if (btrfs_file_extent_disk_bytenr(leaf, fi) != new->bytenr) fi 2696 fs/btrfs/inode.c if (btrfs_file_extent_type(leaf, fi) != BTRFS_FILE_EXTENT_REG) fi 2699 fs/btrfs/inode.c if (btrfs_file_extent_compression(leaf, fi) != new->compress_type) fi 2702 fs/btrfs/inode.c if (btrfs_file_extent_encryption(leaf, fi) || fi 2703 fs/btrfs/inode.c btrfs_file_extent_other_encoding(leaf, fi)) fi 2834 fs/btrfs/inode.c struct btrfs_file_extent_item *fi; fi 2846 fs/btrfs/inode.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 2848 fs/btrfs/inode.c extent_len = btrfs_file_extent_num_bytes(leaf, fi); fi 2851 fs/btrfs/inode.c relink_is_mergable(leaf, fi, new)) { fi 2852 fs/btrfs/inode.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 4718 fs/btrfs/inode.c struct btrfs_file_extent_item *fi; fi 4810 fs/btrfs/inode.c fi = NULL; fi 4823 fs/btrfs/inode.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 4825 fs/btrfs/inode.c extent_type = btrfs_file_extent_type(leaf, fi); fi 4828 fs/btrfs/inode.c btrfs_file_extent_num_bytes(leaf, fi); fi 4831 fs/btrfs/inode.c BTRFS_I(inode), leaf, fi, fi 4835 fs/btrfs/inode.c fi); fi 4838 fs/btrfs/inode.c BTRFS_I(inode), leaf, fi, path->slots[0], fi 4860 fs/btrfs/inode.c extent_start = btrfs_file_extent_disk_bytenr(leaf, fi); fi 4863 fs/btrfs/inode.c btrfs_file_extent_num_bytes(leaf, fi); fi 4867 fs/btrfs/inode.c btrfs_set_file_extent_num_bytes(leaf, fi, fi 4879 fs/btrfs/inode.c fi); fi 4881 fs/btrfs/inode.c btrfs_file_extent_offset(leaf, fi); fi 4884 fs/btrfs/inode.c num_dec = btrfs_file_extent_num_bytes(leaf, fi); fi 4898 fs/btrfs/inode.c btrfs_file_extent_encryption(leaf, fi) == 0 && fi 4899 fs/btrfs/inode.c btrfs_file_extent_other_encoding(leaf, fi) == 0 && fi 4900 fs/btrfs/inode.c btrfs_file_extent_compression(leaf, fi) == 0) { fi 4903 fs/btrfs/inode.c btrfs_set_file_extent_ram_bytes(leaf, fi, size); fi 7454 fs/btrfs/inode.c struct btrfs_file_extent_item *fi; fi 7496 fs/btrfs/inode.c fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); fi 7497 fs/btrfs/inode.c found_type = btrfs_file_extent_type(leaf, fi); fi 7507 fs/btrfs/inode.c extent_end = key.offset + btrfs_file_extent_num_bytes(leaf, fi); fi 7511 fs/btrfs/inode.c disk_bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); fi 7515 fs/btrfs/inode.c if (btrfs_file_extent_compression(leaf, fi) || fi 7516 fs/btrfs/inode.c btrfs_file_extent_encryption(leaf, fi) || fi 7517 fs/btrfs/inode.c btrfs_file_extent_other_encoding(leaf, fi)) fi 7524 fs/btrfs/inode.c if (btrfs_file_extent_generation(leaf, fi) <= fi 7528 fs/btrfs/inode.c backref_offset = btrfs_file_extent_offset(leaf, fi); fi 7532 fs/btrfs/inode.c *orig_block_len = btrfs_file_extent_disk_num_bytes(leaf, fi); fi 7533 fs/btrfs/inode.c *ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); fi 176 fs/btrfs/print-tree.c struct btrfs_file_extent_item *fi; fi 244 fs/btrfs/print-tree.c fi = btrfs_item_ptr(l, i, fi 246 fs/btrfs/print-tree.c if (btrfs_file_extent_type(l, fi) == fi 249 fs/btrfs/print-tree.c btrfs_file_extent_ram_bytes(l, fi)); fi 253 fs/btrfs/print-tree.c btrfs_file_extent_disk_bytenr(l, fi), fi 254 fs/btrfs/print-tree.c btrfs_file_extent_disk_num_bytes(l, fi)); fi 256 fs/btrfs/print-tree.c btrfs_file_extent_offset(l, fi), fi 257 fs/btrfs/print-tree.c btrfs_file_extent_num_bytes(l, fi), fi 258 fs/btrfs/print-tree.c btrfs_file_extent_ram_bytes(l, fi)); fi 1643 fs/btrfs/qgroup.c struct btrfs_file_extent_item *fi; fi 1656 fs/btrfs/qgroup.c fi = btrfs_item_ptr(eb, i, struct btrfs_file_extent_item); fi 1658 fs/btrfs/qgroup.c extent_type = btrfs_file_extent_type(eb, fi); fi 1663 fs/btrfs/qgroup.c bytenr = btrfs_file_extent_disk_bytenr(eb, fi); fi 1667 fs/btrfs/qgroup.c num_bytes = btrfs_file_extent_disk_num_bytes(eb, fi); fi 1618 fs/btrfs/relocation.c struct btrfs_file_extent_item *fi; fi 1637 fs/btrfs/relocation.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 1640 fs/btrfs/relocation.c BUG_ON(btrfs_file_extent_offset(leaf, fi) || fi 1641 fs/btrfs/relocation.c btrfs_file_extent_compression(leaf, fi) || fi 1642 fs/btrfs/relocation.c btrfs_file_extent_encryption(leaf, fi) || fi 1643 fs/btrfs/relocation.c btrfs_file_extent_other_encoding(leaf, fi)); fi 1645 fs/btrfs/relocation.c if (num_bytes != btrfs_file_extent_disk_num_bytes(leaf, fi)) { fi 1650 fs/btrfs/relocation.c *new_bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); fi 1669 fs/btrfs/relocation.c struct btrfs_file_extent_item *fi; fi 1699 fs/btrfs/relocation.c fi = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); fi 1700 fs/btrfs/relocation.c if (btrfs_file_extent_type(leaf, fi) == fi 1703 fs/btrfs/relocation.c bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); fi 1704 fs/btrfs/relocation.c num_bytes = btrfs_file_extent_disk_num_bytes(leaf, fi); fi 1724 fs/btrfs/relocation.c btrfs_file_extent_num_bytes(leaf, fi); fi 1751 fs/btrfs/relocation.c btrfs_set_file_extent_disk_bytenr(leaf, fi, new_bytenr); fi 1754 fs/btrfs/relocation.c key.offset -= btrfs_file_extent_offset(leaf, fi); fi 3658 fs/btrfs/relocation.c struct btrfs_file_extent_item *fi; fi 3764 fs/btrfs/relocation.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 3767 fs/btrfs/relocation.c if (btrfs_file_extent_type(leaf, fi) == fi 3771 fs/btrfs/relocation.c if (btrfs_file_extent_disk_bytenr(leaf, fi) != fi 3775 fs/btrfs/relocation.c key.offset -= btrfs_file_extent_offset(leaf, fi); fi 1307 fs/btrfs/send.c struct btrfs_file_extent_item *fi; fi 1340 fs/btrfs/send.c fi = btrfs_item_ptr(eb, path->slots[0], fi 1342 fs/btrfs/send.c extent_type = btrfs_file_extent_type(eb, fi); fi 1347 fs/btrfs/send.c compressed = btrfs_file_extent_compression(eb, fi); fi 1349 fs/btrfs/send.c num_bytes = btrfs_file_extent_num_bytes(eb, fi); fi 1350 fs/btrfs/send.c disk_byte = btrfs_file_extent_disk_bytenr(eb, fi); fi 1355 fs/btrfs/send.c logical = disk_byte + btrfs_file_extent_offset(eb, fi); fi 1412 fs/btrfs/send.c backref_ctx->data_offset = btrfs_file_extent_offset(eb, fi); fi 5580 fs/btrfs/send.c struct btrfs_file_extent_item *fi; fi 5603 fs/btrfs/send.c fi = btrfs_item_ptr(path->nodes[0], path->slots[0], fi 5605 fs/btrfs/send.c type = btrfs_file_extent_type(path->nodes[0], fi); fi 5607 fs/btrfs/send.c u64 size = btrfs_file_extent_ram_bytes(path->nodes[0], fi); fi 5612 fs/btrfs/send.c btrfs_file_extent_num_bytes(path->nodes[0], fi); fi 5646 fs/btrfs/send.c struct btrfs_file_extent_item *fi; fi 5667 fs/btrfs/send.c fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); fi 5668 fs/btrfs/send.c if (btrfs_file_extent_type(leaf, fi) == fi 5670 fs/btrfs/send.c u64 size = btrfs_file_extent_ram_bytes(leaf, fi); fi 5676 fs/btrfs/send.c btrfs_file_extent_num_bytes(leaf, fi); fi 5680 fs/btrfs/send.c if (btrfs_file_extent_disk_bytenr(leaf, fi) == 0) { fi 5698 fs/btrfs/send.c struct btrfs_file_extent_item *fi; fi 5712 fs/btrfs/send.c fi = btrfs_item_ptr(path->nodes[0], path->slots[0], fi 5714 fs/btrfs/send.c type = btrfs_file_extent_type(path->nodes[0], fi); fi 5716 fs/btrfs/send.c u64 size = btrfs_file_extent_ram_bytes(path->nodes[0], fi); fi 5721 fs/btrfs/send.c btrfs_file_extent_num_bytes(path->nodes[0], fi); fi 20 fs/btrfs/tests/inode-tests.c struct btrfs_file_extent_item *fi; fi 38 fs/btrfs/tests/inode-tests.c fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); fi 39 fs/btrfs/tests/inode-tests.c btrfs_set_file_extent_generation(leaf, fi, 1); fi 40 fs/btrfs/tests/inode-tests.c btrfs_set_file_extent_type(leaf, fi, type); fi 41 fs/btrfs/tests/inode-tests.c btrfs_set_file_extent_disk_bytenr(leaf, fi, disk_bytenr); fi 42 fs/btrfs/tests/inode-tests.c btrfs_set_file_extent_disk_num_bytes(leaf, fi, disk_len); fi 43 fs/btrfs/tests/inode-tests.c btrfs_set_file_extent_offset(leaf, fi, offset); fi 44 fs/btrfs/tests/inode-tests.c btrfs_set_file_extent_num_bytes(leaf, fi, len); fi 45 fs/btrfs/tests/inode-tests.c btrfs_set_file_extent_ram_bytes(leaf, fi, ram_bytes); fi 46 fs/btrfs/tests/inode-tests.c btrfs_set_file_extent_compression(leaf, fi, compression); fi 47 fs/btrfs/tests/inode-tests.c btrfs_set_file_extent_encryption(leaf, fi, 0); fi 48 fs/btrfs/tests/inode-tests.c btrfs_set_file_extent_other_encoding(leaf, fi, 0); fi 100 fs/btrfs/tree-checker.c #define CHECK_FE_ALIGNED(leaf, slot, fi, name, alignment) \ fi 102 fs/btrfs/tree-checker.c if (!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), (alignment))) \ fi 105 fs/btrfs/tree-checker.c (#name), btrfs_file_extent_##name((leaf), (fi)), \ fi 107 fs/btrfs/tree-checker.c (!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), (alignment))); \ fi 132 fs/btrfs/tree-checker.c struct btrfs_file_extent_item *fi; fi 144 fs/btrfs/tree-checker.c fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); fi 146 fs/btrfs/tree-checker.c if (btrfs_file_extent_type(leaf, fi) > BTRFS_FILE_EXTENT_TYPES) { fi 149 fs/btrfs/tree-checker.c btrfs_file_extent_type(leaf, fi), fi 158 fs/btrfs/tree-checker.c if (btrfs_file_extent_compression(leaf, fi) > BTRFS_COMPRESS_TYPES) { fi 161 fs/btrfs/tree-checker.c btrfs_file_extent_compression(leaf, fi), fi 165 fs/btrfs/tree-checker.c if (btrfs_file_extent_encryption(leaf, fi)) { fi 168 fs/btrfs/tree-checker.c btrfs_file_extent_encryption(leaf, fi)); fi 171 fs/btrfs/tree-checker.c if (btrfs_file_extent_type(leaf, fi) == BTRFS_FILE_EXTENT_INLINE) { fi 181 fs/btrfs/tree-checker.c if (btrfs_file_extent_compression(leaf, fi) != fi 187 fs/btrfs/tree-checker.c btrfs_file_extent_ram_bytes(leaf, fi)) { fi 191 fs/btrfs/tree-checker.c btrfs_file_extent_ram_bytes(leaf, fi)); fi 198 fs/btrfs/tree-checker.c if (item_size != sizeof(*fi)) { fi 201 fs/btrfs/tree-checker.c item_size, sizeof(*fi)); fi 204 fs/btrfs/tree-checker.c if (CHECK_FE_ALIGNED(leaf, slot, fi, ram_bytes, sectorsize) || fi 205 fs/btrfs/tree-checker.c CHECK_FE_ALIGNED(leaf, slot, fi, disk_bytenr, sectorsize) || fi 206 fs/btrfs/tree-checker.c CHECK_FE_ALIGNED(leaf, slot, fi, disk_num_bytes, sectorsize) || fi 207 fs/btrfs/tree-checker.c CHECK_FE_ALIGNED(leaf, slot, fi, offset, sectorsize) || fi 208 fs/btrfs/tree-checker.c CHECK_FE_ALIGNED(leaf, slot, fi, num_bytes, sectorsize)) fi 212 fs/btrfs/tree-checker.c if (check_add_overflow(btrfs_file_extent_num_bytes(leaf, fi), fi 217 fs/btrfs/tree-checker.c btrfs_file_extent_num_bytes(leaf, fi)); fi 4149 fs/btrfs/tree-log.c struct btrfs_file_extent_item *fi; fi 4164 fs/btrfs/tree-log.c sizeof(*fi), &extent_inserted); fi 4174 fs/btrfs/tree-log.c sizeof(*fi)); fi 4180 fs/btrfs/tree-log.c fi = btrfs_item_ptr(leaf, path->slots[0], fi 4183 fs/btrfs/tree-log.c btrfs_set_token_file_extent_generation(leaf, fi, trans->transid, fi 4186 fs/btrfs/tree-log.c btrfs_set_token_file_extent_type(leaf, fi, fi 4190 fs/btrfs/tree-log.c btrfs_set_token_file_extent_type(leaf, fi, fi 4196 fs/btrfs/tree-log.c btrfs_set_token_file_extent_disk_bytenr(leaf, fi, fi 4199 fs/btrfs/tree-log.c btrfs_set_token_file_extent_disk_num_bytes(leaf, fi, block_len, fi 4202 fs/btrfs/tree-log.c btrfs_set_token_file_extent_disk_bytenr(leaf, fi, fi 4205 fs/btrfs/tree-log.c btrfs_set_token_file_extent_disk_num_bytes(leaf, fi, block_len, fi 4208 fs/btrfs/tree-log.c btrfs_set_token_file_extent_disk_bytenr(leaf, fi, 0, &token); fi 4209 fs/btrfs/tree-log.c btrfs_set_token_file_extent_disk_num_bytes(leaf, fi, 0, fi 4213 fs/btrfs/tree-log.c btrfs_set_token_file_extent_offset(leaf, fi, extent_offset, &token); fi 4214 fs/btrfs/tree-log.c btrfs_set_token_file_extent_num_bytes(leaf, fi, em->len, &token); fi 4215 fs/btrfs/tree-log.c btrfs_set_token_file_extent_ram_bytes(leaf, fi, em->ram_bytes, &token); fi 4216 fs/btrfs/tree-log.c btrfs_set_token_file_extent_compression(leaf, fi, em->compress_type, fi 4218 fs/btrfs/tree-log.c btrfs_set_token_file_extent_encryption(leaf, fi, 0, &token); fi 4219 fs/btrfs/tree-log.c btrfs_set_token_file_extent_other_encoding(leaf, fi, 0, &token); fi 446 fs/ceph/addr.c struct ceph_file_info *fi = file->private_data; fi 460 fs/ceph/addr.c rw_ctx = ceph_find_rw_context(fi); fi 1428 fs/ceph/addr.c struct ceph_file_info *fi = vma->vm_file->private_data; fi 1439 fs/ceph/addr.c if (fi->fmode & CEPH_FILE_MODE_LAZY) fi 1456 fs/ceph/addr.c ceph_add_rw_context(fi, &rw_ctx); fi 1458 fs/ceph/addr.c ceph_del_rw_context(fi, &rw_ctx); fi 1520 fs/ceph/addr.c struct ceph_file_info *fi = vma->vm_file->private_data; fi 1557 fs/ceph/addr.c if (fi->fmode & CEPH_FILE_MODE_LAZY) fi 2230 fs/ceph/caps.c struct ceph_file_info *fi = file->private_data; fi 2261 fs/ceph/caps.c if (errseq_check(&ci->i_meta_err, READ_ONCE(fi->meta_err))) { fi 2264 fs/ceph/caps.c &fi->meta_err); fi 2746 fs/ceph/caps.c struct ceph_file_info *fi = filp->private_data; fi 2756 fs/ceph/caps.c if ((fi->fmode & CEPH_FILE_MODE_WR) && fi 2757 fs/ceph/caps.c fi->filp_gen != READ_ONCE(fsc->filp_gen)) fi 2764 fs/ceph/caps.c flags = atomic_read(&fi->num_locks) ? CHECK_FILELOCK : 0; fi 2789 fs/ceph/caps.c if ((fi->fmode & CEPH_FILE_MODE_WR) && fi 2790 fs/ceph/caps.c fi->filp_gen != READ_ONCE(fsc->filp_gen)) { fi 206 fs/ceph/file.c struct ceph_file_info *fi; fi 221 fs/ceph/file.c fi = &dfi->file_info; fi 225 fs/ceph/file.c fi = kmem_cache_zalloc(ceph_file_cachep, GFP_KERNEL); fi 226 fs/ceph/file.c if (!fi) { fi 231 fs/ceph/file.c file->private_data = fi; fi 234 fs/ceph/file.c fi->fmode = fmode; fi 235 fs/ceph/file.c spin_lock_init(&fi->rw_contexts_lock); fi 236 fs/ceph/file.c INIT_LIST_HEAD(&fi->rw_contexts); fi 237 fs/ceph/file.c fi->meta_err = errseq_sample(&ci->i_meta_err); fi 238 fs/ceph/file.c fi->filp_gen = READ_ONCE(ceph_inode_to_client(inode)->filp_gen); fi 350 fs/ceph/file.c struct ceph_file_info *fi = file->private_data; fi 354 fs/ceph/file.c if (fi) { fi 553 fs/ceph/file.c struct ceph_file_info *fi = file->private_data; fi 555 fs/ceph/file.c WARN_ON(!list_empty(&fi->rw_contexts)); fi 557 fs/ceph/file.c ceph_put_fmode(ci, fi->fmode); fi 558 fs/ceph/file.c kmem_cache_free(ceph_file_cachep, fi); fi 1258 fs/ceph/file.c struct ceph_file_info *fi = filp->private_data; fi 1276 fs/ceph/file.c if (fi->fmode & CEPH_FILE_MODE_LAZY) fi 1292 fs/ceph/file.c (fi->flags & CEPH_F_SYNC)) { fi 1315 fs/ceph/file.c ceph_add_rw_context(fi, &rw_ctx); fi 1317 fs/ceph/file.c ceph_del_rw_context(fi, &rw_ctx); fi 1414 fs/ceph/file.c struct ceph_file_info *fi = file->private_data; fi 1499 fs/ceph/file.c if (fi->fmode & CEPH_FILE_MODE_LAZY) fi 1513 fs/ceph/file.c (iocb->ki_flags & IOCB_DIRECT) || (fi->flags & CEPH_F_SYNC) || fi 1788 fs/ceph/file.c struct ceph_file_info *fi = file->private_data; fi 1829 fs/ceph/file.c if (fi->fmode & CEPH_FILE_MODE_LAZY) fi 243 fs/ceph/ioctl.c struct ceph_file_info *fi = file->private_data; fi 247 fs/ceph/ioctl.c if ((fi->fmode & CEPH_FILE_MODE_LAZY) == 0) { fi 249 fs/ceph/ioctl.c fi->fmode |= CEPH_FILE_MODE_LAZY; fi 263 fs/ceph/ioctl.c struct ceph_file_info *fi = file->private_data; fi 265 fs/ceph/ioctl.c fi->flags |= CEPH_F_SYNC; fi 35 fs/ceph/locks.c struct ceph_file_info *fi = dst->fl_file->private_data; fi 38 fs/ceph/locks.c atomic_inc(&fi->num_locks); fi 43 fs/ceph/locks.c struct ceph_file_info *fi = fl->fl_file->private_data; fi 46 fs/ceph/locks.c atomic_dec(&fi->num_locks); fi 1039 fs/f2fs/checkpoint.c struct f2fs_inode_info *fi; fi 1060 fs/f2fs/checkpoint.c fi = list_first_entry(head, struct f2fs_inode_info, dirty_list); fi 1061 fs/f2fs/checkpoint.c inode = igrab(&fi->vfs_inode); fi 1093 fs/f2fs/checkpoint.c struct f2fs_inode_info *fi; fi 1105 fs/f2fs/checkpoint.c fi = list_first_entry(head, struct f2fs_inode_info, fi 1107 fs/f2fs/checkpoint.c inode = igrab(&fi->vfs_inode); fi 2816 fs/f2fs/data.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 2840 fs/f2fs/data.c if (!down_read_trylock(&fi->i_gc_rwsem[rw])) { fi 2845 fs/f2fs/data.c if (do_opu && !down_read_trylock(&fi->i_gc_rwsem[READ])) { fi 2846 fs/f2fs/data.c up_read(&fi->i_gc_rwsem[rw]); fi 2852 fs/f2fs/data.c down_read(&fi->i_gc_rwsem[rw]); fi 2854 fs/f2fs/data.c down_read(&fi->i_gc_rwsem[READ]); fi 2863 fs/f2fs/data.c up_read(&fi->i_gc_rwsem[READ]); fi 2865 fs/f2fs/data.c up_read(&fi->i_gc_rwsem[rw]); fi 2982 fs/f2fs/data.c struct f2fs_inode_info *fi = F2FS_I(mapping->host); fi 2991 fs/f2fs/data.c if (!mutex_trylock(&fi->inmem_lock)) fi 3001 fs/f2fs/data.c mutex_unlock(&fi->inmem_lock); fi 3007 fs/f2fs/data.c list_for_each_entry(cur, &fi->inmem_pages, list) fi 3012 fs/f2fs/data.c mutex_unlock(&fi->inmem_lock); fi 71 fs/f2fs/f2fs.h #define IS_FAULT_SET(fi, type) ((fi)->inject_type & (1 << (type))) fi 2559 fs/f2fs/f2fs.h struct f2fs_inode_info *fi = F2FS_I(inode); fi 2562 fs/f2fs/f2fs.h set_bit(FI_INLINE_XATTR, &fi->flags); fi 2564 fs/f2fs/f2fs.h set_bit(FI_INLINE_DATA, &fi->flags); fi 2566 fs/f2fs/f2fs.h set_bit(FI_INLINE_DENTRY, &fi->flags); fi 2568 fs/f2fs/f2fs.h set_bit(FI_DATA_EXIST, &fi->flags); fi 2570 fs/f2fs/f2fs.h set_bit(FI_INLINE_DOTS, &fi->flags); fi 2572 fs/f2fs/f2fs.h set_bit(FI_EXTRA_ATTR, &fi->flags); fi 2574 fs/f2fs/f2fs.h set_bit(FI_PIN_FILE, &fi->flags); fi 195 fs/f2fs/file.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 198 fs/f2fs/file.c down_write(&fi->i_sem); fi 204 fs/f2fs/file.c up_write(&fi->i_sem); fi 709 fs/f2fs/file.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 715 fs/f2fs/file.c F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_crtime)) { fi 717 fs/f2fs/file.c stat->btime.tv_sec = fi->i_crtime.tv_sec; fi 718 fs/f2fs/file.c stat->btime.tv_nsec = fi->i_crtime.tv_nsec; fi 721 fs/f2fs/file.c flags = fi->i_flags; fi 1669 fs/f2fs/file.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 1675 fs/f2fs/file.c if ((iflags ^ fi->i_flags) & F2FS_CASEFOLD_FL) { fi 1682 fs/f2fs/file.c fi->i_flags = iflags | (fi->i_flags & ~mask); fi 1684 fs/f2fs/file.c if (fi->i_flags & F2FS_PROJINHERIT_FL) fi 1773 fs/f2fs/file.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 1774 fs/f2fs/file.c u32 fsflags = f2fs_iflags_to_fsflags(fi->i_flags); fi 1793 fs/f2fs/file.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 1818 fs/f2fs/file.c old_fsflags = f2fs_iflags_to_fsflags(fi->i_flags); fi 1841 fs/f2fs/file.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 1886 fs/f2fs/file.c if (list_empty(&fi->inmem_ilist)) fi 1887 fs/f2fs/file.c list_add_tail(&fi->inmem_ilist, &sbi->inode_list[ATOMIC_FILE]); fi 2817 fs/f2fs/file.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 2847 fs/f2fs/file.c if (!F2FS_FITS_IN_INODE(F2FS_INODE(ipage), fi->i_extra_isize, fi 2941 fs/f2fs/file.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 2943 fs/f2fs/file.c simple_fill_fsxattr(fa, f2fs_iflags_to_xflags(fi->i_flags)); fi 2946 fs/f2fs/file.c fa->fsx_projid = from_kprojid(&init_user_ns, fi->i_projid); fi 3007 fs/f2fs/file.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 3013 fs/f2fs/file.c fi->i_gc_failures[GC_FAILURE_PIN] + 1); fi 3015 fs/f2fs/file.c if (fi->i_gc_failures[GC_FAILURE_PIN] > sbi->gc_pin_file_threshold) { fi 3018 fs/f2fs/file.c fi->i_gc_failures[GC_FAILURE_PIN]); fi 3087 fs/f2fs/file.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 3106 fs/f2fs/file.c down_write(&fi->i_gc_rwsem[WRITE]); fi 3108 fs/f2fs/file.c up_write(&fi->i_gc_rwsem[WRITE]); fi 1087 fs/f2fs/gc.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 1092 fs/f2fs/gc.c if (!down_write_trylock(&fi->i_gc_rwsem[READ])) fi 1095 fs/f2fs/gc.c &fi->i_gc_rwsem[WRITE])) { fi 1097 fs/f2fs/gc.c up_write(&fi->i_gc_rwsem[READ]); fi 1120 fs/f2fs/gc.c up_write(&fi->i_gc_rwsem[WRITE]); fi 1121 fs/f2fs/gc.c up_write(&fi->i_gc_rwsem[READ]); fi 202 fs/f2fs/inode.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 237 fs/f2fs/inode.c if (fi->i_extra_isize > F2FS_TOTAL_EXTRA_ATTR_SIZE || fi 238 fs/f2fs/inode.c fi->i_extra_isize % sizeof(__le32)) { fi 241 fs/f2fs/inode.c __func__, inode->i_ino, fi->i_extra_isize, fi 249 fs/f2fs/inode.c (!fi->i_inline_xattr_size || fi 250 fs/f2fs/inode.c fi->i_inline_xattr_size > MAX_INLINE_XATTR_SIZE)) { fi 253 fs/f2fs/inode.c __func__, inode->i_ino, fi->i_inline_xattr_size, fi 295 fs/f2fs/inode.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 326 fs/f2fs/inode.c fi->i_current_depth = le32_to_cpu(ri->i_current_depth); fi 328 fs/f2fs/inode.c fi->i_gc_failures[GC_FAILURE_PIN] = fi 330 fs/f2fs/inode.c fi->i_xattr_nid = le32_to_cpu(ri->i_xattr_nid); fi 331 fs/f2fs/inode.c fi->i_flags = le32_to_cpu(ri->i_flags); fi 333 fs/f2fs/inode.c fi->i_flags &= ~F2FS_PROJINHERIT_FL; fi 334 fs/f2fs/inode.c fi->flags = 0; fi 335 fs/f2fs/inode.c fi->i_advise = ri->i_advise; fi 336 fs/f2fs/inode.c fi->i_pino = le32_to_cpu(ri->i_pino); fi 337 fs/f2fs/inode.c fi->i_dir_level = ri->i_dir_level; fi 344 fs/f2fs/inode.c fi->i_extra_isize = f2fs_has_extra_attr(inode) ? fi 348 fs/f2fs/inode.c fi->i_inline_xattr_size = le16_to_cpu(ri->i_inline_xattr_size); fi 351 fs/f2fs/inode.c fi->i_inline_xattr_size = DEFAULT_INLINE_XATTR_ADDRS; fi 360 fs/f2fs/inode.c fi->i_inline_xattr_size = 0; fi 392 fs/f2fs/inode.c fi->last_disk_size = inode->i_size; fi 394 fs/f2fs/inode.c if (fi->i_flags & F2FS_PROJINHERIT_FL) fi 398 fs/f2fs/inode.c F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_projid)) fi 402 fs/f2fs/inode.c fi->i_projid = make_kprojid(&init_user_ns, i_projid); fi 405 fs/f2fs/inode.c F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_crtime)) { fi 406 fs/f2fs/inode.c fi->i_crtime.tv_sec = le64_to_cpu(ri->i_crtime); fi 407 fs/f2fs/inode.c fi->i_crtime.tv_nsec = le32_to_cpu(ri->i_crtime_nsec); fi 290 fs/f2fs/segment.c struct f2fs_inode_info *fi; fi 299 fs/f2fs/segment.c fi = list_first_entry(head, struct f2fs_inode_info, inmem_ilist); fi 300 fs/f2fs/segment.c inode = igrab(&fi->vfs_inode); fi 302 fs/f2fs/segment.c list_move_tail(&fi->inmem_ilist, head); fi 307 fs/f2fs/segment.c if (!fi->i_gc_failures[GC_FAILURE_ATOMIC]) fi 327 fs/f2fs/segment.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 329 fs/f2fs/segment.c while (!list_empty(&fi->inmem_pages)) { fi 330 fs/f2fs/segment.c mutex_lock(&fi->inmem_lock); fi 331 fs/f2fs/segment.c __revoke_inmem_pages(inode, &fi->inmem_pages, fi 333 fs/f2fs/segment.c mutex_unlock(&fi->inmem_lock); fi 336 fs/f2fs/segment.c fi->i_gc_failures[GC_FAILURE_ATOMIC] = 0; fi 340 fs/f2fs/segment.c if (!list_empty(&fi->inmem_ilist)) fi 341 fs/f2fs/segment.c list_del_init(&fi->inmem_ilist); fi 351 fs/f2fs/segment.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 353 fs/f2fs/segment.c struct list_head *head = &fi->inmem_pages; fi 358 fs/f2fs/segment.c mutex_lock(&fi->inmem_lock); fi 366 fs/f2fs/segment.c mutex_unlock(&fi->inmem_lock); fi 381 fs/f2fs/segment.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 397 fs/f2fs/segment.c list_for_each_entry_safe(cur, tmp, &fi->inmem_pages, list) { fi 450 fs/f2fs/segment.c __revoke_inmem_pages(inode, &fi->inmem_pages, fi 463 fs/f2fs/segment.c struct f2fs_inode_info *fi = F2FS_I(inode); fi 468 fs/f2fs/segment.c down_write(&fi->i_gc_rwsem[WRITE]); fi 473 fs/f2fs/segment.c mutex_lock(&fi->inmem_lock); fi 475 fs/f2fs/segment.c mutex_unlock(&fi->inmem_lock); fi 480 fs/f2fs/segment.c up_write(&fi->i_gc_rwsem[WRITE]); fi 282 fs/f2fs/super.c struct f2fs_inode_info *fi = (struct f2fs_inode_info *) foo; fi 284 fs/f2fs/super.c inode_init_once(&fi->vfs_inode); fi 885 fs/f2fs/super.c struct f2fs_inode_info *fi; fi 887 fs/f2fs/super.c fi = kmem_cache_alloc(f2fs_inode_cachep, GFP_F2FS_ZERO); fi 888 fs/f2fs/super.c if (!fi) fi 891 fs/f2fs/super.c init_once((void *) fi); fi 894 fs/f2fs/super.c atomic_set(&fi->dirty_pages, 0); fi 895 fs/f2fs/super.c init_rwsem(&fi->i_sem); fi 896 fs/f2fs/super.c INIT_LIST_HEAD(&fi->dirty_list); fi 897 fs/f2fs/super.c INIT_LIST_HEAD(&fi->gdirty_list); fi 898 fs/f2fs/super.c INIT_LIST_HEAD(&fi->inmem_ilist); fi 899 fs/f2fs/super.c INIT_LIST_HEAD(&fi->inmem_pages); fi 900 fs/f2fs/super.c mutex_init(&fi->inmem_lock); fi 901 fs/f2fs/super.c init_rwsem(&fi->i_gc_rwsem[READ]); fi 902 fs/f2fs/super.c init_rwsem(&fi->i_gc_rwsem[WRITE]); fi 903 fs/f2fs/super.c init_rwsem(&fi->i_mmap_sem); fi 904 fs/f2fs/super.c init_rwsem(&fi->i_xattr_sem); fi 907 fs/f2fs/super.c fi->i_dir_level = F2FS_SB(sb)->dir_level; fi 909 fs/f2fs/super.c return &fi->vfs_inode; fi 22 fs/fuse/dir.c struct fuse_inode *fi = get_fuse_inode(dir); fi 24 fs/fuse/dir.c set_bit(FUSE_I_ADVISE_RDPLUS, &fi->state); fi 200 fs/fuse/dir.c struct fuse_inode *fi; fi 239 fs/fuse/dir.c fi = get_fuse_inode(inode); fi 244 fs/fuse/dir.c spin_lock(&fi->lock); fi 245 fs/fuse/dir.c fi->nlookup++; fi 246 fs/fuse/dir.c spin_unlock(&fi->lock); fi 261 fs/fuse/dir.c fi = get_fuse_inode(inode); fi 263 fs/fuse/dir.c if (test_bit(FUSE_I_INIT_RDPLUS, &fi->state)) fi 265 fs/fuse/dir.c } else if (test_and_clear_bit(FUSE_I_INIT_RDPLUS, &fi->state)) { fi 443 fs/fuse/dir.c struct fuse_inode *fi; fi 507 fs/fuse/dir.c fi = get_fuse_inode(inode); fi 508 fs/fuse/dir.c fuse_sync_release(fi, ff, flags); fi 715 fs/fuse/dir.c struct fuse_inode *fi = get_fuse_inode(inode); fi 717 fs/fuse/dir.c spin_lock(&fi->lock); fi 718 fs/fuse/dir.c fi->attr_version = atomic64_inc_return(&fc->attr_version); fi 727 fs/fuse/dir.c spin_unlock(&fi->lock); fi 869 fs/fuse/dir.c struct fuse_inode *fi = get_fuse_inode(inode); fi 871 fs/fuse/dir.c spin_lock(&fi->lock); fi 872 fs/fuse/dir.c fi->attr_version = atomic64_inc_return(&fc->attr_version); fi 875 fs/fuse/dir.c spin_unlock(&fi->lock); fi 973 fs/fuse/dir.c struct fuse_inode *fi = get_fuse_inode(inode); fi 981 fs/fuse/dir.c else if (request_mask & READ_ONCE(fi->inval_mask)) fi 984 fs/fuse/dir.c sync = time_before64(fi->i_time, get_jiffies_64()); fi 991 fs/fuse/dir.c stat->mode = fi->orig_i_mode; fi 992 fs/fuse/dir.c stat->ino = fi->orig_ino; fi 1166 fs/fuse/dir.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1169 fs/fuse/dir.c if (perm_mask & READ_ONCE(fi->inval_mask) || fi 1170 fs/fuse/dir.c time_before64(fi->i_time, get_jiffies_64())) { fi 1402 fs/fuse/dir.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1406 fs/fuse/dir.c spin_lock(&fi->lock); fi 1407 fs/fuse/dir.c BUG_ON(fi->writectr < 0); fi 1408 fs/fuse/dir.c fi->writectr += FUSE_NOWRITE; fi 1409 fs/fuse/dir.c spin_unlock(&fi->lock); fi 1410 fs/fuse/dir.c wait_event(fi->page_waitq, fi->writectr == FUSE_NOWRITE); fi 1421 fs/fuse/dir.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1423 fs/fuse/dir.c BUG_ON(fi->writectr != FUSE_NOWRITE); fi 1424 fs/fuse/dir.c fi->writectr = 0; fi 1430 fs/fuse/dir.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1432 fs/fuse/dir.c spin_lock(&fi->lock); fi 1434 fs/fuse/dir.c spin_unlock(&fi->lock); fi 1495 fs/fuse/dir.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1550 fs/fuse/dir.c set_bit(FUSE_I_SIZE_UNSTABLE, &fi->state); fi 1583 fs/fuse/dir.c spin_lock(&fi->lock); fi 1604 fs/fuse/dir.c spin_unlock(&fi->lock); fi 1616 fs/fuse/dir.c clear_bit(FUSE_I_SIZE_UNSTABLE, &fi->state); fi 1623 fs/fuse/dir.c clear_bit(FUSE_I_SIZE_UNSTABLE, &fi->state); fi 1751 fs/fuse/dir.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1756 fs/fuse/dir.c spin_lock_init(&fi->rdc.lock); fi 1757 fs/fuse/dir.c fi->rdc.cached = false; fi 1758 fs/fuse/dir.c fi->rdc.size = 0; fi 1759 fs/fuse/dir.c fi->rdc.pos = 0; fi 1760 fs/fuse/dir.c fi->rdc.version = 0; fi 178 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 184 fs/fuse/file.c spin_lock(&fi->lock); fi 186 fs/fuse/file.c list_add(&ff->write_entry, &fi->write_files); fi 187 fs/fuse/file.c spin_unlock(&fi->lock); fi 202 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 204 fs/fuse/file.c spin_lock(&fi->lock); fi 205 fs/fuse/file.c fi->attr_version = atomic64_inc_return(&fc->attr_version); fi 207 fs/fuse/file.c spin_unlock(&fi->lock); fi 246 fs/fuse/file.c static void fuse_prepare_release(struct fuse_inode *fi, struct fuse_file *ff, fi 253 fs/fuse/file.c if (likely(fi)) { fi 254 fs/fuse/file.c spin_lock(&fi->lock); fi 256 fs/fuse/file.c spin_unlock(&fi->lock); fi 278 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(file_inode(file)); fi 283 fs/fuse/file.c fuse_prepare_release(fi, ff, file->f_flags, opcode); fi 324 fs/fuse/file.c void fuse_sync_release(struct fuse_inode *fi, struct fuse_file *ff, int flags) fi 327 fs/fuse/file.c fuse_prepare_release(fi, ff, flags, FUSE_RELEASE); fi 366 fs/fuse/file.c static struct fuse_writepage_args *fuse_find_writeback(struct fuse_inode *fi, fi 371 fs/fuse/file.c list_for_each_entry(wpa, &fi->writepages, writepages_entry) { fi 374 fs/fuse/file.c WARN_ON(get_fuse_inode(wpa->inode) != fi); fi 393 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 396 fs/fuse/file.c spin_lock(&fi->lock); fi 397 fs/fuse/file.c found = fuse_find_writeback(fi, idx_from, idx_to); fi 398 fs/fuse/file.c spin_unlock(&fi->lock); fi 416 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 418 fs/fuse/file.c wait_event(fi->page_waitq, !fuse_page_is_writeback(inode, index)); fi 636 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 638 fs/fuse/file.c spin_lock(&fi->lock); fi 639 fs/fuse/file.c fi->attr_version = atomic64_inc_return(&fc->attr_version); fi 640 fs/fuse/file.c spin_unlock(&fi->lock); fi 745 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 747 fs/fuse/file.c spin_lock(&fi->lock); fi 748 fs/fuse/file.c if (attr_ver == fi->attr_version && size < inode->i_size && fi 749 fs/fuse/file.c !test_bit(FUSE_I_SIZE_UNSTABLE, &fi->state)) { fi 750 fs/fuse/file.c fi->attr_version = atomic64_inc_return(&fc->attr_version); fi 753 fs/fuse/file.c spin_unlock(&fi->lock); fi 1083 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1086 fs/fuse/file.c spin_lock(&fi->lock); fi 1087 fs/fuse/file.c fi->attr_version = atomic64_inc_return(&fc->attr_version); fi 1092 fs/fuse/file.c spin_unlock(&fi->lock); fi 1219 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1224 fs/fuse/file.c set_bit(FUSE_I_SIZE_UNSTABLE, &fi->state); fi 1262 fs/fuse/file.c clear_bit(FUSE_I_SIZE_UNSTABLE, &fi->state); fi 1613 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1623 fs/fuse/file.c wake_up(&fi->page_waitq); fi 1629 fs/fuse/file.c __releases(fi->lock) fi 1630 fs/fuse/file.c __acquires(fi->lock) fi 1633 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(wpa->inode); fi 1639 fs/fuse/file.c fi->writectr++; fi 1655 fs/fuse/file.c spin_unlock(&fi->lock); fi 1657 fs/fuse/file.c spin_lock(&fi->lock); fi 1667 fs/fuse/file.c fi->writectr--; fi 1669 fs/fuse/file.c spin_unlock(&fi->lock); fi 1679 fs/fuse/file.c spin_lock(&fi->lock); fi 1689 fs/fuse/file.c __releases(fi->lock) fi 1690 fs/fuse/file.c __acquires(fi->lock) fi 1693 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1697 fs/fuse/file.c while (fi->writectr >= 0 && !list_empty(&fi->queued_writes)) { fi 1698 fs/fuse/file.c wpa = list_entry(fi->queued_writes.next, fi 1711 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1714 fs/fuse/file.c spin_lock(&fi->lock); fi 1723 fs/fuse/file.c list_add(&next->writepages_entry, &fi->writepages); fi 1750 fs/fuse/file.c fi->writectr--; fi 1752 fs/fuse/file.c spin_unlock(&fi->lock); fi 1757 fs/fuse/file.c struct fuse_inode *fi) fi 1761 fs/fuse/file.c spin_lock(&fi->lock); fi 1762 fs/fuse/file.c if (!list_empty(&fi->write_files)) { fi 1763 fs/fuse/file.c ff = list_entry(fi->write_files.next, struct fuse_file, fi 1767 fs/fuse/file.c spin_unlock(&fi->lock); fi 1773 fs/fuse/file.c struct fuse_inode *fi) fi 1775 fs/fuse/file.c struct fuse_file *ff = __fuse_write_file_get(fc, fi); fi 1783 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1787 fs/fuse/file.c ff = __fuse_write_file_get(fc, fi); fi 1819 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1837 fs/fuse/file.c wpa->ia.ff = fuse_write_file_get(fc, fi); fi 1857 fs/fuse/file.c spin_lock(&fi->lock); fi 1858 fs/fuse/file.c list_add(&wpa->writepages_entry, &fi->writepages); fi 1859 fs/fuse/file.c list_add_tail(&wpa->queue_entry, &fi->queued_writes); fi 1861 fs/fuse/file.c spin_unlock(&fi->lock); fi 1938 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 1943 fs/fuse/file.c spin_lock(&fi->lock); fi 1944 fs/fuse/file.c list_add_tail(&wpa->queue_entry, &fi->queued_writes); fi 1946 fs/fuse/file.c spin_unlock(&fi->lock); fi 1962 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(new_wpa->inode); fi 1969 fs/fuse/file.c spin_lock(&fi->lock); fi 1971 fs/fuse/file.c old_wpa = fuse_find_writeback(fi, page->index, page->index); fi 1973 fs/fuse/file.c list_add(&new_wpa->writepages_entry, &fi->writepages); fi 1974 fs/fuse/file.c spin_unlock(&fi->lock); fi 1996 fs/fuse/file.c spin_unlock(&fi->lock); fi 2017 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 2025 fs/fuse/file.c data->ff = fuse_write_file_get(fc, fi); fi 2087 fs/fuse/file.c spin_lock(&fi->lock); fi 2088 fs/fuse/file.c list_add(&wpa->writepages_entry, &fi->writepages); fi 2089 fs/fuse/file.c spin_unlock(&fi->lock); fi 2115 fs/fuse/file.c spin_lock(&fi->lock); fi 2117 fs/fuse/file.c spin_unlock(&fi->lock); fi 3173 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 3211 fs/fuse/file.c set_bit(FUSE_I_SIZE_UNSTABLE, &fi->state); fi 3241 fs/fuse/file.c clear_bit(FUSE_I_SIZE_UNSTABLE, &fi->state); fi 3389 fs/fuse/file.c struct fuse_inode *fi = get_fuse_inode(inode); fi 3394 fs/fuse/file.c INIT_LIST_HEAD(&fi->write_files); fi 3395 fs/fuse/file.c INIT_LIST_HEAD(&fi->queued_writes); fi 3396 fs/fuse/file.c fi->writectr = 0; fi 3397 fs/fuse/file.c init_waitqueue_head(&fi->page_waitq); fi 3398 fs/fuse/file.c INIT_LIST_HEAD(&fi->writepages); fi 854 fs/fuse/fuse_i.h void fuse_sync_release(struct fuse_inode *fi, struct fuse_file *ff, int flags); fi 74 fs/fuse/inode.c struct fuse_inode *fi; fi 76 fs/fuse/inode.c fi = kmem_cache_alloc(fuse_inode_cachep, GFP_KERNEL); fi 77 fs/fuse/inode.c if (!fi) fi 80 fs/fuse/inode.c fi->i_time = 0; fi 81 fs/fuse/inode.c fi->inval_mask = 0; fi 82 fs/fuse/inode.c fi->nodeid = 0; fi 83 fs/fuse/inode.c fi->nlookup = 0; fi 84 fs/fuse/inode.c fi->attr_version = 0; fi 85 fs/fuse/inode.c fi->orig_ino = 0; fi 86 fs/fuse/inode.c fi->state = 0; fi 87 fs/fuse/inode.c mutex_init(&fi->mutex); fi 88 fs/fuse/inode.c spin_lock_init(&fi->lock); fi 89 fs/fuse/inode.c fi->forget = fuse_alloc_forget(); fi 90 fs/fuse/inode.c if (!fi->forget) { fi 91 fs/fuse/inode.c kmem_cache_free(fuse_inode_cachep, fi); fi 95 fs/fuse/inode.c return &fi->inode; fi 100 fs/fuse/inode.c struct fuse_inode *fi = get_fuse_inode(inode); fi 102 fs/fuse/inode.c mutex_destroy(&fi->mutex); fi 103 fs/fuse/inode.c kfree(fi->forget); fi 104 fs/fuse/inode.c kmem_cache_free(fuse_inode_cachep, fi); fi 109 fs/fuse/inode.c struct fuse_inode *fi = get_fuse_inode(inode); fi 115 fs/fuse/inode.c fuse_queue_forget(fc, fi->forget, fi->nodeid, fi->nlookup); fi 116 fs/fuse/inode.c fi->forget = NULL; fi 119 fs/fuse/inode.c WARN_ON(!list_empty(&fi->write_files)); fi 120 fs/fuse/inode.c WARN_ON(!list_empty(&fi->queued_writes)); fi 149 fs/fuse/inode.c struct fuse_inode *fi = get_fuse_inode(inode); fi 151 fs/fuse/inode.c lockdep_assert_held(&fi->lock); fi 153 fs/fuse/inode.c fi->attr_version = atomic64_inc_return(&fc->attr_version); fi 154 fs/fuse/inode.c fi->i_time = attr_valid; fi 155 fs/fuse/inode.c WRITE_ONCE(fi->inval_mask, 0); fi 183 fs/fuse/inode.c fi->orig_i_mode = inode->i_mode; fi 187 fs/fuse/inode.c fi->orig_ino = attr->ino; fi 194 fs/fuse/inode.c struct fuse_inode *fi = get_fuse_inode(inode); fi 199 fs/fuse/inode.c spin_lock(&fi->lock); fi 200 fs/fuse/inode.c if ((attr_version != 0 && fi->attr_version > attr_version) || fi 201 fs/fuse/inode.c test_bit(FUSE_I_SIZE_UNSTABLE, &fi->state)) { fi 202 fs/fuse/inode.c spin_unlock(&fi->lock); fi 217 fs/fuse/inode.c spin_unlock(&fi->lock); fi 290 fs/fuse/inode.c struct fuse_inode *fi; fi 312 fs/fuse/inode.c fi = get_fuse_inode(inode); fi 313 fs/fuse/inode.c spin_lock(&fi->lock); fi 314 fs/fuse/inode.c fi->nlookup++; fi 315 fs/fuse/inode.c spin_unlock(&fi->lock); fi 19 fs/fuse/readdir.c struct fuse_inode *fi = get_fuse_inode(dir); fi 25 fs/fuse/readdir.c if (test_and_clear_bit(FUSE_I_ADVISE_RDPLUS, &fi->state)) fi 35 fs/fuse/readdir.c struct fuse_inode *fi = get_fuse_inode(file_inode(file)); fi 44 fs/fuse/readdir.c spin_lock(&fi->rdc.lock); fi 49 fs/fuse/readdir.c if (fi->rdc.cached || pos != fi->rdc.pos) { fi 50 fs/fuse/readdir.c spin_unlock(&fi->rdc.lock); fi 53 fs/fuse/readdir.c version = fi->rdc.version; fi 54 fs/fuse/readdir.c size = fi->rdc.size; fi 62 fs/fuse/readdir.c spin_unlock(&fi->rdc.lock); fi 73 fs/fuse/readdir.c spin_lock(&fi->rdc.lock); fi 75 fs/fuse/readdir.c if (fi->rdc.version != version || fi->rdc.size != size || fi 76 fs/fuse/readdir.c WARN_ON(fi->rdc.pos != pos)) fi 84 fs/fuse/readdir.c fi->rdc.size = (index << PAGE_SHIFT) + offset + reclen; fi 85 fs/fuse/readdir.c fi->rdc.pos = dirent->off; fi 87 fs/fuse/readdir.c spin_unlock(&fi->rdc.lock); fi 94 fs/fuse/readdir.c struct fuse_inode *fi = get_fuse_inode(file_inode(file)); fi 97 fs/fuse/readdir.c spin_lock(&fi->rdc.lock); fi 99 fs/fuse/readdir.c if (fi->rdc.pos != pos) { fi 100 fs/fuse/readdir.c spin_unlock(&fi->rdc.lock); fi 104 fs/fuse/readdir.c fi->rdc.cached = true; fi 105 fs/fuse/readdir.c end = ALIGN(fi->rdc.size, PAGE_SIZE); fi 106 fs/fuse/readdir.c spin_unlock(&fi->rdc.lock); fi 201 fs/fuse/readdir.c struct fuse_inode *fi; fi 215 fs/fuse/readdir.c fi = get_fuse_inode(inode); fi 216 fs/fuse/readdir.c spin_lock(&fi->lock); fi 217 fs/fuse/readdir.c fi->nlookup++; fi 218 fs/fuse/readdir.c spin_unlock(&fi->lock); fi 421 fs/fuse/readdir.c struct fuse_inode *fi = get_fuse_inode(inode); fi 423 fs/fuse/readdir.c fi->rdc.cached = false; fi 424 fs/fuse/readdir.c fi->rdc.version++; fi 425 fs/fuse/readdir.c fi->rdc.size = 0; fi 426 fs/fuse/readdir.c fi->rdc.pos = 0; fi 436 fs/fuse/readdir.c struct fuse_inode *fi = get_fuse_inode(inode); fi 461 fs/fuse/readdir.c spin_lock(&fi->rdc.lock); fi 463 fs/fuse/readdir.c if (!fi->rdc.cached) { fi 465 fs/fuse/readdir.c if (!ctx->pos && !fi->rdc.size) { fi 466 fs/fuse/readdir.c fi->rdc.mtime = inode->i_mtime; fi 467 fs/fuse/readdir.c fi->rdc.iversion = inode_query_iversion(inode); fi 469 fs/fuse/readdir.c spin_unlock(&fi->rdc.lock); fi 478 fs/fuse/readdir.c if (inode_peek_iversion(inode) != fi->rdc.iversion || fi 479 fs/fuse/readdir.c !timespec64_equal(&fi->rdc.mtime, &inode->i_mtime)) { fi 489 fs/fuse/readdir.c if (ff->readdir.version != fi->rdc.version) { fi 498 fs/fuse/readdir.c ff->readdir.version = fi->rdc.version; fi 500 fs/fuse/readdir.c WARN_ON(fi->rdc.size < ff->readdir.cache_off); fi 504 fs/fuse/readdir.c if (index == (fi->rdc.size >> PAGE_SHIFT)) fi 505 fs/fuse/readdir.c size = fi->rdc.size & ~PAGE_MASK; fi 508 fs/fuse/readdir.c spin_unlock(&fi->rdc.lock); fi 516 fs/fuse/readdir.c spin_lock(&fi->rdc.lock); fi 521 fs/fuse/readdir.c if (fi->rdc.version == ff->readdir.version) fi 527 fs/fuse/readdir.c if (ff->readdir.version != fi->rdc.version) { fi 528 fs/fuse/readdir.c spin_unlock(&fi->rdc.lock); fi 533 fs/fuse/readdir.c spin_unlock(&fi->rdc.lock); fi 11 fs/iomap/fiemap.c struct fiemap_extent_info *fi; fi 15 fs/iomap/fiemap.c static int iomap_to_fiemap(struct fiemap_extent_info *fi, fi 40 fs/iomap/fiemap.c return fiemap_fill_next_extent(fi, iomap->offset, fi 55 fs/iomap/fiemap.c ret = iomap_to_fiemap(ctx->fi, &ctx->prev, 0); fi 67 fs/iomap/fiemap.c int iomap_fiemap(struct inode *inode, struct fiemap_extent_info *fi, fi 74 fs/iomap/fiemap.c ctx.fi = fi; fi 77 fs/iomap/fiemap.c ret = fiemap_check_flags(fi, FIEMAP_FLAG_SYNC); fi 81 fs/iomap/fiemap.c if (fi->fi_flags & FIEMAP_FLAG_SYNC) { fi 103 fs/iomap/fiemap.c ret = iomap_to_fiemap(fi, &ctx.prev, FIEMAP_EXTENT_LAST); fi 179 fs/jfs/jfs_dtree.c static void dtDeleteEntry(dtpage_t * p, int fi, struct dt_lock ** dtlock); fi 4252 fs/jfs/jfs_dtree.c static void dtDeleteEntry(dtpage_t * p, int fi, struct dt_lock ** dtlock) fi 4264 fs/jfs/jfs_dtree.c fsi = stbl[fi]; fi 4329 fs/jfs/jfs_dtree.c if (fi < si - 1) fi 4330 fs/jfs/jfs_dtree.c memmove(&stbl[fi], &stbl[fi + 1], si - fi - 1); fi 422 fs/nfsd/nfs4state.c put_nfs4_file(struct nfs4_file *fi) fi 426 fs/nfsd/nfs4state.c if (refcount_dec_and_lock(&fi->fi_ref, &state_lock)) { fi 427 fs/nfsd/nfs4state.c hlist_del_rcu(&fi->fi_hash); fi 429 fs/nfsd/nfs4state.c WARN_ON_ONCE(!list_empty(&fi->fi_clnt_odstate)); fi 430 fs/nfsd/nfs4state.c WARN_ON_ONCE(!list_empty(&fi->fi_delegations)); fi 431 fs/nfsd/nfs4state.c call_rcu(&fi->fi_rcu, nfsd4_free_file_rcu); fi 6314 fs/nfsd/nfs4state.c find_or_create_lock_stateid(struct nfs4_lockowner *lo, struct nfs4_file *fi, fi 6325 fs/nfsd/nfs4state.c lst = find_lock_stateid(lo, fi); fi 6336 fs/nfsd/nfs4state.c lst = init_lock_stateid(openlockstateid(ns), lo, fi, inode, ost); fi 6371 fs/nfsd/nfs4state.c struct nfs4_file *fi = ost->st_stid.sc_file; fi 6393 fs/nfsd/nfs4state.c lst = find_or_create_lock_stateid(lo, fi, inode, ost, new); fi 653 fs/nfsd/state.h void put_nfs4_file(struct nfs4_file *fi); fi 657 fs/nfsd/state.h static inline void get_nfs4_file(struct nfs4_file *fi) fi 659 fs/nfsd/state.h refcount_inc(&fi->fi_ref); fi 275 fs/ocfs2/ioctl.c struct ocfs2_info_freeinode *fi, fi 286 fs/ocfs2/ioctl.c if (inode_alloc && o2info_coherent(&fi->ifi_req)) { fi 303 fs/ocfs2/ioctl.c fi->ifi_stat[slot].lfi_total = fi 305 fs/ocfs2/ioctl.c fi->ifi_stat[slot].lfi_free = fi 44 fs/udf/dir.c struct fileIdentDesc *fi = NULL; fi 129 fs/udf/dir.c fi = udf_fileident_read(dir, &nf_pos, &fibh, &cfi, &epos, &eloc, fi 131 fs/udf/dir.c if (!fi) fi 138 fs/udf/dir.c nameptr = fi->fileIdent + liu; fi 156 fs/udf/dir.c memcpy(nameptr, fi->fileIdent + liu, fi 28 fs/udf/directory.c struct fileIdentDesc *fi; fi 37 fs/udf/directory.c fi = udf_get_fileident(iinfo->i_ext.i_data - fi 43 fs/udf/directory.c if (!fi) fi 48 fs/udf/directory.c memcpy((uint8_t *)cfi, (uint8_t *)fi, fi 51 fs/udf/directory.c return fi; fi 102 fs/udf/directory.c fi = udf_get_fileident(fibh->sbh->b_data, dir->i_sb->s_blocksize, fi 105 fs/udf/directory.c if (!fi) fi 111 fs/udf/directory.c memcpy((uint8_t *)cfi, (uint8_t *)fi, fi 139 fs/udf/directory.c memcpy((uint8_t *)cfi, (uint8_t *)fi, -fibh->soffset); fi 148 fs/udf/directory.c memcpy((uint8_t *)cfi, (uint8_t *)fi, fi 155 fs/udf/directory.c return fi; fi 160 fs/udf/directory.c struct fileIdentDesc *fi; fi 175 fs/udf/directory.c fi = (struct fileIdentDesc *)ptr; fi 176 fs/udf/directory.c if (fi->descTag.tagIdent != cpu_to_le16(TAG_IDENT_FID)) { fi 178 fs/udf/directory.c le16_to_cpu(fi->descTag.tagIdent)); fi 188 fs/udf/directory.c fi->lengthFileIdent + le16_to_cpu(fi->lengthOfImpUse); fi 196 fs/udf/directory.c return fi; fi 165 fs/udf/namei.c struct fileIdentDesc *fi = NULL; fi 191 fs/udf/namei.c fi = ERR_PTR(-EIO); fi 206 fs/udf/namei.c fi = ERR_PTR(-EIO); fi 213 fs/udf/namei.c fi = ERR_PTR(-ENOMEM); fi 218 fs/udf/namei.c fi = udf_fileident_read(dir, &f_pos, fibh, cfi, &epos, &eloc, fi 220 fs/udf/namei.c if (!fi) { fi 221 fs/udf/namei.c fi = ERR_PTR(-EIO); fi 229 fs/udf/namei.c nameptr = fi->fileIdent + liu; fi 244 fs/udf/namei.c fi = ERR_PTR(-ENOMEM); fi 249 fs/udf/namei.c memcpy(nameptr, fi->fileIdent + liu, fi 275 fs/udf/namei.c fi = ERR_PTR(flen); fi 283 fs/udf/namei.c fi = NULL; fi 293 fs/udf/namei.c return fi; fi 302 fs/udf/namei.c struct fileIdentDesc *fi; fi 307 fs/udf/namei.c fi = udf_find_entry(dir, &dentry->d_name, &fibh, &cfi); fi 308 fs/udf/namei.c if (IS_ERR(fi)) fi 309 fs/udf/namei.c return ERR_CAST(fi); fi 311 fs/udf/namei.c if (fi) { fi 333 fs/udf/namei.c struct fileIdentDesc *fi = NULL; fi 402 fs/udf/namei.c fi = udf_fileident_read(dir, &f_pos, fibh, cfi, &epos, &eloc, fi 405 fs/udf/namei.c if (!fi) { fi 417 fs/udf/namei.c if (!udf_write_fi(dir, cfi, fi, fibh, NULL, fi 462 fs/udf/namei.c fi = (struct fileIdentDesc *) fi 471 fs/udf/namei.c fi = (struct fileIdentDesc *) fi 513 fs/udf/namei.c fi = (struct fileIdentDesc *)(fibh->sbh->b_data); fi 515 fs/udf/namei.c fi = (struct fileIdentDesc *) fi 531 fs/udf/namei.c if (!udf_write_fi(dir, cfi, fi, fibh, NULL, name)) { fi 557 fs/udf/namei.c fi = NULL; fi 564 fs/udf/namei.c return fi; fi 567 fs/udf/namei.c static int udf_delete_entry(struct inode *inode, struct fileIdentDesc *fi, fi 576 fs/udf/namei.c return udf_write_fi(inode, cfi, fi, fibh, NULL, NULL); fi 584 fs/udf/namei.c struct fileIdentDesc cfi, *fi; fi 587 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); fi 588 fs/udf/namei.c if (unlikely(!fi)) { fi 597 fs/udf/namei.c udf_write_fi(dir, &cfi, fi, &fibh, NULL, NULL); fi 666 fs/udf/namei.c struct fileIdentDesc cfi, *fi; fi 678 fs/udf/namei.c fi = udf_add_entry(inode, NULL, &fibh, &cfi, &err); fi 679 fs/udf/namei.c if (!fi) { fi 691 fs/udf/namei.c udf_write_fi(inode, &cfi, fi, &fibh, NULL, NULL); fi 695 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); fi 696 fs/udf/namei.c if (!fi) { fi 707 fs/udf/namei.c udf_write_fi(dir, &cfi, fi, &fibh, NULL, NULL); fi 723 fs/udf/namei.c struct fileIdentDesc *fi, cfi; fi 762 fs/udf/namei.c fi = udf_fileident_read(dir, &f_pos, &fibh, &cfi, &epos, &eloc, fi 764 fs/udf/namei.c if (!fi) { fi 795 fs/udf/namei.c struct fileIdentDesc *fi, cfi; fi 799 fs/udf/namei.c fi = udf_find_entry(dir, &dentry->d_name, &fibh, &cfi); fi 800 fs/udf/namei.c if (IS_ERR_OR_NULL(fi)) { fi 801 fs/udf/namei.c if (fi) fi 802 fs/udf/namei.c retval = PTR_ERR(fi); fi 813 fs/udf/namei.c retval = udf_delete_entry(dir, fi, &fibh, &cfi); fi 840 fs/udf/namei.c struct fileIdentDesc *fi; fi 845 fs/udf/namei.c fi = udf_find_entry(dir, &dentry->d_name, &fibh, &cfi); fi 847 fs/udf/namei.c if (IS_ERR_OR_NULL(fi)) { fi 848 fs/udf/namei.c if (fi) fi 849 fs/udf/namei.c retval = PTR_ERR(fi); fi 863 fs/udf/namei.c retval = udf_delete_entry(dir, fi, &fibh, &cfi); fi 1035 fs/udf/namei.c struct fileIdentDesc cfi, *fi; fi 1038 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); fi 1039 fs/udf/namei.c if (!fi) { fi 1048 fs/udf/namei.c udf_write_fi(dir, &cfi, fi, &fibh, NULL, NULL); fi 569 fs/xfs/libxfs/xfs_dir2_node.c int fi; /* free entry index */ fi 664 fs/xfs/libxfs/xfs_dir2_node.c fi = dp->d_ops->db_to_fdindex(args->geo, curdb); fi 669 fs/xfs/libxfs/xfs_dir2_node.c if (unlikely(bests[fi] == cpu_to_be16(NULLDATAOFF))) { fi 677 fs/xfs/libxfs/xfs_dir2_node.c if (be16_to_cpu(bests[fi]) >= length) fi 682 fs/xfs/libxfs/xfs_dir2_node.c fi = -1; fi 689 fs/xfs/libxfs/xfs_dir2_node.c state->extrablk.index = fi; fi 240 include/linux/usb/composite.h const struct usb_function_instance *fi; fi 597 include/linux/usb/composite.h void usb_put_function_instance(struct usb_function_instance *fi); fi 600 include/linux/usb/composite.h struct usb_function *usb_get_function(struct usb_function_instance *fi); fi 12 include/net/dn_fib.h struct dn_fib_info *fi; fi 48 include/net/dn_fib.h #define DN_FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) fi 50 include/net/dn_fib.h #define DN_FIB_RES_PREFSRC(res) ((res).fi->fib_prefsrc ? : __dn_fib_res_prefsrc(&res)) fi 107 include/net/dn_fib.h int dn_fib_semantic_match(int type, struct dn_fib_info *fi, fi 109 include/net/dn_fib.h void dn_fib_release_info(struct dn_fib_info *fi); fi 131 include/net/dn_fib.h void dn_fib_free_info(struct dn_fib_info *fi); fi 133 include/net/dn_fib.h static inline void dn_fib_info_put(struct dn_fib_info *fi) fi 135 include/net/dn_fib.h if (refcount_dec_and_test(&fi->fib_clntref)) fi 136 include/net/dn_fib.h dn_fib_free_info(fi); fi 141 include/net/dn_fib.h if (res->fi) fi 142 include/net/dn_fib.h dn_fib_info_put(res->fi); fi 153 include/net/dn_fib.h #define dn_fib_info_put(fi) do { } while(0) fi 173 include/net/ip_fib.h struct fib_info *fi; fi 211 include/net/ip_fib.h struct fib_info *fi; fi 408 include/net/ip_fib.h bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev); fi 492 include/net/ip_fib.h void free_fib_info(struct fib_info *fi); fi 494 include/net/ip_fib.h static inline void fib_info_hold(struct fib_info *fi) fi 496 include/net/ip_fib.h refcount_inc(&fi->fib_clntref); fi 499 include/net/ip_fib.h static inline void fib_info_put(struct fib_info *fi) fi 501 include/net/ip_fib.h if (refcount_dec_and_test(&fi->fib_clntref)) fi 502 include/net/ip_fib.h free_fib_info(fi); fi 207 include/net/nexthop.h nh = nexthop_select_path(res->fi->nh, hash); fi 261 include/net/nexthop.h static inline unsigned int fib_info_num_path(const struct fib_info *fi) fi 263 include/net/nexthop.h if (unlikely(fi->nh)) fi 264 include/net/nexthop.h return nexthop_num_path(fi->nh); fi 266 include/net/nexthop.h return fi->fib_nhs; fi 272 include/net/nexthop.h static inline struct fib_nh_common *fib_info_nhc(struct fib_info *fi, int nhsel) fi 274 include/net/nexthop.h if (unlikely(fi->nh)) fi 275 include/net/nexthop.h return nexthop_fib_nhc(fi->nh, nhsel); fi 277 include/net/nexthop.h return &fi->fib_nh[nhsel].nh_common; fi 281 include/net/nexthop.h static inline struct fib_nh *fib_info_nh(struct fib_info *fi, int nhsel) fi 283 include/net/nexthop.h WARN_ON(fi->nh); fi 285 include/net/nexthop.h return &fi->fib_nh[nhsel]; fi 236 include/net/route.h u32 table_id, struct fib_info *fi, fi 334 include/trace/events/btrfs.h struct btrfs_file_extent_item *fi, u64 start), fi 336 include/trace/events/btrfs.h TP_ARGS(bi, l, fi, start), fi 359 include/trace/events/btrfs.h __entry->num_bytes = btrfs_file_extent_num_bytes(l, fi); fi 360 include/trace/events/btrfs.h __entry->ram_bytes = btrfs_file_extent_ram_bytes(l, fi); fi 361 include/trace/events/btrfs.h __entry->disk_bytenr = btrfs_file_extent_disk_bytenr(l, fi); fi 362 include/trace/events/btrfs.h __entry->disk_num_bytes = btrfs_file_extent_disk_num_bytes(l, fi); fi 363 include/trace/events/btrfs.h __entry->extent_offset = btrfs_file_extent_offset(l, fi); fi 364 include/trace/events/btrfs.h __entry->extent_type = btrfs_file_extent_type(l, fi); fi 365 include/trace/events/btrfs.h __entry->compression = btrfs_file_extent_compression(l, fi); fi 389 include/trace/events/btrfs.h struct btrfs_file_extent_item *fi, int slot, u64 start), fi 391 include/trace/events/btrfs.h TP_ARGS(bi, l, fi, slot, start), fi 410 include/trace/events/btrfs.h __entry->extent_type = btrfs_file_extent_type(l, fi); fi 411 include/trace/events/btrfs.h __entry->compression = btrfs_file_extent_compression(l, fi); fi 413 include/trace/events/btrfs.h __entry->extent_end = (start + btrfs_file_extent_ram_bytes(l, fi)); fi 430 include/trace/events/btrfs.h struct btrfs_file_extent_item *fi, u64 start), fi 432 include/trace/events/btrfs.h TP_ARGS(bi, l, fi, start) fi 439 include/trace/events/btrfs.h struct btrfs_file_extent_item *fi, u64 start), fi 441 include/trace/events/btrfs.h TP_ARGS(bi, l, fi, start) fi 448 include/trace/events/btrfs.h struct btrfs_file_extent_item *fi, int slot, u64 start), fi 450 include/trace/events/btrfs.h TP_ARGS(bi, l, fi, slot, start) fi 457 include/trace/events/btrfs.h struct btrfs_file_extent_item *fi, int slot, u64 start), fi 459 include/trace/events/btrfs.h TP_ARGS(bi, l, fi, slot, start) fi 4685 net/core/filter.c if (fib_info_num_path(res.fi) > 1) fi 4702 net/core/filter.c params->rt_metric = res.fi->fib_priority; fi 49 net/decnet/dn_fib.c #define for_fib_info() { struct dn_fib_info *fi;\ fi 50 net/decnet/dn_fib.c for(fi = dn_fib_info_list; fi; fi = fi->fib_next) fi 53 net/decnet/dn_fib.c #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\ fi 54 net/decnet/dn_fib.c for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) fi 56 net/decnet/dn_fib.c #define change_nexthops(fi) { int nhsel; struct dn_fib_nh *nh;\ fi 57 net/decnet/dn_fib.c for(nhsel = 0, nh = (struct dn_fib_nh *)((fi)->fib_nh); nhsel < (fi)->fib_nhs; nh++, nhsel++) fi 59 net/decnet/dn_fib.c #define endfor_nexthops(fi) } fi 87 net/decnet/dn_fib.c void dn_fib_free_info(struct dn_fib_info *fi) fi 89 net/decnet/dn_fib.c if (fi->fib_dead == 0) { fi 94 net/decnet/dn_fib.c change_nexthops(fi) { fi 98 net/decnet/dn_fib.c } endfor_nexthops(fi); fi 99 net/decnet/dn_fib.c kfree(fi); fi 102 net/decnet/dn_fib.c void dn_fib_release_info(struct dn_fib_info *fi) fi 105 net/decnet/dn_fib.c if (fi && --fi->fib_treeref == 0) { fi 106 net/decnet/dn_fib.c if (fi->fib_next) fi 107 net/decnet/dn_fib.c fi->fib_next->fib_prev = fi->fib_prev; fi 108 net/decnet/dn_fib.c if (fi->fib_prev) fi 109 net/decnet/dn_fib.c fi->fib_prev->fib_next = fi->fib_next; fi 110 net/decnet/dn_fib.c if (fi == dn_fib_info_list) fi 111 net/decnet/dn_fib.c dn_fib_info_list = fi->fib_next; fi 112 net/decnet/dn_fib.c fi->fib_dead = 1; fi 113 net/decnet/dn_fib.c dn_fib_info_put(fi); fi 118 net/decnet/dn_fib.c static inline int dn_fib_nh_comp(const struct dn_fib_info *fi, const struct dn_fib_info *ofi) fi 122 net/decnet/dn_fib.c for_nexthops(fi) { fi 130 net/decnet/dn_fib.c } endfor_nexthops(fi); fi 137 net/decnet/dn_fib.c if (fi->fib_nhs != nfi->fib_nhs) fi 139 net/decnet/dn_fib.c if (nfi->fib_protocol == fi->fib_protocol && fi 140 net/decnet/dn_fib.c nfi->fib_prefsrc == fi->fib_prefsrc && fi 141 net/decnet/dn_fib.c nfi->fib_priority == fi->fib_priority && fi 142 net/decnet/dn_fib.c memcmp(nfi->fib_metrics, fi->fib_metrics, sizeof(fi->fib_metrics)) == 0 && fi 143 net/decnet/dn_fib.c ((nfi->fib_flags^fi->fib_flags)&~RTNH_F_DEAD) == 0 && fi 144 net/decnet/dn_fib.c (nfi->fib_nhs == 0 || dn_fib_nh_comp(fi, nfi) == 0)) fi 145 net/decnet/dn_fib.c return fi; fi 164 net/decnet/dn_fib.c static int dn_fib_get_nhs(struct dn_fib_info *fi, const struct nlattr *attr, fi 170 net/decnet/dn_fib.c change_nexthops(fi) { fi 189 net/decnet/dn_fib.c } endfor_nexthops(fi); fi 195 net/decnet/dn_fib.c static int dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct dn_fib_nh *nh) fi 271 net/decnet/dn_fib.c struct dn_fib_info *fi = NULL; fi 285 net/decnet/dn_fib.c fi = kzalloc(struct_size(fi, fib_nh, nhs), GFP_KERNEL); fi 287 net/decnet/dn_fib.c if (fi == NULL) fi 290 net/decnet/dn_fib.c fi->fib_protocol = r->rtm_protocol; fi 291 net/decnet/dn_fib.c fi->fib_nhs = nhs; fi 292 net/decnet/dn_fib.c fi->fib_flags = r->rtm_flags; fi 295 net/decnet/dn_fib.c fi->fib_priority = nla_get_u32(attrs[RTA_PRIORITY]); fi 309 net/decnet/dn_fib.c fi->fib_metrics[type-1] = nla_get_u32(attr); fi 315 net/decnet/dn_fib.c fi->fib_prefsrc = nla_get_le16(attrs[RTA_PREFSRC]); fi 318 net/decnet/dn_fib.c if ((err = dn_fib_get_nhs(fi, attrs[RTA_MULTIPATH], r)) != 0) fi 322 net/decnet/dn_fib.c fi->fib_nh->nh_oif != nla_get_u32(attrs[RTA_OIF])) fi 326 net/decnet/dn_fib.c fi->fib_nh->nh_gw != nla_get_le16(attrs[RTA_GATEWAY])) fi 329 net/decnet/dn_fib.c struct dn_fib_nh *nh = fi->fib_nh; fi 345 net/decnet/dn_fib.c fi->fib_nh->nh_gw = nla_get_le16(attrs[RTA_GATEWAY]); fi 360 net/decnet/dn_fib.c struct dn_fib_nh *nh = fi->fib_nh; fi 366 net/decnet/dn_fib.c nh->nh_dev = dev_get_by_index(&init_net, fi->fib_nh->nh_oif); fi 371 net/decnet/dn_fib.c change_nexthops(fi) { fi 372 net/decnet/dn_fib.c if ((err = dn_fib_check_nh(r, fi, nh)) != 0) fi 374 net/decnet/dn_fib.c } endfor_nexthops(fi) fi 377 net/decnet/dn_fib.c if (fi->fib_prefsrc) { fi 379 net/decnet/dn_fib.c fi->fib_prefsrc != nla_get_le16(attrs[RTA_DST])) fi 380 net/decnet/dn_fib.c if (dnet_addr_type(fi->fib_prefsrc) != RTN_LOCAL) fi 385 net/decnet/dn_fib.c if ((ofi = dn_fib_find_info(fi)) != NULL) { fi 386 net/decnet/dn_fib.c fi->fib_dead = 1; fi 387 net/decnet/dn_fib.c dn_fib_free_info(fi); fi 392 net/decnet/dn_fib.c fi->fib_treeref++; fi 393 net/decnet/dn_fib.c refcount_set(&fi->fib_clntref, 1); fi 395 net/decnet/dn_fib.c fi->fib_next = dn_fib_info_list; fi 396 net/decnet/dn_fib.c fi->fib_prev = NULL; fi 398 net/decnet/dn_fib.c dn_fib_info_list->fib_prev = fi; fi 399 net/decnet/dn_fib.c dn_fib_info_list = fi; fi 401 net/decnet/dn_fib.c return fi; fi 408 net/decnet/dn_fib.c if (fi) { fi 409 net/decnet/dn_fib.c fi->fib_dead = 1; fi 410 net/decnet/dn_fib.c dn_fib_free_info(fi); fi 416 net/decnet/dn_fib.c int dn_fib_semantic_match(int type, struct dn_fib_info *fi, const struct flowidn *fld, struct dn_fib_res *res) fi 421 net/decnet/dn_fib.c if (fi->fib_flags & RTNH_F_DEAD) fi 424 net/decnet/dn_fib.c res->fi = fi; fi 429 net/decnet/dn_fib.c refcount_inc(&fi->fib_clntref); fi 433 net/decnet/dn_fib.c for_nexthops(fi) { fi 440 net/decnet/dn_fib.c if (nhsel < fi->fib_nhs) { fi 442 net/decnet/dn_fib.c refcount_inc(&fi->fib_clntref); fi 445 net/decnet/dn_fib.c endfor_nexthops(fi); fi 446 net/decnet/dn_fib.c res->fi = NULL; fi 451 net/decnet/dn_fib.c res->fi = NULL; fi 460 net/decnet/dn_fib.c struct dn_fib_info *fi = res->fi; fi 464 net/decnet/dn_fib.c if (fi->fib_power <= 0) { fi 466 net/decnet/dn_fib.c change_nexthops(fi) { fi 471 net/decnet/dn_fib.c } endfor_nexthops(fi); fi 472 net/decnet/dn_fib.c fi->fib_power = power; fi 480 net/decnet/dn_fib.c w = jiffies % fi->fib_power; fi 482 net/decnet/dn_fib.c change_nexthops(fi) { fi 486 net/decnet/dn_fib.c fi->fib_power--; fi 492 net/decnet/dn_fib.c } endfor_nexthops(fi); fi 712 net/decnet/dn_fib.c if (local && fi->fib_prefsrc == local) { fi 713 net/decnet/dn_fib.c fi->fib_flags |= RTNH_F_DEAD; fi 715 net/decnet/dn_fib.c } else if (dev && fi->fib_nhs) { fi 718 net/decnet/dn_fib.c change_nexthops(fi) { fi 725 net/decnet/dn_fib.c fi->fib_power -= nh->nh_power; fi 730 net/decnet/dn_fib.c } endfor_nexthops(fi) fi 731 net/decnet/dn_fib.c if (dead == fi->fib_nhs) { fi 732 net/decnet/dn_fib.c fi->fib_flags |= RTNH_F_DEAD; fi 751 net/decnet/dn_fib.c change_nexthops(fi) { fi 765 net/decnet/dn_fib.c } endfor_nexthops(fi); fi 768 net/decnet/dn_fib.c fi->fib_flags &= ~RTNH_F_DEAD; fi 864 net/decnet/dn_route.c struct dn_fib_info *fi = res->fi; fi 869 net/decnet/dn_route.c if (fi) { fi 873 net/decnet/dn_route.c dst_init_metrics(&rt->dst, fi->fib_metrics, true); fi 944 net/decnet/dn_route.c return (daddr&~mask)|res->fi->fib_nh->nh_gw; fi 962 net/decnet/dn_route.c struct dn_fib_res res = { .fi = NULL, .type = RTN_UNICAST }; fi 1148 net/decnet/dn_route.c if (res.fi) fi 1149 net/decnet/dn_route.c dn_fib_info_put(res.fi); fi 1150 net/decnet/dn_route.c res.fi = NULL; fi 1154 net/decnet/dn_route.c if (res.fi->fib_nhs > 1 && fld.flowidn_oif == 0) fi 1319 net/decnet/dn_route.c struct dn_fib_res res = { .fi = NULL, .type = RTN_UNREACHABLE }; fi 1395 net/decnet/dn_route.c if (res.fi->fib_nhs > 1 && fld.flowidn_oif == 0) fi 64 net/decnet/dn_table.c #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\ fi 65 net/decnet/dn_table.c for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) fi 67 net/decnet/dn_table.c #define endfor_nexthops(fi) } fi 229 net/decnet/dn_table.c static int dn_fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct nlattr *attrs[], struct dn_fib_info *fi) fi 235 net/decnet/dn_table.c nla_get_u32(attrs[RTA_PRIORITY]) != fi->fib_priority) fi 239 net/decnet/dn_table.c if ((!attrs[RTA_OIF] || nla_get_u32(attrs[RTA_OIF]) == fi->fib_nh->nh_oif) && fi 240 net/decnet/dn_table.c (!attrs[RTA_GATEWAY] || nla_get_le16(attrs[RTA_GATEWAY]) != fi->fib_nh->nh_gw)) fi 251 net/decnet/dn_table.c for_nexthops(fi) { fi 269 net/decnet/dn_table.c } endfor_nexthops(fi); fi 274 net/decnet/dn_table.c static inline size_t dn_fib_nlmsg_size(struct dn_fib_info *fi) fi 285 net/decnet/dn_table.c if (fi->fib_nhs) { fi 295 net/decnet/dn_table.c payload += nla_total_size(fi->fib_nhs * nhsize); fi 303 net/decnet/dn_table.c struct dn_fib_info *fi, unsigned int flags) fi 318 net/decnet/dn_table.c rtm->rtm_flags = fi->fib_flags; fi 321 net/decnet/dn_table.c rtm->rtm_protocol = fi->fib_protocol; fi 330 net/decnet/dn_table.c if (fi->fib_priority && fi 331 net/decnet/dn_table.c nla_put_u32(skb, RTA_PRIORITY, fi->fib_priority) < 0) fi 334 net/decnet/dn_table.c if (rtnetlink_put_metrics(skb, fi->fib_metrics) < 0) fi 337 net/decnet/dn_table.c if (fi->fib_nhs == 1) { fi 338 net/decnet/dn_table.c if (fi->fib_nh->nh_gw && fi 339 net/decnet/dn_table.c nla_put_le16(skb, RTA_GATEWAY, fi->fib_nh->nh_gw) < 0) fi 342 net/decnet/dn_table.c if (fi->fib_nh->nh_oif && fi 343 net/decnet/dn_table.c nla_put_u32(skb, RTA_OIF, fi->fib_nh->nh_oif) < 0) fi 347 net/decnet/dn_table.c if (fi->fib_nhs > 1) { fi 355 net/decnet/dn_table.c for_nexthops(fi) { fi 368 net/decnet/dn_table.c } endfor_nexthops(fi); fi 535 net/decnet/dn_table.c struct dn_fib_info *fi; fi 556 net/decnet/dn_table.c if ((fi = dn_fib_create_info(r, attrs, n, &err)) == NULL) fi 582 net/decnet/dn_table.c if (fi->fib_priority <= DN_FIB_INFO(f)->fib_priority) fi 587 net/decnet/dn_table.c fi->fib_priority == DN_FIB_INFO(f)->fib_priority) { fi 605 net/decnet/dn_table.c if (fi->fib_priority != DN_FIB_INFO(f)->fib_priority) fi 609 net/decnet/dn_table.c DN_FIB_INFO(f) == fi) fi 633 net/decnet/dn_table.c DN_FIB_INFO(new_f) = fi; fi 661 net/decnet/dn_table.c dn_fib_release_info(fi); fi 703 net/decnet/dn_table.c struct dn_fib_info *fi = DN_FIB_INFO(f); fi 714 net/decnet/dn_table.c fi->fib_protocol == r->rtm_protocol) && fi 715 net/decnet/dn_table.c dn_fib_nh_match(r, n, attrs, fi) == 0) fi 754 net/decnet/dn_table.c struct dn_fib_info *fi = DN_FIB_INFO(f); fi 756 net/decnet/dn_table.c if (fi && ((f->fn_state & DN_S_ZOMBIE) || (fi->fib_flags & RTNH_F_DEAD))) { fi 235 net/ipv4/fib_frontend.c struct fib_nh_common *nhc = fib_info_nhc(res.fi, 0); fi 318 net/ipv4/fib_frontend.c bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev) fi 322 net/ipv4/fib_frontend.c if (unlikely(fi->nh)) { fi 323 net/ipv4/fib_frontend.c dev_match = nexthop_uses_dev(fi->nh, dev); fi 327 net/ipv4/fib_frontend.c for (ret = 0; ret < fib_info_num_path(fi); ret++) { fi 328 net/ipv4/fib_frontend.c const struct fib_nh_common *nhc = fib_info_nhc(fi, ret); fi 337 net/ipv4/fib_frontend.c if (fib_info_nhc(fi, 0)->nhc_dev == dev) fi 392 net/ipv4/fib_frontend.c dev_match = fib_info_nh_uses_dev(res.fi, dev); fi 35 net/ipv4/fib_lookup.h int fib_nh_match(struct fib_config *cfg, struct fib_info *fi, fi 37 net/ipv4/fib_lookup.h bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi); fi 39 net/ipv4/fib_lookup.h u8 type, __be32 dst, int dst_len, u8 tos, struct fib_info *fi, fi 45 net/ipv4/fib_lookup.h struct fib_info *fi) fi 48 net/ipv4/fib_lookup.h res->fi = fi; fi 49 net/ipv4/fib_lookup.h res->nhc = fib_info_nhc(fi, 0); fi 145 net/ipv4/fib_rules.c if (result->fi) { fi 146 net/ipv4/fib_rules.c struct fib_nh_common *nhc = fib_info_nhc(result->fi, 0); fi 167 net/ipv4/fib_rules.c fib_info_put(result->fi); fi 65 net/ipv4/fib_semantics.c #define for_nexthops(fi) { \ fi 67 net/ipv4/fib_semantics.c for (nhsel = 0, nh = (fi)->fib_nh; \ fi 68 net/ipv4/fib_semantics.c nhsel < fib_info_num_path((fi)); \ fi 71 net/ipv4/fib_semantics.c #define change_nexthops(fi) { \ fi 73 net/ipv4/fib_semantics.c for (nhsel = 0, nexthop_nh = (struct fib_nh *)((fi)->fib_nh); \ fi 74 net/ipv4/fib_semantics.c nhsel < fib_info_num_path((fi)); \ fi 81 net/ipv4/fib_semantics.c #define for_nexthops(fi) { \ fi 82 net/ipv4/fib_semantics.c int nhsel; const struct fib_nh *nh = (fi)->fib_nh; \ fi 85 net/ipv4/fib_semantics.c #define change_nexthops(fi) { \ fi 87 net/ipv4/fib_semantics.c struct fib_nh *nexthop_nh = (struct fib_nh *)((fi)->fib_nh); \ fi 92 net/ipv4/fib_semantics.c #define endfor_nexthops(fi) } fi 233 net/ipv4/fib_semantics.c struct fib_info *fi = container_of(head, struct fib_info, rcu); fi 235 net/ipv4/fib_semantics.c if (fi->nh) { fi 236 net/ipv4/fib_semantics.c nexthop_put(fi->nh); fi 238 net/ipv4/fib_semantics.c change_nexthops(fi) { fi 239 net/ipv4/fib_semantics.c fib_nh_release(fi->fib_net, nexthop_nh); fi 240 net/ipv4/fib_semantics.c } endfor_nexthops(fi); fi 243 net/ipv4/fib_semantics.c ip_fib_metrics_put(fi->fib_metrics); fi 245 net/ipv4/fib_semantics.c kfree(fi); fi 248 net/ipv4/fib_semantics.c void free_fib_info(struct fib_info *fi) fi 250 net/ipv4/fib_semantics.c if (fi->fib_dead == 0) { fi 251 net/ipv4/fib_semantics.c pr_warn("Freeing alive fib_info %p\n", fi); fi 256 net/ipv4/fib_semantics.c call_rcu(&fi->rcu, free_fib_info_rcu); fi 260 net/ipv4/fib_semantics.c void fib_release_info(struct fib_info *fi) fi 263 net/ipv4/fib_semantics.c if (fi && --fi->fib_treeref == 0) { fi 264 net/ipv4/fib_semantics.c hlist_del(&fi->fib_hash); fi 265 net/ipv4/fib_semantics.c if (fi->fib_prefsrc) fi 266 net/ipv4/fib_semantics.c hlist_del(&fi->fib_lhash); fi 267 net/ipv4/fib_semantics.c if (fi->nh) { fi 268 net/ipv4/fib_semantics.c list_del(&fi->nh_list); fi 270 net/ipv4/fib_semantics.c change_nexthops(fi) { fi 274 net/ipv4/fib_semantics.c } endfor_nexthops(fi) fi 276 net/ipv4/fib_semantics.c fi->fib_dead = 1; fi 277 net/ipv4/fib_semantics.c fib_info_put(fi); fi 282 net/ipv4/fib_semantics.c static inline int nh_comp(struct fib_info *fi, struct fib_info *ofi) fi 286 net/ipv4/fib_semantics.c if (fi->nh || ofi->nh) fi 287 net/ipv4/fib_semantics.c return nexthop_cmp(fi->nh, ofi->nh) ? 0 : -1; fi 292 net/ipv4/fib_semantics.c for_nexthops(fi) { fi 315 net/ipv4/fib_semantics.c } endfor_nexthops(fi); fi 347 net/ipv4/fib_semantics.c static inline unsigned int fib_info_hashfn(struct fib_info *fi) fi 351 net/ipv4/fib_semantics.c val = fib_info_hashfn_1(fi->fib_nhs, fi->fib_protocol, fi 352 net/ipv4/fib_semantics.c fi->fib_scope, (__force u32)fi->fib_prefsrc, fi 353 net/ipv4/fib_semantics.c fi->fib_priority); fi 355 net/ipv4/fib_semantics.c if (fi->nh) { fi 356 net/ipv4/fib_semantics.c val ^= fib_devindex_hashfn(fi->nh->id); fi 358 net/ipv4/fib_semantics.c for_nexthops(fi) { fi 360 net/ipv4/fib_semantics.c } endfor_nexthops(fi) fi 371 net/ipv4/fib_semantics.c struct fib_info *fi; fi 381 net/ipv4/fib_semantics.c hlist_for_each_entry(fi, head, fib_hash) { fi 382 net/ipv4/fib_semantics.c if (!net_eq(fi->fib_net, net)) fi 384 net/ipv4/fib_semantics.c if (!fi->nh || fi->nh->id != cfg->fc_nh_id) fi 386 net/ipv4/fib_semantics.c if (cfg->fc_protocol == fi->fib_protocol && fi 387 net/ipv4/fib_semantics.c cfg->fc_scope == fi->fib_scope && fi 388 net/ipv4/fib_semantics.c cfg->fc_prefsrc == fi->fib_prefsrc && fi 389 net/ipv4/fib_semantics.c cfg->fc_priority == fi->fib_priority && fi 390 net/ipv4/fib_semantics.c cfg->fc_type == fi->fib_type && fi 391 net/ipv4/fib_semantics.c cfg->fc_table == fi->fib_tb_id && fi 392 net/ipv4/fib_semantics.c !((cfg->fc_flags ^ fi->fib_flags) & ~RTNH_COMPARE_MASK)) fi 393 net/ipv4/fib_semantics.c return fi; fi 402 net/ipv4/fib_semantics.c struct fib_info *fi; fi 408 net/ipv4/fib_semantics.c hlist_for_each_entry(fi, head, fib_hash) { fi 409 net/ipv4/fib_semantics.c if (!net_eq(fi->fib_net, nfi->fib_net)) fi 411 net/ipv4/fib_semantics.c if (fi->fib_nhs != nfi->fib_nhs) fi 413 net/ipv4/fib_semantics.c if (nfi->fib_protocol == fi->fib_protocol && fi 414 net/ipv4/fib_semantics.c nfi->fib_scope == fi->fib_scope && fi 415 net/ipv4/fib_semantics.c nfi->fib_prefsrc == fi->fib_prefsrc && fi 416 net/ipv4/fib_semantics.c nfi->fib_priority == fi->fib_priority && fi 417 net/ipv4/fib_semantics.c nfi->fib_type == fi->fib_type && fi 418 net/ipv4/fib_semantics.c memcmp(nfi->fib_metrics, fi->fib_metrics, fi 420 net/ipv4/fib_semantics.c !((nfi->fib_flags ^ fi->fib_flags) & ~RTNH_COMPARE_MASK) && fi 421 net/ipv4/fib_semantics.c nh_comp(fi, nfi) == 0) fi 422 net/ipv4/fib_semantics.c return fi; fi 455 net/ipv4/fib_semantics.c static inline size_t fib_nlmsg_size(struct fib_info *fi) fi 463 net/ipv4/fib_semantics.c unsigned int nhs = fib_info_num_path(fi); fi 468 net/ipv4/fib_semantics.c if (fi->nh) fi 483 net/ipv4/fib_semantics.c for (i = 0; i < fib_info_num_path(fi); i++) { fi 484 net/ipv4/fib_semantics.c struct fib_nh_common *nhc = fib_info_nhc(fi, i); fi 532 net/ipv4/fib_semantics.c static int fib_detect_death(struct fib_info *fi, int order, fi 536 net/ipv4/fib_semantics.c const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); fi 560 net/ipv4/fib_semantics.c *last_resort = fi; fi 658 net/ipv4/fib_semantics.c static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, fi 662 net/ipv4/fib_semantics.c struct net *net = fi->fib_net; fi 667 net/ipv4/fib_semantics.c change_nexthops(fi) { fi 724 net/ipv4/fib_semantics.c } endfor_nexthops(fi); fi 727 net/ipv4/fib_semantics.c nh = fib_info_nh(fi, 0); fi 757 net/ipv4/fib_semantics.c static void fib_rebalance(struct fib_info *fi) fi 762 net/ipv4/fib_semantics.c if (fib_info_num_path(fi) < 2) fi 766 net/ipv4/fib_semantics.c for_nexthops(fi) { fi 775 net/ipv4/fib_semantics.c } endfor_nexthops(fi); fi 778 net/ipv4/fib_semantics.c change_nexthops(fi) { fi 793 net/ipv4/fib_semantics.c } endfor_nexthops(fi); fi 797 net/ipv4/fib_semantics.c static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, fi 806 net/ipv4/fib_semantics.c #define fib_rebalance(fi) do { } while (0) fi 832 net/ipv4/fib_semantics.c int fib_nh_match(struct fib_config *cfg, struct fib_info *fi, fi 840 net/ipv4/fib_semantics.c if (cfg->fc_priority && cfg->fc_priority != fi->fib_priority) fi 844 net/ipv4/fib_semantics.c if (fi->nh && cfg->fc_nh_id == fi->nh->id) fi 850 net/ipv4/fib_semantics.c struct fib_nh *nh = fib_info_nh(fi, 0); fi 885 net/ipv4/fib_semantics.c for_nexthops(fi) { fi 941 net/ipv4/fib_semantics.c } endfor_nexthops(fi); fi 946 net/ipv4/fib_semantics.c bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi) fi 968 net/ipv4/fib_semantics.c val = tcp_ca_get_key_by_name(fi->fib_net, tmp, &ecn_ca); fi 975 net/ipv4/fib_semantics.c fi_val = fi->fib_metrics->metrics[type - 1]; fi 1244 net/ipv4/fib_semantics.c struct fib_info *fi; fi 1246 net/ipv4/fib_semantics.c hlist_for_each_entry_safe(fi, n, head, fib_hash) { fi 1250 net/ipv4/fib_semantics.c new_hash = fib_info_hashfn(fi); fi 1252 net/ipv4/fib_semantics.c hlist_add_head(&fi->fib_hash, dest); fi 1260 net/ipv4/fib_semantics.c struct fib_info *fi; fi 1262 net/ipv4/fib_semantics.c hlist_for_each_entry_safe(fi, n, lhead, fib_lhash) { fi 1266 net/ipv4/fib_semantics.c new_hash = fib_laddr_hashfn(fi->fib_prefsrc); fi 1268 net/ipv4/fib_semantics.c hlist_add_head(&fi->fib_lhash, ldest); fi 1299 net/ipv4/fib_semantics.c if (res->fi->fib_prefsrc) fi 1300 net/ipv4/fib_semantics.c return res->fi->fib_prefsrc; fi 1310 net/ipv4/fib_semantics.c return fib_info_update_nhc_saddr(net, nhc, res->fi->fib_scope); fi 1341 net/ipv4/fib_semantics.c struct fib_info *fi = NULL; fi 1364 net/ipv4/fib_semantics.c fi = fib_find_info_nh(net, cfg); fi 1365 net/ipv4/fib_semantics.c if (fi) { fi 1366 net/ipv4/fib_semantics.c fi->fib_treeref++; fi 1367 net/ipv4/fib_semantics.c return fi; fi 1409 net/ipv4/fib_semantics.c fi = kzalloc(struct_size(fi, fib_nh, nhs), GFP_KERNEL); fi 1410 net/ipv4/fib_semantics.c if (!fi) fi 1412 net/ipv4/fib_semantics.c fi->fib_metrics = ip_fib_metrics_init(fi->fib_net, cfg->fc_mx, fi 1414 net/ipv4/fib_semantics.c if (IS_ERR(fi->fib_metrics)) { fi 1415 net/ipv4/fib_semantics.c err = PTR_ERR(fi->fib_metrics); fi 1416 net/ipv4/fib_semantics.c kfree(fi); fi 1421 net/ipv4/fib_semantics.c fi->fib_net = net; fi 1422 net/ipv4/fib_semantics.c fi->fib_protocol = cfg->fc_protocol; fi 1423 net/ipv4/fib_semantics.c fi->fib_scope = cfg->fc_scope; fi 1424 net/ipv4/fib_semantics.c fi->fib_flags = cfg->fc_flags; fi 1425 net/ipv4/fib_semantics.c fi->fib_priority = cfg->fc_priority; fi 1426 net/ipv4/fib_semantics.c fi->fib_prefsrc = cfg->fc_prefsrc; fi 1427 net/ipv4/fib_semantics.c fi->fib_type = cfg->fc_type; fi 1428 net/ipv4/fib_semantics.c fi->fib_tb_id = cfg->fc_table; fi 1430 net/ipv4/fib_semantics.c fi->fib_nhs = nhs; fi 1437 net/ipv4/fib_semantics.c fi->nh = nh; fi 1440 net/ipv4/fib_semantics.c change_nexthops(fi) { fi 1441 net/ipv4/fib_semantics.c nexthop_nh->nh_parent = fi; fi 1442 net/ipv4/fib_semantics.c } endfor_nexthops(fi) fi 1445 net/ipv4/fib_semantics.c err = fib_get_nhs(fi, cfg->fc_mp, cfg->fc_mp_len, cfg, fi 1448 net/ipv4/fib_semantics.c err = fib_nh_init(net, fi->fib_nh, cfg, 1, extack); fi 1480 net/ipv4/fib_semantics.c if (fi->nh) { fi 1481 net/ipv4/fib_semantics.c err = fib_check_nexthop(fi->nh, cfg->fc_scope, extack); fi 1485 net/ipv4/fib_semantics.c struct fib_nh *nh = fi->fib_nh; fi 1506 net/ipv4/fib_semantics.c change_nexthops(fi) { fi 1514 net/ipv4/fib_semantics.c } endfor_nexthops(fi) fi 1515 net/ipv4/fib_semantics.c if (linkdown == fi->fib_nhs) fi 1516 net/ipv4/fib_semantics.c fi->fib_flags |= RTNH_F_LINKDOWN; fi 1519 net/ipv4/fib_semantics.c if (fi->fib_prefsrc && !fib_valid_prefsrc(cfg, fi->fib_prefsrc)) { fi 1524 net/ipv4/fib_semantics.c if (!fi->nh) { fi 1525 net/ipv4/fib_semantics.c change_nexthops(fi) { fi 1527 net/ipv4/fib_semantics.c fi->fib_scope); fi 1529 net/ipv4/fib_semantics.c fi->fib_nh_is_v6 = true; fi 1530 net/ipv4/fib_semantics.c } endfor_nexthops(fi) fi 1532 net/ipv4/fib_semantics.c fib_rebalance(fi); fi 1536 net/ipv4/fib_semantics.c ofi = fib_find_info(fi); fi 1538 net/ipv4/fib_semantics.c fi->fib_dead = 1; fi 1539 net/ipv4/fib_semantics.c free_fib_info(fi); fi 1544 net/ipv4/fib_semantics.c fi->fib_treeref++; fi 1545 net/ipv4/fib_semantics.c refcount_set(&fi->fib_clntref, 1); fi 1547 net/ipv4/fib_semantics.c hlist_add_head(&fi->fib_hash, fi 1548 net/ipv4/fib_semantics.c &fib_info_hash[fib_info_hashfn(fi)]); fi 1549 net/ipv4/fib_semantics.c if (fi->fib_prefsrc) { fi 1552 net/ipv4/fib_semantics.c head = &fib_info_laddrhash[fib_laddr_hashfn(fi->fib_prefsrc)]; fi 1553 net/ipv4/fib_semantics.c hlist_add_head(&fi->fib_lhash, head); fi 1555 net/ipv4/fib_semantics.c if (fi->nh) { fi 1556 net/ipv4/fib_semantics.c list_add(&fi->nh_list, &nh->fi_list); fi 1558 net/ipv4/fib_semantics.c change_nexthops(fi) { fi 1567 net/ipv4/fib_semantics.c } endfor_nexthops(fi) fi 1570 net/ipv4/fib_semantics.c return fi; fi 1576 net/ipv4/fib_semantics.c if (fi) { fi 1577 net/ipv4/fib_semantics.c fi->fib_dead = 1; fi 1578 net/ipv4/fib_semantics.c free_fib_info(fi); fi 1687 net/ipv4/fib_semantics.c static int fib_add_multipath(struct sk_buff *skb, struct fib_info *fi) fi 1695 net/ipv4/fib_semantics.c if (unlikely(fi->nh)) { fi 1696 net/ipv4/fib_semantics.c if (nexthop_mpath_fill_node(skb, fi->nh, AF_INET) < 0) fi 1701 net/ipv4/fib_semantics.c for_nexthops(fi) { fi 1710 net/ipv4/fib_semantics.c } endfor_nexthops(fi); fi 1721 net/ipv4/fib_semantics.c static int fib_add_multipath(struct sk_buff *skb, struct fib_info *fi) fi 1729 net/ipv4/fib_semantics.c struct fib_info *fi, unsigned int flags) fi 1731 net/ipv4/fib_semantics.c unsigned int nhs = fib_info_num_path(fi); fi 1751 net/ipv4/fib_semantics.c rtm->rtm_flags = fi->fib_flags; fi 1752 net/ipv4/fib_semantics.c rtm->rtm_scope = fi->fib_scope; fi 1753 net/ipv4/fib_semantics.c rtm->rtm_protocol = fi->fib_protocol; fi 1758 net/ipv4/fib_semantics.c if (fi->fib_priority && fi 1759 net/ipv4/fib_semantics.c nla_put_u32(skb, RTA_PRIORITY, fi->fib_priority)) fi 1761 net/ipv4/fib_semantics.c if (rtnetlink_put_metrics(skb, fi->fib_metrics->metrics) < 0) fi 1764 net/ipv4/fib_semantics.c if (fi->fib_prefsrc && fi 1765 net/ipv4/fib_semantics.c nla_put_in_addr(skb, RTA_PREFSRC, fi->fib_prefsrc)) fi 1768 net/ipv4/fib_semantics.c if (fi->nh) { fi 1769 net/ipv4/fib_semantics.c if (nla_put_u32(skb, RTA_NH_ID, fi->nh->id)) fi 1771 net/ipv4/fib_semantics.c if (nexthop_is_blackhole(fi->nh)) fi 1776 net/ipv4/fib_semantics.c const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); fi 1794 net/ipv4/fib_semantics.c if (fib_add_multipath(skb, fi) < 0) fi 1819 net/ipv4/fib_semantics.c struct fib_info *fi; fi 1824 net/ipv4/fib_semantics.c hlist_for_each_entry(fi, head, fib_lhash) { fi 1825 net/ipv4/fib_semantics.c if (!net_eq(fi->fib_net, net) || fi 1826 net/ipv4/fib_semantics.c fi->fib_tb_id != tb_id) fi 1828 net/ipv4/fib_semantics.c if (fi->fib_prefsrc == local) { fi 1829 net/ipv4/fib_semantics.c fi->fib_flags |= RTNH_F_DEAD; fi 1935 net/ipv4/fib_semantics.c struct fib_info *fi = nh->nh_parent; fi 1938 net/ipv4/fib_semantics.c BUG_ON(!fi->fib_nhs); fi 1939 net/ipv4/fib_semantics.c if (nh->fib_nh_dev != dev || fi == prev_fi) fi 1941 net/ipv4/fib_semantics.c prev_fi = fi; fi 1943 net/ipv4/fib_semantics.c change_nexthops(fi) { fi 1964 net/ipv4/fib_semantics.c dead = fi->fib_nhs; fi 1968 net/ipv4/fib_semantics.c } endfor_nexthops(fi) fi 1969 net/ipv4/fib_semantics.c if (dead == fi->fib_nhs) { fi 1973 net/ipv4/fib_semantics.c fi->fib_flags |= RTNH_F_DEAD; fi 1976 net/ipv4/fib_semantics.c fi->fib_flags |= RTNH_F_LINKDOWN; fi 1982 net/ipv4/fib_semantics.c fib_rebalance(fi); fi 1991 net/ipv4/fib_semantics.c struct fib_info *fi = NULL, *last_resort = NULL; fi 1997 net/ipv4/fib_semantics.c u32 last_prio = res->fi->fib_priority; fi 2031 net/ipv4/fib_semantics.c if (!fi) { fi 2032 net/ipv4/fib_semantics.c if (next_fi != res->fi) fi 2035 net/ipv4/fib_semantics.c } else if (!fib_detect_death(fi, order, &last_resort, fi 2037 net/ipv4/fib_semantics.c fib_result_assign(res, fi); fi 2041 net/ipv4/fib_semantics.c fi = next_fi; fi 2045 net/ipv4/fib_semantics.c if (order <= 0 || !fi) { fi 2051 net/ipv4/fib_semantics.c if (!fib_detect_death(fi, order, &last_resort, &last_idx, fi 2053 net/ipv4/fib_semantics.c fib_result_assign(res, fi); fi 2095 net/ipv4/fib_semantics.c struct fib_info *fi = nh->nh_parent; fi 2098 net/ipv4/fib_semantics.c BUG_ON(!fi->fib_nhs); fi 2099 net/ipv4/fib_semantics.c if (nh->fib_nh_dev != dev || fi == prev_fi) fi 2102 net/ipv4/fib_semantics.c prev_fi = fi; fi 2104 net/ipv4/fib_semantics.c change_nexthops(fi) { fi 2118 net/ipv4/fib_semantics.c } endfor_nexthops(fi) fi 2121 net/ipv4/fib_semantics.c fi->fib_flags &= ~nh_flags; fi 2125 net/ipv4/fib_semantics.c fib_rebalance(fi); fi 2160 net/ipv4/fib_semantics.c struct fib_info *fi = res->fi; fi 2161 net/ipv4/fib_semantics.c struct net *net = fi->fib_net; fi 2164 net/ipv4/fib_semantics.c if (unlikely(res->fi->nh)) { fi 2169 net/ipv4/fib_semantics.c change_nexthops(fi) { fi 2186 net/ipv4/fib_semantics.c } endfor_nexthops(fi); fi 2197 net/ipv4/fib_semantics.c if (fib_info_num_path(res->fi) > 1) { fi 84 net/ipv4/fib_trie.c .fi = fa->fa_info, fi 101 net/ipv4/fib_trie.c .fi = fa->fa_info, fi 1128 net/ipv4/fib_trie.c struct fib_info *fi; fi 1142 net/ipv4/fib_trie.c fi = fib_create_info(cfg, extack); fi 1143 net/ipv4/fib_trie.c if (IS_ERR(fi)) { fi 1144 net/ipv4/fib_trie.c err = PTR_ERR(fi); fi 1149 net/ipv4/fib_trie.c fa = l ? fib_find_alias(&l->leaf, slen, tos, fi->fib_priority, fi 1162 net/ipv4/fib_trie.c fa->fa_info->fib_priority == fi->fib_priority) { fi 1183 net/ipv4/fib_trie.c if (fa->fa_info->fib_priority != fi->fib_priority) fi 1186 net/ipv4/fib_trie.c fa->fa_info == fi) { fi 1210 net/ipv4/fib_trie.c new_fa->fa_info = fi; fi 1262 net/ipv4/fib_trie.c new_fa->fa_info = fi; fi 1299 net/ipv4/fib_trie.c fib_release_info(fi); fi 1442 net/ipv4/fib_trie.c struct fib_info *fi = fa->fa_info; fi 1451 net/ipv4/fib_trie.c if (fi->fib_dead) fi 1465 net/ipv4/fib_trie.c if (fi->fib_flags & RTNH_F_DEAD) fi 1468 net/ipv4/fib_trie.c if (unlikely(fi->nh && nexthop_is_blackhole(fi->nh))) { fi 1473 net/ipv4/fib_trie.c for (nhsel = 0; nhsel < fib_info_num_path(fi); nhsel++) { fi 1474 net/ipv4/fib_trie.c struct fib_nh_common *nhc = fib_info_nhc(fi, nhsel); fi 1489 net/ipv4/fib_trie.c refcount_inc(&fi->fib_clntref); fi 1496 net/ipv4/fib_trie.c res->scope = fi->fib_scope; fi 1497 net/ipv4/fib_trie.c res->fi = fi; fi 1575 net/ipv4/fib_trie.c struct fib_info *fi = fa->fa_info; fi 1586 net/ipv4/fib_trie.c fi->fib_prefsrc == cfg->fc_prefsrc) && fi 1588 net/ipv4/fib_trie.c fi->fib_protocol == cfg->fc_protocol) && fi 1589 net/ipv4/fib_trie.c fib_nh_match(cfg, fi, extack) == 0 && fi 1590 net/ipv4/fib_trie.c fib_metrics_match(cfg, fi)) { fi 1907 net/ipv4/fib_trie.c struct fib_info *fi = fa->fa_info; fi 1909 net/ipv4/fib_trie.c if (!fi || tb->tb_id != fa->tb_id || fi 1910 net/ipv4/fib_trie.c (!(fi->fib_flags & RTNH_F_DEAD) && fi 1984 net/ipv4/fib_trie.c struct fib_info *fi = fa->fa_info; fi 1986 net/ipv4/fib_trie.c if (!fi || !fi->nh_updated || fa->tb_id != tb->tb_id) fi 2024 net/ipv4/fib_trie.c struct fib_info *fi = fa->fa_info; fi 2026 net/ipv4/fib_trie.c if (!fi) fi 2106 net/ipv4/fib_trie.c struct fib_info *fi = fa->fa_info; fi 2121 net/ipv4/fib_trie.c fi->fib_protocol != filter->protocol)) fi 2125 net/ipv4/fib_trie.c !fib_info_nh_uses_dev(fi, filter->dev)) fi 2138 net/ipv4/fib_trie.c fa->fa_tos, fi, flags); fi 2147 net/ipv4/fib_trie.c err = fib_dump_info_fnhe(skb, cb, tb->tb_id, fi, fi 2754 net/ipv4/fib_trie.c static unsigned int fib_flag_trans(int type, __be32 mask, struct fib_info *fi) fi 2760 net/ipv4/fib_trie.c if (fi) { fi 2761 net/ipv4/fib_trie.c const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); fi 2796 net/ipv4/fib_trie.c struct fib_info *fi = fa->fa_info; fi 2798 net/ipv4/fib_trie.c unsigned int flags = fib_flag_trans(fa->fa_type, mask, fi); fi 2809 net/ipv4/fib_trie.c if (fi) { fi 2810 net/ipv4/fib_trie.c struct fib_nh_common *nhc = fib_info_nhc(fi, 0); fi 2821 net/ipv4/fib_trie.c fi->fib_priority, fi 2823 net/ipv4/fib_trie.c (fi->fib_advmss ? fi 2824 net/ipv4/fib_trie.c fi->fib_advmss + 40 : 0), fi 2825 net/ipv4/fib_trie.c fi->fib_window, fi 2826 net/ipv4/fib_trie.c fi->fib_rtt >> 3); fi 45 net/ipv4/netfilter/ipt_rpfilter.c return fib_info_nh_uses_dev(res.fi, dev) || flags & XT_RPFILTER_LOOSE; fi 136 net/ipv4/netfilter/nft_fib_ipv4.c if (!fib_info_nh_uses_dev(res.fi, oif)) fi 674 net/ipv4/nexthop.c struct fib_info *fi; fi 676 net/ipv4/nexthop.c list_for_each_entry(fi, &old->fi_list, nh_list) { fi 679 net/ipv4/nexthop.c err = fib_check_nexthop(new, fi->fib_scope, extack); fi 789 net/ipv4/nexthop.c struct fib_info *fi; fi 791 net/ipv4/nexthop.c list_for_each_entry(fi, &nh->fi_list, nh_list) { fi 792 net/ipv4/nexthop.c fi->fib_flags |= RTNH_F_DEAD; fi 914 net/ipv4/nexthop.c struct fib_info *fi; fi 920 net/ipv4/nexthop.c list_for_each_entry(fi, &nh->fi_list, nh_list) fi 921 net/ipv4/nexthop.c fi->nh_updated = true; fi 925 net/ipv4/nexthop.c list_for_each_entry(fi, &nh->fi_list, nh_list) fi 926 net/ipv4/nexthop.c fi->nh_updated = false; fi 1395 net/ipv4/route.c struct fib_info *fi = res->fi; fi 1399 net/ipv4/route.c fi->fib_metrics->metrics[RTAX_LOCK - 1] & (1 << RTAX_MTU)) fi 1400 net/ipv4/route.c mtu = fi->fib_mtu; fi 1563 net/ipv4/route.c struct fib_info *fi, u16 type, u32 itag, fi 1568 net/ipv4/route.c if (fi) { fi 1581 net/ipv4/route.c ip_dst_init_metrics(&rt->dst, fi->fib_metrics); fi 1811 net/ipv4/route.c do_cache = res->fi && !itag; fi 1862 net/ipv4/route.c rt_set_nexthop(rth, daddr, res, fnhe, res->fi, res->type, itag, fi 2014 net/ipv4/route.c if (res->fi && fib_info_num_path(res->fi) > 1) { fi 2015 net/ipv4/route.c int h = fib_multipath_hash(res->fi->fib_net, NULL, skb, hkeys); fi 2070 net/ipv4/route.c res->fi = NULL; fi 2166 net/ipv4/route.c do_cache &= res->fi && !itag; fi 2217 net/ipv4/route.c res->fi = NULL; fi 2317 net/ipv4/route.c struct fib_info *fi = res->fi; fi 2347 net/ipv4/route.c fi = NULL; fi 2359 net/ipv4/route.c if (fi && res->prefixlen < 4) fi 2360 net/ipv4/route.c fi = NULL; fi 2376 net/ipv4/route.c do_cache &= fi != NULL; fi 2377 net/ipv4/route.c if (fi) { fi 2430 net/ipv4/route.c rt_set_nexthop(rth, fl4->daddr, res, fnhe, fi, type, 0, do_cache); fi 2446 net/ipv4/route.c .fi = NULL, fi 2570 net/ipv4/route.c res->fi = NULL; fi 2605 net/ipv4/route.c if (res->fi->fib_prefsrc) fi 2606 net/ipv4/route.c fl4->saddr = res->fi->fib_prefsrc; fi 2916 net/ipv4/route.c u32 table_id, struct fib_info *fi, fi 2922 net/ipv4/route.c for (nhsel = 0; nhsel < fib_info_num_path(fi); nhsel++) { fi 2923 net/ipv4/route.c struct fib_nh_common *nhc = fib_info_nhc(fi, nhsel); fi 3185 net/ipv4/route.c if (!res.fi) { fi 3194 net/ipv4/route.c fl4.flowi4_tos, res.fi, 0); fi 129 tools/bpf/bpf_jit_disasm.c struct stat fi; fi 136 tools/bpf/bpf_jit_disasm.c ret = fstat(fd, &fi); fi 137 tools/bpf/bpf_jit_disasm.c if (ret < 0 || !S_ISREG(fi.st_mode)) fi 140 tools/bpf/bpf_jit_disasm.c len = fi.st_size + 1; fi 49 tools/testing/selftests/memfd/fuse_mnt.c struct fuse_file_info *fi) fi 61 tools/testing/selftests/memfd/fuse_mnt.c static int memfd_open(const char *path, struct fuse_file_info *fi) fi 66 tools/testing/selftests/memfd/fuse_mnt.c if ((fi->flags & 3) != O_RDONLY) fi 70 tools/testing/selftests/memfd/fuse_mnt.c fi->direct_io = 1; fi 79 tools/testing/selftests/memfd/fuse_mnt.c struct fuse_file_info *fi)