/linux/drivers/media/test-drivers/visl/ |
H A D | visl-trace-av1.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 TP_fast_assign(__entry->s = *s;), 18 __print_flags(__entry->s.flags, "|", 39 __entry->s.seq_profile, 40 __entry->s.order_hint_bits, 41 __entry->s.bit_depth, 42 __entry->s.max_frame_width_minus_1, 43 __entry->s.max_frame_height_minus_1 51 TP_fast_assign(__entry->t = *t;), 53 __entry->t.tile_offset, [all …]
|
H A D | visl-trace-vp8.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 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])), [all …]
|
/linux/sound/core/seq/ |
H A D | seq_fifo.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 struct snd_seq_fifo *f; in snd_seq_fifo_new() local 22 f = kzalloc(sizeof(*f), GFP_KERNEL); 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() [all …]
|
/linux/tools/power/acpi/man/ |
H A D | pfrut.8 | 5 pfrut \- Platform Firmware Runtime Update and Telemetry tool 8 \f[B]pfrut\f[R] [\f[I]Options\f[R]] 25 \f[B]pfrut\f[R] is the tool to interact with the kernel interface. 31 .B \f[B]\-h\f[R], \f[B]\-\-help\f[R] 34 .B \f[B]\-l\f[R], \f[B]\-\-load\f[R] 39 .B \f[B]\-s\f[R], \f[B]\-\-stage\f[R] 43 .B \f[B]\-a\f[R], \f[B]\-\-activate\f[R] 46 .B \f[B]\-u\f[R], \f[B]\-\-update\f[R] 49 .B \f[B]\-q\f[R], \f[B]\-\-query\f[R] 52 .B \f[B]\-d\f[R], \f[B]\-\-setrev\f[R] [all …]
|
/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 33 F: *Files* and directories wildcard patterns. 35 F: drivers/net/ all files in and below drivers/net 36 F: drivers/net/* all files in drivers/net, but not below 37 F: */net/* all files in "any top level directory"/net 38 One pattern per line. Multiple F: lines acceptable. [all …]
|
/linux/arch/riscv/kernel/ |
H A D | asm-offsets.c | 1 // SPDX-License-Identifier: GPL-2.0-only 53 OFFSET(TASK_THREAD_F0, task_struct, thread.fstate.f[0]); in asm_offsets() 54 OFFSET(TASK_THREAD_F1, task_struct, thread.fstate.f[1]); in asm_offsets() 55 OFFSET(TASK_THREAD_F2, task_struct, thread.fstate.f[2]); in asm_offsets() 56 OFFSET(TASK_THREAD_F3, task_struct, thread.fstate.f[3]); in asm_offsets() 57 OFFSET(TASK_THREAD_F4, task_struct, thread.fstate.f[4]); in asm_offsets() 58 OFFSET(TASK_THREAD_F5, task_struct, thread.fstate.f[5]); in asm_offsets() 59 OFFSET(TASK_THREAD_F6, task_struct, thread.fstate.f[6]); in asm_offsets() 60 OFFSET(TASK_THREAD_F7, task_struct, thread.fstate.f[7]); in asm_offsets() 61 OFFSET(TASK_THREAD_F8, task_struct, thread.fstate.f[8]); in asm_offsets() [all …]
|
/linux/tools/testing/selftests/ftrace/test.d/dynevent/ |
H A D | fprobe_syntax_errors.tc | 2 # SPDX-License-Identifier: GPL-2.0 4 # requires: dynamic_events "f[:[<group>/][<event>]] <func-name>[%return] [<args>]":README 6 check_error() { # command-with-error-pos-by-^ 10 case `uname -m` in 19 check_error 'f^100 vfs_read' # MAXACT_NO_KPROBE 20 check_error 'f^1a111 vfs_read' # BAD_MAXACT 21 check_error 'f^100000 vfs_read' # MAXACT_TOO_BIG 23 check_error 'f ^non_exist_func' # BAD_PROBE_ADDR (enoent) 24 check_error 'f ^vfs_read+10' # BAD_PROBE_ADDR 25 check_error 'f:^/bar vfs_read' # NO_GROUP_NAME [all …]
|
/linux/drivers/dma-buf/ |
H A D | st-dma-fence.c | 1 /* SPDX-License-Identifier: MIT */ 8 #include <linux/dma-fence.h> 22 } *to_mock_fence(struct dma_fence *f) { in to_mock_fence() argument 23 return container_of(f, struct mock_fence, base); in to_mock_fence() 26 static const char *mock_name(struct dma_fence *f) in mock_name() argument 31 static void mock_fence_release(struct dma_fence *f) in mock_fence_release() argument 33 kmem_cache_free(slab_fences, to_mock_fence(f)); in mock_fence_release() 41 static void mock_wakeup(struct dma_fence *f, struct dma_fence_cb *cb) in mock_wakeup() argument 43 wake_up_process(container_of(cb, struct wait_cb, cb)->task); in mock_wakeup() 46 static long mock_wait(struct dma_fence *f, bool intr, long timeout) in mock_wait() argument [all …]
|
/linux/Documentation/userspace-api/ioctl/ |
H A D | ioctl-number.rst | 33 patch to Linus Torvalds. Or you can e-mail me at <mec@shout.net> and 67 no attempt to list non-X86 architectures or ioctls from drivers/staging/. 73 0x00 00-1F linux/fs.h conflict! 74 0x00 00-1F scsi/scsi_ioctl.h conflict! 75 0x00 00-1F linux/fb.h conflict! 76 0x00 00-1F linux/wavefront.h conflict! 79 0x04 D2-DC linux/umsdos_fs.h Dead since 2.6.11, but don't r… 81 0x07 9F-D0 linux/vmw_vmci_defs.h, uapi/linux/vm_sockets.h 83 0x10 00-0F drivers/char/s390/vmcp.h 84 0x10 10-1F arch/s390/include/uapi/sclp_ctl.h [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | linked_list_fail.c | 1 // SPDX-License-Identifier: GPL-2.0 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); 63 CHECK(map, pop_front, &v->head); 64 CHECK(map, pop_back, &v->head); 66 CHECK(inner_map, pop_front, &iv->head); [all …]
|
H A D | linked_list.c | 1 // SPDX-License-Identifier: GPL-2.0 31 struct foo *f; in list_push_pop() local 33 f = bpf_obj_new(typeof(*f)); in list_push_pop() 34 if (!f) in list_push_pop() 42 bpf_obj_drop(f); in list_push_pop() 51 bpf_obj_drop(f); in list_push_pop() 57 f->data = 42; in list_push_pop() 58 bpf_list_push_front(head, &f->node2); in list_push_pop() 67 f = container_of(n, struct foo, node2); in list_push_pop() 68 if (f->data != 42) { in list_push_pop() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-debug.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved. 5 * Copyright(c) 2018 - 2021 Intel Corporation 13 #include "iwl-modparams.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) [all …]
|
/linux/drivers/spi/ |
H A D | spi-nxp-fspi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Copyright 2019-2020 NXP 14 * FlexSPI controller is driven by the LUT(Look-up Table) registers 15 * LUT registers are a look-up-table for sequences of instructions. 19 * LUTs are being created at run-time based on the commands passed 20 * from the spi-mem framework, thus using single LUT index. 26 * Based on SPI MEM interface and spi-fsl-qspi.c driver. 58 #include <linux/spi/spi-mem.h> 300 #define LUT_PAD(x) (fls(x) - 1) 306 * --------------------------------------------------- [all …]
|
/linux/arch/s390/lib/ |
H A D | test_modules.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 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); \ [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_sw_fence_work.c | 1 // SPDX-License-Identifier: MIT 9 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 [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_filter.c | 4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 56 static int set_tcb_field(struct adapter *adap, struct filter_entry *f, in set_tcb_field() argument 65 return -ENOMEM; in set_tcb_field() 69 req->reply_ctrl = htons(REPLY_CHAN_V(0) | in set_tcb_field() 70 QUEUENO_V(adap->sge.fw_evtq.abs_id) | in set_tcb_field() 72 req->word_cookie = htons(TCB_WORD_V(word) | TCB_COOKIE_V(ftid)); in set_tcb_field() 73 req->mask = cpu_to_be64(mask); in set_tcb_field() 74 req->val = cpu_to_be64(val); in set_tcb_field() [all …]
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-yuv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include "ivtv-driver.h" 10 #include "ivtv-udma.h" 11 #include "ivtv-yuv.h" 30 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_yuv_prep_user_dma() 31 u8 frame = yi->draw_frame; in ivtv_yuv_prep_user_dma() 32 struct yuv_frame_info *f = &yi->new_frame_info[frame]; in ivtv_yuv_prep_user_dma() local 40 y_decode_height = uv_decode_height = f->src_h + f->src_y; in ivtv_yuv_prep_user_dma() 42 if (f->offset_y) in ivtv_yuv_prep_user_dma() 54 if (dma->SG_length || dma->page_count) { in ivtv_yuv_prep_user_dma() [all …]
|
/linux/include/linux/ |
H A D | indirect_call_wrapper.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * INDIRECT_CALL_$NR - wrapper for indirect calls with $NR known builtin 9 * @f: function pointer 10 * @f$NR: builtin functions names, up to $NR of them 11 * @__VA_ARGS__: arguments for @f 13 * Avoid retpoline overhead for known builtin, checking @f vs each of them and 17 #define INDIRECT_CALL_1(f, f1, ...) \ argument 19 likely(f == f1) ? f1(__VA_ARGS__) : f(__VA_ARGS__); \ 21 #define INDIRECT_CALL_2(f, f2, f1, ...) \ argument 23 likely(f == f2) ? f2(__VA_ARGS__) : \ [all …]
|
/linux/net/sched/ |
H A D | cls_fw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 55 struct fw_head *head = rcu_dereference_bh(tp->root); in fw_classify() 56 struct fw_filter *f; in fw_classify() local 58 u32 id = skb->mark; in fw_classify() 61 id &= head->mask; in fw_classify() 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() [all …]
|
H A D | cls_route.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 60 #define ROUTE4_FAILURE ((struct route4_filter *)(-1L)) 72 memset(head->fastmap, 0, sizeof(head->fastmap)); in route4_reset_fastmap() 78 struct route4_filter *f) in route4_set_fastmap() argument 84 head->fastmap[h].id = id; in route4_set_fastmap() 85 head->fastmap[h].iif = iif; in route4_set_fastmap() 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); \ [all …]
|
/linux/scripts/dtc/ |
H A D | treesource.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 yyin = current_srcfile->f; in dt_from_source() 34 static void write_prefix(FILE *f, int level) in write_prefix() argument 39 fputc('\t', f); in write_prefix() 46 || strchr("\a\b\t\n\v\f\r", c)); in isstring() 49 static void write_propval_string(FILE *f, const char *s, size_t len) in write_propval_string() argument 51 const char *end = s + len - 1; in write_propval_string() 58 fprintf(f, "\""); in write_propval_string() 63 fprintf(f, "\\a"); in write_propval_string() 66 fprintf(f, "\\b"); in write_propval_string() [all …]
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_tc_matchall.c | 1 // SPDX-License-Identifier: GPL-2.0+ 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() 14 return -EOPNOTSUPP; in lan966x_tc_matchall_add() 17 act = &f->rule->action.entries[0]; in lan966x_tc_matchall_add() 18 switch (act->id) { 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() [all …]
|
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | busy_loop.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 #include <ppc-asm.h> 11 stdu %r1, -168(%r1) 32 std r3, -96(%r1) 34 std r4, -104(%r1) 36 std r5, -112(%r1) 38 std r6, -120(%r1) 40 std r7, -128(%r1) 42 std r8, -136(%r1) 44 std r9, -144(%r1) [all …]
|
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_rx_filter.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2017 - 2019 Pensando Systems, Inc */ 13 void ionic_rx_filter_free(struct ionic_lif *lif, struct ionic_rx_filter *f) in ionic_rx_filter_free() argument 15 struct device *dev = lif->ionic->dev; in ionic_rx_filter_free() 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 38 head = &lif->rx_filters.by_id[i]; in ionic_rx_filter_replay() 39 hlist_for_each_entry_safe(f, tmp, head, by_id) { in ionic_rx_filter_replay() [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | generate_udp_fragments.py | 2 # SPDX-License-Identifier: GPL-2.0 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") [all …]
|