| /linux/drivers/media/test-drivers/visl/ |
| H A D | visl-trace-av1.h | 61 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 D | visl-trace-vp8.h | 12 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 D | seq_fifo.c | 20 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() 51 struct snd_seq_fifo *f; snd_seq_fifo_delete() local 83 snd_seq_fifo_clear(struct snd_seq_fifo * f) snd_seq_fifo_clear() argument 100 snd_seq_fifo_event_in(struct snd_seq_fifo * f,struct snd_seq_event * event) snd_seq_fifo_event_in() argument 137 fifo_cell_out(struct snd_seq_fifo * f) fifo_cell_out() argument 157 snd_seq_fifo_cell_out(struct snd_seq_fifo * f,struct snd_seq_event_cell ** cellp,int nonblock) snd_seq_fifo_cell_out() argument 194 snd_seq_fifo_cell_putback(struct snd_seq_fifo * f,struct snd_seq_event_cell * cell) snd_seq_fifo_cell_putback() argument 209 snd_seq_fifo_poll_wait(struct snd_seq_fifo * f,struct file * file,poll_table * wait) snd_seq_fifo_poll_wait() argument 218 snd_seq_fifo_resize(struct snd_seq_fifo * f,int poolsize) snd_seq_fifo_resize() argument 262 snd_seq_fifo_unused_cells(struct snd_seq_fifo * f) snd_seq_fifo_unused_cells() argument [all...] |
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-debug.h | 40 #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 D | test_modules.h | 5 #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/drivers/net/hw/ |
| H A D | ipsec_vxlan.py | 27 cmd(f"ip xfrm {args}", shell=True, host=host) 41 feat = ethtool(f"-k {cfg.ifname}", json=True)[0] 43 raise KsftSkipEx(f"can't query features: {e}") from e 56 vxlan_name = f"vx{os.getpid()}" 61 inner_local = f"{INNER_V4_LOCAL}/24" 62 inner_remote = f"{INNER_V4_REMOTE}/24" 65 inner_local = f"{INNER_V6_LOCAL}/64" 66 inner_remote = f"{INNER_V6_REMOTE}/64" 75 ip(f"link add {vxlan_name} type vxlan id 100 dstport 4789 {vxlan_opts} " 76 f"local {local_addr} remote {remote_addr} dev {cfg.ifname}") [all …]
|
| H A D | rss_ctx.py | 33 ksft_eq(bool(non_zero), True, comment=f"RSS key is all zero {data['rss-hash-key']}") 37 return ethtool(f"-x {cfg.ifname} context {context}", json=True)[0] 51 output = ethtool(f"{act} {cfg.ifname} {opts}").stdout 58 features = ethtool(f"-k {cfg.ifname}", json=True)[0] 62 ethtool(f"-K {cfg.ifname} ntuple-filters on") 63 defer(ethtool, f"-K {cfg.ifname} ntuple-filters off") 71 …raise KsftSkipEx(f"Test requires at least {need_cnt} contexts, but device only has {cfg.context_cn… 104 ksft_ge(directed, 20000, f"traffic on {name}: " + str(cnts)) 107 f"traffic on other queues ({name})':" + str(cnts)) 110 f"traffic on inactive queues ({name}): " + str(cnts)) [all …]
|
| H A D | iou-zcrx.py | 28 output = ethtool(f"-X {cfg.ifname} context new start {cfg.target} equal 1").stdout 34 output = ethtool(f"-N {cfg.ifname} flow-type tcp6 dst-port {cfg.port} action {cfg.target}").stdout 40 output = ethtool(f"-N {cfg.ifname} flow-type tcp6 dst-port {cfg.port} context {rss_ctx_id}").stdout 53 raise Exception(f"Expected 1 io-uring page pool, found {len(pools)}") 58 raise Exception(f'Expected io-uring rx-buf-len {expected_rx_buf_len}, ' 59 f'got {rx_buf_len}') 83 ethtool(f"-X {cfg.ifname} equal {cfg.target}") 84 defer(ethtool, f"-X {cfg.ifname} default") 87 defer(ethtool, f"-N {cfg.ifname} delete {flow_rule_id}") 111 ethtool(f" [all...] |
| /linux/drivers/spi/ |
| H A D | spi-nxp-fspi.c | 479 static inline int needs_ip_only(struct nxp_fspi *f) in needs_ip_only() argument 481 return f->devtype_data->quirks & FSPI_QUIRK_USE_IP_ONLY; in needs_ip_only() 491 static void fspi_writel(struct nxp_fspi *f, u32 val, void __iomem *addr) in fspi_writel() argument 493 if (f->devtype_data->little_endian) in fspi_writel() 499 static u32 fspi_readl(struct nxp_fspi *f, void __iomem *addr) in fspi_readl() argument 501 if (f->devtype_data->little_endian) in fspi_readl() 509 struct nxp_fspi *f = dev_id; in nxp_fspi_irq_handler() local 513 reg = fspi_readl(f, f->iobase + FSPI_INTR); in nxp_fspi_irq_handler() 514 fspi_writel(f, FSPI_INTR_IPCMDDONE, f->iobase + FSPI_INTR); in nxp_fspi_irq_handler() 517 complete(&f->c); in nxp_fspi_irq_handler() [all …]
|
| /linux/tools/docs/ |
| H A D | documentation-file-ref-check | 60 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/tools/testing/selftests/bpf/progs/ |
| H A D | linked_list_fail.c | 12 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 D | cxgb4_filter.c | 56 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 …]
|
| /linux/include/linux/ |
| H A D | indirect_call_wrapper.h | 17 #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/include/linux/mtd/ |
| H A D | sh_flctl.h | 18 #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/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_tc_matchall.c | 6 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/arch/riscv/kernel/ |
| H A D | asm-offsets.c | 58 OFFSET(TASK_THREAD_F0, task_struct, thread.fstate.f[0]); in asm_offsets() 59 OFFSET(TASK_THREAD_F1, task_struct, thread.fstate.f[1]); in asm_offsets() 60 OFFSET(TASK_THREAD_F2, task_struct, thread.fstate.f[2]); in asm_offsets() 61 OFFSET(TASK_THREAD_F3, task_struct, thread.fstate.f[3]); in asm_offsets() 62 OFFSET(TASK_THREAD_F4, task_struct, thread.fstate.f[4]); in asm_offsets() 63 OFFSET(TASK_THREAD_F5, task_struct, thread.fstate.f[5]); in asm_offsets() 64 OFFSET(TASK_THREAD_F6, task_struct, thread.fstate.f[6]); in asm_offsets() 65 OFFSET(TASK_THREAD_F7, task_struct, thread.fstate.f[7]); in asm_offsets() 66 OFFSET(TASK_THREAD_F8, task_struct, thread.fstate.f[8]); in asm_offsets() 67 OFFSET(TASK_THREAD_F9, task_struct, thread.fstate.f[9]); in asm_offsets() [all …]
|
| /linux/net/sched/ |
| H A D | cls_route.c | 70 route4_reset_fastmap(struct route4_head *head, struct route4_filter *f) in route4_reset_fastmap() argument 73 if (f) in route4_reset_fastmap() 74 f->dying = true; in route4_reset_fastmap() 81 struct route4_filter *f) in route4_set_fastmap() argument 87 if (f == ROUTE4_FAILURE || !f->dying) { in route4_set_fastmap() 90 head->fastmap[h].filter = f; in route4_set_fastmap() 117 *res = f->res; \ 118 if (tcf_exts_has_actions(&f->exts)) { \ 119 int r = tcf_exts_exec(skb, &f 137 struct route4_filter *f; route4_classify() local 226 struct route4_filter *f; route4_get() local 260 __route4_delete_filter(struct route4_filter * f) __route4_delete_filter() argument 269 struct route4_filter *f = container_of(to_rcu_work(work), route4_delete_filter_work() local 277 route4_queue_work(struct route4_filter * f) route4_queue_work() argument 297 struct route4_filter *f; route4_destroy() local 334 struct route4_filter *f = arg; route4_delete() local 401 route4_set_parms(struct net * net,struct tcf_proto * tp,unsigned long base,struct route4_filter * f,u32 handle,struct route4_head * head,struct nlattr ** tb,struct nlattr * est,int new,u32 flags,struct netlink_ext_ack * extack) route4_set_parms() argument 500 struct route4_filter *fold, *f1, *pfp, *f = NULL; route4_change() local 608 struct route4_filter *f; route4_walk() local 624 struct route4_filter *f = fh; route4_dump() local 673 struct route4_filter *f = fh; route4_bind_class() local [all...] |
| H A D | cls_fw.c | 56 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() 98 struct fw_filter *f; in fw_get() local 119 __fw_delete_filter(struct fw_filter * f) __fw_delete_filter() argument 128 struct fw_filter *f = container_of(to_rcu_work(work), fw_delete_filter_work() local 140 struct fw_filter *f; fw_destroy() local 164 struct fw_filter *f = arg; fw_delete() local 206 fw_set_parms(struct net * net,struct tcf_proto * tp,struct fw_filter * f,struct nlattr ** tb,struct nlattr ** tca,unsigned long base,u32 flags,struct netlink_ext_ack * extack) fw_set_parms() argument 249 struct fw_filter *f = *arg; fw_change() local 372 struct fw_filter *f; fw_walk() local 386 struct fw_filter *f = fh; fw_dump() local 432 struct fw_filter *f = fh; fw_bind_class() local [all...] |
| /linux/drivers/net/ethernet/huawei/hinic3/ |
| H A D | hinic3_filter.c | 42 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/bpf/ |
| H A D | generate_udp_fragments.py | 32 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/include/linux/ceph/ |
| H A D | rados.h | 203 #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 D | iocost_coef_gen.py | 62 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/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_vm_tlb_fence.c | 46 static const char *amdgpu_tlb_fence_get_timeline_name(struct dma_fence *f) in amdgpu_tlb_fence_get_timeline_name() argument 53 struct amdgpu_tlb_fence *f = container_of(work, typeof(*f), work); in amdgpu_tlb_fence_work() local 56 if (f->dependency) { in amdgpu_tlb_fence_work() 57 dma_fence_wait(f->dependency, false); in amdgpu_tlb_fence_work() 58 dma_fence_put(f->dependency); in amdgpu_tlb_fence_work() 59 f->dependency = NULL; in amdgpu_tlb_fence_work() 62 r = amdgpu_gmc_flush_gpu_tlb_pasid(f->adev, f->pasid, 2, true, 0); in amdgpu_tlb_fence_work() 64 dev_err(f->adev->dev, "TLB flush failed for PASID %d.\n", in amdgpu_tlb_fence_work() 65 f->pasid); in amdgpu_tlb_fence_work() 66 dma_fence_set_error(&f->base, r); in amdgpu_tlb_fence_work() [all …]
|
| /linux/tools/workqueue/ |
| H A D | wq_dump.py | 71 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}}' 122 print(f'wq_unbound_cpumask={cpumask_str(wq_unbound_cpumask)}') 125 print(f' nr_pods {pt.nr_pods.value_()}') 129 print(f' [{pod}]={cpumask_str(pt.pod_cpus[pod])}', end='') [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | dt_cpu_ftrs.c | 133 static int __init feat_try_enable_unknown(struct dt_cpu_feature *f) in feat_try_enable_unknown() argument 135 if (f->hv_support == HV_SUPPORT_NONE) { in feat_try_enable_unknown() 136 } else if (f->hv_support & HV_SUPPORT_HFSCR) { in feat_try_enable_unknown() 138 hfscr |= 1UL << f->hfscr_bit_nr; in feat_try_enable_unknown() 145 if (f->os_support == OS_SUPPORT_NONE) { in feat_try_enable_unknown() 146 } else if (f->os_support & OS_SUPPORT_FSCR) { in feat_try_enable_unknown() 148 fscr |= 1UL << f->fscr_bit_nr; in feat_try_enable_unknown() 155 if ((f->usable_privilege & USABLE_PR) && (f->hwcap_bit_nr != -1)) { in feat_try_enable_unknown() 156 uint32_t word = f->hwcap_bit_nr / 32; in feat_try_enable_unknown() 157 uint32_t bit = f->hwcap_bit_nr % 32; in feat_try_enable_unknown() [all …]
|