/linux-master/tools/testing/selftests/mm/ |
H A D | run_vmtests.sh | 5 # Kselftest framework requirement - SKIP code is 4. 71 invoke move_pages(2) to exercise the migration entry code 74 test handling of code that might set PTE/PMD dirty in
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_dump.c | 149 /* First, generate BTF corresponding to the following C code: 724 {.code = (__u8)1,.dst_reg = (__u8)0x2,.src_reg = (__u8)0x3,.off = (__s16)4,.imm = (__s32)5,}); 728 { .code = 1, .dst_reg = 0x2, .src_reg = 0x3, .off = 4, 732 " .code = (__u8)1,\n" 738 {.code = 1, .dst_reg = 2, .src_reg = 3, .off = 4, .imm = 5}); 743 { .code = 0, .dst_reg = 1});
|
/linux-master/net/phonet/ |
H A D | pep.c | 85 static int pep_reply(struct sock *sk, struct sk_buff *oskb, u8 code, argument 101 ph->error_code = code; 107 static int pep_indicate(struct sock *sk, u8 id, u8 code, argument 122 ph->error_code = code; 128 static int pipe_handler_request(struct sock *sk, u8 id, u8 code, argument 143 ph->error_code = code; 180 static int pep_reject_conn(struct sock *sk, struct sk_buff *skb, u8 code, argument 184 WARN_ON(code == PN_PIPE_NO_ERROR); 185 return pep_reply(sk, skb, code, data, sizeof(data), priority); 190 static int pep_ctrlreq_error(struct sock *sk, struct sk_buff *oskb, u8 code, argument [all...] |
/linux-master/net/ipv6/ |
H A D | route.c | 4495 static int ip6_pkt_drop(struct sk_buff *skb, u8 code, int ipstats_mib_noroutes) argument 4529 icmpv6_send(skb, ICMPV6_DEST_UNREACH, code, 0); 6632 /* Registering of the loopback is done before this portion of code,
|
/linux-master/kernel/trace/ |
H A D | trace_uprobe.c | 212 /* Note that we don't verify it, since the code does not come from user space */ 214 process_fetch_insn(struct fetch_insn *code, void *rec, void *edata, argument 222 switch (code->op) { 224 val = regs_get_register(regs, code->param); 227 val = get_user_stack_nth(regs, code->param); 239 val = translate_user_vaddr(code->immediate); 242 ret = process_common_fetch_insn(code, &val); 246 code++; 248 return process_fetch_insn_bottom(code, val, dest, base);
|
H A D | trace_probe.h | 5 * This code was copied from kernel/trace/trace_kprobe.h written by 228 struct fetch_insn *code; member in struct:probe_arg 239 struct fetch_insn *code; member in struct:probe_entry_arg
|
H A D | trace_probe.c | 3 * Common code for probe-based Dynamic events. 5 * This code was copied from kernel/trace/trace_kprobe.c written by 290 static int parse_trace_event_arg(char *arg, struct fetch_insn *code, argument 299 code->op = FETCH_OP_TP_ARG; 300 code->data = field; 366 struct fetch_insn *code = *pcode + 1; local 368 if (code->op == FETCH_OP_END) { 373 code->op = FETCH_OP_UDEREF; 375 code->op = FETCH_OP_DEREF; 376 code 526 struct fetch_insn *code = *pcode; local 604 struct fetch_insn *code = *pcode; local 710 struct fetch_insn *code = *pcode; local 850 struct fetch_insn *code = &earg->code[i]; local 879 struct fetch_insn *code = *pcode; local 1018 struct fetch_insn *code = *pcode; local 1189 struct fetch_insn *code = *pcode; local 1284 finalize_fetch_insn(struct fetch_insn *code, struct probe_arg *parg, char *type, int type_offset, struct traceprobe_parse_context *ctx) argument 1407 struct fetch_insn *code, *tmp = NULL; local 1586 struct fetch_insn *code = arg->code; local 1810 struct fetch_insn *code = arg->code; local [all...] |
H A D | trace_kprobe.c | 1183 * Delete a kprobe event with the give @name from kernel code rather 1336 /* Note that we don't verify it, since the code does not come from user space */ 1338 process_fetch_insn(struct fetch_insn *code, void *rec, void *edata, argument 1347 switch (code->op) { 1349 val = regs_get_register(regs, code->param); 1352 val = regs_get_kernel_stack_nth(regs, code->param); 1362 val = regs_get_kernel_argument(regs, code->param); 1365 val = *(unsigned long *)((unsigned long)edata + code->offset); 1369 code++; 1372 ret = process_common_fetch_insn(code, [all...] |
H A D | trace_fprobe.c | 129 * Note that we don't verify the fetch_insn code, since it does not come 133 process_fetch_insn(struct fetch_insn *code, void *rec, void *edata, argument 142 switch (code->op) { 144 val = regs_get_kernel_stack_nth(regs, code->param); 154 val = regs_get_kernel_argument(regs, code->param); 157 val = *(unsigned long *)((unsigned long)edata + code->offset); 161 code++; 164 ret = process_common_fetch_insn(code, &val); 168 code++; 170 return process_fetch_insn_bottom(code, va [all...] |
/linux-master/kernel/ |
H A D | signal.c | 682 * is to alert stop-signal processing code when another 692 * irqs disabled here, since the posix-timers code is 1267 pr_info("code at %08lx: ", regs->ip); 1311 HANDLER_EXIT, /* Only visible as the process exit code */ 1472 * becomes 0 and after that the code below has no effect. 1723 int force_sig_fault_to_task(int sig, int code, void __user *addr, argument 1731 info.si_code = code; 1736 int force_sig_fault(int sig, int code, void __user *addr) argument 1738 return force_sig_fault_to_task(sig, code, addr, current); 1741 int send_sig_fault(int sig, int code, voi argument 1753 force_sig_mceerr(int code, void __user *addr, short lsb) argument 1767 send_sig_mceerr(int code, void __user *addr, short lsb, struct task_struct *t) argument 1878 force_sig_fault_trapno(int sig, int code, void __user *addr, int trapno) argument 1894 send_sig_fault_trapno(int sig, int code, void __user *addr, int trapno, struct task_struct *t) argument [all...] |
H A D | seccomp.c | 269 * seccomp_check_filter - verify seccomp filter code 274 * redirects all filter code that loads struct sk_buff data 285 u16 code = ftest->code; local 288 switch (code) { 290 ftest->code = BPF_LDX | BPF_W | BPF_ABS; 296 ftest->code = BPF_LD | BPF_IMM; 300 ftest->code = BPF_LDX | BPF_IMM; 741 u16 code = insn->code; local [all...] |
H A D | exit.c | 801 static void synchronize_group_exit(struct task_struct *tsk, long code) argument 811 signal->group_exit_code = code; 817 void __noreturn do_exit(long code) argument 824 synchronize_group_exit(tsk, code); 832 ptrace_event(PTRACE_EVENT_EXIT, code); 847 tsk->signal->group_exit_code ?: (int)code); 856 acct_collect(code, group_dead); 861 tsk->exit_code = code; 1032 * wait4()-ing process will get the correct exit code - even if this
|
/linux-master/kernel/module/ |
H A D | main.c | 176 void __noreturn __module_put_and_kthread_exit(struct module *mod, long code) argument 179 kthread_exit(code); 1379 * On x86, PIC code and Clang non-PIC code may have call foo@PLT. GNU as 1383 * If we ever have to ignore many symbols, consider refactoring the code to 1535 * NOTE: all executable code must be the first section 1584 * might -- code, read-only data, read-write data, small data. Tally 1773 * The code assumes that section 0 has a length of zero and 1858 * code validates all this for us: 2400 * refer to code i [all...] |
/linux-master/kernel/bpf/ |
H A D | syscall.c | 3022 * is not decremented, it's the responsibility of a calling code that failed 3184 * bpf_link_settle() kernel code using bpf_link doesn't have to perform 3421 * re-attach in separate code path. 4478 u8 code; local 4487 code = insns[i].code; 4489 if (code == (BPF_JMP | BPF_TAIL_CALL)) { 4490 insns[i].code = BPF_JMP | BPF_CALL; 4494 if (code == (BPF_JMP | BPF_CALL) || 4495 code [all...] |
/linux-master/include/net/ |
H A D | tcx.h | 142 int code) 144 switch (code) { 150 return code; 141 tcx_action_code(struct sk_buff *skb, int code) argument
|
/linux-master/include/linux/ |
H A D | iommu.h | 110 * @code: response code from &enum iommu_page_response_code 115 u32 code; member in struct:iommu_page_response 759 * to retrieve the iommu_device for a device, which the core code
|
H A D | bpf.h | 940 return insn->code == (BPF_LD | BPF_IMM | BPF_DW); 1075 * without this indirectly calling the generated code can result in #UD/#CP, 1353 /* Called only from JIT-enabled code, so there's no need for stubs. */
|
/linux-master/fs/ext4/ |
H A D | super.c | 624 int code; member in struct:ext4_err_translation 628 #define EXT4_ERR_TRANSLATE(err) { .code = EXT4_ERR_##err, .errno = err } 655 return err_translation[i].code; 698 * We'll just use the jbd2_journal_abort() error code to record an error in 774 * ext4 error handling code during handling of previous errors. 1105 * more appropriate error code. 1352 /* Debugging code just in case the in-memory inode orphan list 1366 * hotswapped, and it breaks the `ro-after' testing code. 3244 /* old crc16 code */ 3580 * we set it to 0 to turn off stripe handling code [all...] |
H A D | ext4.h | 72 * Debug code 1140 /* quota space reservation, managed internally by quota code */ 1186 #define EXT2_FLAGS_TEST_FILESYS 0x0004 /* to test development code */ 1855 unsigned long code) 1860 if (unlikely(sbi->s_simulate_fail == code)) { 1870 unsigned long code) 1872 if (!IS_ERR(bh) && ext4_simulate_fail(sb, code)) 2567 * Special error return code only used by dx_probe() and its callers. 2622 * SEQ_FSCK (or any unknown code above SEQ_MAX) is present then it is NOT safe 1854 ext4_simulate_fail(struct super_block *sb, unsigned long code) argument 1868 ext4_simulate_fail_bh(struct super_block *sb, struct buffer_head *bh, unsigned long code) argument
|
/linux-master/drivers/iommu/intel/ |
H A D | svm.c | 542 QI_PGRP_RESP_CODE(msg->code) |
|
/linux-master/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 934 switch (resp->code) {
|
/linux-master/drivers/iommu/amd/ |
H A D | ppr.c | 246 amd_iommu_complete_ppr(dev, resp->pasid, resp->code, resp->grpid);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | pcie.c | 481 * which is code '5' (log2(4096) - 7) 595 * This code is separated out because it is expected to be removed in the 829 u16 code, u16 data) 832 (((u64)code << ASIC_PCIE_SD_INTRPT_LIST_INTRPT_CODE_SHIFT) | 857 * We redefine these shorter macros to use in the code while leaving 828 write_gasket_interrupt(struct hfi1_devdata *dd, int index, u16 code, u16 data) argument
|
/linux-master/arch/riscv/mm/ |
H A D | fault.c | 88 bad_area_nosemaphore(struct pt_regs *regs, int code, unsigned long addr) argument 96 do_trap(regs, SIGSEGV, code, addr); 104 bad_area(struct pt_regs *regs, struct mm_struct *mm, int code, argument 109 bad_area_nosemaphore(regs, code, addr); 112 static inline void vmalloc_fault(struct pt_regs *regs, int code, unsigned long addr) argument 124 return do_trap(regs, SIGSEGV, code, addr); 229 int code = SEGV_MAPERR; local 252 vmalloc_fault(regs, code, addr); 324 bad_area_nosemaphore(regs, code, addr); 332 code [all...] |
/linux-master/arch/powerpc/mm/ |
H A D | mem.c | 29 #include <asm/code-patching.h> 220 * generic DMA mapping code. 32-bit only devices (if not handled by an IOMMU
|