Home
last modified time | relevance | path

Searched refs:f (Results 201 – 225 of 2819) sorted by relevance

12345678910>>...113

/linux/tools/testing/selftests/bpf/progs/
H A Dtracing_struct_many_args.c24 void *, e, struct bpf_testmod_struct_arg_4, f) in BPF_PROG2() argument
31 t7_f_a = f.a; in BPF_PROG2()
32 t7_f_b = f.b; in BPF_PROG2()
38 void *, e, struct bpf_testmod_struct_arg_4, f, int, ret) in BPF_PROG2() argument
46 void *, e, struct bpf_testmod_struct_arg_4, f, int, g) in BPF_PROG2() argument
53 t8_f_a = f.a; in BPF_PROG2()
54 t8_f_b = f.b; in BPF_PROG2()
61 void *, e, struct bpf_testmod_struct_arg_4, f, int, g, in BPF_PROG2() argument
70 char, f, short, g, struct bpf_testmod_struct_arg_5, h, long, i) in BPF_PROG2() argument
77 t9_f = f; in BPF_PROG2()
[all …]
H A Dtest_sockmap_kern.h98 int *f, two = 2; in bpf_prog1() local
100 f = bpf_map_lookup_elem(&sock_skb_opts, &two); in bpf_prog1()
101 if (f && *f) { in bpf_prog1()
102 return *f; in bpf_prog1()
112 int len, *f, ret, zero = 0; in bpf_prog2() local
124 f = bpf_map_lookup_elem(&sock_skb_opts, &zero); in bpf_prog2()
125 if (f && *f) { in bpf_prog2()
127 flags = *f; in bpf_prog2()
157 int err, *f, ret = SK_PASS; in bpf_prog3() local
160 f = bpf_map_lookup_elem(&sock_skb_opts, &one); in bpf_prog3()
[all …]
/linux/Documentation/admin-guide/aoe/
H A Dautoload.sh5 f=/etc/modprobe.d/aoe.conf
7 if test ! -r $f || test ! -w $f; then
8 echo "cannot configure $f for module autoloading" 1>&2
12 grep major-152 $f >/dev/null
14 echo alias block-major-152 aoe >> $f
15 echo alias char-major-152 aoe >> $f
/linux/drivers/media/common/saa7146/
H A Dsaa7146_video.c267 static int vidioc_enum_fmt_vid_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f) in vidioc_enum_fmt_vid_cap() argument
269 if (f->index >= ARRAY_SIZE(formats)) in vidioc_enum_fmt_vid_cap()
271 f->pixelformat = formats[f->index].pixelformat; in vidioc_enum_fmt_vid_cap()
340 static int vidioc_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f) in vidioc_g_fmt_vid_cap() argument
345 f->fmt.pix = vv->video_fmt; in vidioc_g_fmt_vid_cap()
349 static int vidioc_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f) in vidioc_g_fmt_vbi_cap() argument
354 f->fmt.vbi = vv->vbi_fmt; in vidioc_g_fmt_vbi_cap()
358 static int vidioc_try_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f) in vidioc_try_fmt_vid_cap() argument
369 fmt = saa7146_format_by_fourcc(dev, f->fmt.pix.pixelformat); in vidioc_try_fmt_vid_cap()
373 field = f->fmt.pix.field; in vidioc_try_fmt_vid_cap()
[all …]
/linux/scripts/
H A Ddev-needs.sh147 f=$1/of_node/compatible
148 if [ -e $f ]
150 echo -n $(cat $f)
157 f=$1/driver/module
158 if [ -e $f ]
160 echo -n $(basename $(realpath $f))
167 f=$1/driver
168 if [ -e $f ]
170 echo -n $(basename $(realpath $f))
177 f=$1/firmware_node
[all …]
/linux/arch/sparc/lib/
H A Dmemscan_64.S32 brz,pn %o5, 10f
58 bne,a,pn %icc, 2f
61 ba,pt %xcc, 3f
65 be,pn %icc, 1f
69 be,pn %icc, 1f
74 be,pn %icc, 1f
78 be,pn %icc, 1f
82 be,a,pn %icc, 2f
86 be,pn %icc, 1f
91 be,pn %icc, 1f
[all …]
H A Dstrlen.S20 BRANCH32(be, pt, 9f)
23 BRANCH_REG_ZERO(pn, %o5, 11f)
26 BRANCH32(be, pn, 4f)
29 BRANCH_REG_ZERO(pn, %o5, 12f)
32 BRANCH32(be, pt, 5f)
35 BRANCH_REG_ZERO(pn, %o5, 13f)
37 BRANCH32(ba, pt, 8f)
56 BRANCH32(be, pn, 1f)
60 BRANCH32(be, pn, 1f)
64 BRANCH32(be, pn, 1f)
/linux/sound/core/seq/
H A Dseq_fifo.h31 void snd_seq_fifo_delete(struct snd_seq_fifo **f);
35 int snd_seq_fifo_event_in(struct snd_seq_fifo *f, struct snd_seq_event *event);
42 int snd_seq_fifo_cell_out(struct snd_seq_fifo *f, struct snd_seq_event_cell **cellp, int nonblock);
45 void snd_seq_fifo_cell_putback(struct snd_seq_fifo *f, struct snd_seq_event_cell *cell);
48 void snd_seq_fifo_clear(struct snd_seq_fifo *f);
51 int snd_seq_fifo_poll_wait(struct snd_seq_fifo *f, struct file *file, poll_table *wait);
54 int snd_seq_fifo_resize(struct snd_seq_fifo *f, int poolsize);
57 int snd_seq_fifo_unused_cells(struct snd_seq_fifo *f);
/linux/arch/x86/boot/compressed/
H A Dmkpiggy.c23 FILE *f = NULL; in main() local
33 f = fopen(argv[1], "r"); in main()
34 if (!f) { in main()
40 if (fseek(f, -4L, SEEK_END)) { in main()
44 if (fread(&olen, sizeof(olen), 1, f) != 1) { in main()
49 ilen = ftell(f); in main()
71 if (f) in main()
72 fclose(f); in main()
/linux/drivers/tty/
H A Dtty.h9 #define tty_msg(fn, tty, f, ...) \ argument
10 fn("%s %s: " f, tty_driver_name(tty), tty_name(tty), ##__VA_ARGS__)
12 #define tty_debug(tty, f, ...) tty_msg(pr_debug, tty, f, ##__VA_ARGS__) argument
13 #define tty_notice(tty, f, ...) tty_msg(pr_notice, tty, f, ##__VA_ARGS__) argument
14 #define tty_warn(tty, f, ...) tty_msg(pr_warn, tty, f, ##__VA_ARGS__) argument
15 #define tty_err(tty, f, ...) tty_msg(pr_err, tty, f, ##__VA_ARGS__) argument
17 #define tty_info_ratelimited(tty, f, ...) \ argument
18 tty_msg(pr_info_ratelimited, tty, f, ##__VA_ARGS__)
/linux/drivers/media/platform/chips-media/wave5/
H A Dwave5-vpu-dec.c467 static int wave5_vpu_dec_enum_framesizes(struct file *f, void *fh, struct v4l2_frmsizeenum *fsize) in wave5_vpu_dec_enum_framesizes() argument
492 static int wave5_vpu_dec_enum_fmt_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f) in wave5_vpu_dec_enum_fmt_cap() argument
496 vpu_fmt = wave5_find_vpu_fmt_by_idx(f->index, dec_fmt_list[VPU_FMT_TYPE_RAW]); in wave5_vpu_dec_enum_fmt_cap()
500 f->pixelformat = vpu_fmt->v4l2_pix_fmt; in wave5_vpu_dec_enum_fmt_cap()
501 f->flags = 0; in wave5_vpu_dec_enum_fmt_cap()
506 static int wave5_vpu_dec_try_fmt_cap(struct file *file, void *fh, struct v4l2_format *f) in wave5_vpu_dec_try_fmt_cap() argument
516 __func__, f->fmt.pix_mp.pixelformat, f->fmt.pix_mp.width, f->fmt.pix_mp.height, in wave5_vpu_dec_try_fmt_cap()
517 f->fmt.pix_mp.num_planes, f->fmt.pix_mp.colorspace, f->fmt.pix_mp.field); in wave5_vpu_dec_try_fmt_cap()
519 vpu_fmt = wave5_find_vpu_fmt(f->fmt.pix_mp.pixelformat, dec_fmt_list[VPU_FMT_TYPE_RAW]); in wave5_vpu_dec_try_fmt_cap()
523 f->fmt.pix_mp.pixelformat = inst->dst_fmt.pixelformat; in wave5_vpu_dec_try_fmt_cap()
[all …]
H A Dwave5-vpu-enc.c341 static int wave5_vpu_enc_enum_framesizes(struct file *f, void *fh, struct v4l2_frmsizeenum *fsize) in wave5_vpu_enc_enum_framesizes() argument
361 static int wave5_vpu_enc_enum_fmt_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f) in wave5_vpu_enc_enum_fmt_cap() argument
366 dev_dbg(inst->dev->dev, "%s: index: %u\n", __func__, f->index); in wave5_vpu_enc_enum_fmt_cap()
368 vpu_fmt = wave5_find_vpu_fmt_by_idx(f->index, enc_fmt_list[VPU_FMT_TYPE_CODEC]); in wave5_vpu_enc_enum_fmt_cap()
372 f->pixelformat = vpu_fmt->v4l2_pix_fmt; in wave5_vpu_enc_enum_fmt_cap()
373 f->flags = 0; in wave5_vpu_enc_enum_fmt_cap()
378 static int wave5_vpu_enc_try_fmt_cap(struct file *file, void *fh, struct v4l2_format *f) in wave5_vpu_enc_try_fmt_cap() argument
386 __func__, f->fmt.pix_mp.pixelformat, f->fmt.pix_mp.width, f->fmt.pix_mp.height, in wave5_vpu_enc_try_fmt_cap()
387 f->fmt.pix_mp.num_planes, f->fmt.pix_mp.field); in wave5_vpu_enc_try_fmt_cap()
389 vpu_fmt = wave5_find_vpu_fmt(f->fmt.pix_mp.pixelformat, enc_fmt_list[VPU_FMT_TYPE_CODEC]); in wave5_vpu_enc_try_fmt_cap()
[all …]
/linux/net/bluetooth/
H A Dhci_debugfs.c78 static int __name ## _show(struct seq_file *f, void *ptr) \
80 struct hci_dev *hdev = f->private; \
83 seq_printf(f, "%s\n", hdev->__field ? : ""); \
91 static int features_show(struct seq_file *f, void *ptr) in features_show() argument
93 struct hci_dev *hdev = f->private; in features_show()
98 seq_printf(f, "%2u: %8ph\n", p, hdev->features[p]); in features_show()
100 seq_printf(f, "LE: %8ph\n", hdev->le_features); in features_show()
108 static int device_id_show(struct seq_file *f, void *ptr) in device_id_show() argument
110 struct hci_dev *hdev = f->private; in device_id_show()
113 seq_printf(f, "%4.4x:%4.4x:%4.4x:%4.4x\n", hdev->devid_source, in device_id_show()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dconn.h23 #define CONN_MSG(c,l,f,a...) do { \ argument
25 nvkm_##l(&_conn->disp->engine.subdev, "conn %02x:%02x%02x: "f"\n", \
28 #define CONN_ERR(c,f,a...) CONN_MSG((c), error, f, ##a) argument
29 #define CONN_DBG(c,f,a...) CONN_MSG((c), debug, f, ##a) argument
30 #define CONN_TRACE(c,f,a...) CONN_MSG((c), trace, f, ##a) argument
/linux/tools/sched/
H A Droot_domains_dump.py46 print(f"\n--- Root Domain @ def_root_domain ---")
48 print(f"\n--- Root Domain @ 0x{root_domain_cast:x} ---")
50 print(f" From CPU: {cpu_id}") # This CPU belongs to this root domain
53 print(f" Span : {cpumask_to_cpulist(root_domain.span[0])}")
54 print(f" Online : {cpumask_to_cpulist(root_domain.span[0])}")
57 print(f" (CPU {cpu_id}: Fault accessing kernel memory: {fe})")
59 … print(f" (CPU {cpu_id}: Missing attribute for root_domain (kernel struct change?): {ae})")
61 print(f" (CPU {cpu_id}: An unexpected error occurred: {e})")
/linux/drivers/usb/gadget/
H A Dfunctions.c59 struct usb_function *f; in usb_get_function() local
61 f = fi->fd->alloc_func(fi); in usb_get_function()
62 if (IS_ERR(f)) in usb_get_function()
63 return f; in usb_get_function()
64 f->fi = fi; in usb_get_function()
65 return f; in usb_get_function()
82 void usb_put_function(struct usb_function *f) in usb_put_function() argument
84 if (!f) in usb_put_function()
87 f->free_func(f); in usb_put_function()
/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c434 case KVM_REG_RISCV_FP_F_REG(f[0]) ... in fp_f_id_to_str()
435 KVM_REG_RISCV_FP_F_REG(f[31]): in fp_f_id_to_str()
452 case KVM_REG_RISCV_FP_D_REG(f[0]) ... in fp_d_id_to_str()
453 KVM_REG_RISCV_FP_D_REG(f[31]): in fp_d_id_to_str()
889 KVM_REG_RISCV | KVM_REG_SIZE_U32 | KVM_REG_RISCV_FP_F | KVM_REG_RISCV_FP_F_REG(f[0]),
890 KVM_REG_RISCV | KVM_REG_SIZE_U32 | KVM_REG_RISCV_FP_F | KVM_REG_RISCV_FP_F_REG(f[1]),
891 KVM_REG_RISCV | KVM_REG_SIZE_U32 | KVM_REG_RISCV_FP_F | KVM_REG_RISCV_FP_F_REG(f[2]),
892 KVM_REG_RISCV | KVM_REG_SIZE_U32 | KVM_REG_RISCV_FP_F | KVM_REG_RISCV_FP_F_REG(f[3]),
893 KVM_REG_RISCV | KVM_REG_SIZE_U32 | KVM_REG_RISCV_FP_F | KVM_REG_RISCV_FP_F_REG(f[4]),
894 KVM_REG_RISCV | KVM_REG_SIZE_U32 | KVM_REG_RISCV_FP_F | KVM_REG_RISCV_FP_F_REG(f[5]),
[all …]
/linux/drivers/net/vxlan/
H A Dvxlan_core.c356 struct vxlan_fdb f = { in vxlan_ip_miss() local
364 vxlan_fdb_notify(vxlan, &f, &remote, RTM_GETNEIGH, true, NULL); in vxlan_ip_miss()
369 struct vxlan_fdb f = { in vxlan_fdb_miss() local
374 memcpy(f.key.eth_addr, eth_addr, ETH_ALEN); in vxlan_fdb_miss()
376 vxlan_fdb_notify(vxlan, &f, &remote, RTM_GETNEIGH, true, NULL); in vxlan_fdb_miss()
399 struct vxlan_fdb *f; in vxlan_find_mac_tx() local
401 f = vxlan_find_mac_rcu(vxlan, mac, vni); in vxlan_find_mac_tx()
402 if (f) { in vxlan_find_mac_tx()
405 if (READ_ONCE(f->used) != now) in vxlan_find_mac_tx()
406 WRITE_ONCE(f->used, now); in vxlan_find_mac_tx()
[all …]
/linux/fs/proc/
H A Ddevices.c9 static int devinfo_show(struct seq_file *f, void *v) in devinfo_show() argument
15 seq_puts(f, "Character devices:\n"); in devinfo_show()
16 chrdev_show(f, i); in devinfo_show()
22 seq_puts(f, "\nBlock devices:\n"); in devinfo_show()
23 blkdev_show(f, i); in devinfo_show()
29 static void *devinfo_start(struct seq_file *f, loff_t *pos) in devinfo_start() argument
36 static void *devinfo_next(struct seq_file *f, void *v, loff_t *pos) in devinfo_next() argument
44 static void devinfo_stop(struct seq_file *f, void *v) in devinfo_stop() argument
/linux/tools/testing/selftests/drivers/net/hw/
H A Drss_api.py19 qcnt = len(glob.glob(f"/sys/class/net/{cfg.ifname}/queues/rx-*"))
21 raise KsftSkipEx(f"Local has only {qcnt} queues")
26 output = ethtool(f"{act} {cfg.ifname} {opts}").stdout
33 descr = ethtool(f"-n {cfg.ifname} rx-flow-hash {fl_type}").stdout
105 ethtool(f"-L {cfg.ifname} combined 0 rx 1")
107 ethtool(f"-L {cfg.ifname} combined 1 rx 0")
126 defer(ethtool, f"-X {cfg.ifname} context {ctx_id} delete")
148 ethtool(f"-L {cfg.ifname} combined 0 rx 1")
150 ethtool(f"-L {cfg.ifname} combined 1 rx 0")
163 ethtool(f"--disable-netlink -X {cfg.ifname} weight 0 1")
[all …]
/linux/drivers/usb/gadget/function/
H A Df_ecm.c64 static inline struct f_ecm *func_to_ecm(struct usb_function *f) in func_to_ecm() argument
66 return container_of(f, struct f_ecm, port.func); in func_to_ecm()
457 static int ecm_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in ecm_setup() argument
459 struct f_ecm *ecm = func_to_ecm(f); in ecm_setup()
460 struct usb_composite_dev *cdev = f->config->cdev; in ecm_setup()
522 static int ecm_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in ecm_set_alt() argument
524 struct f_ecm *ecm = func_to_ecm(f); in ecm_set_alt()
525 struct usb_composite_dev *cdev = f->config->cdev; in ecm_set_alt()
536 if (config_ep_by_speed(cdev->gadget, f, ecm->notify)) in ecm_set_alt()
554 if (config_ep_by_speed(cdev->gadget, f, in ecm_set_alt()
[all …]
/linux/tools/testing/selftests/drivers/net/
H A Dxdp.py69 rx_udp_cmd = f"socat -{cfg.addr_ipver} -T 2 -u UDP-RECV:{port},reuseport STDOUT"
70 tx_udp_cmd = f"echo -n {test_string} | socat -t 2 -u STDIN UDP:{cfg.baddr}:{port}"
111 cmd(f"ip link set dev {cfg.remote_ifname} mtu {bpf_info.mtu}", shell=True, host=cfg.remote)
112 defer(ip, f"link set dev {cfg.remote_ifname} mtu 1500", host=cfg.remote)
115 f"ip link set dev {cfg.ifname} mtu {bpf_info.mtu} xdp obj {abs_path} sec {bpf_info.xdp_sec}",
118 defer(ip, f"link set dev {cfg.ifname} mtu 1500 xdp off")
120 xdp_info = ip(f"-d link show dev {cfg.ifname}", json=True)[0]
125 map_ids = bpftool(f"prog show id {prog_id}", json=True)["map_ids"]
128 name = bpftool(f"map show id {map_id}", json=True)["name"]
145 return ' '.join(f'{byte:02x}' for byte in hex_str)
[all …]
/linux/Documentation/driver-api/media/drivers/ccs/
H A Dccs-regs.asc5 # - f field LSB MSB rflags
14 # f formula
30 - f major 4 7
31 - f minor 0 3
39 - f 0 2
56 - f rows 0 3
57 - f columns 4 7
58 frame_format_descriptor(n) 0x0042 16 f
60 - f pixels 0 11
61 - f pcode 12 15
[all …]
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_debugfs.c232 struct ionic_rx_filter *f; in lif_filters_show() local
241 hlist_for_each_entry_safe(f, tmp, head, by_id) { in lif_filters_show()
242 switch (le16_to_cpu(f->cmd.match)) { in lif_filters_show()
245 f->filter_id, f->flow_id, f->state, in lif_filters_show()
246 le16_to_cpu(f->cmd.vlan.vlan)); in lif_filters_show()
250 f->filter_id, f->flow_id, f->state, in lif_filters_show()
251 f->cmd.mac.addr); in lif_filters_show()
255 f->filter_id, f->flow_id, f->state, in lif_filters_show()
256 le16_to_cpu(f->cmd.vlan.vlan), in lif_filters_show()
257 f->cmd.mac.addr); in lif_filters_show()
[all …]
/linux/scripts/coccinelle/null/
H A Dderef_null.cocci22 identifier f;
26 (E != NULL && ...) ? <+...E->f@p1...+> : ...
30 identifier f;
35 (E != NULL) && ... && <+...E->f@p2...+>
37 (E == NULL) || ... || <+...E->f@p2...+>
39 sizeof(<+...E->f@p2...+>)
56 identifier f;
85 E->f@p // bad use
117 identifier f;
146 E->f@p // bad use
[all …]

12345678910>>...113