/linux/Documentation/userspace-api/ioctl/ |
H A D | ioctl-number.rst | 49 (1) Keeping the ioctl's globally unique helps error checking: 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! 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 85 0x10 20-2F arch/s390/include/uapi/asm/hypfs.h 93 0x3E 00-0F linux/counter.h <mailto:linux-iio@vger.kernel.… [all …]
|
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | busy_loop.S | 85 0: addi r3, r3, 1 89 /* Return 1 (fail) unless we get through all the checks */ 90 li r3, 1 94 bne 1f 96 bne 1f 98 bne 1f 100 bne 1f 102 bne 1f 104 bne 1f 106 bne 1f [all …]
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-yuv.c | 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() 128 if (f->offset_y && yi->blanking_dmaptr) { in ivtv_yuv_prep_user_dma() 136 dma->SGarray[dma->SG_length - 1].size |= cpu_to_le32(0x80000000); in ivtv_yuv_prep_user_dma() 151 return -1; in ivtv_yuv_filter_check() 161 /* If any filter is -1, then don't update it */ in ivtv_yuv_filter() 162 if (h_filter > -1) { in ivtv_yuv_filter() 188 if (v_filter_1 > -1) { in ivtv_yuv_filter() 202 if (v_filter_2 > -1) { in ivtv_yuv_filter() [all …]
|
/linux/tools/testing/selftests/ftrace/test.d/dynevent/ |
H A D | fprobe_syntax_errors.tc | 4 # requires: dynamic_events "f[:[<group>/][<event>]] <func-name>[%return] [<args>]":README 7 ftrace_errlog_check 'trace_fprobe' "$1" 'dynamic_events' 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 26 check_error 'f:^12345678901234567890123456789012345678901234567890123456789012345/bar vfs_read' # G… 28 check_error 'f:^foo.1/bar vfs_read' # BAD_GROUP_NAME [all …]
|
/linux/arch/m68k/math-emu/ |
H A D | fp_cond.S | 9 * 1. Redistributions of source code must retain the above copyright 57 jra 1f 66 1: printf PDECODE,"%x",1,%a0 71 jeq 1f 72 fp_put_pc %a0,1 73 1: printf PDECODE,"\n" 85 jne 2f 88 subq.w #1,%d0 89 jcs 1f 90 fp_put_pc %a1,1 [all …]
|
/linux/tools/testing/selftests/powerpc/switch_endian/ |
H A D | check.S | 15 bne 1f 18 bne 1f 25 bne 1f 29 bne 1f 32 bne 1f 35 bne 1f 38 bne 1f 41 bne 1f 44 bne 1f 47 bne 1f [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() 93 struct ulptx_idata *sc = (struct ulptx_idata *)(txpkt + 1); in mk_abort_req_ulp() 108 struct ulptx_idata *sc = (struct ulptx_idata *)(txpkt + 1); in mk_abort_rpl_ulp() 120 static void mk_set_tcb_ulp(struct filter_entry *f, in mk_set_tcb_ulp() argument 126 struct ulptx_idata *sc = (struct ulptx_idata *)(txpkt + 1); in mk_set_tcb_ulp() 132 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_SET_TCB_FIELD, f->tid)); in mk_set_tcb_ulp() 138 sc = (struct ulptx_idata *)(req + 1); in mk_set_tcb_ulp() [all …]
|
/linux/tools/testing/selftests/rseq/ |
H A D | rseq-arm-bits.h | 19 RSEQ_ASM_DEFINE_TABLE(9, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER() 20 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER() 22 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in RSEQ_TEMPLATE_IDENTIFIER() 23 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER() 26 RSEQ_ASM_STORE_RSEQ_CS(1, 3f, rseq_cs) in RSEQ_TEMPLATE_IDENTIFIER() 27 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 43 "b 5f\n\t" in RSEQ_TEMPLATE_IDENTIFIER() 44 RSEQ_ASM_DEFINE_ABORT(3, 4, "", abort, 1b, 2b, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 66 return -1; in RSEQ_TEMPLATE_IDENTIFIER() 69 return 1; in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
H A D | rseq-mips-bits.h | 19 RSEQ_ASM_DEFINE_TABLE(9, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER() 20 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER() 22 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in RSEQ_TEMPLATE_IDENTIFIER() 23 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER() 26 RSEQ_ASM_STORE_RSEQ_CS(1, 3f, rseq_cs) in RSEQ_TEMPLATE_IDENTIFIER() 27 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 41 "b 5f\n\t" in RSEQ_TEMPLATE_IDENTIFIER() 42 RSEQ_ASM_DEFINE_ABORT(3, 4, "", abort, 1b, 2b, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 62 return -1; in RSEQ_TEMPLATE_IDENTIFIER() 64 return 1; in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
H A D | rseq-x86-bits.h | 21 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER() 22 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER() 24 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in RSEQ_TEMPLATE_IDENTIFIER() 25 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER() 28 RSEQ_ASM_STORE_RSEQ_CS(1, 3b, RSEQ_ASM_TP_SEGMENT:RSEQ_CS_OFFSET(%[rseq_offset])) in RSEQ_TEMPLATE_IDENTIFIER() 29 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER() 62 return -1; in RSEQ_TEMPLATE_IDENTIFIER() 65 return 1; in RSEQ_TEMPLATE_IDENTIFIER() 87 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER() 88 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
H A D | rseq-riscv-bits.h | 13 __asm__ __volatile__ goto(RSEQ_ASM_DEFINE_TABLE(1, 2f, 3f, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 14 RSEQ_ASM_DEFINE_EXIT_POINT(2f, "%l[cmpfail]") in RSEQ_TEMPLATE_IDENTIFIER() 16 RSEQ_ASM_DEFINE_EXIT_POINT(2f, "%l[error1]") in RSEQ_TEMPLATE_IDENTIFIER() 17 RSEQ_ASM_DEFINE_EXIT_POINT(2f, "%l[error2]") in RSEQ_TEMPLATE_IDENTIFIER() 19 RSEQ_ASM_STORE_RSEQ_CS(2, 1b, rseq_cs) in RSEQ_TEMPLATE_IDENTIFIER() 20 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 50 return -1; in RSEQ_TEMPLATE_IDENTIFIER() 52 return 1; in RSEQ_TEMPLATE_IDENTIFIER() 67 __asm__ __volatile__ goto(RSEQ_ASM_DEFINE_TABLE(1, 2f, 3f, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 68 RSEQ_ASM_DEFINE_EXIT_POINT(2f, "%l[cmpfail]") in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | linked_list.c | 23 private(C) struct bpf_list_head ghead_array_one[1] __contains(foo, node2); 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/spi/ |
H A D | spi-nxp-fspi.c | 11 * Single/Dual/Quad/Octal mode data transfer (1/2/4/8 bidirectional 74 #define FSPI_MCR0_MDIS BIT(1) 92 #define FSPI_MCR2_ABRRADDR BIT(1) 101 #define FSPI_AHBCR_CLRRXBUF BIT(1) 113 #define FSPI_INTEN_IPCMDGE BIT(1) 125 #define FSPI_INTR_IPCMDGE BIT(1) 199 #define FSPI_IPRXFCR_DMA_EN BIT(1) 204 #define FSPI_IPTXFCR_DMA_EN BIT(1) 210 #define FSPI_DLLACR_DLLRESET BIT(1) 216 #define FSPI_DLLBCR_DLLRESET BIT(1) [all …]
|
/linux/include/linux/ceph/ |
H A D | rados.h | 29 #define CEPH_SNAPDIR ((__u64)(-1)) /* reserved for hidden .snap dir */ 42 #define CEPH_OBJECT_LAYOUT_HASH 1 50 #define CEPH_PG_LAYOUT_HASH 1 83 #define CEPH_NOPOOL ((__u64) (-1)) /* pool id not defined */ 85 #define CEPH_POOL_TYPE_REP 1 93 * containing power of 2 minus 1. 95 * b <= bmask and bmask=(2**n)-1 103 return x & (bmask >> 1); in ceph_stable_mod() 127 #define CEPH_OSD_EXISTS (1<<0) 128 #define CEPH_OSD_UP (1<<1) [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/arch/csky/abiv2/ |
H A D | strcmp.S | 12 bnez a2, 7f 14 bnez t1, 5f 16 1: 20 /* If s1[i] != s2[i], goto 2f. */ 22 bt 2f 25 /* If at the end, goto 3f (finish comparing). */ 26 bf 3f 31 bt 2f 33 bf 3f 38 bt 2f [all …]
|
/linux/arch/xtensa/lib/ |
H A D | checksum.S | 35 bgeu sum, val, 99f ; \ 36 addi sum, sum, 1 ; \ 48 bnez a5, 8f /* branch if 2-byte aligned */ 50 1: 53 loopgtz a5, 2f 55 beqz a5, 2f 83 loopgtz a5, 3f 85 beqz a5, 3f 97 _bbci.l a3, 1, 5f /* remaining 2-byte chunk */ 102 _bbci.l a3, 0, 7f /* remaining 1-byte chunk */ [all …]
|
H A D | usercopy.S | 32 * 8B, 4B, 2B, and 1B copies conditional on the length. 36 * copying 1B and 2B and then retest. 73 bbsi.l a2, 0, .Ldst1mod2 # if dst is 1 mod 2 74 bbsi.l a2, 1, .Ldst2mod4 # if dst is 2 mod 4 92 # copy 1 byte 93 EX(10f) l8ui a6, a3, 0 94 addi a3, a3, 1 95 EX(10f) s8i a6, a5, 0 96 addi a5, a5, 1 97 addi a4, a4, -1 [all …]
|
/linux/net/netfilter/ |
H A D | nft_set_pipapo.c | 96 * group 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 98 * 1 113 * - rule #1: 192.168.1.0/24 123 * - rule #1: 192.168.1.0/24 mapping to buckets 124 * < 12 0 10 8 0 1 < 0..15 > < 0..15 > > 126 * < 12 0 10 8 0 2 0 < 0..1 > > 133 * group 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 134 * 0 0 1,2 135 * 1 1,2 0 136 * 2 0 1,2 [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/tools/testing/selftests/drivers/net/hw/ |
H A D | rss_ctx.py | 29 ksft_eq(bool(non_zero), True, comment=f"RSS key is all zero {data['rss-hash-key']}") 33 return ethtool(f"-x {cfg.ifname} context {context}", json=True)[0] 47 output = ethtool(f"{act} {cfg.ifname} {opts}").stdout 48 # Output will be something like: "New RSS context is 1" or 50 return int(output.split()[-1]) 54 features = ethtool(f"-k {cfg.ifname}", json=True)[0] 68 queue_stats = [0] * (max_q + 1) 91 ksft_ge(directed, 20000, f"traffic on {name}: " + str(cnts)) 94 f"traffic on other queues ({name})':" + str(cnts)) 97 f"traffic on inactive queues ({name}): " + str(cnts)) [all …]
|
/linux/drivers/media/test-drivers/visl/ |
H A D | visl-trace-vp9.h | 12 TP_PROTO(const struct v4l2_ctrl_vp9_frame *f), 13 TP_ARGS(f), 14 TP_STRUCT__entry(__field_struct(struct v4l2_ctrl_vp9_frame, f)), 15 TP_fast_assign(__entry->f = *f;), 49 __print_array(__entry->f.lf.ref_deltas, 50 ARRAY_SIZE(__entry->f.lf.ref_deltas), 51 sizeof(__entry->f.lf.ref_deltas[0])), 52 __print_array(__entry->f.lf.mode_deltas, 53 ARRAY_SIZE(__entry->f.lf.mode_deltas), 54 sizeof(__entry->f.lf.mode_deltas[0])), [all …]
|
/linux/scripts/dtc/ |
H A D | treesource.c | 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() 69 fprintf(f, "\\t"); in write_propval_string() [all …]
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | test_multitouch.py | 24 return 1 << x 29 "SLOT_IS_CONTACTID": BIT(1), 86 return f""" 109 input_info=(BusType.USB, 1, 2), argument 130 self.max_contacts = 1 144 physicals = [f.physical_name for f in r] 147 self.fields = [f.usage_name for f in r] 155 self.scantime += 1 179 return (1, []) 187 return (1, []) [all …]
|
/linux/arch/x86/kvm/ |
H A D | cpuid.c | 70 /* ECX[1]: 64B alignment in compacted form */ in xstate_required_size() 78 xstate_bv >>= 1; in xstate_required_size() 85 #define F feature_bit macro 91 (boot_cpu_has(X86_FEATURE_##name) ? F(name) : 0); \ 101 #define KVM_CPUID_INDEX_NOT_SIGNIFICANT -1ull 227 signature[1] = entry->ecx; in __kvm_get_hypervisor_cpuid() 299 best = cpuid_entry2_find(entries, nent, 1, KVM_CPUID_INDEX_NOT_SIGNIFICANT); in __kvm_update_cpuid_runtime() 319 best = cpuid_entry2_find(entries, nent, 0xD, 1); in __kvm_update_cpuid_runtime() 328 best->eax &= ~(1 << KVM_FEATURE_PV_UNHALT); in __kvm_update_cpuid_runtime() 390 * and can install smaller shadow pages if the host lacks 1GiB support. in kvm_vcpu_after_set_cpuid() [all …]
|