Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 2708) sorted by relevance

12345678910>>...109

/linux/drivers/media/test-drivers/visl/
H A Dvisl-trace-av1.h61 TP_PROTO(const struct v4l2_ctrl_av1_frame *f),
62 TP_ARGS(f),
63 TP_STRUCT__entry(__field_struct(struct v4l2_ctrl_av1_frame, f)),
64 TP_fast_assign(__entry->f = *f;),
89 __print_flags(__entry->f.tile_info.flags, "|",
91 __entry->f.tile_info.context_update_tile_id,
92 __entry->f.tile_info.tile_cols,
93 __entry->f.tile_info.tile_rows,
94 __print_array(__entry->f.tile_info.mi_col_starts,
95 ARRAY_SIZE(__entry->f.tile_info.mi_col_starts),
[all …]
H A Dvisl-trace-vp8.h12 TP_PROTO(const struct v4l2_ctrl_vp8_frame *f),
13 TP_ARGS(f),
14 TP_STRUCT__entry(__field_struct(struct v4l2_ctrl_vp8_frame, f)),
15 TP_fast_assign(__entry->f = *f;),
21 __entry->f.entropy.coeff_probs,
22 sizeof(__entry->f.entropy.coeff_probs),
24 __print_array(__entry->f.entropy.y_mode_probs,
25 ARRAY_SIZE(__entry->f.entropy.y_mode_probs),
26 sizeof(__entry->f.entropy.y_mode_probs[0])),
27 __print_array(__entry->f.entropy.uv_mode_probs,
[all …]
/linux/sound/core/seq/
H A Dseq_fifo.c20 struct snd_seq_fifo *f; in snd_seq_fifo_new() local
22 f = kzalloc_obj(*f); in snd_seq_fifo_new()
23 if (!f) in snd_seq_fifo_new()
26 f->pool = snd_seq_pool_new(poolsize); in snd_seq_fifo_new()
27 if (f->pool == NULL) { in snd_seq_fifo_new()
28 kfree(f); in snd_seq_fifo_new()
31 if (snd_seq_pool_init(f->pool) < 0) { in snd_seq_fifo_new()
32 snd_seq_pool_delete(&f->pool); in snd_seq_fifo_new()
33 kfree(f); in snd_seq_fifo_new()
37 spin_lock_init(&f->lock); in snd_seq_fifo_new()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-debug.h40 #define CHECK_FOR_NEWLINE(f) BUILD_BUG_ON(f[sizeof(f) - 2] != '\n') argument
43 #define __IWL_ERR_DEV(d, mode, f, a...) \ argument
45 CHECK_FOR_NEWLINE(f); \
46 __iwl_err((d), mode, f, ## a); \
48 #define IWL_ERR_DEV(d, f, a...) \ argument
49 __IWL_ERR_DEV(d, IWL_ERR_MODE_REGULAR, f, ## a)
50 #define IWL_ERR(m, f, a...) \ argument
51 IWL_ERR_DEV((m)->dev, f, ## a)
52 #define IWL_ERR_LIMIT(m, f, a...) \ argument
53 __IWL_ERR_DEV((m)->dev, IWL_ERR_MODE_RATELIMIT, f, ## a)
[all …]
/linux/arch/s390/lib/
H A Dtest_modules.h5 #define __REPEAT_10000_3(f, x) \ argument
6 f(x ## 0); \
7 f(x ## 1); \
8 f(x ## 2); \
9 f(x ## 3); \
10 f(x ## 4); \
11 f(x ## 5); \
12 f(x ## 6); \
13 f(x ## 7); \
14 f(x ## 8); \
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dlinked_list_fail.c12 struct foo *f, *f1, *f2; \
31 f = bpf_obj_new(typeof(*f)); \
32 if (!f) \
34 f1 = f; \
57 CHECK(kptr, pop_front, &f->head);
58 CHECK(kptr, pop_back, &f->head);
80 CHECK(kptr, push_front, &f->head, &b->node);
81 CHECK(kptr, push_back, &f->head, &b->node);
83 CHECK(global, push_front, &ghead, &f->node2);
84 CHECK(global, push_back, &ghead, &f->node2);
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.c56 static int set_tcb_field(struct adapter *adap, struct filter_entry *f, in set_tcb_field() argument
75 set_wr_txq(skb, CPL_PRIORITY_CONTROL, f->fs.val.iport & 0x3); in set_tcb_field()
82 static int set_tcb_tflag(struct adapter *adap, struct filter_entry *f, in set_tcb_tflag() argument
86 return set_tcb_field(adap, f, ftid, TCB_T_FLAGS_W, 1ULL << bit_pos, in set_tcb_tflag()
120 static void mk_set_tcb_ulp(struct filter_entry *f, in mk_set_tcb_ulp() argument
132 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_SET_TCB_FIELD, f->tid)); in mk_set_tcb_ulp()
143 static int configure_filter_smac(struct adapter *adap, struct filter_entry *f) in configure_filter_smac() argument
148 err = set_tcb_field(adap, f, f->tid, TCB_SMAC_SEL_W, in configure_filter_smac()
150 TCB_SMAC_SEL_V(f->smt->idx), 1); in configure_filter_smac()
154 err = set_tcb_tflag(adap, f, f->tid, TF_CCTRL_CWR_S, 1, 1); in configure_filter_smac()
[all …]
H A Dcxgb4_tc_u32_parse.h41 int (*val)(struct ch_filter_specification *f, __be32 val, __be32 mask);
45 static inline int cxgb4_fill_ipv4_tos(struct ch_filter_specification *f, in cxgb4_fill_ipv4_tos() argument
48 f->val.tos = (ntohl(val) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_tos()
49 f->mask.tos = (ntohl(mask) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_tos()
54 static inline int cxgb4_fill_ipv4_frag(struct ch_filter_specification *f, in cxgb4_fill_ipv4_frag() argument
64 f->val.frag = 1; in cxgb4_fill_ipv4_frag()
65 f->mask.frag = 1; in cxgb4_fill_ipv4_frag()
67 f->val.frag = 0; in cxgb4_fill_ipv4_frag()
68 f->mask.frag = 1; in cxgb4_fill_ipv4_frag()
76 static inline int cxgb4_fill_ipv4_proto(struct ch_filter_specification *f, in cxgb4_fill_ipv4_proto() argument
[all …]
/linux/tools/docs/
H A Ddocumentation-file-ref-check60 my $f = $doc_ref;
63 $f =~ s,.*\<([^\>]+)\>,$1,;
65 if ($f =~ m,^/,) {
66 $f = "$f.rst";
67 $f =~ s,^/,Documentation/,;
69 $f = "$d$f.rst";
72 next if (grep -e, glob("$f"));
88 my $f = $1;
92 next if ($f =~ m,^Next/,);
95 next if ($f =~ m/Makefile/ || $f =~ m/\.(sh|py|pl|~|rej|org|orig)$/);
[all …]
/linux/drivers/gpu/drm/i915/
H A Di915_sw_fence_work.c9 static void fence_complete(struct dma_fence_work *f) in fence_complete() argument
11 if (f->ops->release) in fence_complete()
12 f->ops->release(f); in fence_complete()
13 dma_fence_signal(&f->dma); in fence_complete()
18 struct dma_fence_work *f = container_of(work, typeof(*f), work); in fence_work() local
20 f->ops->work(f); in fence_work()
22 fence_complete(f); in fence_work()
23 dma_fence_put(&f->dma); in fence_work()
29 struct dma_fence_work *f = container_of(fence, typeof(*f), chain); in fence_notify() local
34 dma_fence_set_error(&f->dma, fence->error); in fence_notify()
[all …]
/linux/include/linux/mtd/
H A Dsh_flctl.h18 #define FLCMNCR(f) (f->reg + 0x0) argument
19 #define FLCMDCR(f) (f->reg + 0x4) argument
20 #define FLCMCDR(f) (f->reg + 0x8) argument
21 #define FLADR(f) (f->reg + 0xC) argument
22 #define FLADR2(f) (f->reg + 0x3C) argument
23 #define FLDATAR(f) (f->reg + 0x10) argument
24 #define FLDTCNTR(f) (f->reg + 0x14) argument
25 #define FLINTDMACR(f) (f->reg + 0x18) argument
26 #define FLBSYTMR(f) (f->reg + 0x1C) argument
27 #define FLBSYCNT(f) (f->reg + 0x20) argument
[all …]
/linux/include/linux/
H A Dindirect_call_wrapper.h17 #define INDIRECT_CALL_1(f, f1, ...) \ argument
19 typeof(f) __f1 = (f); \
22 #define INDIRECT_CALL_2(f, f2, f1, ...) \ argument
24 typeof(f) __f2 = (f); \
28 #define INDIRECT_CALL_3(f, f3, f2, f1, ...) \ argument
30 typeof(f) __f3 = (f); \
34 #define INDIRECT_CALL_4(f, f4, f3, f2, f1, ...) \ argument
36 typeof(f) __f4 = (f); \
41 #define INDIRECT_CALLABLE_DECLARE(f) f argument
43 #define EXPORT_INDIRECT_CALLABLE(f) EXPORT_SYMBOL(f) argument
[all …]
/linux/net/sched/
H A Dcls_route.c78 struct route4_filter *f) in route4_set_fastmap() argument
86 head->fastmap[h].filter = f; in route4_set_fastmap()
112 *res = f->res; \
113 if (tcf_exts_has_actions(&f->exts)) { \
114 int r = tcf_exts_exec(skb, &f->exts, res); \
121 route4_set_fastmap(head, id, iif, f); \
132 struct route4_filter *f; in route4_classify() local
149 (f = head->fastmap[h].filter) != NULL) { in route4_classify()
150 if (f == ROUTE4_FAILURE) { in route4_classify()
155 *res = f->res; in route4_classify()
[all …]
H A Dcls_fw.c56 struct fw_filter *f; in fw_classify() local
63 for (f = rcu_dereference_bh(head->ht[fw_hash(id)]); f; in fw_classify()
64 f = rcu_dereference_bh(f->next)) { in fw_classify()
65 if (f->id == id) { in fw_classify()
66 *res = f->res; in fw_classify()
67 if (!tcf_match_indev(skb, f->ifindex)) in fw_classify()
69 r = tcf_exts_exec(skb, &f->exts, res); in fw_classify()
94 struct fw_filter *f; in fw_get() local
99 f = rtnl_dereference(head->ht[fw_hash(handle)]); in fw_get()
100 for (; f; f = rtnl_dereference(f->next)) { in fw_get()
[all …]
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_matchall.c6 struct tc_cls_matchall_offload *f, in lan966x_tc_matchall_add() argument
11 if (!flow_offload_has_one_action(&f->rule->action)) { in lan966x_tc_matchall_add()
12 NL_SET_ERR_MSG_MOD(f->common.extack, in lan966x_tc_matchall_add()
17 act = &f->rule->action.entries[0]; in lan966x_tc_matchall_add()
20 return lan966x_police_port_add(port, &f->rule->action, act, in lan966x_tc_matchall_add()
21 f->cookie, ingress, in lan966x_tc_matchall_add()
22 f->common.extack); in lan966x_tc_matchall_add()
24 return lan966x_mirror_port_add(port, act, f->cookie, in lan966x_tc_matchall_add()
25 ingress, f->common.extack); in lan966x_tc_matchall_add()
27 return lan966x_goto_port_add(port, f->common.chain_index, in lan966x_tc_matchall_add()
[all …]
/linux/drivers/net/ethernet/huawei/hinic3/
H A Dhinic3_filter.c42 struct hinic3_mac_filter *f; in hinic3_clean_mac_list_filter() local
44 list_for_each_entry_safe(f, ftmp, &nic_dev->uc_filter_list, list) { in hinic3_clean_mac_list_filter()
45 if (f->state == HINIC3_MAC_HW_SYNCED) in hinic3_clean_mac_list_filter()
46 hinic3_filter_addr_unsync(netdev, f->addr); in hinic3_clean_mac_list_filter()
47 list_del(&f->list); in hinic3_clean_mac_list_filter()
48 kfree(f); in hinic3_clean_mac_list_filter()
51 list_for_each_entry_safe(f, ftmp, &nic_dev->mc_filter_list, list) { in hinic3_clean_mac_list_filter()
52 if (f->state == HINIC3_MAC_HW_SYNCED) in hinic3_clean_mac_list_filter()
53 hinic3_filter_addr_unsync(netdev, f->addr); in hinic3_clean_mac_list_filter()
54 list_del(&f->list); in hinic3_clean_mac_list_filter()
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Drss_ctx.py32 ksft_eq(bool(non_zero), True, comment=f"RSS key is all zero {data['rss-hash-key']}")
36 return ethtool(f"-x {cfg.ifname} context {context}", json=True)[0]
50 output = ethtool(f"{act} {cfg.ifname} {opts}").stdout
57 features = ethtool(f"-k {cfg.ifname}", json=True)[0]
69 …raise KsftSkipEx(f"Test requires at least {need_cnt} contexts, but device only has {cfg.context_cn…
102 ksft_ge(directed, 20000, f"traffic on {name}: " + str(cnts))
105 f"traffic on other queues ({name})':" + str(cnts))
108 f"traffic on inactive queues ({name}): " + str(cnts))
113 text = ethtool(f"-n {cfg.ifname} rule {rule_id}").stdout
114 pattern = f"RSS Context (ID: )?{ctx_id}"
[all …]
H A Diou-zcrx.py14 output = ethtool(f"-X {cfg.ifname} context new start {cfg.target} equal 1").stdout
20 output = ethtool(f"-N {cfg.ifname} flow-type tcp6 dst-port {cfg.port} action {cfg.target}").stdout
26 output = ethtool(f"-N {cfg.ifname} flow-type tcp6 dst-port {cfg.port} context {rss_ctx_id}").stdout
51 ethtool(f"-X {cfg.ifname} equal {cfg.target}")
52 defer(ethtool, f"-X {cfg.ifname} default")
55 defer(ethtool, f"-N {cfg.ifname} delete {flow_rule_id}")
78 ethtool(f"-X {cfg.ifname} equal {cfg.target}")
79 defer(ethtool, f"-X {cfg.ifname} default")
82 defer(ethtool, f"-X {cfg.ifname} delete context {rss_ctx_id}")
85 defer(ethtool, f"
[all...]
/linux/include/linux/ceph/
H A Drados.h203 #define __CEPH_FORALL_OSD_OPS(f) \ argument
206 f(READ, __CEPH_OSD_OP(RD, DATA, 1), "read") \
207 f(STAT, __CEPH_OSD_OP(RD, DATA, 2), "stat") \
208 f(MAPEXT, __CEPH_OSD_OP(RD, DATA, 3), "mapext") \
211 f(MASKTRUNC, __CEPH_OSD_OP(RD, DATA, 4), "masktrunc") \
212 f(SPARSE_READ, __CEPH_OSD_OP(RD, DATA, 5), "sparse-read") \
214 f(NOTIFY, __CEPH_OSD_OP(RD, DATA, 6), "notify") \
215 f(NOTIFY_ACK, __CEPH_OSD_OP(RD, DATA, 7), "notify-ack") \
218 f(ASSERT_VER, __CEPH_OSD_OP(RD, DATA, 8), "assert-version") \
220 f(LIST_WATCHERS, __CEPH_OSD_OP(RD, DATA, 9), "list-watchers") \
[all …]
/linux/tools/cgroup/
H A Diocost_coef_gen.py62 devname = subprocess.run(f'findmnt -nvo SOURCE -T{path}',
70 rdev = os.stat(f'/dev/{devname}').st_rdev
71 return (devname, f'{os.major(rdev)}:{os.minor(rdev)}')
79 info(f'Creating testfile {path}')
80 subprocess.check_call(f'rm -f {path}', shell=True)
81 subprocess.check_call(f'touch {path}', shell=True)
82 subprocess.call(f'chattr +C {path}', shell=True)
84 f'pv -s {size} -pr /dev/urandom {"-q" if args.quiet else ""} | '
85 f'dd of={path} count={size} '
86 f'iflag=count_bytes,fullblock oflag=direct bs=16M status=none',
[all …]
/linux/tools/workqueue/
H A Dwq_dump.py71 output += f'{hex(v)} '
76 output += f'{v:08x}'
83 return f'{"bh":{wq_type_len}}'
86 return f'{"ordered":{wq_type_len}}'
89 return f'{"unbound,S":{wq_type_len}}'
91 return f'{"unbound":{wq_type_len}}'
93 return f'{"percpu":{wq_type_len}}'
121 print(f'wq_unbound_cpumask={cpumask_str(wq_unbound_cpumask)}')
124 print(f' nr_pods {pt.nr_pods.value_()}')
128 print(f' [{pod}]={cpumask_str(pt.pod_cpus[pod])}', end='')
[all …]
/linux/tools/testing/selftests/bpf/
H A Dgenerate_udp_fragments.py32 def print_header(f): argument
33 f.write("// SPDX-License-Identifier: GPL-2.0\n")
34 f.write("/* DO NOT EDIT -- this file is generated */\n")
35 f.write("\n")
36 f.write("#ifndef _IP_CHECK_DEFRAG_FRAGS_H\n")
37 f.write("#define _IP_CHECK_DEFRAG_FRAGS_H\n")
38 f.write("\n")
39 f.write("#include <stdint.h>\n")
40 f.write("\n")
43 def print_frags(f, frags, v6): argument
[all …]
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_rx_filter.c13 void ionic_rx_filter_free(struct ionic_lif *lif, struct ionic_rx_filter *f) in ionic_rx_filter_free() argument
17 hlist_del(&f->by_id); in ionic_rx_filter_free()
18 hlist_del(&f->by_hash); in ionic_rx_filter_free()
19 devm_kfree(dev, f); in ionic_rx_filter_free()
27 struct ionic_rx_filter *f; in ionic_rx_filter_replay() local
39 hlist_for_each_entry_safe(f, tmp, head, by_id) { in ionic_rx_filter_replay()
41 memcpy(ac, &f->cmd, sizeof(f->cmd)); in ionic_rx_filter_replay()
66 ionic_rx_filter_free(lif, f); in ionic_rx_filter_replay()
74 hlist_del(&f->by_id); in ionic_rx_filter_replay()
76 f->filter_id = le32_to_cpu(ctx.comp.rx_filter_add.filter_id); in ionic_rx_filter_replay()
[all …]
/linux/rust/syn/gen/
H A Dfold.rs1030 pub fn fold_abi<F>(f: &mut F, node: crate::Abi) -> crate::Abi in fold_abi()
1036 name: (node.name).map(|it| f.fold_lit_str(it)), in fold_abi()
1042 f: &mut F, in fold_angle_bracketed_generic_arguments()
1051 args: crate::punctuated::fold(node.args, f, F::fold_generic_argument), in fold_angle_bracketed_generic_arguments()
1057 pub fn fold_arm<F>(f: &mut F, node: crate::Arm) -> crate::Arm in fold_arm()
1062 attrs: f.fold_attributes(node.attrs), in fold_arm()
1063 pat: f.fold_pat(node.pat), in fold_arm()
1064 guard: (node.guard).map(|it| ((it).0, Box::new(f.fold_expr(*(it).1)))), in fold_arm()
1066 body: Box::new(f.fold_expr(*node.body)), in fold_arm()
1072 pub fn fold_assoc_const<F>(f: &mut F, node: crate::AssocConst) -> crate::AssocConst in fold_assoc_const()
[all …]
/linux/net/netfilter/
H A Dnft_set_pipapo.c423 const struct nft_pipapo_field *f; in pipapo_get_slow() local
442 nft_pipapo_for_each_field(f, i, m) { in pipapo_get_slow()
449 if (likely(f->bb == 8)) in pipapo_get_slow()
450 pipapo_and_field_buckets_8bit(f, res_map, data); in pipapo_get_slow()
452 pipapo_and_field_buckets_4bit(f, res_map, data); in pipapo_get_slow()
455 data += f->groups / NFT_PIPAPO_GROUPS_PER_BYTE(f); in pipapo_get_slow()
465 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt, in pipapo_get_slow()
478 e = f->mt[b].e; in pipapo_get_slow()
501 data += NFT_PIPAPO_GROUPS_PADDING(f); in pipapo_get_slow()
621 static int pipapo_realloc_mt(struct nft_pipapo_field *f, in pipapo_realloc_mt() argument
[all …]

12345678910>>...109