/linux-4.1.27/arch/arm64/net/ |
H A D | bpf_jit.h | 30 #define A64_VARIANT(sf) \ 31 ((sf) ? AARCH64_INSN_VARIANT_64BIT : AARCH64_INSN_VARIANT_32BIT) 34 #define A64_COMP_BRANCH(sf, Rt, offset, type) \ 35 aarch64_insn_gen_comp_branch_imm(0, offset, Rt, A64_VARIANT(sf), \ 37 #define A64_CBZ(sf, Rt, imm19) A64_COMP_BRANCH(sf, Rt, (imm19) << 2, ZERO) 38 #define A64_CBNZ(sf, Rt, imm19) A64_COMP_BRANCH(sf, Rt, (imm19) << 2, NONZERO) 86 #define A64_ADDSUB_IMM(sf, Rd, Rn, imm12, type) \ 88 A64_VARIANT(sf), AARCH64_INSN_ADSB_##type) 90 #define A64_ADD_I(sf, Rd, Rn, imm12) A64_ADDSUB_IMM(sf, Rd, Rn, imm12, ADD) 91 #define A64_SUB_I(sf, Rd, Rn, imm12) A64_ADDSUB_IMM(sf, Rd, Rn, imm12, SUB) 93 #define A64_MOV(sf, Rd, Rn) A64_ADD_I(sf, Rd, Rn, 0) 96 #define A64_BITFIELD(sf, Rd, Rn, immr, imms, type) \ 98 A64_VARIANT(sf), AARCH64_INSN_BITFIELD_MOVE_##type) 100 #define A64_SBFM(sf, Rd, Rn, ir, is) A64_BITFIELD(sf, Rd, Rn, ir, is, SIGNED) 102 #define A64_UBFM(sf, Rd, Rn, ir, is) A64_BITFIELD(sf, Rd, Rn, ir, is, UNSIGNED) 105 #define A64_LSL(sf, Rd, Rn, shift) ({ \ 106 int sz = (sf) ? 64 : 32; \ 107 A64_UBFM(sf, Rd, Rn, (unsigned)-(shift) % sz, sz - 1 - (shift)); \ 110 #define A64_LSR(sf, Rd, Rn, shift) A64_UBFM(sf, Rd, Rn, shift, (sf) ? 63 : 31) 112 #define A64_ASR(sf, Rd, Rn, shift) A64_SBFM(sf, Rd, Rn, shift, (sf) ? 63 : 31) 115 #define A64_UXTH(sf, Rd, Rn) A64_UBFM(sf, Rd, Rn, 0, 15) 116 #define A64_UXTW(sf, Rd, Rn) A64_UBFM(sf, Rd, Rn, 0, 31) 119 #define A64_MOVEW(sf, Rd, imm16, shift, type) \ 121 A64_VARIANT(sf), AARCH64_INSN_MOVEWIDE_##type) 125 #define A64_MOVN(sf, Rd, imm16, shift) A64_MOVEW(sf, Rd, imm16, shift, INVERSE) 126 #define A64_MOVZ(sf, Rd, imm16, shift) A64_MOVEW(sf, Rd, imm16, shift, ZERO) 127 #define A64_MOVK(sf, Rd, imm16, shift) A64_MOVEW(sf, Rd, imm16, shift, KEEP) 130 #define A64_ADDSUB_SREG(sf, Rd, Rn, Rm, type) \ 132 A64_VARIANT(sf), AARCH64_INSN_ADSB_##type) 134 #define A64_ADD(sf, Rd, Rn, Rm) A64_ADDSUB_SREG(sf, Rd, Rn, Rm, ADD) 135 #define A64_SUB(sf, Rd, Rn, Rm) A64_ADDSUB_SREG(sf, Rd, Rn, Rm, SUB) 136 #define A64_SUBS(sf, Rd, Rn, Rm) A64_ADDSUB_SREG(sf, Rd, Rn, Rm, SUB_SETFLAGS) 138 #define A64_NEG(sf, Rd, Rm) A64_SUB(sf, Rd, A64_ZR, Rm) 140 #define A64_CMP(sf, Rn, Rm) A64_SUBS(sf, A64_ZR, Rn, Rm) 143 #define A64_DATA1(sf, Rd, Rn, type) aarch64_insn_gen_data1(Rd, Rn, \ 144 A64_VARIANT(sf), AARCH64_INSN_DATA1_##type) 146 #define A64_REV16(sf, Rd, Rn) A64_DATA1(sf, Rd, Rn, REVERSE_16) 147 #define A64_REV32(sf, Rd, Rn) A64_DATA1(sf, Rd, Rn, REVERSE_32) 152 #define A64_DATA2(sf, Rd, Rn, Rm, type) aarch64_insn_gen_data2(Rd, Rn, Rm, \ 153 A64_VARIANT(sf), AARCH64_INSN_DATA2_##type) 154 #define A64_UDIV(sf, Rd, Rn, Rm) A64_DATA2(sf, Rd, Rn, Rm, UDIV) 155 #define A64_LSLV(sf, Rd, Rn, Rm) A64_DATA2(sf, Rd, Rn, Rm, LSLV) 156 #define A64_LSRV(sf, Rd, Rn, Rm) A64_DATA2(sf, Rd, Rn, Rm, LSRV) 157 #define A64_ASRV(sf, Rd, Rn, Rm) A64_DATA2(sf, Rd, Rn, Rm, ASRV) 161 #define A64_MADD(sf, Rd, Ra, Rn, Rm) aarch64_insn_gen_data3(Rd, Ra, Rn, Rm, \ 162 A64_VARIANT(sf), AARCH64_INSN_DATA3_MADD) 164 #define A64_MUL(sf, Rd, Rn, Rm) A64_MADD(sf, Rd, A64_ZR, Rn, Rm) 167 #define A64_LOGIC_SREG(sf, Rd, Rn, Rm, type) \ 169 A64_VARIANT(sf), AARCH64_INSN_LOGIC_##type) 171 #define A64_AND(sf, Rd, Rn, Rm) A64_LOGIC_SREG(sf, Rd, Rn, Rm, AND) 172 #define A64_ORR(sf, Rd, Rn, Rm) A64_LOGIC_SREG(sf, Rd, Rn, Rm, ORR) 173 #define A64_EOR(sf, Rd, Rn, Rm) A64_LOGIC_SREG(sf, Rd, Rn, Rm, EOR) 174 #define A64_ANDS(sf, Rd, Rn, Rm) A64_LOGIC_SREG(sf, Rd, Rn, Rm, AND_SETFLAGS) 176 #define A64_TST(sf, Rn, Rm) A64_ANDS(sf, A64_ZR, Rn, Rm)
|
/linux-4.1.27/net/mac80211/ |
H A D | debugfs.c | 102 int sf = 0; /* how many written so far */ hwflags_read() local 107 sf += scnprintf(buf, mxln - sf, "0x%x\n", local->hw.flags); hwflags_read() 109 sf += scnprintf(buf + sf, mxln - sf, "HAS_RATE_CONTROL\n"); hwflags_read() 111 sf += scnprintf(buf + sf, mxln - sf, "RX_INCLUDES_FCS\n"); hwflags_read() 113 sf += scnprintf(buf + sf, mxln - sf, hwflags_read() 116 sf += scnprintf(buf + sf, mxln - sf, hwflags_read() 119 sf += scnprintf(buf + sf, mxln - sf, hwflags_read() 122 sf += scnprintf(buf + sf, mxln - sf, "SIGNAL_UNSPEC\n"); hwflags_read() 124 sf += scnprintf(buf + sf, mxln - sf, "SIGNAL_DBM\n"); hwflags_read() 126 sf += scnprintf(buf + sf, mxln - sf, hwflags_read() 129 sf += scnprintf(buf + sf, mxln - sf, "SPECTRUM_MGMT\n"); hwflags_read() 131 sf += scnprintf(buf + sf, mxln - sf, "AMPDU_AGGREGATION\n"); hwflags_read() 133 sf += scnprintf(buf + sf, mxln - sf, "SUPPORTS_PS\n"); hwflags_read() 135 sf += scnprintf(buf + sf, mxln - sf, "PS_NULLFUNC_STACK\n"); hwflags_read() 137 sf += scnprintf(buf + sf, mxln - sf, "SUPPORTS_DYNAMIC_PS\n"); hwflags_read() 139 sf += scnprintf(buf + sf, mxln - sf, "MFP_CAPABLE\n"); hwflags_read() 141 sf += scnprintf(buf + sf, mxln - sf, hwflags_read() 144 sf += scnprintf(buf + sf, mxln - sf, "CONNECTION_MONITOR\n"); hwflags_read() 146 sf += scnprintf(buf + sf, mxln - sf, "SUPPORTS_PER_STA_GTK\n"); hwflags_read() 148 sf += scnprintf(buf + sf, mxln - sf, "AP_LINK_PS\n"); hwflags_read() 150 sf += scnprintf(buf + sf, mxln - sf, "TX_AMPDU_SETUP_IN_HW\n"); hwflags_read()
|
/linux-4.1.27/drivers/isdn/hardware/mISDN/ |
H A D | speedfax.c | 127 struct sfax_hw *sf = dev_id; speedfax_irq() local 131 spin_lock(&sf->lock); speedfax_irq() 132 val = inb(sf->cfg + TIGER_AUX_STATUS); speedfax_irq() 134 spin_unlock(&sf->lock); speedfax_irq() 137 sf->irqcnt++; speedfax_irq() 138 val = ReadISAR_IND(sf, ISAR_IRQBIT); speedfax_irq() 141 mISDNisar_irq(&sf->isar); speedfax_irq() 142 val = ReadISAC_IND(sf, ISAC_ISTA); speedfax_irq() 144 mISDNisac_irq(&sf->isac, val); speedfax_irq() 145 val = ReadISAR_IND(sf, ISAR_IRQBIT); speedfax_irq() 149 pr_debug("%s: %d irqloops cpu%d\n", sf->name, speedfax_irq() 152 pr_notice("%s: %d IRQ LOOP cpu%d\n", sf->name, speedfax_irq() 154 spin_unlock(&sf->lock); speedfax_irq() 159 enable_hwirq(struct sfax_hw *sf) enable_hwirq() argument 161 WriteISAC_IND(sf, ISAC_MASK, 0); enable_hwirq() 162 WriteISAR_IND(sf, ISAR_IRQBIT, ISAR_IRQMSK); enable_hwirq() 163 outb(SFAX_TIGER_IRQ_BIT, sf->cfg + TIGER_AUX_IRQMASK); enable_hwirq() 167 disable_hwirq(struct sfax_hw *sf) disable_hwirq() argument 169 WriteISAC_IND(sf, ISAC_MASK, 0xFF); disable_hwirq() 170 WriteISAR_IND(sf, ISAR_IRQBIT, 0); disable_hwirq() 171 outb(0, sf->cfg + TIGER_AUX_IRQMASK); disable_hwirq() 175 reset_speedfax(struct sfax_hw *sf) reset_speedfax() argument 178 pr_debug("%s: resetting card\n", sf->name); reset_speedfax() 179 outb(TIGER_EXTERN_RESET_ON, sf->cfg + TIGER_RESET_ADDR); reset_speedfax() 180 outb(SFAX_PCI_RESET_ON, sf->cfg + TIGER_AUX_DATA); reset_speedfax() 182 outb(TIGER_EXTERN_RESET_OFF, sf->cfg + TIGER_RESET_ADDR); reset_speedfax() 183 sf->aux_data = SFAX_PCI_RESET_OFF; reset_speedfax() 184 outb(sf->aux_data, sf->cfg + TIGER_AUX_DATA); reset_speedfax() 189 sfax_ctrl(struct sfax_hw *sf, u32 cmd, u_long arg) sfax_ctrl() argument 195 reset_speedfax(sf); sfax_ctrl() 199 sf->aux_data &= ~SFAX_LED1_BIT; sfax_ctrl() 201 sf->aux_data &= ~SFAX_LED2_BIT; sfax_ctrl() 202 outb(sf->aux_data, sf->cfg + TIGER_AUX_DATA); sfax_ctrl() 206 sf->aux_data |= SFAX_LED1_BIT; sfax_ctrl() 208 sf->aux_data |= SFAX_LED2_BIT; sfax_ctrl() 209 outb(sf->aux_data, sf->cfg + TIGER_AUX_DATA); sfax_ctrl() 213 sf->name, __func__, cmd, arg); sfax_ctrl() 221 channel_ctrl(struct sfax_hw *sf, struct mISDN_ctrl_req *cq) channel_ctrl() argument 235 ret = sf->isac.ctrl(&sf->isac, HW_TESTLOOP, cq->channel); channel_ctrl() 238 ret = sf->isac.ctrl(&sf->isac, HW_TIMER3_VALUE, cq->p1); channel_ctrl() 241 pr_info("%s: unknown Op %x\n", sf->name, cq->op); channel_ctrl() 253 struct sfax_hw *sf = dch->hw; sfax_dctrl() local 257 pr_debug("%s: cmd:%x %p\n", sf->name, cmd, arg); sfax_dctrl() 262 err = sf->isac.open(&sf->isac, rq); sfax_dctrl() 264 err = sf->isar.open(&sf->isar, rq); sfax_dctrl() 268 pr_info("%s: cannot get module\n", sf->name); sfax_dctrl() 271 pr_debug("%s: dev(%d) close from %p\n", sf->name, sfax_dctrl() 276 err = channel_ctrl(sf, arg); sfax_dctrl() 279 pr_debug("%s: unknown command %x\n", sf->name, cmd); sfax_dctrl() 286 init_card(struct sfax_hw *sf) init_card() argument 291 ret = request_irq(sf->irq, speedfax_irq, IRQF_SHARED, sf->name, sf); init_card() 293 pr_info("%s: couldn't get interrupt %d\n", sf->name, sf->irq); init_card() 297 spin_lock_irqsave(&sf->lock, flags); init_card() 298 ret = sf->isac.init(&sf->isac); init_card() 300 spin_unlock_irqrestore(&sf->lock, flags); init_card() 302 sf->name, ret); init_card() 305 enable_hwirq(sf); init_card() 307 WriteISAC_IND(sf, ISAC_CMDR, 0x41); init_card() 308 spin_unlock_irqrestore(&sf->lock, flags); init_card() 311 pr_notice("%s: IRQ %d count %d\n", sf->name, init_card() 312 sf->irq, sf->irqcnt); init_card() 313 if (!sf->irqcnt) { init_card() 315 sf->name, sf->irq, 3 - cnt); init_card() 319 free_irq(sf->irq, sf); init_card() 325 setup_speedfax(struct sfax_hw *sf) setup_speedfax() argument 329 if (!request_region(sf->cfg, 256, sf->name)) { setup_speedfax() 331 sf->name, sf->cfg, sf->cfg + 255); setup_speedfax() 334 outb(0xff, sf->cfg); setup_speedfax() 335 outb(0, sf->cfg); setup_speedfax() 336 outb(0xdd, sf->cfg + TIGER_AUX_CTRL); setup_speedfax() 337 outb(0, sf->cfg + TIGER_AUX_IRQMASK); setup_speedfax() 339 sf->isac.type = IPAC_TYPE_ISAC; setup_speedfax() 340 sf->p_isac.ale = sf->cfg + SFAX_PCI_ADDR; setup_speedfax() 341 sf->p_isac.port = sf->cfg + SFAX_PCI_ISAC; setup_speedfax() 342 sf->p_isar.ale = sf->cfg + SFAX_PCI_ADDR; setup_speedfax() 343 sf->p_isar.port = sf->cfg + SFAX_PCI_ISAR; setup_speedfax() 344 ASSIGN_FUNC(IND, ISAC, sf->isac); setup_speedfax() 345 ASSIGN_FUNC(IND, ISAR, sf->isar); setup_speedfax() 346 spin_lock_irqsave(&sf->lock, flags); setup_speedfax() 347 reset_speedfax(sf); setup_speedfax() 348 disable_hwirq(sf); setup_speedfax() 349 spin_unlock_irqrestore(&sf->lock, flags); setup_speedfax()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | signal_32.c | 65 struct signal_frame __user *sf; do_sigreturn() local 77 sf = (struct signal_frame __user *) regs->u_regs[UREG_FP]; do_sigreturn() 80 if (!access_ok(VERIFY_READ, sf, sizeof(*sf))) do_sigreturn() 83 if (((unsigned long) sf) & 3) do_sigreturn() 86 err = __get_user(pc, &sf->info.si_regs.pc); do_sigreturn() 87 err |= __get_user(npc, &sf->info.si_regs.npc); do_sigreturn() 94 err |= __copy_from_user(regs, &sf->info.si_regs, sizeof(struct pt_regs)); do_sigreturn() 103 err |= __get_user(fpu_save, &sf->fpu_save); do_sigreturn() 106 err |= __get_user(rwin_save, &sf->rwin_save); do_sigreturn() 113 err |= __get_user(set.sig[0], &sf->info.si_mask); do_sigreturn() 114 err |= __copy_from_user(&set.sig[1], &sf->extramask, do_sigreturn() 129 struct rt_signal_frame __user *sf; do_rt_sigreturn() local 137 sf = (struct rt_signal_frame __user *) regs->u_regs[UREG_FP]; do_rt_sigreturn() 138 if (!access_ok(VERIFY_READ, sf, sizeof(*sf)) || do_rt_sigreturn() 139 (((unsigned long) sf) & 0x03)) do_rt_sigreturn() 142 err = __get_user(pc, &sf->regs.pc); do_rt_sigreturn() 143 err |= __get_user(npc, &sf->regs.npc); do_rt_sigreturn() 146 err |= __get_user(regs->y, &sf->regs.y); do_rt_sigreturn() 147 err |= __get_user(psr, &sf->regs.psr); do_rt_sigreturn() 150 &sf->regs.u_regs[UREG_G1], 15 * sizeof(u32)); do_rt_sigreturn() 157 err |= __get_user(fpu_save, &sf->fpu_save); do_rt_sigreturn() 160 err |= __copy_from_user(&set, &sf->mask, sizeof(sigset_t)); do_rt_sigreturn() 161 err |= restore_altstack(&sf->stack); do_rt_sigreturn() 169 err |= __get_user(rwin_save, &sf->rwin_save); do_rt_sigreturn() 218 struct signal_frame __user *sf; setup_frame() local 227 sigframe_size = sizeof(*sf); setup_frame() 233 sf = (struct signal_frame __user *) setup_frame() 236 if (invalid_frame_pointer(sf, sigframe_size)) { setup_frame() 241 tail = sf + 1; setup_frame() 244 err = __copy_to_user(&sf->info.si_regs, regs, sizeof(struct pt_regs)); setup_frame() 246 err |= __put_user(0, &sf->extra_size); setup_frame() 252 err |= __put_user(fp, &sf->fpu_save); setup_frame() 254 err |= __put_user(0, &sf->fpu_save); setup_frame() 260 err |= __put_user(rwp, &sf->rwin_save); setup_frame() 262 err |= __put_user(0, &sf->rwin_save); setup_frame() 265 err |= __put_user(oldset->sig[0], &sf->info.si_mask); setup_frame() 266 err |= __copy_to_user(sf->extramask, &oldset->sig[1], setup_frame() 269 err |= __copy_to_user(sf, (char *) regs->u_regs[UREG_FP], setup_frame() 275 err |= __copy_to_user(sf, rp, sizeof(struct reg_window32)); setup_frame() 281 regs->u_regs[UREG_FP] = (unsigned long) sf; setup_frame() 283 regs->u_regs[UREG_I1] = (unsigned long) &sf->info; setup_frame() 284 regs->u_regs[UREG_I2] = (unsigned long) &sf->info; setup_frame() 294 regs->u_regs[UREG_I7] = (unsigned long)(&(sf->insns[0]) - 2); setup_frame() 297 err |= __put_user(0x821020d8, &sf->insns[0]); setup_frame() 300 err |= __put_user(0x91d02010, &sf->insns[1]); setup_frame() 305 flush_sig_insns(current->mm, (unsigned long) &(sf->insns[0])); setup_frame() 313 struct rt_signal_frame __user *sf; setup_rt_frame() local 321 sigframe_size = sizeof(*sf); setup_rt_frame() 326 sf = (struct rt_signal_frame __user *) setup_rt_frame() 328 if (invalid_frame_pointer(sf, sigframe_size)) { setup_rt_frame() 333 tail = sf + 1; setup_rt_frame() 334 err = __put_user(regs->pc, &sf->regs.pc); setup_rt_frame() 335 err |= __put_user(regs->npc, &sf->regs.npc); setup_rt_frame() 336 err |= __put_user(regs->y, &sf->regs.y); setup_rt_frame() 340 err |= __put_user(psr, &sf->regs.psr); setup_rt_frame() 341 err |= __copy_to_user(&sf->regs.u_regs, regs->u_regs, sizeof(regs->u_regs)); setup_rt_frame() 342 err |= __put_user(0, &sf->extra_size); setup_rt_frame() 348 err |= __put_user(fp, &sf->fpu_save); setup_rt_frame() 350 err |= __put_user(0, &sf->fpu_save); setup_rt_frame() 356 err |= __put_user(rwp, &sf->rwin_save); setup_rt_frame() 358 err |= __put_user(0, &sf->rwin_save); setup_rt_frame() 360 err |= __copy_to_user(&sf->mask, &oldset->sig[0], sizeof(sigset_t)); setup_rt_frame() 363 err |= __save_altstack(&sf->stack, regs->u_regs[UREG_FP]); setup_rt_frame() 366 err |= __copy_to_user(sf, (char *) regs->u_regs[UREG_FP], setup_rt_frame() 372 err |= __copy_to_user(sf, rp, sizeof(struct reg_window32)); setup_rt_frame() 375 err |= copy_siginfo_to_user(&sf->info, &ksig->info); setup_rt_frame() 380 regs->u_regs[UREG_FP] = (unsigned long) sf; setup_rt_frame() 382 regs->u_regs[UREG_I1] = (unsigned long) &sf->info; setup_rt_frame() 383 regs->u_regs[UREG_I2] = (unsigned long) &sf->regs; setup_rt_frame() 391 regs->u_regs[UREG_I7] = (unsigned long)(&(sf->insns[0]) - 2); setup_rt_frame() 394 err |= __put_user(0x821020d8, &sf->insns[0]); setup_rt_frame() 397 err |= __put_user(0x91d02010, &sf->insns[1]); setup_rt_frame() 402 flush_sig_insns(current->mm, (unsigned long) &(sf->insns[0])); setup_rt_frame()
|
H A D | signal32.c | 143 struct signal_frame32 __user *sf; do_sigreturn32() local 158 sf = (struct signal_frame32 __user *) regs->u_regs[UREG_FP]; do_sigreturn32() 161 if (!access_ok(VERIFY_READ, sf, sizeof(*sf)) || do_sigreturn32() 162 (((unsigned long) sf) & 3)) do_sigreturn32() 165 if (get_user(pc, &sf->info.si_regs.pc) || do_sigreturn32() 166 __get_user(npc, &sf->info.si_regs.npc)) do_sigreturn32() 180 err = __get_user(regs->y, &sf->info.si_regs.y); do_sigreturn32() 181 err |= __get_user(psr, &sf->info.si_regs.psr); do_sigreturn32() 184 err |= __get_user(regs->u_regs[i], &sf->info.si_regs.u_regs[i]); do_sigreturn32() 186 err |= __get_user(i, &sf->v8plus.g_upper[0]); do_sigreturn32() 191 err |= __get_user(((u32 *)regs->u_regs)[2*i], &sf->v8plus.g_upper[i]); do_sigreturn32() 192 err |= __get_user(asi, &sf->v8plus.asi); do_sigreturn32() 205 err |= __get_user(fpu_save, &sf->fpu_save); do_sigreturn32() 208 err |= __get_user(rwin_save, &sf->rwin_save); do_sigreturn32() 213 err |= __get_user(seta.sig[0], &sf->info.si_mask); do_sigreturn32() 214 err |= copy_from_user(&seta.sig[1], &sf->extramask, do_sigreturn32() 229 struct rt_signal_frame32 __user *sf; do_rt_sigreturn32() local 242 sf = (struct rt_signal_frame32 __user *) regs->u_regs[UREG_FP]; do_rt_sigreturn32() 245 if (!access_ok(VERIFY_READ, sf, sizeof(*sf)) || do_rt_sigreturn32() 246 (((unsigned long) sf) & 3)) do_rt_sigreturn32() 249 if (get_user(pc, &sf->regs.pc) || do_rt_sigreturn32() 250 __get_user(npc, &sf->regs.npc)) do_rt_sigreturn32() 264 err = __get_user(regs->y, &sf->regs.y); do_rt_sigreturn32() 265 err |= __get_user(psr, &sf->regs.psr); do_rt_sigreturn32() 268 err |= __get_user(regs->u_regs[i], &sf->regs.u_regs[i]); do_rt_sigreturn32() 270 err |= __get_user(i, &sf->v8plus.g_upper[0]); do_rt_sigreturn32() 275 err |= __get_user(((u32 *)regs->u_regs)[2*i], &sf->v8plus.g_upper[i]); do_rt_sigreturn32() 276 err |= __get_user(asi, &sf->v8plus.asi); do_rt_sigreturn32() 289 err |= __get_user(fpu_save, &sf->fpu_save); do_rt_sigreturn32() 292 err |= copy_from_user(&seta, &sf->mask, sizeof(compat_sigset_t)); do_rt_sigreturn32() 293 err |= compat_restore_altstack(&sf->stack); do_rt_sigreturn32() 297 err |= __get_user(rwin_save, &sf->rwin_save); do_rt_sigreturn32() 407 struct signal_frame32 __user *sf; setup_frame32() local 420 sigframe_size = sizeof(*sf); setup_frame32() 426 sf = (struct signal_frame32 __user *) setup_frame32() 429 if (invalid_frame_pointer(sf, sigframe_size)) { setup_frame32() 434 tail = (sf + 1); setup_frame32() 441 err = put_user(regs->tpc, &sf->info.si_regs.pc); setup_frame32() 442 err |= __put_user(regs->tnpc, &sf->info.si_regs.npc); setup_frame32() 443 err |= __put_user(regs->y, &sf->info.si_regs.y); setup_frame32() 447 err |= __put_user(psr, &sf->info.si_regs.psr); setup_frame32() 449 err |= __put_user(regs->u_regs[i], &sf->info.si_regs.u_regs[i]); setup_frame32() 450 err |= __put_user(sizeof(siginfo_extra_v8plus_t), &sf->extra_size); setup_frame32() 451 err |= __put_user(SIGINFO_EXTRA_V8PLUS_MAGIC, &sf->v8plus.g_upper[0]); setup_frame32() 454 &sf->v8plus.g_upper[i]); setup_frame32() 456 &sf->v8plus.asi); setup_frame32() 462 err |= __put_user((u64)fp, &sf->fpu_save); setup_frame32() 464 err |= __put_user(0, &sf->fpu_save); setup_frame32() 470 err |= __put_user((u64)rwp, &sf->rwin_save); setup_frame32() 473 err |= __put_user(0, &sf->rwin_save); setup_frame32() 482 err |= __put_user(seta.sig[0], &sf->info.si_mask); setup_frame32() 483 err |= __copy_to_user(sf->extramask, &seta.sig[1], setup_frame32() 487 err |= copy_in_user((u32 __user *)sf, setup_frame32() 495 err |= __put_user(rp->locals[i], &sf->ss.locals[i]); setup_frame32() 497 err |= __put_user(rp->ins[i], &sf->ss.ins[i]); setup_frame32() 498 err |= __put_user(rp->ins[6], &sf->ss.fp); setup_frame32() 499 err |= __put_user(rp->ins[7], &sf->ss.callers_pc); setup_frame32() 505 regs->u_regs[UREG_FP] = (unsigned long) sf; setup_frame32() 507 regs->u_regs[UREG_I1] = (unsigned long) &sf->info; setup_frame32() 508 regs->u_regs[UREG_I2] = (unsigned long) &sf->info; setup_frame32() 522 unsigned long address = ((unsigned long)&(sf->insns[0])); setup_frame32() 524 regs->u_regs[UREG_I7] = (unsigned long) (&(sf->insns[0]) - 2); setup_frame32() 526 err = __put_user(0x821020d8, &sf->insns[0]); /*mov __NR_sigreturn, %g1*/ setup_frame32() 527 err |= __put_user(0x91d02010, &sf->insns[1]); /*t 0x10*/ setup_frame32() 538 struct rt_signal_frame32 __user *sf; setup_rt_frame32() local 551 sigframe_size = sizeof(*sf); setup_rt_frame32() 557 sf = (struct rt_signal_frame32 __user *) setup_rt_frame32() 560 if (invalid_frame_pointer(sf, sigframe_size)) { setup_rt_frame32() 565 tail = (sf + 1); setup_rt_frame32() 572 err = put_user(regs->tpc, &sf->regs.pc); setup_rt_frame32() 573 err |= __put_user(regs->tnpc, &sf->regs.npc); setup_rt_frame32() 574 err |= __put_user(regs->y, &sf->regs.y); setup_rt_frame32() 578 err |= __put_user(psr, &sf->regs.psr); setup_rt_frame32() 580 err |= __put_user(regs->u_regs[i], &sf->regs.u_regs[i]); setup_rt_frame32() 581 err |= __put_user(sizeof(siginfo_extra_v8plus_t), &sf->extra_size); setup_rt_frame32() 582 err |= __put_user(SIGINFO_EXTRA_V8PLUS_MAGIC, &sf->v8plus.g_upper[0]); setup_rt_frame32() 585 &sf->v8plus.g_upper[i]); setup_rt_frame32() 587 &sf->v8plus.asi); setup_rt_frame32() 593 err |= __put_user((u64)fp, &sf->fpu_save); setup_rt_frame32() 595 err |= __put_user(0, &sf->fpu_save); setup_rt_frame32() 601 err |= __put_user((u64)rwp, &sf->rwin_save); setup_rt_frame32() 604 err |= __put_user(0, &sf->rwin_save); setup_rt_frame32() 608 err |= copy_siginfo_to_user32(&sf->info, &ksig->info); setup_rt_frame32() 611 err |= __compat_save_altstack(&sf->stack, regs->u_regs[UREG_FP]); setup_rt_frame32() 615 err |= __copy_to_user(&sf->mask, &seta, sizeof(compat_sigset_t)); setup_rt_frame32() 618 err |= copy_in_user((u32 __user *)sf, setup_rt_frame32() 626 err |= __put_user(rp->locals[i], &sf->ss.locals[i]); setup_rt_frame32() 628 err |= __put_user(rp->ins[i], &sf->ss.ins[i]); setup_rt_frame32() 629 err |= __put_user(rp->ins[6], &sf->ss.fp); setup_rt_frame32() 630 err |= __put_user(rp->ins[7], &sf->ss.callers_pc); setup_rt_frame32() 636 regs->u_regs[UREG_FP] = (unsigned long) sf; setup_rt_frame32() 638 regs->u_regs[UREG_I1] = (unsigned long) &sf->info; setup_rt_frame32() 639 regs->u_regs[UREG_I2] = (unsigned long) &sf->regs; setup_rt_frame32() 653 unsigned long address = ((unsigned long)&(sf->insns[0])); setup_rt_frame32() 655 regs->u_regs[UREG_I7] = (unsigned long) (&(sf->insns[0]) - 2); setup_rt_frame32() 658 err |= __put_user(0x82102065, &sf->insns[0]); setup_rt_frame32() 661 err |= __put_user(0x91d02010, &sf->insns[1]); setup_rt_frame32()
|
H A D | stacktrace.c | 33 struct sparc_stackf *sf; __save_stack_trace() local 40 sf = (struct sparc_stackf *) fp; __save_stack_trace() 41 regs = (struct pt_regs *) (sf + 1); __save_stack_trace() 49 pc = sf->callers_pc; __save_stack_trace() 50 fp = (unsigned long)sf->fp + STACK_BIAS; __save_stack_trace()
|
H A D | signal_64.c | 249 struct rt_signal_frame __user *sf; do_rt_sigreturn() local 260 sf = (struct rt_signal_frame __user *) do_rt_sigreturn() 264 if (((unsigned long) sf) & 3) do_rt_sigreturn() 267 err = get_user(tpc, &sf->regs.tpc); do_rt_sigreturn() 268 err |= __get_user(tnpc, &sf->regs.tnpc); do_rt_sigreturn() 276 err |= __get_user(regs->y, &sf->regs.y); do_rt_sigreturn() 277 err |= __get_user(tstate, &sf->regs.tstate); do_rt_sigreturn() 278 err |= copy_from_user(regs->u_regs, sf->regs.u_regs, sizeof(regs->u_regs)); do_rt_sigreturn() 284 err |= __get_user(fpu_save, &sf->fpu_save); do_rt_sigreturn() 288 err |= __copy_from_user(&set, &sf->mask, sizeof(sigset_t)); do_rt_sigreturn() 289 err |= restore_altstack(&sf->stack); do_rt_sigreturn() 293 err |= __get_user(rwin_save, &sf->rwin_save); do_rt_sigreturn() 347 struct rt_signal_frame __user *sf; setup_rt_frame() local 362 sf = (struct rt_signal_frame __user *) setup_rt_frame() 365 if (invalid_frame_pointer (sf)) { setup_rt_frame() 370 tail = (sf + 1); setup_rt_frame() 373 err = copy_to_user(&sf->regs, regs, sizeof (*regs)); setup_rt_frame() 379 err |= __put_user((u64)fpu_save, &sf->fpu_save); setup_rt_frame() 381 err |= __put_user(0, &sf->fpu_save); setup_rt_frame() 387 err |= __put_user((u64)rwin_save, &sf->rwin_save); setup_rt_frame() 390 err |= __put_user(0, &sf->rwin_save); setup_rt_frame() 394 err |= __save_altstack(&sf->stack, regs->u_regs[UREG_FP]); setup_rt_frame() 396 err |= copy_to_user(&sf->mask, sigmask_to_save(), sizeof(sigset_t)); setup_rt_frame() 399 err |= copy_in_user((u64 __user *)sf, setup_rt_frame() 407 err |= copy_to_user(sf, rp, sizeof(struct reg_window)); setup_rt_frame() 410 err |= copy_siginfo_to_user(&sf->info, &ksig->info); setup_rt_frame() 412 err |= __put_user(ksig->sig, &sf->info.si_signo); setup_rt_frame() 413 err |= __put_user(SI_NOINFO, &sf->info.si_code); setup_rt_frame() 419 regs->u_regs[UREG_FP] = ((unsigned long) sf) - STACK_BIAS; setup_rt_frame() 421 regs->u_regs[UREG_I1] = (unsigned long) &sf->info; setup_rt_frame() 427 regs->u_regs[UREG_I2] = (unsigned long) &sf->info; setup_rt_frame()
|
H A D | perf_event.c | 1711 struct sparc_stackf *sf; perf_callchain_kernel() local 1718 sf = (struct sparc_stackf *) fp; perf_callchain_kernel() 1719 regs = (struct pt_regs *) (sf + 1); perf_callchain_kernel() 1727 pc = sf->callers_pc; perf_callchain_kernel() 1728 fp = (unsigned long)sf->fp + STACK_BIAS; perf_callchain_kernel() 1752 struct sparc_stackf sf; perf_callchain_user_64() local 1756 if (__copy_from_user_inatomic(&sf, usf, sizeof(sf))) perf_callchain_user_64() 1759 pc = sf.callers_pc; perf_callchain_user_64() 1760 ufp = (unsigned long)sf.fp + STACK_BIAS; perf_callchain_user_64() 1776 struct sparc_stackf sf; perf_callchain_user_32() local 1780 if (__copy_from_user_inatomic(&sf, usf, sizeof(sf))) perf_callchain_user_32() 1782 pc = sf.callers_pc & 0xffffffff; perf_callchain_user_32() 1783 ufp = ((unsigned long) sf.fp) & 0xffffffff; perf_callchain_user_32() 1786 struct sparc_stackf32 sf; perf_callchain_user_32() local 1788 if (__copy_from_user_inatomic(&sf, usf, sizeof(sf))) perf_callchain_user_32() 1790 pc = sf.callers_pc; perf_callchain_user_32() 1791 ufp = (unsigned long)sf.fp; perf_callchain_user_32()
|
H A D | traps_64.c | 2346 struct sparc_stackf *sf; show_stack() local 2352 sf = (struct sparc_stackf *) fp; show_stack() 2353 regs = (struct pt_regs *) (sf + 1); show_stack() 2361 pc = sf->callers_pc; show_stack() 2362 fp = (unsigned long)sf->fp + STACK_BIAS; show_stack()
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | signal.c | 55 static int restore_sigframe(struct pt_regs *regs, struct sigframe __user *sf) restore_sigframe() argument 60 err = __copy_from_user(&set, &sf->uc.uc_sigmask, sizeof(set)); restore_sigframe() 64 err |= __get_user(regs->UCreg_00, &sf->uc.uc_mcontext.regs.UCreg_00); restore_sigframe() 65 err |= __get_user(regs->UCreg_01, &sf->uc.uc_mcontext.regs.UCreg_01); restore_sigframe() 66 err |= __get_user(regs->UCreg_02, &sf->uc.uc_mcontext.regs.UCreg_02); restore_sigframe() 67 err |= __get_user(regs->UCreg_03, &sf->uc.uc_mcontext.regs.UCreg_03); restore_sigframe() 68 err |= __get_user(regs->UCreg_04, &sf->uc.uc_mcontext.regs.UCreg_04); restore_sigframe() 69 err |= __get_user(regs->UCreg_05, &sf->uc.uc_mcontext.regs.UCreg_05); restore_sigframe() 70 err |= __get_user(regs->UCreg_06, &sf->uc.uc_mcontext.regs.UCreg_06); restore_sigframe() 71 err |= __get_user(regs->UCreg_07, &sf->uc.uc_mcontext.regs.UCreg_07); restore_sigframe() 72 err |= __get_user(regs->UCreg_08, &sf->uc.uc_mcontext.regs.UCreg_08); restore_sigframe() 73 err |= __get_user(regs->UCreg_09, &sf->uc.uc_mcontext.regs.UCreg_09); restore_sigframe() 74 err |= __get_user(regs->UCreg_10, &sf->uc.uc_mcontext.regs.UCreg_10); restore_sigframe() 75 err |= __get_user(regs->UCreg_11, &sf->uc.uc_mcontext.regs.UCreg_11); restore_sigframe() 76 err |= __get_user(regs->UCreg_12, &sf->uc.uc_mcontext.regs.UCreg_12); restore_sigframe() 77 err |= __get_user(regs->UCreg_13, &sf->uc.uc_mcontext.regs.UCreg_13); restore_sigframe() 78 err |= __get_user(regs->UCreg_14, &sf->uc.uc_mcontext.regs.UCreg_14); restore_sigframe() 79 err |= __get_user(regs->UCreg_15, &sf->uc.uc_mcontext.regs.UCreg_15); restore_sigframe() 80 err |= __get_user(regs->UCreg_16, &sf->uc.uc_mcontext.regs.UCreg_16); restore_sigframe() 81 err |= __get_user(regs->UCreg_17, &sf->uc.uc_mcontext.regs.UCreg_17); restore_sigframe() 82 err |= __get_user(regs->UCreg_18, &sf->uc.uc_mcontext.regs.UCreg_18); restore_sigframe() 83 err |= __get_user(regs->UCreg_19, &sf->uc.uc_mcontext.regs.UCreg_19); restore_sigframe() 84 err |= __get_user(regs->UCreg_20, &sf->uc.uc_mcontext.regs.UCreg_20); restore_sigframe() 85 err |= __get_user(regs->UCreg_21, &sf->uc.uc_mcontext.regs.UCreg_21); restore_sigframe() 86 err |= __get_user(regs->UCreg_22, &sf->uc.uc_mcontext.regs.UCreg_22); restore_sigframe() 87 err |= __get_user(regs->UCreg_23, &sf->uc.uc_mcontext.regs.UCreg_23); restore_sigframe() 88 err |= __get_user(regs->UCreg_24, &sf->uc.uc_mcontext.regs.UCreg_24); restore_sigframe() 89 err |= __get_user(regs->UCreg_25, &sf->uc.uc_mcontext.regs.UCreg_25); restore_sigframe() 90 err |= __get_user(regs->UCreg_26, &sf->uc.uc_mcontext.regs.UCreg_26); restore_sigframe() 91 err |= __get_user(regs->UCreg_fp, &sf->uc.uc_mcontext.regs.UCreg_fp); restore_sigframe() 92 err |= __get_user(regs->UCreg_ip, &sf->uc.uc_mcontext.regs.UCreg_ip); restore_sigframe() 93 err |= __get_user(regs->UCreg_sp, &sf->uc.uc_mcontext.regs.UCreg_sp); restore_sigframe() 94 err |= __get_user(regs->UCreg_lr, &sf->uc.uc_mcontext.regs.UCreg_lr); restore_sigframe() 95 err |= __get_user(regs->UCreg_pc, &sf->uc.uc_mcontext.regs.UCreg_pc); restore_sigframe() 96 err |= __get_user(regs->UCreg_asr, &sf->uc.uc_mcontext.regs.UCreg_asr); restore_sigframe() 136 static int setup_sigframe(struct sigframe __user *sf, struct pt_regs *regs, setup_sigframe() argument 141 err |= __put_user(regs->UCreg_00, &sf->uc.uc_mcontext.regs.UCreg_00); setup_sigframe() 142 err |= __put_user(regs->UCreg_01, &sf->uc.uc_mcontext.regs.UCreg_01); setup_sigframe() 143 err |= __put_user(regs->UCreg_02, &sf->uc.uc_mcontext.regs.UCreg_02); setup_sigframe() 144 err |= __put_user(regs->UCreg_03, &sf->uc.uc_mcontext.regs.UCreg_03); setup_sigframe() 145 err |= __put_user(regs->UCreg_04, &sf->uc.uc_mcontext.regs.UCreg_04); setup_sigframe() 146 err |= __put_user(regs->UCreg_05, &sf->uc.uc_mcontext.regs.UCreg_05); setup_sigframe() 147 err |= __put_user(regs->UCreg_06, &sf->uc.uc_mcontext.regs.UCreg_06); setup_sigframe() 148 err |= __put_user(regs->UCreg_07, &sf->uc.uc_mcontext.regs.UCreg_07); setup_sigframe() 149 err |= __put_user(regs->UCreg_08, &sf->uc.uc_mcontext.regs.UCreg_08); setup_sigframe() 150 err |= __put_user(regs->UCreg_09, &sf->uc.uc_mcontext.regs.UCreg_09); setup_sigframe() 151 err |= __put_user(regs->UCreg_10, &sf->uc.uc_mcontext.regs.UCreg_10); setup_sigframe() 152 err |= __put_user(regs->UCreg_11, &sf->uc.uc_mcontext.regs.UCreg_11); setup_sigframe() 153 err |= __put_user(regs->UCreg_12, &sf->uc.uc_mcontext.regs.UCreg_12); setup_sigframe() 154 err |= __put_user(regs->UCreg_13, &sf->uc.uc_mcontext.regs.UCreg_13); setup_sigframe() 155 err |= __put_user(regs->UCreg_14, &sf->uc.uc_mcontext.regs.UCreg_14); setup_sigframe() 156 err |= __put_user(regs->UCreg_15, &sf->uc.uc_mcontext.regs.UCreg_15); setup_sigframe() 157 err |= __put_user(regs->UCreg_16, &sf->uc.uc_mcontext.regs.UCreg_16); setup_sigframe() 158 err |= __put_user(regs->UCreg_17, &sf->uc.uc_mcontext.regs.UCreg_17); setup_sigframe() 159 err |= __put_user(regs->UCreg_18, &sf->uc.uc_mcontext.regs.UCreg_18); setup_sigframe() 160 err |= __put_user(regs->UCreg_19, &sf->uc.uc_mcontext.regs.UCreg_19); setup_sigframe() 161 err |= __put_user(regs->UCreg_20, &sf->uc.uc_mcontext.regs.UCreg_20); setup_sigframe() 162 err |= __put_user(regs->UCreg_21, &sf->uc.uc_mcontext.regs.UCreg_21); setup_sigframe() 163 err |= __put_user(regs->UCreg_22, &sf->uc.uc_mcontext.regs.UCreg_22); setup_sigframe() 164 err |= __put_user(regs->UCreg_23, &sf->uc.uc_mcontext.regs.UCreg_23); setup_sigframe() 165 err |= __put_user(regs->UCreg_24, &sf->uc.uc_mcontext.regs.UCreg_24); setup_sigframe() 166 err |= __put_user(regs->UCreg_25, &sf->uc.uc_mcontext.regs.UCreg_25); setup_sigframe() 167 err |= __put_user(regs->UCreg_26, &sf->uc.uc_mcontext.regs.UCreg_26); setup_sigframe() 168 err |= __put_user(regs->UCreg_fp, &sf->uc.uc_mcontext.regs.UCreg_fp); setup_sigframe() 169 err |= __put_user(regs->UCreg_ip, &sf->uc.uc_mcontext.regs.UCreg_ip); setup_sigframe() 170 err |= __put_user(regs->UCreg_sp, &sf->uc.uc_mcontext.regs.UCreg_sp); setup_sigframe() 171 err |= __put_user(regs->UCreg_lr, &sf->uc.uc_mcontext.regs.UCreg_lr); setup_sigframe() 172 err |= __put_user(regs->UCreg_pc, &sf->uc.uc_mcontext.regs.UCreg_pc); setup_sigframe() 173 err |= __put_user(regs->UCreg_asr, &sf->uc.uc_mcontext.regs.UCreg_asr); setup_sigframe() 176 &sf->uc.uc_mcontext.trap_no); setup_sigframe() 178 &sf->uc.uc_mcontext.error_code); setup_sigframe() 180 &sf->uc.uc_mcontext.fault_address); setup_sigframe() 181 err |= __put_user(set->sig[0], &sf->uc.uc_mcontext.oldmask); setup_sigframe() 183 err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(*set)); setup_sigframe()
|
/linux-4.1.27/arch/s390/oprofile/ |
H A D | backtrace.c | 15 struct stack_frame *sf; __show_trace() local 20 if (sp < low || sp > high - sizeof(*sf)) __show_trace() 22 sf = (struct stack_frame *) sp; __show_trace() 24 oprofile_add_trace(sf->gprs[8] & PSW_ADDR_INSN); __show_trace() 29 sp = sf->back_chain & PSW_ADDR_INSN; __show_trace() 32 if (sp <= low || sp > high - sizeof(*sf)) __show_trace() 34 sf = (struct stack_frame *) sp; __show_trace() 36 oprofile_add_trace(sf->gprs[8] & PSW_ADDR_INSN); __show_trace() 44 sp = (unsigned long) (sf + 1); __show_trace() 49 oprofile_add_trace(sf->gprs[8] & PSW_ADDR_INSN); __show_trace()
|
/linux-4.1.27/arch/m68k/68360/ |
H A D | Makefile | 12 ln -sf head-$(model-y).o $(obj)/head.o
|
/linux-4.1.27/sound/synth/emux/ |
H A D | soundfont.c | 40 static int is_identical_font(struct snd_soundfont *sf, int type, unsigned char *name); 44 struct snd_soundfont *sf, struct snd_sf_zone *zp); 46 struct snd_soundfont *sf); 48 struct snd_soundfont *sf, struct snd_sf_sample *sp); 50 struct snd_soundfont *sf); 52 struct snd_soundfont *sf, struct snd_sf_sample *sp); 55 static int remove_info(struct snd_sf_list *sflist, struct snd_soundfont *sf, 59 static struct snd_sf_sample *set_sample(struct snd_soundfont *sf, 61 static struct snd_sf_sample *find_sample(struct snd_soundfont *sf, int sample_id); 230 /* open patch; create sf list */ 236 struct snd_soundfont *sf; open_patch() local 251 sf = newsf(sflist, parm.type, NULL); open_patch() 253 sf = newsf(sflist, parm.type, parm.name); open_patch() 254 if (sf == NULL) { open_patch() 260 sflist->currsf = sf; open_patch() 272 struct snd_soundfont *sf; newsf() local 276 for (sf = sflist->fonts; sf; sf = sf->next) { newsf() 277 if (is_identical_font(sf, type, name)) { newsf() 278 return sf; newsf() 284 sf = kzalloc(sizeof(*sf), GFP_KERNEL); newsf() 285 if (sf == NULL) newsf() 287 sf->id = sflist->fonts_size; newsf() 291 sf->next = sflist->fonts; newsf() 292 sflist->fonts = sf; newsf() 294 sf->type = type; newsf() 295 sf->zones = NULL; newsf() 296 sf->samples = NULL; newsf() 298 memcpy(sf->name, name, SNDRV_SFNT_PATCH_NAME_LEN); newsf() 300 return sf; newsf() 305 is_identical_font(struct snd_soundfont *sf, int type, unsigned char *name) is_identical_font() argument 307 return ((sf->type & SNDRV_SFNT_PAT_SHARED) && is_identical_font() 308 (sf->type & 0x0f) == (type & 0x0f) && is_identical_font() 310 memcmp(sf->name, name, SNDRV_SFNT_PATCH_NAME_LEN) == 0)); is_identical_font() 349 set_zone_counter(struct snd_sf_list *sflist, struct snd_soundfont *sf, set_zone_counter() argument 353 if (sf->type & SNDRV_SFNT_PAT_LOCKED) set_zone_counter() 361 sf_zone_new(struct snd_sf_list *sflist, struct snd_soundfont *sf) sf_zone_new() argument 367 zp->next = sf->zones; sf_zone_new() 368 sf->zones = zp; sf_zone_new() 372 set_zone_counter(sflist, sf, zp); sf_zone_new() 381 set_sample_counter(struct snd_sf_list *sflist, struct snd_soundfont *sf, set_sample_counter() argument 385 if (sf->type & SNDRV_SFNT_PAT_LOCKED) set_sample_counter() 393 sf_sample_new(struct snd_sf_list *sflist, struct snd_soundfont *sf) sf_sample_new() argument 400 sp->next = sf->samples; sf_sample_new() 401 sf->samples = sp; sf_sample_new() 403 set_sample_counter(sflist, sf, sp); sf_sample_new() 412 sf_sample_delete(struct snd_sf_list *sflist, struct snd_soundfont *sf, sf_sample_delete() argument 416 if (sp == sf->samples) { sf_sample_delete() 417 sf->samples = sp->next; sf_sample_delete() 428 struct snd_soundfont *sf; load_map() local 440 sf = newsf(sflist, SNDRV_SFNT_PAT_TYPE_MAP|SNDRV_SFNT_PAT_SHARED, NULL); load_map() 441 if (sf == NULL) load_map() 445 for (zp = sf->zones; zp; prevp = zp, zp = zp->next) { load_map() 457 zp->next = sf->zones; load_map() 458 sf->zones = zp; load_map() 461 set_zone_counter(sflist, sf, zp); load_map() 467 if ((zp = sf_zone_new(sflist, sf)) == NULL) load_map() 480 zp->v.sf_id = sf->id; load_map() 490 remove_info(struct snd_sf_list *sflist, struct snd_soundfont *sf, remove_info() argument 497 for (p = sf->zones; p; p = next) { remove_info() 505 sf->zones = next; remove_info() 524 struct snd_soundfont *sf; load_info() local 530 if ((sf = sflist->currsf) == NULL) load_info() 533 if (is_special_type(sf->type)) load_info() 563 for (zone = sf->zones; zone; zone = zone->next) { load_info() 572 remove_info(sflist, sf, hdr.bank, hdr.instr); load_info() 590 tmpzone.v.sf_id = sf->id; load_info() 595 if ((zone = sf_zone_new(sflist, sf)) == NULL) { load_info() 605 zone->sample = set_sample(sf, &zone->v); load_info() 660 set_sample(struct snd_soundfont *sf, struct soundfont_voice_info *avp) set_sample() argument 664 sample = find_sample(sf, avp->sample); set_sample() 686 find_sample(struct snd_soundfont *sf, int sample_id) find_sample() argument 690 if (sf == NULL) find_sample() 693 for (p = sf->samples; p; p = p->next) { find_sample() 710 struct snd_soundfont *sf; load_data() local 716 if ((sf = sflist->currsf) == NULL) load_data() 719 if (is_special_type(sf->type)) load_data() 731 if (find_sample(sf, sample_info.sample)) { load_data() 733 if (sf->type & SNDRV_SFNT_PAT_SHARED) load_data() 739 if ((sp = sf_sample_new(sflist, sf)) == NULL) load_data() 743 sp->v.sf_id = sf->id; load_data() 756 sf_sample_delete(sflist, sf, sp); load_data() 953 struct snd_soundfont *sf; load_guspatch() local 969 sf = newsf(sflist, SNDRV_SFNT_PAT_TYPE_GUS|SNDRV_SFNT_PAT_SHARED, NULL); load_guspatch() 970 if (sf == NULL) load_guspatch() 972 if ((smp = sf_sample_new(sflist, sf)) == NULL) load_guspatch() 1007 smp->v.sf_id = sf->id; load_guspatch() 1010 if ((zone = sf_zone_new(sflist, sf)) == NULL) { load_guspatch() 1011 sf_sample_delete(sflist, sf, smp); load_guspatch() 1023 sf_sample_delete(sflist, sf, smp); load_guspatch() 1115 zone->v.sf_id = sf->id; load_guspatch() 1117 zone->sample = set_sample(sf, &zone->v); load_guspatch() 1148 struct snd_soundfont *sf; rebuild_presets() local 1155 for (sf = sflist->fonts; sf; sf = sf->next) { rebuild_presets() 1156 for (cur = sf->zones; cur; cur = cur->next) { rebuild_presets() 1159 cur->sample = set_sample(sf, &cur->v); rebuild_presets() 1368 struct snd_soundfont *sf, *nextsf; snd_sf_clear() local 1372 for (sf = sflist->fonts; sf; sf = nextsf) { snd_sf_clear() 1373 nextsf = sf->next; snd_sf_clear() 1374 for (zp = sf->zones; zp; zp = nextzp) { snd_sf_clear() 1378 for (sp = sf->samples; sp; sp = nextsp) { snd_sf_clear() 1385 kfree(sf); snd_sf_clear() 1456 struct snd_soundfont *sf; snd_soundfont_remove_unlocked() local 1468 for (sf = sflist->fonts; sf; sf = sf->next) { snd_soundfont_remove_unlocked() 1469 for (zp = sf->zones; zp; zp = nextzp) { snd_soundfont_remove_unlocked() 1473 sf->zones = nextzp; snd_soundfont_remove_unlocked() 1477 for (sp = sf->samples; sp; sp = nextsp) { snd_soundfont_remove_unlocked() 1481 sf->samples = nextsp; snd_soundfont_remove_unlocked()
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | process.c | 49 struct stack_frame *sf, *low, *high; thread_saved_pc() local 55 sf = (struct stack_frame *) (tsk->thread.ksp & PSW_ADDR_INSN); thread_saved_pc() 56 if (sf <= low || sf > high) thread_saved_pc() 58 sf = (struct stack_frame *) (sf->back_chain & PSW_ADDR_INSN); thread_saved_pc() 59 if (sf <= low || sf > high) thread_saved_pc() 61 return sf->gprs[8]; thread_saved_pc() 94 struct stack_frame sf; copy_thread() member in struct:fake_frame 113 frame->sf.back_chain = 0; copy_thread() 115 frame->sf.gprs[8] = (unsigned long) ret_from_fork; copy_thread() 117 frame->sf.gprs[9] = (unsigned long) frame; copy_thread() 182 struct stack_frame *sf, *low, *high; get_wchan() local 190 sf = (struct stack_frame *) (p->thread.ksp & PSW_ADDR_INSN); get_wchan() 191 if (sf <= low || sf > high) get_wchan() 194 sf = (struct stack_frame *) (sf->back_chain & PSW_ADDR_INSN); get_wchan() 195 if (sf <= low || sf > high) get_wchan() 197 return_address = sf->gprs[8] & PSW_ADDR_INSN; get_wchan()
|
H A D | stacktrace.c | 19 struct stack_frame *sf; save_context_stack() local 27 sf = (struct stack_frame *)sp; save_context_stack() 29 addr = sf->gprs[8] & PSW_ADDR_INSN; save_context_stack() 37 sp = sf->back_chain & PSW_ADDR_INSN; save_context_stack() 40 if (sp <= low || sp > high - sizeof(*sf)) save_context_stack() 42 sf = (struct stack_frame *)sp; save_context_stack() 45 sp = (unsigned long)(sf + 1); save_context_stack()
|
H A D | dumpstack.c | 32 struct stack_frame *sf; __show_trace() local 38 if (sp < low || sp > high - sizeof(*sf)) __show_trace() 40 sf = (struct stack_frame *) sp; __show_trace() 41 addr = sf->gprs[8] & PSW_ADDR_INSN; __show_trace() 46 sp = sf->back_chain & PSW_ADDR_INSN; __show_trace() 49 if (sp <= low || sp > high - sizeof(*sf)) __show_trace() 51 sf = (struct stack_frame *) sp; __show_trace() 52 addr = sf->gprs[8] & PSW_ADDR_INSN; __show_trace() 56 sp = (unsigned long) (sf + 1); __show_trace()
|
H A D | perf_event.c | 230 struct stack_frame *sf; __store_trace() local 235 if (sp < low || sp > high - sizeof(*sf)) __store_trace() 237 sf = (struct stack_frame *) sp; __store_trace() 238 perf_callchain_store(entry, sf->gprs[8] & PSW_ADDR_INSN); __store_trace() 242 sp = sf->back_chain & PSW_ADDR_INSN; __store_trace() 245 if (sp <= low || sp > high - sizeof(*sf)) __store_trace() 247 sf = (struct stack_frame *) sp; __store_trace() 249 sf->gprs[8] & PSW_ADDR_INSN); __store_trace() 252 sp = (unsigned long) (sf + 1); __store_trace() 256 perf_callchain_store(entry, sf->gprs[8] & PSW_ADDR_INSN); __store_trace()
|
/linux-4.1.27/arch/arc/kernel/ |
H A D | signal.c | 66 stash_usr_regs(struct rt_sigframe __user *sf, struct pt_regs *regs, stash_usr_regs() argument 70 err = __copy_to_user(&(sf->uc.uc_mcontext.regs.scratch), regs, stash_usr_regs() 71 sizeof(sf->uc.uc_mcontext.regs.scratch)); stash_usr_regs() 72 err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(sigset_t)); stash_usr_regs() 77 static int restore_usr_regs(struct pt_regs *regs, struct rt_sigframe __user *sf) restore_usr_regs() argument 82 err = __copy_from_user(&set, &sf->uc.uc_sigmask, sizeof(set)); restore_usr_regs() 86 err |= __copy_from_user(regs, &(sf->uc.uc_mcontext.regs.scratch), restore_usr_regs() 87 sizeof(sf->uc.uc_mcontext.regs.scratch)); restore_usr_regs() 102 struct rt_sigframe __user *sf; SYSCALL_DEFINE0() local 116 sf = (struct rt_sigframe __force __user *)(regs->sp); SYSCALL_DEFINE0() 118 if (!access_ok(VERIFY_READ, sf, sizeof(*sf))) SYSCALL_DEFINE0() 121 if (__get_user(magic, &sf->sigret_magic)) SYSCALL_DEFINE0() 125 if (restore_altstack(&sf->uc.uc_stack)) SYSCALL_DEFINE0() 128 if (restore_usr_regs(regs, sf)) SYSCALL_DEFINE0() 177 struct rt_sigframe __user *sf; setup_rt_frame() local 181 sf = get_sigframe(ksig, regs, sizeof(struct rt_sigframe)); setup_rt_frame() 182 if (!sf) setup_rt_frame() 192 err |= stash_usr_regs(sf, regs, set); setup_rt_frame() 201 err |= copy_siginfo_to_user(&sf->info, &ksig->info); setup_rt_frame() 202 err |= __put_user(0, &sf->uc.uc_flags); setup_rt_frame() 203 err |= __put_user(NULL, &sf->uc.uc_link); setup_rt_frame() 204 err |= __save_altstack(&sf->uc.uc_stack, regs->sp); setup_rt_frame() 207 regs->r1 = (unsigned long)&sf->info; setup_rt_frame() 208 regs->r2 = (unsigned long)&sf->uc; setup_rt_frame() 217 err |= __put_user(magic, &sf->sigret_magic); setup_rt_frame() 237 regs->sp = (unsigned long)sf; setup_rt_frame()
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | signal32.c | 324 struct compat_sigframe __user *sf) compat_restore_sigframe() 330 err = get_sigset_t(&set, &sf->uc.uc_sigmask); compat_restore_sigframe() 336 __get_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err); compat_restore_sigframe() 337 __get_user_error(regs->regs[1], &sf->uc.uc_mcontext.arm_r1, err); compat_restore_sigframe() 338 __get_user_error(regs->regs[2], &sf->uc.uc_mcontext.arm_r2, err); compat_restore_sigframe() 339 __get_user_error(regs->regs[3], &sf->uc.uc_mcontext.arm_r3, err); compat_restore_sigframe() 340 __get_user_error(regs->regs[4], &sf->uc.uc_mcontext.arm_r4, err); compat_restore_sigframe() 341 __get_user_error(regs->regs[5], &sf->uc.uc_mcontext.arm_r5, err); compat_restore_sigframe() 342 __get_user_error(regs->regs[6], &sf->uc.uc_mcontext.arm_r6, err); compat_restore_sigframe() 343 __get_user_error(regs->regs[7], &sf->uc.uc_mcontext.arm_r7, err); compat_restore_sigframe() 344 __get_user_error(regs->regs[8], &sf->uc.uc_mcontext.arm_r8, err); compat_restore_sigframe() 345 __get_user_error(regs->regs[9], &sf->uc.uc_mcontext.arm_r9, err); compat_restore_sigframe() 346 __get_user_error(regs->regs[10], &sf->uc.uc_mcontext.arm_r10, err); compat_restore_sigframe() 347 __get_user_error(regs->regs[11], &sf->uc.uc_mcontext.arm_fp, err); compat_restore_sigframe() 348 __get_user_error(regs->regs[12], &sf->uc.uc_mcontext.arm_ip, err); compat_restore_sigframe() 349 __get_user_error(regs->compat_sp, &sf->uc.uc_mcontext.arm_sp, err); compat_restore_sigframe() 350 __get_user_error(regs->compat_lr, &sf->uc.uc_mcontext.arm_lr, err); compat_restore_sigframe() 351 __get_user_error(regs->pc, &sf->uc.uc_mcontext.arm_pc, err); compat_restore_sigframe() 352 __get_user_error(regs->pstate, &sf->uc.uc_mcontext.arm_cpsr, err); compat_restore_sigframe() 361 aux = (struct compat_aux_sigframe __user *) sf->uc.uc_regspace; compat_restore_sigframe() 504 static int compat_setup_sigframe(struct compat_sigframe __user *sf, compat_setup_sigframe() argument 510 __put_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err); compat_setup_sigframe() 511 __put_user_error(regs->regs[1], &sf->uc.uc_mcontext.arm_r1, err); compat_setup_sigframe() 512 __put_user_error(regs->regs[2], &sf->uc.uc_mcontext.arm_r2, err); compat_setup_sigframe() 513 __put_user_error(regs->regs[3], &sf->uc.uc_mcontext.arm_r3, err); compat_setup_sigframe() 514 __put_user_error(regs->regs[4], &sf->uc.uc_mcontext.arm_r4, err); compat_setup_sigframe() 515 __put_user_error(regs->regs[5], &sf->uc.uc_mcontext.arm_r5, err); compat_setup_sigframe() 516 __put_user_error(regs->regs[6], &sf->uc.uc_mcontext.arm_r6, err); compat_setup_sigframe() 517 __put_user_error(regs->regs[7], &sf->uc.uc_mcontext.arm_r7, err); compat_setup_sigframe() 518 __put_user_error(regs->regs[8], &sf->uc.uc_mcontext.arm_r8, err); compat_setup_sigframe() 519 __put_user_error(regs->regs[9], &sf->uc.uc_mcontext.arm_r9, err); compat_setup_sigframe() 520 __put_user_error(regs->regs[10], &sf->uc.uc_mcontext.arm_r10, err); compat_setup_sigframe() 521 __put_user_error(regs->regs[11], &sf->uc.uc_mcontext.arm_fp, err); compat_setup_sigframe() 522 __put_user_error(regs->regs[12], &sf->uc.uc_mcontext.arm_ip, err); compat_setup_sigframe() 523 __put_user_error(regs->compat_sp, &sf->uc.uc_mcontext.arm_sp, err); compat_setup_sigframe() 524 __put_user_error(regs->compat_lr, &sf->uc.uc_mcontext.arm_lr, err); compat_setup_sigframe() 525 __put_user_error(regs->pc, &sf->uc.uc_mcontext.arm_pc, err); compat_setup_sigframe() 526 __put_user_error(regs->pstate, &sf->uc.uc_mcontext.arm_cpsr, err); compat_setup_sigframe() 528 __put_user_error((compat_ulong_t)0, &sf->uc.uc_mcontext.trap_no, err); compat_setup_sigframe() 531 FSR_WRITE_SHIFT, &sf->uc.uc_mcontext.error_code, err); compat_setup_sigframe() 532 __put_user_error(current->thread.fault_address, &sf->uc.uc_mcontext.fault_address, err); compat_setup_sigframe() 533 __put_user_error(set->sig[0], &sf->uc.uc_mcontext.oldmask, err); compat_setup_sigframe() 535 err |= put_sigset_t(&sf->uc.uc_sigmask, set); compat_setup_sigframe() 537 aux = (struct compat_aux_sigframe __user *) sf->uc.uc_regspace; compat_setup_sigframe() 323 compat_restore_sigframe(struct pt_regs *regs, struct compat_sigframe __user *sf) compat_restore_sigframe() argument
|
H A D | signal.c | 96 struct rt_sigframe __user *sf) restore_sigframe() 100 void *aux = sf->uc.uc_mcontext.__reserved; restore_sigframe() 102 err = __copy_from_user(&set, &sf->uc.uc_sigmask, sizeof(set)); restore_sigframe() 107 __get_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i], restore_sigframe() 109 __get_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); restore_sigframe() 110 __get_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err); restore_sigframe() 111 __get_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); restore_sigframe() 165 static int setup_sigframe(struct rt_sigframe __user *sf, setup_sigframe() argument 169 void *aux = sf->uc.uc_mcontext.__reserved; setup_sigframe() 173 __put_user_error(regs->regs[29], &sf->fp, err); setup_sigframe() 174 __put_user_error(regs->regs[30], &sf->lr, err); setup_sigframe() 177 __put_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i], setup_sigframe() 179 __put_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); setup_sigframe() 180 __put_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err); setup_sigframe() 181 __put_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); setup_sigframe() 183 __put_user_error(current->thread.fault_address, &sf->uc.uc_mcontext.fault_address, err); setup_sigframe() 185 err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(*set)); setup_sigframe() 95 restore_sigframe(struct pt_regs *regs, struct rt_sigframe __user *sf) restore_sigframe() argument
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | signal.c | 142 static int restore_sigframe(struct pt_regs *regs, struct sigframe __user *sf) restore_sigframe() argument 148 err = __copy_from_user(&set, &sf->uc.uc_sigmask, sizeof(set)); restore_sigframe() 152 __get_user_error(regs->ARM_r0, &sf->uc.uc_mcontext.arm_r0, err); restore_sigframe() 153 __get_user_error(regs->ARM_r1, &sf->uc.uc_mcontext.arm_r1, err); restore_sigframe() 154 __get_user_error(regs->ARM_r2, &sf->uc.uc_mcontext.arm_r2, err); restore_sigframe() 155 __get_user_error(regs->ARM_r3, &sf->uc.uc_mcontext.arm_r3, err); restore_sigframe() 156 __get_user_error(regs->ARM_r4, &sf->uc.uc_mcontext.arm_r4, err); restore_sigframe() 157 __get_user_error(regs->ARM_r5, &sf->uc.uc_mcontext.arm_r5, err); restore_sigframe() 158 __get_user_error(regs->ARM_r6, &sf->uc.uc_mcontext.arm_r6, err); restore_sigframe() 159 __get_user_error(regs->ARM_r7, &sf->uc.uc_mcontext.arm_r7, err); restore_sigframe() 160 __get_user_error(regs->ARM_r8, &sf->uc.uc_mcontext.arm_r8, err); restore_sigframe() 161 __get_user_error(regs->ARM_r9, &sf->uc.uc_mcontext.arm_r9, err); restore_sigframe() 162 __get_user_error(regs->ARM_r10, &sf->uc.uc_mcontext.arm_r10, err); restore_sigframe() 163 __get_user_error(regs->ARM_fp, &sf->uc.uc_mcontext.arm_fp, err); restore_sigframe() 164 __get_user_error(regs->ARM_ip, &sf->uc.uc_mcontext.arm_ip, err); restore_sigframe() 165 __get_user_error(regs->ARM_sp, &sf->uc.uc_mcontext.arm_sp, err); restore_sigframe() 166 __get_user_error(regs->ARM_lr, &sf->uc.uc_mcontext.arm_lr, err); restore_sigframe() 167 __get_user_error(regs->ARM_pc, &sf->uc.uc_mcontext.arm_pc, err); restore_sigframe() 168 __get_user_error(regs->ARM_cpsr, &sf->uc.uc_mcontext.arm_cpsr, err); restore_sigframe() 172 aux = (struct aux_sigframe __user *) sf->uc.uc_regspace; restore_sigframe() 253 setup_sigframe(struct sigframe __user *sf, struct pt_regs *regs, sigset_t *set) setup_sigframe() argument 258 __put_user_error(regs->ARM_r0, &sf->uc.uc_mcontext.arm_r0, err); setup_sigframe() 259 __put_user_error(regs->ARM_r1, &sf->uc.uc_mcontext.arm_r1, err); setup_sigframe() 260 __put_user_error(regs->ARM_r2, &sf->uc.uc_mcontext.arm_r2, err); setup_sigframe() 261 __put_user_error(regs->ARM_r3, &sf->uc.uc_mcontext.arm_r3, err); setup_sigframe() 262 __put_user_error(regs->ARM_r4, &sf->uc.uc_mcontext.arm_r4, err); setup_sigframe() 263 __put_user_error(regs->ARM_r5, &sf->uc.uc_mcontext.arm_r5, err); setup_sigframe() 264 __put_user_error(regs->ARM_r6, &sf->uc.uc_mcontext.arm_r6, err); setup_sigframe() 265 __put_user_error(regs->ARM_r7, &sf->uc.uc_mcontext.arm_r7, err); setup_sigframe() 266 __put_user_error(regs->ARM_r8, &sf->uc.uc_mcontext.arm_r8, err); setup_sigframe() 267 __put_user_error(regs->ARM_r9, &sf->uc.uc_mcontext.arm_r9, err); setup_sigframe() 268 __put_user_error(regs->ARM_r10, &sf->uc.uc_mcontext.arm_r10, err); setup_sigframe() 269 __put_user_error(regs->ARM_fp, &sf->uc.uc_mcontext.arm_fp, err); setup_sigframe() 270 __put_user_error(regs->ARM_ip, &sf->uc.uc_mcontext.arm_ip, err); setup_sigframe() 271 __put_user_error(regs->ARM_sp, &sf->uc.uc_mcontext.arm_sp, err); setup_sigframe() 272 __put_user_error(regs->ARM_lr, &sf->uc.uc_mcontext.arm_lr, err); setup_sigframe() 273 __put_user_error(regs->ARM_pc, &sf->uc.uc_mcontext.arm_pc, err); setup_sigframe() 274 __put_user_error(regs->ARM_cpsr, &sf->uc.uc_mcontext.arm_cpsr, err); setup_sigframe() 276 __put_user_error(current->thread.trap_no, &sf->uc.uc_mcontext.trap_no, err); setup_sigframe() 277 __put_user_error(current->thread.error_code, &sf->uc.uc_mcontext.error_code, err); setup_sigframe() 278 __put_user_error(current->thread.address, &sf->uc.uc_mcontext.fault_address, err); setup_sigframe() 279 __put_user_error(set->sig[0], &sf->uc.uc_mcontext.oldmask, err); setup_sigframe() 281 err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(*set)); setup_sigframe() 283 aux = (struct aux_sigframe __user *) sf->uc.uc_regspace; setup_sigframe()
|
/linux-4.1.27/tools/lguest/ |
H A D | Makefile | 8 ln -sf ../../../../include/uapi/linux/virtio_types.h $@
|
/linux-4.1.27/fs/btrfs/ |
H A D | check-integrity.c | 301 static void btrfsic_stack_frame_free(struct btrfsic_stack_frame *sf); 957 struct btrfsic_stack_frame *sf; btrfsic_stack_frame_alloc() local 959 sf = kzalloc(sizeof(*sf), GFP_NOFS); btrfsic_stack_frame_alloc() 960 if (NULL == sf) btrfsic_stack_frame_alloc() 963 sf->magic = BTRFSIC_BLOCK_STACK_FRAME_MAGIC_NUMBER; btrfsic_stack_frame_alloc() 964 return sf; btrfsic_stack_frame_alloc() 967 static void btrfsic_stack_frame_free(struct btrfsic_stack_frame *sf) btrfsic_stack_frame_free() argument 969 BUG_ON(!(NULL == sf || btrfsic_stack_frame_free() 970 BTRFSIC_BLOCK_STACK_FRAME_MAGIC_NUMBER == sf->magic)); btrfsic_stack_frame_free() 971 kfree(sf); btrfsic_stack_frame_free() 981 struct btrfsic_stack_frame *sf; btrfsic_process_metablock() local 987 sf = &initial_stack_frame; btrfsic_process_metablock() 988 sf->error = 0; btrfsic_process_metablock() 989 sf->i = -1; btrfsic_process_metablock() 990 sf->limit_nesting = first_limit_nesting; btrfsic_process_metablock() 991 sf->block = first_block; btrfsic_process_metablock() 992 sf->block_ctx = first_block_ctx; btrfsic_process_metablock() 993 sf->next_block = NULL; btrfsic_process_metablock() 994 sf->hdr = first_hdr; btrfsic_process_metablock() 995 sf->prev = NULL; btrfsic_process_metablock() 998 sf->block->generation = le64_to_cpu(sf->hdr->generation); btrfsic_process_metablock() 999 if (0 == sf->hdr->level) { btrfsic_process_metablock() 1001 (struct btrfs_leaf *)sf->hdr; btrfsic_process_metablock() 1003 if (-1 == sf->i) { btrfsic_process_metablock() 1004 sf->nr = btrfs_stack_header_nritems(&leafhdr->header); btrfsic_process_metablock() 1010 sf->block_ctx->start, sf->nr, btrfsic_process_metablock() 1018 if (0 == sf->num_copies || sf->mirror_num > sf->num_copies) { btrfsic_process_metablock() 1019 sf->i++; btrfsic_process_metablock() 1020 sf->num_copies = 0; btrfsic_process_metablock() 1023 if (sf->i < sf->nr) { btrfsic_process_metablock() 1026 (uintptr_t)(leafhdr->items + sf->i) - btrfsic_process_metablock() 1034 sf->block_ctx->len) { btrfsic_process_metablock() 1038 sf->block_ctx->start, btrfsic_process_metablock() 1039 sf->block_ctx->dev->name); btrfsic_process_metablock() 1042 btrfsic_read_from_block_data(sf->block_ctx, btrfsic_process_metablock() 1059 sf->block_ctx->len) btrfsic_process_metablock() 1062 sf->block_ctx, &root_item, btrfsic_process_metablock() 1067 sf->error = btrfsic_process_metablock() 1070 sf->block, btrfsic_process_metablock() 1071 sf->block_ctx, btrfsic_process_metablock() 1073 sf->limit_nesting, btrfsic_process_metablock() 1074 &sf->next_block_ctx, btrfsic_process_metablock() 1075 &sf->next_block, btrfsic_process_metablock() 1077 &sf->num_copies, btrfsic_process_metablock() 1078 &sf->mirror_num, btrfsic_process_metablock() 1082 if (sf->error) btrfsic_process_metablock() 1085 if (NULL != sf->next_block) { btrfsic_process_metablock() 1088 sf->next_block_ctx.datav[0]; btrfsic_process_metablock() 1093 sf->error = -1; btrfsic_process_metablock() 1095 &sf-> btrfsic_process_metablock() 1101 next_stack->block = sf->next_block; btrfsic_process_metablock() 1103 &sf->next_block_ctx; btrfsic_process_metablock() 1107 sf->limit_nesting - 1; btrfsic_process_metablock() 1108 next_stack->prev = sf; btrfsic_process_metablock() 1109 sf = next_stack; btrfsic_process_metablock() 1114 sf->error = btrfsic_handle_extent_data( btrfsic_process_metablock() 1116 sf->block, btrfsic_process_metablock() 1117 sf->block_ctx, btrfsic_process_metablock() 1120 if (sf->error) btrfsic_process_metablock() 1127 struct btrfs_node *const nodehdr = (struct btrfs_node *)sf->hdr; btrfsic_process_metablock() 1129 if (-1 == sf->i) { btrfsic_process_metablock() 1130 sf->nr = btrfs_stack_header_nritems(&nodehdr->header); btrfsic_process_metablock() 1135 sf->block_ctx->start, btrfsic_process_metablock() 1136 nodehdr->header.level, sf->nr, btrfsic_process_metablock() 1144 if (0 == sf->num_copies || sf->mirror_num > sf->num_copies) { btrfsic_process_metablock() 1145 sf->i++; btrfsic_process_metablock() 1146 sf->num_copies = 0; btrfsic_process_metablock() 1149 if (sf->i < sf->nr) { btrfsic_process_metablock() 1154 key_ptr_offset = (uintptr_t)(nodehdr->ptrs + sf->i) - btrfsic_process_metablock() 1157 sf->block_ctx->len) { btrfsic_process_metablock() 1160 sf->block_ctx->start, btrfsic_process_metablock() 1161 sf->block_ctx->dev->name); btrfsic_process_metablock() 1165 sf->block_ctx, &key_ptr, key_ptr_offset, btrfsic_process_metablock() 1169 sf->error = btrfsic_create_link_to_next_block( btrfsic_process_metablock() 1171 sf->block, btrfsic_process_metablock() 1172 sf->block_ctx, btrfsic_process_metablock() 1174 sf->limit_nesting, btrfsic_process_metablock() 1175 &sf->next_block_ctx, btrfsic_process_metablock() 1176 &sf->next_block, btrfsic_process_metablock() 1178 &sf->num_copies, btrfsic_process_metablock() 1179 &sf->mirror_num, btrfsic_process_metablock() 1182 if (sf->error) btrfsic_process_metablock() 1185 if (NULL != sf->next_block) { btrfsic_process_metablock() 1188 sf->next_block_ctx.datav[0]; btrfsic_process_metablock() 1192 sf->error = -1; btrfsic_process_metablock() 1197 next_stack->block = sf->next_block; btrfsic_process_metablock() 1198 next_stack->block_ctx = &sf->next_block_ctx; btrfsic_process_metablock() 1202 sf->limit_nesting - 1; btrfsic_process_metablock() 1203 next_stack->prev = sf; btrfsic_process_metablock() 1204 sf = next_stack; btrfsic_process_metablock() 1213 if (NULL != sf->prev) { btrfsic_process_metablock() 1214 struct btrfsic_stack_frame *const prev = sf->prev; btrfsic_process_metablock() 1217 btrfsic_release_block_ctx(sf->block_ctx); btrfsic_process_metablock() 1219 if (sf->error) { btrfsic_process_metablock() 1220 prev->error = sf->error; btrfsic_process_metablock() 1221 btrfsic_stack_frame_free(sf); btrfsic_process_metablock() 1222 sf = prev; btrfsic_process_metablock() 1226 btrfsic_stack_frame_free(sf); btrfsic_process_metablock() 1227 sf = prev; btrfsic_process_metablock() 1230 BUG_ON(&initial_stack_frame != sf); btrfsic_process_metablock() 1233 return sf->error; btrfsic_process_metablock()
|
/linux-4.1.27/drivers/hwmon/ |
H A D | emc6w201.c | 196 int sf = to_sensor_dev_attr_2(devattr)->index; show_in() local 200 (unsigned)data->in[sf][nr] * nominal_mv[nr] / 0xC0); show_in() 208 int sf = to_sensor_dev_attr_2(devattr)->index; set_in() local 219 reg = (sf == min) ? EMC6W201_REG_IN_LOW(nr) set_in() 223 data->in[sf][nr] = clamp_val(val, 0, 255); set_in() 224 err = emc6w201_write8(client, reg, data->in[sf][nr]); set_in() 234 int sf = to_sensor_dev_attr_2(devattr)->index; show_temp() local 237 return sprintf(buf, "%d\n", (int)data->temp[sf][nr] * 1000); show_temp() 245 int sf = to_sensor_dev_attr_2(devattr)->index; set_temp() local 256 reg = (sf == min) ? EMC6W201_REG_TEMP_LOW(nr) set_temp() 260 data->temp[sf][nr] = clamp_val(val, -127, 127); set_temp() 261 err = emc6w201_write8(client, reg, data->temp[sf][nr]); set_temp() 271 int sf = to_sensor_dev_attr_2(devattr)->index; show_fan() local 275 if (data->fan[sf][nr] == 0 || data->fan[sf][nr] == 0xFFFF) show_fan() 278 rpm = 5400000U / data->fan[sf][nr]; show_fan() 288 int sf = to_sensor_dev_attr_2(devattr)->index; set_fan() local 305 data->fan[sf][nr] = val; set_fan() 307 data->fan[sf][nr]); set_fan()
|
/linux-4.1.27/arch/powerpc/perf/ |
H A D | callchain.c | 224 struct signal_frame_64 __user *sf; sane_signal_64_frame() local 227 sf = (struct signal_frame_64 __user *) sp; sane_signal_64_frame() 228 if (read_user_stack_64((unsigned long __user *) &sf->pinfo, &pinfo) || sane_signal_64_frame() 229 read_user_stack_64((unsigned long __user *) &sf->puc, &puc)) sane_signal_64_frame() 231 return pinfo == (unsigned long) &sf->info && sane_signal_64_frame() 232 puc == (unsigned long) &sf->uc; sane_signal_64_frame() 390 struct signal_frame_32 __user *sf; sane_signal_32_frame() local 393 sf = (struct signal_frame_32 __user *) (unsigned long) sp; sane_signal_32_frame() 394 if (read_user_stack_32((unsigned int __user *) &sf->sctx.regs, ®s)) sane_signal_32_frame() 396 return regs == (unsigned long) &sf->mctx; sane_signal_32_frame() 401 struct rt_signal_frame_32 __user *sf; sane_rt_signal_32_frame() local 404 sf = (struct rt_signal_frame_32 __user *) (unsigned long) sp; sane_rt_signal_32_frame() 405 if (read_user_stack_32((unsigned int __user *) &sf->uc.uc_regs, ®s)) sane_rt_signal_32_frame() 407 return regs == (unsigned long) &sf->uc.uc_mcontext; sane_rt_signal_32_frame() 414 struct signal_frame_32 __user *sf; signal_frame_32_regs() local 426 sf = (struct signal_frame_32 __user *) (unsigned long) sp; signal_frame_32_regs() 427 mctx = &sf->mctx; signal_frame_32_regs()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | sec_config.c | 162 static void get_default_flavor(struct sptlrpc_flavor *sf) get_default_flavor() argument 164 memset(sf, 0, sizeof(*sf)); get_default_flavor() 166 sf->sf_rpc = SPTLRPC_FLVR_NULL; get_default_flavor() 167 sf->sf_flags = 0; get_default_flavor() 406 struct sptlrpc_flavor *sf) sptlrpc_rule_set_choose() 427 *sf = r->sr_flvr; sptlrpc_rule_set_choose() 773 static inline void flavor_set_flags(struct sptlrpc_flavor *sf, flavor_set_flags() argument 782 if (sf->sf_rpc == SPTLRPC_FLVR_NULL) flavor_set_flags() 787 sf->sf_flags |= PTLRPC_SEC_FL_ROOTONLY; flavor_set_flags() 790 sf->sf_flags |= PTLRPC_SEC_FL_ROOTONLY | PTLRPC_SEC_FL_BULK; flavor_set_flags() 793 if (fl_udesc && sf->sf_rpc != SPTLRPC_FLVR_NULL) flavor_set_flags() 794 sf->sf_flags |= PTLRPC_SEC_FL_UDESC; flavor_set_flags() 802 struct sptlrpc_flavor *sf) sptlrpc_conf_choose_flavor() 826 from, to, nid, sf); sptlrpc_conf_choose_flavor() 831 rc = sptlrpc_rule_set_choose(&conf->sc_rset, from, to, nid, sf); sptlrpc_conf_choose_flavor() 836 get_default_flavor(sf); sptlrpc_conf_choose_flavor() 838 flavor_set_flags(sf, from, to, 1); sptlrpc_conf_choose_flavor() 848 struct sptlrpc_flavor *sf) sptlrpc_target_choose_flavor() 850 if (sptlrpc_rule_set_choose(rset, from, LUSTRE_SP_ANY, nid, sf) == 0) sptlrpc_target_choose_flavor() 851 get_default_flavor(sf); sptlrpc_target_choose_flavor() 402 sptlrpc_rule_set_choose(struct sptlrpc_rule_set *rset, enum lustre_sec_part from, enum lustre_sec_part to, lnet_nid_t nid, struct sptlrpc_flavor *sf) sptlrpc_rule_set_choose() argument 798 sptlrpc_conf_choose_flavor(enum lustre_sec_part from, enum lustre_sec_part to, struct obd_uuid *target, lnet_nid_t nid, struct sptlrpc_flavor *sf) sptlrpc_conf_choose_flavor() argument 845 sptlrpc_target_choose_flavor(struct sptlrpc_rule_set *rset, enum lustre_sec_part from, lnet_nid_t nid, struct sptlrpc_flavor *sf) sptlrpc_target_choose_flavor() argument
|
H A D | sec.c | 195 char *sptlrpc_flavor2name_bulk(struct sptlrpc_flavor *sf, sptlrpc_flavor2name_bulk() argument 198 if (SPTLRPC_FLVR_POLICY(sf->sf_rpc) == SPTLRPC_POLICY_PLAIN) sptlrpc_flavor2name_bulk() 200 sptlrpc_get_hash_name(sf->u_bulk.hash.hash_alg)); sptlrpc_flavor2name_bulk() 203 sptlrpc_flavor2name_base(sf->sf_rpc)); sptlrpc_flavor2name_bulk() 210 char *sptlrpc_flavor2name(struct sptlrpc_flavor *sf, char *buf, int bufsize) sptlrpc_flavor2name() argument 212 strlcpy(buf, sptlrpc_flavor2name_base(sf->sf_rpc), bufsize); sptlrpc_flavor2name() 218 if (SPTLRPC_FLVR_POLICY(sf->sf_rpc) == SPTLRPC_POLICY_PLAIN) { sptlrpc_flavor2name() 222 sptlrpc_flavor2name_bulk(sf, &bspec[1], sizeof(bspec) - 1); sptlrpc_flavor2name() 1277 struct sptlrpc_flavor *sf, sptlrpc_sec_create() 1290 sptlrpc_flavor2name(sf, str, sizeof(str))); sptlrpc_sec_create() 1293 sf->sf_flags |= PTLRPC_SEC_FL_REVERSE | PTLRPC_SEC_FL_ROOTONLY; sptlrpc_sec_create() 1300 sptlrpc_flavor2name(sf, str, sizeof(str))); sptlrpc_sec_create() 1302 policy = sptlrpc_wireflavor2policy(sf->sf_rpc); sptlrpc_sec_create() 1304 CERROR("invalid flavor 0x%x\n", sf->sf_rpc); sptlrpc_sec_create() 1309 sec = policy->sp_cops->create_sec(imp, svc_ctx, sf); sptlrpc_sec_create() 1370 struct sptlrpc_flavor *sf) sptlrpc_import_sec_adapt_inplace() 1374 if (sec->ps_flvr.sf_flags != sf->sf_flags) sptlrpc_import_sec_adapt_inplace() 1378 sptlrpc_secflags2str(sf->sf_flags, sptlrpc_import_sec_adapt_inplace() 1382 flavor_copy(&sec->ps_flvr, sf); sptlrpc_import_sec_adapt_inplace() 1398 struct sptlrpc_flavor sf; sptlrpc_import_sec_adapt() local 1418 sf = cliobd->cl_flvr_mgc; sptlrpc_import_sec_adapt() 1423 conn->c_self, &sf); sptlrpc_import_sec_adapt() 1428 sf = *flvr; sptlrpc_import_sec_adapt() 1430 if (sf.sf_rpc != SPTLRPC_FLVR_NULL) sptlrpc_import_sec_adapt() 1431 sf.sf_flags = PTLRPC_SEC_FL_REVERSE | sptlrpc_import_sec_adapt() 1441 if (flavor_equal(&sf, &sec->ps_flvr)) sptlrpc_import_sec_adapt() 1448 sptlrpc_flavor2name(&sf, str2, sizeof(str2))); sptlrpc_import_sec_adapt() 1450 if (SPTLRPC_FLVR_POLICY(sf.sf_rpc) == sptlrpc_import_sec_adapt() 1452 SPTLRPC_FLVR_MECH(sf.sf_rpc) == sptlrpc_import_sec_adapt() 1454 sptlrpc_import_sec_adapt_inplace(imp, sec, &sf); sptlrpc_import_sec_adapt() 1457 } else if (SPTLRPC_FLVR_BASE(sf.sf_rpc) != sptlrpc_import_sec_adapt() 1463 sptlrpc_flavor2name(&sf, str, sizeof(str))); sptlrpc_import_sec_adapt() 1468 newsec = sptlrpc_sec_create(imp, svc_ctx, &sf, sp); sptlrpc_import_sec_adapt() 1275 sptlrpc_sec_create(struct obd_import *imp, struct ptlrpc_svc_ctx *svc_ctx, struct sptlrpc_flavor *sf, enum lustre_sec_part sp) sptlrpc_sec_create() argument 1368 sptlrpc_import_sec_adapt_inplace(struct obd_import *imp, struct ptlrpc_sec *sec, struct sptlrpc_flavor *sf) sptlrpc_import_sec_adapt_inplace() argument
|
H A D | sec_null.c | 119 struct sptlrpc_flavor *sf) null_create_sec() 121 LASSERT(SPTLRPC_FLVR_POLICY(sf->sf_rpc) == SPTLRPC_POLICY_NULL); null_create_sec() 117 null_create_sec(struct obd_import *imp, struct ptlrpc_svc_ctx *svc_ctx, struct sptlrpc_flavor *sf) null_create_sec() argument
|
H A D | sec_plain.c | 439 struct sptlrpc_flavor *sf) plain_create_sec() 445 LASSERT(SPTLRPC_FLVR_POLICY(sf->sf_rpc) == SPTLRPC_POLICY_PLAIN); plain_create_sec() 463 sec->ps_flvr = *sf; plain_create_sec() 437 plain_create_sec(struct obd_import *imp, struct ptlrpc_svc_ctx *svc_ctx, struct sptlrpc_flavor *sf) plain_create_sec() argument
|
H A D | ptlrpc_internal.h | 284 struct sptlrpc_flavor *sf); sptlrpc_lproc_fini()
|
H A D | lproc_ptlrpc.c | 910 struct seq_file *sf = seq_file; target_print_req() local 916 seq_printf(sf, "<not swabbed>\n"); target_print_req() 924 seq_printf(sf, "opc %d\n", lustre_msg_get_opc(req->rq_reqmsg)); target_print_req()
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
H A D | gss_generic_token.c | 120 unsigned char sf; der_read_length() local 125 sf = *(*buf)++; der_read_length() 127 if (sf & 0x80) { der_read_length() 128 if ((sf &= 0x7f) > ((*bufsize)-1)) der_read_length() 130 if (sf > SIZEOF_INT) der_read_length() 133 for (; sf; sf--) { der_read_length() 138 ret = sf; der_read_length()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_attr_list.c | 73 xfs_attr_shortform_t *sf; xfs_attr_shortform_list() local 83 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; xfs_attr_shortform_list() 84 ASSERT(sf != NULL); xfs_attr_shortform_list() 85 if (!sf->hdr.count) xfs_attr_shortform_list() 103 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { xfs_attr_shortform_list() 104 for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) { xfs_attr_shortform_list() 134 sbsize = sf->hdr.count * sizeof(*sbuf); xfs_attr_shortform_list() 142 for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) { xfs_attr_shortform_list() 144 ((char *)sfe < (char *)sf) || xfs_attr_shortform_list() 145 ((char *)sfe >= ((char *)sf + dp->i_afp->if_bytes)))) { xfs_attr_shortform_list()
|
/linux-4.1.27/arch/arc/boot/ |
H A D | Makefile | 34 @ln -sf $(notdir $<) $@
|
/linux-4.1.27/kernel/sched/ |
H A D | cpuacct.c | 185 static int cpuacct_stats_show(struct seq_file *sf, void *v) cpuacct_stats_show() argument 187 struct cpuacct *ca = css_ca(seq_css(sf)); cpuacct_stats_show() 197 seq_printf(sf, "%s %lld\n", cpuacct_stat_desc[CPUACCT_STAT_USER], val); 208 seq_printf(sf, "%s %lld\n", cpuacct_stat_desc[CPUACCT_STAT_SYSTEM], val);
|
H A D | core.c | 8298 static int cpu_stats_show(struct seq_file *sf, void *v) cpu_stats_show() argument 8300 struct task_group *tg = css_tg(seq_css(sf)); cpu_stats_show() 8303 seq_printf(sf, "nr_periods %d\n", cfs_b->nr_periods); cpu_stats_show() 8304 seq_printf(sf, "nr_throttled %d\n", cfs_b->nr_throttled); cpu_stats_show() 8305 seq_printf(sf, "throttled_time %llu\n", cfs_b->throttled_time); cpu_stats_show()
|
/linux-4.1.27/net/netfilter/ |
H A D | xt_osf.c | 69 struct xt_osf_finger *kf = NULL, *sf; xt_osf_add_callback() local 86 list_for_each_entry(sf, &xt_osf_fingers[!!f->df], finger_entry) { xt_osf_add_callback() 87 if (memcmp(&sf->finger, f, sizeof(struct xt_osf_user_finger))) xt_osf_add_callback() 112 struct xt_osf_finger *sf; xt_osf_remove_callback() local 120 list_for_each_entry(sf, &xt_osf_fingers[!!f->df], finger_entry) { xt_osf_remove_callback() 121 if (memcmp(&sf->finger, f, sizeof(struct xt_osf_user_finger))) xt_osf_remove_callback() 127 list_del_rcu(&sf->finger_entry); xt_osf_remove_callback() 128 kfree_rcu(sf, rcu_head); xt_osf_remove_callback()
|
H A D | xt_hashlimit.c | 854 struct seq_file *sf = file->private_data; dl_proc_open() local 855 sf->private = PDE_DATA(inode); dl_proc_open()
|
/linux-4.1.27/fs/pstore/ |
H A D | inode.c | 139 struct seq_file *sf = file->private_data; pstore_file_read() local 140 struct pstore_private *ps = sf->private; pstore_file_read() 150 struct seq_file *sf; pstore_file_open() local 165 sf = file->private_data; pstore_file_open() 166 sf->private = ps; pstore_file_open() 173 struct seq_file *sf = file->private_data; pstore_file_llseek() local 175 if (sf->op) pstore_file_llseek()
|
/linux-4.1.27/block/ |
H A D | blk-cgroup.c | 497 * @sf: seq_file to print to 505 * policy specified by @pol exists. @prfill is invoked with @sf, the 513 void blkcg_print_blkgs(struct seq_file *sf, struct blkcg *blkcg, blkcg_print_blkgs() argument 526 total += prfill(sf, blkg->pd[pol->plid], data); blkcg_print_blkgs() 532 seq_printf(sf, "Total %llu\n", (unsigned long long)total); blkcg_print_blkgs() 538 * @sf: seq_file to print to 542 * Print @v to @sf for the device assocaited with @pd. 544 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v) __blkg_prfill_u64() argument 551 seq_printf(sf, "%s %llu\n", dname, (unsigned long long)v); __blkg_prfill_u64() 558 * @sf: seq_file to print to 562 * Print @rwstat to @sf for the device assocaited with @pd. 564 u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, __blkg_prfill_rwstat() argument 581 seq_printf(sf, "%s %s %llu\n", dname, rwstr[i], __blkg_prfill_rwstat() 585 seq_printf(sf, "%s Total %llu\n", dname, (unsigned long long)v); __blkg_prfill_rwstat() 592 * @sf: seq_file to print to 598 u64 blkg_prfill_stat(struct seq_file *sf, struct blkg_policy_data *pd, int off) blkg_prfill_stat() argument 600 return __blkg_prfill_u64(sf, pd, blkg_stat_read((void *)pd + off)); blkg_prfill_stat() 606 * @sf: seq_file to print to 612 u64 blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, blkg_prfill_rwstat() argument 617 return __blkg_prfill_rwstat(sf, pd, &rwstat); blkg_prfill_rwstat()
|
H A D | cfq-iosched.c | 1638 static u64 cfqg_prfill_weight_device(struct seq_file *sf, cfqg_prfill_weight_device() argument 1645 return __blkg_prfill_u64(sf, pd, cfqg->dev_weight); cfqg_prfill_weight_device() 1648 static int cfqg_print_weight_device(struct seq_file *sf, void *v) cfqg_print_weight_device() argument 1650 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), cfqg_print_weight_device() 1656 static u64 cfqg_prfill_leaf_weight_device(struct seq_file *sf, cfqg_prfill_leaf_weight_device() argument 1663 return __blkg_prfill_u64(sf, pd, cfqg->dev_leaf_weight); cfqg_prfill_leaf_weight_device() 1666 static int cfqg_print_leaf_weight_device(struct seq_file *sf, void *v) cfqg_print_leaf_weight_device() argument 1668 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), cfqg_print_leaf_weight_device() 1674 static int cfq_print_weight(struct seq_file *sf, void *v) cfq_print_weight() argument 1676 seq_printf(sf, "%u\n", css_to_blkcg(seq_css(sf))->cfq_weight); cfq_print_weight() 1680 static int cfq_print_leaf_weight(struct seq_file *sf, void *v) cfq_print_leaf_weight() argument 1682 seq_printf(sf, "%u\n", css_to_blkcg(seq_css(sf))->cfq_leaf_weight); cfq_print_leaf_weight() 1775 static int cfqg_print_stat(struct seq_file *sf, void *v) cfqg_print_stat() argument 1777 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), blkg_prfill_stat, cfqg_print_stat() 1778 &blkcg_policy_cfq, seq_cft(sf)->private, false); cfqg_print_stat() 1782 static int cfqg_print_rwstat(struct seq_file *sf, void *v) cfqg_print_rwstat() argument 1784 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), blkg_prfill_rwstat, cfqg_print_rwstat() 1785 &blkcg_policy_cfq, seq_cft(sf)->private, true); cfqg_print_rwstat() 1789 static u64 cfqg_prfill_stat_recursive(struct seq_file *sf, cfqg_prfill_stat_recursive() argument 1794 return __blkg_prfill_u64(sf, pd, sum); cfqg_prfill_stat_recursive() 1797 static u64 cfqg_prfill_rwstat_recursive(struct seq_file *sf, cfqg_prfill_rwstat_recursive() argument 1802 return __blkg_prfill_rwstat(sf, pd, &sum); cfqg_prfill_rwstat_recursive() 1805 static int cfqg_print_stat_recursive(struct seq_file *sf, void *v) cfqg_print_stat_recursive() argument 1807 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), cfqg_print_stat_recursive() 1809 seq_cft(sf)->private, false); cfqg_print_stat_recursive() 1813 static int cfqg_print_rwstat_recursive(struct seq_file *sf, void *v) cfqg_print_rwstat_recursive() argument 1815 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), cfqg_print_rwstat_recursive() 1817 seq_cft(sf)->private, true); cfqg_print_rwstat_recursive() 1822 static u64 cfqg_prfill_avg_queue_size(struct seq_file *sf, cfqg_prfill_avg_queue_size() argument 1833 __blkg_prfill_u64(sf, pd, v); cfqg_prfill_avg_queue_size() 1838 static int cfqg_print_avg_queue_size(struct seq_file *sf, void *v) cfqg_print_avg_queue_size() argument 1840 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), cfqg_print_avg_queue_size()
|
H A D | blk-throttle.c | 1288 static u64 tg_prfill_cpu_rwstat(struct seq_file *sf, tg_prfill_cpu_rwstat() argument 1306 return __blkg_prfill_rwstat(sf, pd, &rwstat); 1309 static int tg_print_cpu_rwstat(struct seq_file *sf, void *v) tg_print_cpu_rwstat() argument 1311 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), tg_prfill_cpu_rwstat, tg_print_cpu_rwstat() 1312 &blkcg_policy_throtl, seq_cft(sf)->private, true); tg_print_cpu_rwstat() 1316 static u64 tg_prfill_conf_u64(struct seq_file *sf, struct blkg_policy_data *pd, tg_prfill_conf_u64() argument 1324 return __blkg_prfill_u64(sf, pd, v); tg_prfill_conf_u64() 1327 static u64 tg_prfill_conf_uint(struct seq_file *sf, struct blkg_policy_data *pd, tg_prfill_conf_uint() argument 1335 return __blkg_prfill_u64(sf, pd, v); tg_prfill_conf_uint() 1338 static int tg_print_conf_u64(struct seq_file *sf, void *v) tg_print_conf_u64() argument 1340 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), tg_prfill_conf_u64, tg_print_conf_u64() 1341 &blkcg_policy_throtl, seq_cft(sf)->private, false); tg_print_conf_u64() 1345 static int tg_print_conf_uint(struct seq_file *sf, void *v) tg_print_conf_uint() argument 1347 blkcg_print_blkgs(sf, css_to_blkcg(seq_css(sf)), tg_prfill_conf_uint, tg_print_conf_uint() 1348 &blkcg_policy_throtl, seq_cft(sf)->private, false); tg_print_conf_uint()
|
H A D | blk-cgroup.h | 153 void blkcg_print_blkgs(struct seq_file *sf, struct blkcg *blkcg, 158 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v); 159 u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, 161 u64 blkg_prfill_stat(struct seq_file *sf, struct blkg_policy_data *pd, int off); 162 u64 blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd,
|
/linux-4.1.27/fs/hostfs/ |
H A D | hostfs_kern.c | 193 static int hostfs_statfs(struct dentry *dentry, struct kstatfs *sf) hostfs_statfs() argument 208 &sf->f_bsize, &f_blocks, &f_bfree, &f_bavail, &f_files, hostfs_statfs() 209 &f_ffree, &sf->f_fsid, sizeof(sf->f_fsid), hostfs_statfs() 210 &sf->f_namelen); hostfs_statfs() 213 sf->f_blocks = f_blocks; hostfs_statfs() 214 sf->f_bfree = f_bfree; hostfs_statfs() 215 sf->f_bavail = f_bavail; hostfs_statfs() 216 sf->f_files = f_files; hostfs_statfs() 217 sf->f_ffree = f_ffree; hostfs_statfs() 218 sf->f_type = HOSTFS_SUPER_MAGIC; hostfs_statfs()
|
/linux-4.1.27/fs/kernfs/ |
H A D | file.c | 93 static void kernfs_seq_stop_active(struct seq_file *sf, void *v) kernfs_seq_stop_active() argument 95 struct kernfs_open_file *of = sf->private; kernfs_seq_stop_active() 99 ops->seq_stop(sf, v); kernfs_seq_stop_active() 103 static void *kernfs_seq_start(struct seq_file *sf, loff_t *ppos) kernfs_seq_start() argument 105 struct kernfs_open_file *of = sf->private; kernfs_seq_start() 118 void *next = ops->seq_start(sf, ppos); kernfs_seq_start() 121 kernfs_seq_stop_active(sf, next); kernfs_seq_start() 132 static void *kernfs_seq_next(struct seq_file *sf, void *v, loff_t *ppos) kernfs_seq_next() argument 134 struct kernfs_open_file *of = sf->private; kernfs_seq_next() 138 void *next = ops->seq_next(sf, v, ppos); kernfs_seq_next() 141 kernfs_seq_stop_active(sf, next); kernfs_seq_next() 153 static void kernfs_seq_stop(struct seq_file *sf, void *v) kernfs_seq_stop() argument 155 struct kernfs_open_file *of = sf->private; kernfs_seq_stop() 158 kernfs_seq_stop_active(sf, v); kernfs_seq_stop() 162 static int kernfs_seq_show(struct seq_file *sf, void *v) kernfs_seq_show() argument 164 struct kernfs_open_file *of = sf->private; kernfs_seq_show() 168 return of->kn->attr.ops->seq_show(sf, v); kernfs_seq_show()
|
H A D | mount.c | 32 static int kernfs_sop_show_options(struct seq_file *sf, struct dentry *dentry) kernfs_sop_show_options() argument 38 return scops->show_options(sf, root); kernfs_sop_show_options()
|
/linux-4.1.27/drivers/media/pci/zoran/ |
H A D | zoran_card.h | 13 * Mailinglist <mjpeg-users@lists.sf.net>
|
H A D | zoran_procfs.h | 13 * Mailinglist <mjpeg-users@lists.sf.net>
|
H A D | zoran_device.h | 13 * Mailinglist <mjpeg-users@lists.sf.net>
|
H A D | zoran_procfs.c | 13 * Mailinglist <mjpeg-users@lists.sf.net>
|
H A D | zoran_card.c | 13 * Mailinglist <mjpeg-users@lists.sf.net>
|
H A D | zoran_device.c | 13 * Mailinglist <mjpeg-users@lists.sf.net>
|
/linux-4.1.27/drivers/video/console/ |
H A D | softcursor.c | 80 MODULE_AUTHOR("James Simmons <jsimmons@users.sf.net>");
|
/linux-4.1.27/arch/metag/boot/ |
H A D | Makefile | 67 @ln -sf $(notdir $<) $@
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | max9850.c | 137 u8 sf, da; max9850_hw_params() local 142 /* lrclk_div = 2^22 * rate / iclk with iclk = mclk / sf */ max9850_hw_params() 143 sf = (snd_soc_read(codec, MAX9850_CLOCK) >> 2) + 1; max9850_hw_params() 146 lrclk_div *= sf; max9850_hw_params()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | sfp-machine.h | 254 __asm__ ("{sf%I3|subf%I3c} %1,%4,%3\n\t{sfze|subfze} %0,%2" \ 261 __asm__ ("{sf%I3|subf%I3c} %1,%4,%3\n\t{sfme|subfme} %0,%2" \ 268 __asm__ ("{sf%I3|subf%I3c} %1,%4,%3\n\t{ame|addme} %0,%2" \ 275 __asm__ ("{sf%I3|subf%I3c} %1,%4,%3\n\t{aze|addze} %0,%2" \ 282 __asm__ ("{sf%I4|subf%I4c} %1,%5,%4\n\t{sfe|subfe} %0,%3,%2" \
|
H A D | ps3av.h | 497 u8 sf:3; member in struct:ps3av_audio_info_frame::pb2_bit
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_dir2_sf.c | 56 * Given a block directory (dp/block), calculate its size as a shortform (sf) 57 * directory and a header for the sf directory, if it will fit it the 61 int /* size for sf form */ xfs_dir2_block_sfsize() 65 xfs_dir2_sf_hdr_t *sfhp) /* output: header for sf form */ xfs_dir2_block_sfsize() 109 * . is not included in sf directories. xfs_dir2_block_sfsize() 391 int byteoff; /* byte offset in sf dir */ xfs_dir2_sf_addname_easy() 554 * Loop over sf entries. xfs_dir2_sf_addname_pick() 1005 xfs_dir2_sf_entry_t *oldsfep; /* old sf entry */ xfs_dir2_sf_toino4() 1006 xfs_dir2_sf_hdr_t *oldsfp; /* old sf directory */ xfs_dir2_sf_toino4() 1008 xfs_dir2_sf_entry_t *sfep; /* new sf entry */ xfs_dir2_sf_toino4() 1009 xfs_dir2_sf_hdr_t *sfp; /* new sf directory */ xfs_dir2_sf_toino4() 1081 xfs_dir2_sf_entry_t *oldsfep; /* old sf entry */ xfs_dir2_sf_toino8() 1082 xfs_dir2_sf_hdr_t *oldsfp; /* old sf directory */ xfs_dir2_sf_toino8() 1084 xfs_dir2_sf_entry_t *sfep; /* new sf entry */ xfs_dir2_sf_toino8() 1085 xfs_dir2_sf_hdr_t *sfp; /* new sf directory */ xfs_dir2_sf_toino8()
|
H A D | xfs_attr_leaf.c | 526 xfs_attr_shortform_t *sf; xfs_attr_shortform_add() local 541 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; xfs_attr_shortform_add() 542 sfe = &sf->list[0]; xfs_attr_shortform_add() 543 for (i = 0; i < sf->hdr.count; sfe = XFS_ATTR_SF_NEXTENTRY(sfe), i++) { xfs_attr_shortform_add() 555 offset = (char *)sfe - (char *)sf; xfs_attr_shortform_add() 558 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; xfs_attr_shortform_add() 559 sfe = (xfs_attr_sf_entry_t *)((char *)sf + offset); xfs_attr_shortform_add() 566 sf->hdr.count++; xfs_attr_shortform_add() 567 be16_add_cpu(&sf->hdr.totsize, size); xfs_attr_shortform_add() 598 xfs_attr_shortform_t *sf; xfs_attr_shortform_remove() local 609 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; xfs_attr_shortform_remove() 610 sfe = &sf->list[0]; xfs_attr_shortform_remove() 611 end = sf->hdr.count; xfs_attr_shortform_remove() 630 totsize = be16_to_cpu(sf->hdr.totsize); xfs_attr_shortform_remove() 632 memmove(&((char *)sf)[base], &((char *)sf)[end], totsize - end); xfs_attr_shortform_remove() 633 sf->hdr.count--; xfs_attr_shortform_remove() 634 be16_add_cpu(&sf->hdr.totsize, -size); xfs_attr_shortform_remove() 669 xfs_attr_shortform_t *sf; xfs_attr_shortform_lookup() local 678 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; xfs_attr_shortform_lookup() 679 sfe = &sf->list[0]; xfs_attr_shortform_lookup() 680 for (i = 0; i < sf->hdr.count; xfs_attr_shortform_lookup() 700 xfs_attr_shortform_t *sf; xfs_attr_shortform_getvalue() local 705 sf = (xfs_attr_shortform_t *)args->dp->i_afp->if_u1.if_data; xfs_attr_shortform_getvalue() 706 sfe = &sf->list[0]; xfs_attr_shortform_getvalue() 707 for (i = 0; i < sf->hdr.count; xfs_attr_shortform_getvalue() 738 xfs_attr_shortform_t *sf; xfs_attr_shortform_to_leaf() local 751 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; xfs_attr_shortform_to_leaf() 752 size = be16_to_cpu(sf->hdr.totsize); xfs_attr_shortform_to_leaf() 756 sf = (xfs_attr_shortform_t *)tmpbuffer; xfs_attr_shortform_to_leaf() 797 sfe = &sf->list[0]; xfs_attr_shortform_to_leaf() 798 for (i = 0; i < sf->hdr.count; i++) { xfs_attr_shortform_to_leaf()
|
H A D | xfs_dir2_block.c | 1063 xfs_dir2_sf_entry_t *sfep; /* sf entry pointer */ xfs_dir2_sf_to_block() 1189 * Need to preserve the existing offset values in the sf directory. xfs_dir2_sf_to_block()
|
/linux-4.1.27/drivers/media/platform/blackfin/ |
H A D | bfin_capture.c | 160 struct bcap_format *sf; bcap_init_sensor_formats() local 170 sf = kzalloc(num_formats * sizeof(*sf), GFP_KERNEL); bcap_init_sensor_formats() 171 if (!sf) bcap_init_sensor_formats() 182 kfree(sf); bcap_init_sensor_formats() 185 sf[i] = bcap_formats[j]; bcap_init_sensor_formats() 187 bcap_dev->sensor_formats = sf; bcap_init_sensor_formats() 598 struct bcap_format *sf = bcap->sensor_formats; bcap_try_format() local 604 fmt = &sf[i]; bcap_try_format() 609 fmt = &sf[0]; bcap_try_format() 619 fmt = &sf[i]; bcap_try_format() 634 struct bcap_format *sf = bcap_dev->sensor_formats; bcap_enum_fmt_vid_cap() local 641 sf[fmt->index].desc, bcap_enum_fmt_vid_cap() 643 fmt->pixelformat = sf[fmt->index].pixelformat; bcap_enum_fmt_vid_cap()
|
/linux-4.1.27/include/linux/ |
H A D | kernfs.h | 148 int (*show_options)(struct seq_file *sf, struct kernfs_root *root); 195 * equivalent to single_open(). @sf->private points to the 201 int (*seq_show)(struct seq_file *sf, void *v); 203 void *(*seq_start)(struct seq_file *sf, loff_t *ppos); 204 void *(*seq_next)(struct seq_file *sf, void *v, loff_t *ppos); 205 void (*seq_stop)(struct seq_file *sf, void *v);
|
H A D | cgroup-defs.h | 359 int (*seq_show)(struct seq_file *sf, void *v); 362 void *(*seq_start)(struct seq_file *sf, loff_t *ppos); 363 void *(*seq_next)(struct seq_file *sf, void *v, loff_t *ppos); 364 void (*seq_stop)(struct seq_file *sf, void *v);
|
H A D | sctp.h | 34 * http://www.sf.net/projects/lksctp
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-wiimote-debug.c | 130 struct seq_file *sf = f->private_data; wiidebug_drm_write() local 131 struct wiimote_debug *dbg = sf->private; wiidebug_drm_write()
|
H A D | hid-uclogic.c | 26 * http://sf.net/apps/mediawiki/digimend/?title=UC-Logic_Tablet_WP4030U 27 * http://sf.net/apps/mediawiki/digimend/?title=UC-Logic_Tablet_WP5540U 28 * http://sf.net/apps/mediawiki/digimend/?title=UC-Logic_Tablet_WP8060U 226 * http://sf.net/apps/mediawiki/digimend/?title=UC-Logic_Tablet_WP1062 279 * http://sf.net/apps/mediawiki/digimend/?title=UC-Logic_Tablet_PF1209 361 * http://sf.net/apps/mediawiki/digimend/?title=UC-Logic_Wireless_Tablet_TWHL850 474 * http://sf.net/apps/mediawiki/digimend/?title=UC-Logic_Tablet_TWHA60
|
H A D | hid-waltop.c | 47 * http://sf.net/apps/mediawiki/digimend/?title=Waltop_Slim_Tablet_5.8%22 103 * http://sf.net/apps/mediawiki/digimend/?title=Waltop_Slim_Tablet_12.1%22 159 * http://sf.net/apps/mediawiki/digimend/?title=Waltop_Q_Pad 215 * http://sf.net/apps/mediawiki/digimend/?title=Waltop_PID_0038 273 * http://sf.net/apps/mediawiki/digimend/?title=Waltop_Media_Tablet_10.6%22 391 * http://sf.net/apps/mediawiki/digimend/?title=Waltop_Media_Tablet_14.1%22 508 * http://sf.net/apps/mediawiki/digimend/?title=Waltop_Sirius_Battery_Free_Tablet
|
H A D | hid-kye.c | 24 * http://sf.net/apps/mediawiki/digimend/?title=KYE_EasyPen_i405X 87 * http://sf.net/apps/mediawiki/digimend/?title=KYE_MousePen_i608X 191 * http://sf.net/apps/mediawiki/digimend/?title=KYE_EasyPen_M610X
|
/linux-4.1.27/arch/arm/mach-omap1/ |
H A D | board-palmte.c | 10 * Maintainers : http://palmtelinux.sf.net 11 * palmtelinux-developpers@lists.sf.net
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | das08_pci.c | 8 * Copyright (C) 2004 Salvador E. Tropea <set@users.sf.net> <set@ieee.org>
|
H A D | das08_isa.c | 8 * Copyright (C) 2004 Salvador E. Tropea <set@users.sf.net> <set@ieee.org>
|
H A D | das08.c | 8 * Copyright (C) 2004 Salvador E. Tropea <set@users.sf.net> <set@ieee.org>
|
/linux-4.1.27/arch/mips/boot/ |
H A D | Makefile | 101 @ln -sf $(notdir $<) $@
|
/linux-4.1.27/arch/arm/vdso/ |
H A D | Makefile | 69 ln -sf "../../vdso.so" "$(MODLIB)/vdso/.build-id/$$first/$$last.debug"; \
|
/linux-4.1.27/arch/blackfin/boot/ |
H A D | Makefile | 68 @ln -sf $(notdir $<) $@
|
/linux-4.1.27/lib/fonts/ |
H A D | fonts.c | 155 MODULE_AUTHOR("James Simmons <jsimmons@users.sf.net>");
|
/linux-4.1.27/net/core/ |
H A D | netprio_cgroup.c | 176 static int read_priomap(struct seq_file *sf, void *v) read_priomap() argument 182 seq_printf(sf, "%s %u\n", dev->name, read_priomap() 183 netprio_prio(seq_css(sf), dev)); read_priomap()
|
H A D | neighbour.c | 2757 struct seq_file *sf = file->private_data; neigh_stat_seq_open() local 2758 sf->private = PDE_DATA(inode); neigh_stat_seq_open()
|
/linux-4.1.27/fs/sysfs/ |
H A D | file.c | 42 static int sysfs_kf_seq_show(struct seq_file *sf, void *v) sysfs_kf_seq_show() argument 44 struct kernfs_open_file *of = sf->private; sysfs_kf_seq_show() 51 count = seq_get_buf(sf, &buf); sysfs_kf_seq_show() 53 seq_commit(sf, -1); sysfs_kf_seq_show() 78 seq_commit(sf, count); sysfs_kf_seq_show()
|
/linux-4.1.27/fs/hppfs/ |
H A D | hppfs.c | 588 static int hppfs_statfs(struct dentry *dentry, struct kstatfs *sf) hppfs_statfs() argument 590 sf->f_blocks = 0; hppfs_statfs() 591 sf->f_bfree = 0; hppfs_statfs() 592 sf->f_bavail = 0; hppfs_statfs() 593 sf->f_files = 0; hppfs_statfs() 594 sf->f_ffree = 0; hppfs_statfs() 595 sf->f_type = HPPFS_SUPER_MAGIC; hppfs_statfs()
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
H A D | fimc-m2m.c | 104 struct fimc_frame *sf, *df; fimc_device_run() local 116 sf = &ctx->s_frame; fimc_device_run() 121 fimc_prepare_dma_offset(ctx, sf); fimc_device_run() 126 ret = fimc_prepare_addr(ctx, src_vb, sf, &sf->paddr); fimc_device_run() 163 fimc_hw_set_input_addr(fimc, &sf->paddr); fimc_device_run()
|
/linux-4.1.27/drivers/usb/misc/sisusbvga/ |
H A D | sisusb_init.c | 769 unsigned short si, di, bx, sf; SiS_LoadDAC() local 795 sf = 0; SiS_LoadDAC() 808 SiS_SetRegByte(SiS_Pr, DACData, (data2 << sf)); SiS_LoadDAC() 815 data = table[i] << sf; SiS_LoadDAC() 825 SiS_WriteDAC(SiS_Pr, DACData, sf, n, SiS_LoadDAC() 832 SiS_WriteDAC(SiS_Pr, DACData, sf, n, SiS_LoadDAC()
|
/linux-4.1.27/crypto/ |
H A D | twofish_common.c | 499 ctx->s[1][i] = mds[1][q0[(b) ^ sb] ^ sf]; \ 507 ctx->s[1][i] = mds[1][q0[q1[(b) ^ sb] ^ sf] ^ sj]; \ 515 ctx->s[1][i] = mds[1][q0[q1[q1[(a) ^ sb] ^ sf] ^ sj] ^ sn]; \ 593 u8 sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0, sh = 0; __twofish_setkey() local 618 CALC_S (se, sf, sg, sh, 8, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ __twofish_setkey() 619 CALC_S (se, sf, sg, sh, 9, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ __twofish_setkey() 620 CALC_S (se, sf, sg, sh, 10, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ __twofish_setkey() 621 CALC_S (se, sf, sg, sh, 11, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ __twofish_setkey() 622 CALC_S (se, sf, sg, sh, 12, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ __twofish_setkey() 623 CALC_S (se, sf, sg, sh, 13, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ __twofish_setkey() 624 CALC_S (se, sf, sg, sh, 14, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ __twofish_setkey() 625 CALC_S (se, sf, sg, sh, 15, 0xE0, 0xD0, 0x8C, 0x17); /* 9E E5 19 03 */ __twofish_setkey()
|
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/ |
H A D | lnetctl.h | 2 * This file is part of Portals, http://www.sf.net/projects/lustre/
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | usb-serial-simple.c | 5 * Copyright (C) 2005 Arthur Huillet (ahuillet@users.sf.net)
|
/linux-4.1.27/arch/sh/boot/ |
H A D | Makefile | 110 @ln -sf $(notdir $<) $@
|
/linux-4.1.27/sound/pci/ctxfi/ |
H A D | ctsrc.h | 60 int (*set_sf)(struct src *src, unsigned int sf);
|
H A D | cthardware.h | 94 int (*src_set_sf)(void *blk, unsigned int sf);
|
H A D | ctsrc.c | 58 static int src_set_sf(struct src *src, unsigned int sf) src_set_sf() argument 63 hw->src_set_sf(src->rsc.ctrl_blk, sf); src_set_sf()
|
H A D | cthw20k1.c | 213 static int src_set_sf(void *blk, unsigned int sf) src_set_sf() argument 217 set_field(&ctl->ctl, SRCCTL_SF, sf); src_set_sf()
|
H A D | cthw20k2.c | 213 static int src_set_sf(void *blk, unsigned int sf) src_set_sf() argument 217 set_field(&ctl->ctl, SRCCTL_SF, sf); src_set_sf()
|
/linux-4.1.27/Documentation/DocBook/media/ |
H A D | Makefile | 205 @(ln -sf `cd $(MEDIA_SRC_DIR) && /bin/pwd`/v4l/*xml $(MEDIA_OBJ_DIR)/) 206 @(ln -sf `cd $(MEDIA_SRC_DIR) && /bin/pwd`/dvb/*xml $(MEDIA_OBJ_DIR)/)
|
/linux-4.1.27/tools/power/cpupower/ |
H A D | Makefile | 197 @ln -sf $(@F) $(OUTPUT)libcpupower.so 198 @ln -sf $(@F) $(OUTPUT)libcpupower.so.$(LIB_MIN)
|
/linux-4.1.27/lib/mpi/ |
H A D | longlong.h | 767 __asm__ ("{sf%I3|subf%I3c} %1,%4,%3\n\t{sfze|subfze} %0,%2" \ 774 __asm__ ("{sf%I3|subf%I3c} %1,%4,%3\n\t{sfme|subfme} %0,%2" \ 781 __asm__ ("{sf%I3|subf%I3c} %1,%4,%3\n\t{ame|addme} %0,%2" \ 788 __asm__ ("{sf%I3|subf%I3c} %1,%4,%3\n\t{aze|addze} %0,%2" \ 795 __asm__ ("{sf%I4|subf%I4c} %1,%5,%4\n\t{sfe|subfe} %0,%3,%2" \
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | omap_hwmod.c | 1331 u8 idlemode, sf; _enable_sysc() local 1352 sf = oh->class->sysc->sysc_flags; _enable_sysc() 1355 if (sf & SYSC_HAS_SIDLEMODE) { _enable_sysc() 1360 if (sf & SYSC_HAS_ENAWAKEUP) _enable_sysc() 1380 if (sf & SYSC_HAS_MIDLEMODE) { _enable_sysc() 1386 if (sf & SYSC_HAS_ENAWAKEUP) _enable_sysc() 1402 (sf & SYSC_HAS_CLOCKACTIVITY)) _enable_sysc() 1411 if (sf & SYSC_HAS_AUTOIDLE) { _enable_sysc() 1430 u8 idlemode, sf; _idle_sysc() local 1437 sf = oh->class->sysc->sysc_flags; _idle_sysc() 1439 if (sf & SYSC_HAS_SIDLEMODE) { _idle_sysc() 1443 if (sf & SYSC_HAS_ENAWAKEUP) _idle_sysc() 1453 if (sf & SYSC_HAS_MIDLEMODE) { _idle_sysc() 1458 if (sf & SYSC_HAS_ENAWAKEUP) _idle_sysc() 1483 u8 sf; _shutdown_sysc() local 1489 sf = oh->class->sysc->sysc_flags; _shutdown_sysc() 1491 if (sf & SYSC_HAS_SIDLEMODE) _shutdown_sysc() 1494 if (sf & SYSC_HAS_MIDLEMODE) _shutdown_sysc() 1497 if (sf & SYSC_HAS_AUTOIDLE) _shutdown_sysc()
|
/linux-4.1.27/drivers/mmc/card/ |
H A D | mmc_test.c | 2810 static int mtf_test_show(struct seq_file *sf, void *data) mtf_test_show() argument 2812 struct mmc_card *card = (struct mmc_card *)sf->private; mtf_test_show() 2823 seq_printf(sf, "Test %d: %d\n", gr->testcase + 1, gr->result); mtf_test_show() 2826 seq_printf(sf, "%u %d %lu.%09lu %u %u.%02u\n", mtf_test_show() 2847 struct seq_file *sf = (struct seq_file *)file->private_data; local 2848 struct mmc_card *card = (struct mmc_card *)sf->private; 2901 static int mtf_testlist_show(struct seq_file *sf, void *data) mtf_testlist_show() argument 2908 seq_printf(sf, "%d:\t%s\n", i+1, mmc_test_cases[i].name); mtf_testlist_show()
|
/linux-4.1.27/drivers/cpufreq/ |
H A D | powernow-k6.c | 2 * This file was based upon code in Powertweak Linux (http://powertweak.sf.net)
|
/linux-4.1.27/arch/x86/vdso/ |
H A D | Makefile | 194 ln -sf "../../$(@:install_%=%)" "$(MODLIB)/vdso/.build-id/$$first/$$last.debug"; \
|
/linux-4.1.27/drivers/video/fbdev/core/ |
H A D | cfbfillrect.c | 369 MODULE_AUTHOR("James Simmons <jsimmons@users.sf.net>");
|
H A D | cfbimgblt.c | 310 MODULE_AUTHOR("James Simmons <jsimmons@users.sf.net>");
|
H A D | cfbcopyarea.c | 434 MODULE_AUTHOR("James Simmons <jsimmons@users.sf.net>");
|
H A D | fbmon.c | 4 * Copyright (C) 2002 James Simmons <jsimmons@users.sf.net>
|
/linux-4.1.27/drivers/media/dvb-core/ |
H A D | dvb_demux.c | 934 struct dmx_section_filter *sf; prepare_secfilters() local 940 sf = &f->filter; prepare_secfilters() 943 mode = sf->filter_mode[i]; prepare_secfilters() 944 mask = sf->filter_mask[i]; prepare_secfilters()
|
/linux-4.1.27/net/llc/ |
H A D | llc_proc.c | 182 "dsap state retr txw rxw pf ff sf df rs cs " llc_seq_core_show()
|
/linux-4.1.27/scripts/package/ |
H A D | Makefile | 46 ln -sf $(srctree) $(KERNELPATH)
|
H A D | builddeb | 312 ln -sf "/usr/src/linux-headers-$version" "$kernel_headers_dir/lib/modules/$version/build"
|
/linux-4.1.27/drivers/media/platform/ |
H A D | via-camera.c | 465 int sf; viacam_set_scale() local 470 sf = (cam->user_format.width*2048)/VGA_WIDTH; viacam_set_scale() 471 avscale = VCR_AVS_HEN | sf; viacam_set_scale() 474 sf = (1024*cam->user_format.height)/VGA_HEIGHT; viacam_set_scale() 475 avscale |= VCR_AVS_VEN | (sf << 16); viacam_set_scale()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | signal_32.c | 1497 struct sigframe __user *sf; sys_sigreturn() local 1511 sf = (struct sigframe __user *)(regs->gpr[1] + __SIGNAL_FRAMESIZE); sys_sigreturn() 1512 sc = &sf->sctx; sys_sigreturn() 1530 mcp = (struct mcontext __user *)&sf->mctx; sys_sigreturn() 1531 tm_mcp = (struct mcontext __user *)&sf->mctx_transact; sys_sigreturn()
|
/linux-4.1.27/fs/ntfs/ |
H A D | inode.c | 2304 * @sf: seq_file in which to write our mount options 2310 * @sf and success is returned. 2312 int ntfs_show_options(struct seq_file *sf, struct dentry *root) ntfs_show_options() argument 2317 seq_printf(sf, ",uid=%i", from_kuid_munged(&init_user_ns, vol->uid)); ntfs_show_options() 2318 seq_printf(sf, ",gid=%i", from_kgid_munged(&init_user_ns, vol->gid)); ntfs_show_options() 2320 seq_printf(sf, ",umask=0%o", vol->fmask); ntfs_show_options() 2322 seq_printf(sf, ",fmask=0%o", vol->fmask); ntfs_show_options() 2323 seq_printf(sf, ",dmask=0%o", vol->dmask); ntfs_show_options() 2325 seq_printf(sf, ",nls=%s", vol->nls_map->charset); ntfs_show_options() 2327 seq_printf(sf, ",case_sensitive"); ntfs_show_options() 2329 seq_printf(sf, ",show_sys_files"); ntfs_show_options() 2331 seq_printf(sf, ",disable_sparse"); ntfs_show_options() 2334 seq_printf(sf, ",errors=%s", on_errors_arr[i].str); ntfs_show_options() 2336 seq_printf(sf, ",mft_zone_multiplier=%i", vol->mft_zone_multiplier); ntfs_show_options()
|
H A D | inode.h | 301 extern int ntfs_show_options(struct seq_file *sf, struct dentry *root);
|
/linux-4.1.27/drivers/usb/usbip/ |
H A D | usbip_common.c | 293 pr_debug("USBIP_CMD_SUBMIT: x_flags %u x_len %u sf %u #p %d iv %d\n", usbip_dump_header() 305 pr_debug("USBIP_RET_SUBMIT: st %d al %u sf %d #p %d ec %d\n", usbip_dump_header()
|
/linux-4.1.27/net/ipv4/netfilter/ |
H A D | ipt_CLUSTERIP.c | 651 struct seq_file *sf = file->private_data; clusterip_proc_open() local 654 sf->private = c; clusterip_proc_open()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
H A D | lustre_sec.h | 341 struct sptlrpc_flavor *sf); 932 char *sptlrpc_flavor2name_bulk(struct sptlrpc_flavor *sf, 934 char *sptlrpc_flavor2name(struct sptlrpc_flavor *sf, char *buf, int bufsize);
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | hardwall.c | 909 static int hardwall_proc_show(struct seq_file *sf, void *v) hardwall_proc_show() argument 911 struct hardwall_info *info = sf->private; hardwall_proc_show() 913 seq_printf(sf, "%*pbl\n", cpumask_pr_args(&info->cpumask)); hardwall_proc_show()
|
/linux-4.1.27/drivers/atm/ |
H A D | ambassador.c | 1857 static inline void sf (const char * msg) sf() function 1902 sf ("interrupt"); amb_reset() 1904 sf ("SUNI data pattern"); amb_reset() 1906 sf ("SUNI data bits"); amb_reset() 1908 sf ("SUNI UTOPIA interface"); amb_reset() 1910 sf ("SUNI cell buffer FIFO"); amb_reset() 1912 sf ("bad SRAM"); amb_reset()
|
/linux-4.1.27/drivers/video/fbdev/sis/ |
H A D | init.c | 2877 unsigned short si, di, bx, sf; SiS_LoadDAC() local 2900 sf = 0; SiS_LoadDAC() 2904 sf = 2; SiS_LoadDAC() 2915 SiS_SetRegByte(DACData, (data2 << sf)); SiS_LoadDAC() 2922 data = table[i] << sf; SiS_LoadDAC() 2931 SiS_WriteDAC(SiS_Pr, DACData, sf, n, table[di], table[bx], table[si]); SiS_LoadDAC() 2936 SiS_WriteDAC(SiS_Pr, DACData, sf, n, table[di], table[si], table[bx]); SiS_LoadDAC()
|
/linux-4.1.27/kernel/ |
H A D | cpuset.c | 1712 static int cpuset_common_seq_show(struct seq_file *sf, void *v) cpuset_common_seq_show() argument 1714 struct cpuset *cs = css_cs(seq_css(sf)); cpuset_common_seq_show() 1715 cpuset_filetype_t type = seq_cft(sf)->private; cpuset_common_seq_show() 1722 seq_printf(sf, "%*pbl\n", cpumask_pr_args(cs->cpus_allowed)); cpuset_common_seq_show() 1725 seq_printf(sf, "%*pbl\n", nodemask_pr_args(&cs->mems_allowed)); cpuset_common_seq_show() 1728 seq_printf(sf, "%*pbl\n", cpumask_pr_args(cs->effective_cpus)); cpuset_common_seq_show() 1731 seq_printf(sf, "%*pbl\n", nodemask_pr_args(&cs->effective_mems)); cpuset_common_seq_show()
|
H A D | auditfilter.c | 716 struct audit_field *sf) audit_dupe_lsm_field() 722 lsm_str = kstrdup(sf->lsm_str, GFP_KERNEL); audit_dupe_lsm_field() 715 audit_dupe_lsm_field(struct audit_field *df, struct audit_field *sf) audit_dupe_lsm_field() argument
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
H A D | tulip.h | 261 * all meaningless if sf is set. *
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | vmx.c | 3338 const struct kvm_vmx_segment_field *sf = &kvm_vmx_segment_fields[seg]; fix_rmode_seg() local 3363 vmcs_write16(sf->selector, var.selector); fix_rmode_seg() 3364 vmcs_write32(sf->base, var.base); fix_rmode_seg() 3365 vmcs_write32(sf->limit, var.limit); fix_rmode_seg() 3366 vmcs_write32(sf->ar_bytes, vmx_segment_access_rights(&var)); fix_rmode_seg() 3776 const struct kvm_vmx_segment_field *sf = &kvm_vmx_segment_fields[seg]; vmx_set_segment() local 3783 vmcs_write16(sf->selector, var->selector); vmx_set_segment() 3789 vmcs_writel(sf->base, var->base); vmx_set_segment() 3790 vmcs_write32(sf->limit, var->limit); vmx_set_segment() 3791 vmcs_write16(sf->selector, var->selector); vmx_set_segment() 3807 vmcs_write32(sf->ar_bytes, vmx_segment_access_rights(var)); vmx_set_segment() 4118 const struct kvm_vmx_segment_field *sf = &kvm_vmx_segment_fields[seg]; seg_setup() local 4121 vmcs_write16(sf->selector, 0); seg_setup() 4122 vmcs_writel(sf->base, 0); seg_setup() 4123 vmcs_write32(sf->limit, 0xffff); seg_setup() 4128 vmcs_write32(sf->ar_bytes, ar); seg_setup()
|
/linux-4.1.27/arch/x86/math-emu/ |
H A D | errors.c | 152 printk(" SW: b=%d st=%d es=%d sf=%d cc=%d%d%d%d ef=%d%d%d%d%d%d\n", partial_status & 0x8000 ? 1 : 0, /* busy */ FPU_printall()
|
/linux-4.1.27/drivers/video/ |
H A D | vgastate.c | 487 MODULE_AUTHOR("James Simmons <jsimmons@users.sf.net>");
|
/linux-4.1.27/arch/m68k/ifpsp060/src/ |
H A D | isp.S | 2869 sf %d1 # pass size 2874 sf %d1 # pass size 3012 sf %d7 # clear d7 for word size 3067 sf %d1 # pass size 3417 sf %d4 # indicate no update was done 3717 sf %d4 # indicate no update was done 4016 sf %d1 # indicate no update was done 4172 sf %d1 # indicate no update was done
|
H A D | ilsp.S | 131 sf POSNEG(%a6) # unsigned operation
|
H A D | fpsp.S | 10253 sf.b %d1 # set d0 to represent positive 10332 sf.b %d1 # clear sign flag for positive
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | vub300.c | 1371 struct sdio_func *sf = card->sdio_func[n]; download_offload_pseudocode() local 1374 sf->vendor, sf->device); download_offload_pseudocode()
|
/linux-4.1.27/drivers/ps3/ |
H A D | ps3av_cmd.c | 621 info->pb2.sf = 0; ps3av_cnv_info()
|
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/ |
H A D | socklnd_proto.c | 11 * This file is part of Portals, http://www.sf.net/projects/sandiaportals/
|
H A D | socklnd_cb.c | 11 * This file is part of Portals, http://www.sf.net/projects/sandiaportals/
|
/linux-4.1.27/drivers/dma/ |
H A D | imx-sdma.c | 164 * @sf: source fault while loading data 176 u32 sf : 1; member in struct:sdma_state_registers
|
/linux-4.1.27/arch/parisc/math-emu/ |
H A D | fpudispatch.c | 291 u_int fmt; /* also sf for class 1 conversions */ decode_0c() 710 u_int fmt; /* also sf for class 1 conversions */ decode_0e()
|
/linux-4.1.27/fs/ufs/ |
H A D | ufs_fs.h | 101 #define UFS_CIGAM_LFN 0x14500900 /* srahc 41 < semanelif stroppus sf */
|
/linux-4.1.27/include/uapi/linux/ |
H A D | sctp.h | 33 * http://www.sf.net/projects/lksctp
|
/linux-4.1.27/arch/powerpc/xmon/ |
H A D | spu-insns.h | 270 APUOP(M_SF, RR, 0x040, "sf", _A3(A_T,A_A,A_B), 00112, FX2) /* SubFrom% RT<-RB-RA */
|
H A D | xmon.c | 229 sf # dump spu fields for spu # (in hex)\n\
|
H A D | ppc-opc.c | 3362 { "sf", XO(31,8,0,0), XO_MASK, PWRCOM, { RT, RA, RB } }, 3365 { "sf.", XO(31,8,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
H A D | rw.c | 372 "csr %lu sf %lu sp %lu sl %lu \n", \
|
/linux-4.1.27/drivers/firewire/ |
H A D | sbp2.c | 1105 "Please notify linux1394-devel@lists.sf.net " sbp2_init_workarounds()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | skeletonfb.c | 117 * feel free to send your ideas at jsimmons@users.sf.net
|
H A D | tridentfb.c | 12 * Francesco Salvestrini <salvestrini@users.sf.net> XP support,
|
/linux-4.1.27/mm/ |
H A D | memcontrol.c | 3893 static int mem_cgroup_oom_control_read(struct seq_file *sf, void *v) mem_cgroup_oom_control_read() argument 3895 struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(sf)); mem_cgroup_oom_control_read() 3897 seq_printf(sf, "oom_kill_disable %d\n", memcg->oom_kill_disable); mem_cgroup_oom_control_read() 3898 seq_printf(sf, "under_oom %d\n", (bool)atomic_read(&memcg->under_oom)); mem_cgroup_oom_control_read()
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 5 * Copyright (C) 2004-2005 Borislav Deianov <borislav@users.sf.net> 222 #define TPACPI_URL "http://ibm-acpi.sf.net/" 9604 MODULE_AUTHOR("Borislav Deianov <borislav@users.sf.net>");
|