Home
last modified time | relevance | path

Searched refs:sf (Results 1 – 25 of 223) sorted by relevance

123456789

/linux/arch/arm64/net/
A Dbpf_jit.h112 #define A64_MOV(sf, Rd, Rn) A64_ADD_I(sf, Rd, Rn, 0) argument
129 #define A64_LSR(sf, Rd, Rn, shift) A64_UBFM(sf, Rd, Rn, shift, (sf) ? 63 : 31) argument
131 #define A64_ASR(sf, Rd, Rn, shift) A64_SBFM(sf, Rd, Rn, shift, (sf) ? 63 : 31) argument
134 #define A64_UXTH(sf, Rd, Rn) A64_UBFM(sf, Rd, Rn, 0, 15) argument
135 #define A64_UXTW(sf, Rd, Rn) A64_UBFM(sf, Rd, Rn, 0, 31) argument
157 #define A64_NEG(sf, Rd, Rm) A64_SUB(sf, Rd, A64_ZR, Rm) argument
159 #define A64_CMP(sf, Rn, Rm) A64_SUBS(sf, A64_ZR, Rn, Rm) argument
165 #define A64_REV16(sf, Rd, Rn) A64_DATA1(sf, Rd, Rn, REVERSE_16) argument
166 #define A64_REV32(sf, Rd, Rn) A64_DATA1(sf, Rd, Rn, REVERSE_32) argument
198 #define A64_TST(sf, Rn, Rm) A64_ANDS(sf, A64_ZR, Rn, Rm) argument
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
A Ddevlink.c48 return sf; in mlx5_sf_lookup_by_function_id()
84 sf = kzalloc(sizeof(*sf), GFP_KERNEL); in mlx5_sf_alloc()
85 if (!sf) { in mlx5_sf_alloc()
101 return sf; in mlx5_sf_alloc()
104 kfree(sf); in mlx5_sf_alloc()
117 trace_mlx5_sf_free(table->dev, sf->port_index, sf->controller, sf->hw_fn_id); in mlx5_sf_free()
118 kfree(sf); in mlx5_sf_free()
215 trace_mlx5_sf_activate(dev, sf->port_index, sf->controller, sf->hw_fn_id); in mlx5_sf_activate()
231 trace_mlx5_sf_deactivate(dev, sf->port_index, sf->controller, sf->hw_fn_id); in mlx5_sf_deactivate()
301 trace_mlx5_sf_add(dev, sf->port_index, sf->controller, sf->hw_fn_id, new_attr->sfnum); in mlx5_sf_add()
[all …]
/linux/drivers/isdn/hardware/mISDN/
A Dspeedfax.c249 err = sf->isac.open(&sf->isac, rq); in sfax_dctrl()
251 err = sf->isar.open(&sf->isar, rq); in sfax_dctrl()
278 ret = request_irq(sf->irq, speedfax_irq, IRQF_SHARED, sf->name, sf); in init_card()
285 ret = sf->isac.init(&sf->isac); in init_card()
299 sf->irq, sf->irqcnt); in init_card()
302 sf->name, sf->irq, 3 - cnt); in init_card()
306 free_irq(sf->irq, sf); in init_card()
318 sf->name, sf->cfg, sf->cfg + 255); in setup_speedfax()
327 sf->p_isac.ale = sf->cfg + SFAX_PCI_ADDR; in setup_speedfax()
328 sf->p_isac.port = sf->cfg + SFAX_PCI_ISAC; in setup_speedfax()
[all …]
/linux/drivers/media/cec/core/
A Dcec-pin-error-inj.c243 seq_puts(sf, "any,"); in cec_pin_show_cmd()
248 seq_puts(sf, "once "); in cec_pin_show_cmd()
251 seq_puts(sf, "always "); in cec_pin_show_cmd()
257 seq_puts(sf, "off "); in cec_pin_show_cmd()
274 seq_puts(sf, "#\n"); in cec_pin_error_inj_show()
281 seq_puts(sf, "#\n"); in cec_pin_error_inj_show()
287 seq_puts(sf, "#\n"); in cec_pin_error_inj_show()
301 seq_puts(sf, "#\n"); in cec_pin_error_inj_show()
326 seq_puts(sf, cmd); in cec_pin_error_inj_show()
328 seq_printf(sf, " %u", in cec_pin_error_inj_show()
[all …]
/linux/arch/nds32/kernel/
A Dsignal.c80 struct rt_sigframe __user * sf) in restore_sigframe() argument
85 err = __copy_from_user(&set, &sf->uc.uc_sigmask, sizeof(set)); in restore_sigframe()
117 __get_user_error(regs->fp, &sf->uc.uc_mcontext.nds32_fp, err); in restore_sigframe()
118 __get_user_error(regs->gp, &sf->uc.uc_mcontext.nds32_gp, err); in restore_sigframe()
119 __get_user_error(regs->lp, &sf->uc.uc_mcontext.nds32_lp, err); in restore_sigframe()
120 __get_user_error(regs->sp, &sf->uc.uc_mcontext.nds32_sp, err); in restore_sigframe()
128 err |= restore_sigcontext_fpu(regs, &sf->uc.uc_mcontext); in restore_sigframe()
214 err |= setup_sigcontext_fpu(regs, &sf->uc.uc_mcontext); in setup_sigframe()
220 &sf->uc.uc_mcontext.error_code, err); in setup_sigframe()
222 &sf->uc.uc_mcontext.fault_address, err); in setup_sigframe()
[all …]
/linux/arch/sparc/kernel/
A Dsignal_32.c77 struct signal_frame __user *sf; in do_sigreturn() local
91 if (invalid_frame_pointer(sf, sizeof(*sf))) in do_sigreturn()
143 struct rt_signal_frame __user *sf; in do_rt_sigreturn() local
152 if (invalid_frame_pointer(sf, sizeof(*sf))) in do_rt_sigreturn()
161 err = __get_user(pc, &sf->regs.pc); in do_rt_sigreturn()
228 struct signal_frame __user *sf; in setup_frame() local
237 sigframe_size = sizeof(*sf); in setup_frame()
251 tail = sf + 1; in setup_frame()
323 struct rt_signal_frame __user *sf; in setup_rt_frame() local
331 sigframe_size = sizeof(*sf); in setup_rt_frame()
[all …]
A Dsignal32.c86 struct signal_frame32 __user *sf; in do_sigreturn32() local
104 if (invalid_frame_pointer(sf, sizeof(*sf))) in do_sigreturn32()
192 if (invalid_frame_pointer(sf, sizeof(*sf))) in do_rt_sigreturn32()
367 sigframe_size = sizeof(*sf); in setup_frame32()
385 tail = (sf + 1); in setup_frame32()
405 &sf->v8plus.g_upper[i]); in setup_frame32()
407 &sf->v8plus.asi); in setup_frame32()
501 sigframe_size = sizeof(*sf); in setup_rt_frame32()
519 tail = (sf + 1); in setup_rt_frame32()
539 &sf->v8plus.g_upper[i]); in setup_rt_frame32()
[all …]
A Dsignal_64.c258 struct rt_signal_frame __user *sf; in do_rt_sigreturn() local
268 sf = (struct rt_signal_frame __user *) in do_rt_sigreturn()
272 if (invalid_frame_pointer(sf)) in do_rt_sigreturn()
281 err = __get_user(tpc, &sf->regs.tpc); in do_rt_sigreturn()
303 err |= restore_altstack(&sf->stack); in do_rt_sigreturn()
353 struct rt_signal_frame __user *sf; in setup_rt_frame() local
368 sf = (struct rt_signal_frame __user *) in setup_rt_frame()
371 if (invalid_frame_pointer (sf)) { in setup_rt_frame()
380 tail = (sf + 1); in setup_rt_frame()
391 err |= __put_user(0, &sf->fpu_save); in setup_rt_frame()
[all …]
/linux/tools/perf/util/
A Ds390-cpumsf.c202 if (!sf->use_logfile || sf->queues.nr_queues <= sample->cpu) in s390_cpumcf_dumpctr()
213 rc = (sf->logdir) in s390_cpumcf_dumpctr()
601 struct s390_cpumsf *sf = sfq->sf; in s390_cpumsf_samples() local
775 sfq->sf = sf; in s390_cpumsf_alloc_queue()
782 rc = (sf->logdir) in s390_cpumsf_alloc_queue()
825 ret = s390_cpumsf_setup_queue(sf, &sf->queues.queue_array[i], in s390_cpumsf_setup_queues()
1046 zfree(&sf->logdir); in s390_cpumsf_free()
1047 free(sf); in s390_cpumsf_free()
1128 if (sf == NULL) in s390_cpumsf_process_auxtrace_info()
1173 zfree(&sf->logdir); in s390_cpumsf_process_auxtrace_info()
[all …]
A Dsrccode.c79 list_del_init(&sf->nd); in free_srcfile()
80 hlist_del(&sf->hash_nd); in free_srcfile()
81 map_total_sz -= sf->maplen; in free_srcfile()
82 munmap(sf->map, sf->maplen); in free_srcfile()
83 zfree(&sf->lines); in free_srcfile()
84 zfree(&sf->fn); in free_srcfile()
85 free(sf); in free_srcfile()
160 if (!sf) in find_sourceline()
163 if (line >= sf->numlines) in find_sourceline()
165 l = sf->lines[line]; in find_sourceline()
[all …]
/linux/sound/synth/emux/
A Dsoundfont.c263 for (sf = sflist->fonts; sf; sf = sf->next) { in newsf()
265 return sf; in newsf()
271 sf = kzalloc(sizeof(*sf), GFP_KERNEL); in newsf()
272 if (sf == NULL) in newsf()
287 return sf; in newsf()
521 if (!sf) in load_info()
708 if (!sf) in load_data()
1152 for (sf = sflist->fonts; sf; sf = sf->next) { in rebuild_presets()
1372 for (sf = sflist->fonts; sf; sf = nextsf) { in snd_sf_clear()
1385 kfree(sf); in snd_sf_clear()
[all …]
/linux/drivers/gpu/drm/arm/display/komeda/d71/
A Dd71_component.c303 dump_block_header(sf, c->reg); in d71_layer_dump()
488 dump_block_header(sf, c->reg); in d71_wb_layer_dump()
628 dump_block_header(sf, c->reg); in d71_compiz_dump()
797 dump_block_header(sf, c->reg); in d71_scaler_dump()
926 dump_block_header(sf, c->reg); in d71_splitter_dump()
992 dump_block_header(sf, c->reg); in d71_merger_dump()
1095 dump_block_header(sf, c->reg); in d71_improc_dump()
1209 struct seq_file *sf) in d71_timing_ctrlr_dump() argument
1428 d71_lpu_dump(d71_pipe, sf); in d71_pipeline_dump()
1429 d71_dou_dump(d71_pipe, sf); in d71_pipeline_dump()
[all …]
/linux/net/mptcp/
A Ddiag.c29 if (!sf) { in subflow_get_info()
34 if (sf->mp_capable) in subflow_get_info()
36 if (sf->request_mptcp) in subflow_get_info()
38 if (sf->mp_join) in subflow_get_info()
40 if (sf->request_join) in subflow_get_info()
42 if (sf->backup) in subflow_get_info()
44 if (sf->request_bkup) in subflow_get_info()
48 if (sf->conn_finished) in subflow_get_info()
50 if (sf->map_valid) in subflow_get_info()
56 sf->rel_write_seq) || in subflow_get_info()
[all …]
/linux/arch/arm64/kernel/
A Dsignal32.c183 struct compat_sigframe __user *sf) in compat_restore_sigframe() argument
190 err = get_sigset_t(&set, &sf->uc.uc_sigmask); in compat_restore_sigframe()
194 __get_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err); in compat_restore_sigframe()
209 __get_user_error(regs->pc, &sf->uc.uc_mcontext.arm_pc, err); in compat_restore_sigframe()
210 __get_user_error(psr, &sf->uc.uc_mcontext.arm_cpsr, err); in compat_restore_sigframe()
221 aux = (struct compat_aux_sigframe __user *) sf->uc.uc_regspace; in compat_restore_sigframe()
379 __put_user_error(regs->pc, &sf->uc.uc_mcontext.arm_pc, err); in compat_setup_sigframe()
380 __put_user_error(psr, &sf->uc.uc_mcontext.arm_cpsr, err); in compat_setup_sigframe()
385 FSR_WRITE_SHIFT, &sf->uc.uc_mcontext.error_code, err); in compat_setup_sigframe()
389 err |= put_sigset_t(&sf->uc.uc_sigmask, set); in compat_setup_sigframe()
[all …]
/linux/arch/arc/kernel/
A Dsignal.c149 &(sf->uc.uc_mcontext.regs.scratch), in restore_usr_regs()
196 struct rt_sigframe __user *sf; in SYSCALL_DEFINE0() local
212 if (!access_ok(sf, sizeof(*sf))) in SYSCALL_DEFINE0()
219 if (restore_altstack(&sf->uc.uc_stack)) in SYSCALL_DEFINE0()
222 if (restore_usr_regs(regs, sf)) in SYSCALL_DEFINE0()
271 struct rt_sigframe __user *sf; in setup_rt_frame() local
276 if (!sf) in setup_rt_frame()
286 err |= stash_usr_regs(sf, regs, set); in setup_rt_frame()
301 regs->r1 = (unsigned long)&sf->info; in setup_rt_frame()
302 regs->r2 = (unsigned long)&sf->uc; in setup_rt_frame()
[all …]
/linux/drivers/usb/mtu3/
A Dmtu3_debugfs.c81 struct mtu3 *mtu = sf->private; in mtu3_link_state_show()
93 struct mtu3 *mtu = sf->private; in mtu3_ep_used_show()
175 struct mtu3_ep *mep = sf->private; in mtu3_ep_info_show()
189 struct mtu3_ep *mep = sf->private; in mtu3_fifo_show()
203 struct mtu3_ep *mep = sf->private; in mtu3_qmu_ring_show()
210 seq_printf(sf, in mtu3_qmu_ring_show()
221 struct mtu3_ep *mep = sf->private; in mtu3_qmu_gpd_show()
233 seq_puts(sf, "empty!\n"); in mtu3_qmu_gpd_show()
292 struct mtu3 *mtu = sf->private; in mtu3_probe_show()
319 struct mtu3 *mtu = sf->private; in mtu3_probe_write()
[all …]
/linux/drivers/gpu/host1x/
A Dfence.c51 struct host1x_syncpt_fence *sf = to_host1x_fence(f); in host1x_syncpt_fence_enable_signaling() local
54 if (host1x_syncpt_is_expired(sf->sp, sf->threshold)) in host1x_syncpt_fence_enable_signaling()
69 schedule_delayed_work(&sf->timeout_work, msecs_to_jiffies(30000)); in host1x_syncpt_fence_enable_signaling()
71 err = host1x_intr_add_action(sf->sp->host, sf->sp, sf->threshold, in host1x_syncpt_fence_enable_signaling()
73 sf->waiter, &sf->waiter_ref); in host1x_syncpt_fence_enable_signaling()
75 cancel_delayed_work_sync(&sf->timeout_work); in host1x_syncpt_fence_enable_signaling()
81 sf->waiter = NULL; in host1x_syncpt_fence_enable_signaling()
94 struct host1x_syncpt_fence *sf = to_host1x_fence(f); in host1x_syncpt_fence_release() local
96 if (sf->waiter) in host1x_syncpt_fence_release()
97 kfree(sf->waiter); in host1x_syncpt_fence_release()
/linux/fs/btrfs/
A Dcheck-integrity.c866 sf = kzalloc(sizeof(*sf), GFP_NOFS); in btrfsic_stack_frame_alloc()
867 if (sf) in btrfsic_stack_frame_alloc()
869 return sf; in btrfsic_stack_frame_alloc()
876 kfree(sf); in btrfsic_stack_frame_free()
913 sf->block_ctx->start, sf->nr, in btrfsic_process_metablock()
921 if (0 == sf->num_copies || sf->mirror_num > sf->num_copies) { in btrfsic_process_metablock()
922 sf->i++; in btrfsic_process_metablock()
926 if (sf->i < sf->nr) { in btrfsic_process_metablock()
1046 if (0 == sf->num_copies || sf->mirror_num > sf->num_copies) { in btrfsic_process_metablock()
1047 sf->i++; in btrfsic_process_metablock()
[all …]
/linux/tools/testing/selftests/arm64/signal/testcases/
A Dfake_sigreturn_bad_size.c16 struct fake_sigframe sf; variable
24 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_bad_size_run()
27 if (!get_current_context(td, &sf.uc)) in fake_sigreturn_bad_size_run()
30 resv_sz = GET_SF_RESV_SIZE(sf); in fake_sigreturn_bad_size_run()
49 ASSERT_GOOD_CONTEXT(&sf.uc); in fake_sigreturn_bad_size_run()
65 ASSERT_BAD_CONTEXT(&sf.uc); in fake_sigreturn_bad_size_run()
66 fake_sigreturn(&sf, sizeof(sf), 0); in fake_sigreturn_bad_size_run()
A Dfake_sigreturn_bad_size_for_magic0.c16 struct fake_sigframe sf; variable
21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_bad_size_for_magic0_run()
24 if (!get_current_context(td, &sf.uc)) in fake_sigreturn_bad_size_for_magic0_run()
28 head = get_starting_head(shead, HDR_SZ, GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_bad_size_for_magic0_run()
34 ASSERT_BAD_CONTEXT(&sf.uc); in fake_sigreturn_bad_size_for_magic0_run()
35 fake_sigreturn(&sf, sizeof(sf), 0); in fake_sigreturn_bad_size_for_magic0_run()
A Dfake_sigreturn_bad_magic.c16 struct fake_sigframe sf; variable
21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_bad_magic_run()
24 if (!get_current_context(td, &sf.uc)) in fake_sigreturn_bad_magic_run()
28 head = get_starting_head(shead, HDR_SZ * 2, GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_bad_magic_run()
40 ASSERT_BAD_CONTEXT(&sf.uc); in fake_sigreturn_bad_magic_run()
41 fake_sigreturn(&sf, sizeof(sf), 0); in fake_sigreturn_bad_magic_run()
A Dfake_sigreturn_duplicated_fpsimd.c16 struct fake_sigframe sf; variable
21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_duplicated_fpsimd_run()
24 if (!get_current_context(td, &sf.uc)) in fake_sigreturn_duplicated_fpsimd_run()
28 GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_duplicated_fpsimd_run()
38 ASSERT_BAD_CONTEXT(&sf.uc); in fake_sigreturn_duplicated_fpsimd_run()
39 fake_sigreturn(&sf, sizeof(sf), 0); in fake_sigreturn_duplicated_fpsimd_run()
A Dfake_sigreturn_missing_fpsimd.c17 struct fake_sigframe sf; variable
23 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in fake_sigreturn_missing_fpsimd_run()
26 if (!get_current_context(td, &sf.uc)) in fake_sigreturn_missing_fpsimd_run()
29 resv_sz = GET_SF_RESV_SIZE(sf); in fake_sigreturn_missing_fpsimd_run()
37 ASSERT_BAD_CONTEXT(&sf.uc); in fake_sigreturn_missing_fpsimd_run()
38 fake_sigreturn(&sf, sizeof(sf), 0); in fake_sigreturn_missing_fpsimd_run()
/linux/arch/powerpc/perf/
A Dcallchain_32.c81 struct signal_frame_32 __user *sf; in sane_signal_32_frame() local
84 sf = (struct signal_frame_32 __user *) (unsigned long) sp; in sane_signal_32_frame()
85 if (read_user_stack_32((unsigned int __user *) &sf->sctx.regs, &regs)) in sane_signal_32_frame()
87 return regs == (unsigned long) &sf->mctx; in sane_signal_32_frame()
92 struct rt_signal_frame_32 __user *sf; in sane_rt_signal_32_frame() local
95 sf = (struct rt_signal_frame_32 __user *) (unsigned long) sp; in sane_rt_signal_32_frame()
96 if (read_user_stack_32((unsigned int __user *) &sf->uc.uc_regs, &regs)) in sane_rt_signal_32_frame()
98 return regs == (unsigned long) &sf->uc.uc_mcontext; in sane_rt_signal_32_frame()
105 struct signal_frame_32 __user *sf; in signal_frame_32_regs() local
117 sf = (struct signal_frame_32 __user *) (unsigned long) sp; in signal_frame_32_regs()
[all …]
/linux/drivers/platform/surface/aggregator/
A Dssh_parser.c121 struct ssam_span sf; in sshp_parse_frame() local
141 sf.ptr = source->ptr + sizeof(u16); in sshp_parse_frame()
142 sf.len = sizeof(struct ssh_frame); in sshp_parse_frame()
145 if (unlikely(!sshp_validate_crc(&sf, sf.ptr + sf.len))) { in sshp_parse_frame()
151 sp.len = get_unaligned_le16(&((struct ssh_frame *)sf.ptr)->len); in sshp_parse_frame()
159 sp.ptr = sf.ptr + sf.len + sizeof(u16); in sshp_parse_frame()
173 *frame = (struct ssh_frame *)sf.ptr; in sshp_parse_frame()

Completed in 55 milliseconds

123456789