/linux/fs/bcachefs/ |
H A D | super-io.c | 119 vstruct_for_each(sb, f) in bch2_sb_field_get_id() 120 if (le32_to_cpu(f->type) == type) in bch2_sb_field_get_id() 121 return f; in bch2_sb_field_get_id() 126 struct bch_sb_field *f, in __bch2_sb_field_resize() argument 129 unsigned old_u64s = f ? le32_to_cpu(f->u64s) : 0; in __bch2_sb_field_resize() 134 if (!f && !u64s) { in __bch2_sb_field_resize() 136 } else if (!f) { in __bch2_sb_field_resize() 137 f = vstruct_last(sb->sb); in __bch2_sb_field_resize() 138 memset(f, 0, sizeof(u64) * u64s); in __bch2_sb_field_resize() 139 f->u64s = cpu_to_le32(u64s); in __bch2_sb_field_resize() [all …]
|
/linux/tools/testing/selftests/ |
H A D | kselftest_harness.h | 888 static inline void __register_fixture(struct __fixture_metadata *f) in __register_fixture() argument 890 __LIST_APPEND(__fixture_list, f); in __register_fixture() 901 __register_fixture_variant(struct __fixture_metadata *f, in __register_fixture_variant() argument 904 __LIST_APPEND(f->variant, variant); in __register_fixture_variant() 1065 struct __fixture_metadata *f; in test_harness_list_tests() local 1068 for (f = __fixture_list; f; f = f->next) { in test_harness_list_tests() 1069 v = f->variant; in test_harness_list_tests() 1070 t = f->tests; in test_harness_list_tests() 1072 if (f == __fixture_list) in test_harness_list_tests() 1080 t == f->tests ? f->name : "", in test_harness_list_tests() [all …]
|
/linux/drivers/md/bcache/ |
H A D | features.c | 27 struct feature *f; \ 30 for (f = &feature_list[0]; f->compat != 0; f++) { \ 31 if (f->compat != BCH_FEATURE_ ## type) \ 33 if (BCH_HAS_ ## type ## _FEATURE(&c->cache->sb, f->mask)) { \ 45 out += snprintf(out, buf + size - out, "%s", f->string);\ 47 if (BCH_HAS_ ## type ## _FEATURE(&c->cache->sb, f->mask)) \
|
/linux/arch/m68k/math-emu/ |
H A D | fp_movem.S | 53 jne 1f 55 jra 2f 60 jra 2f 68 jne 1f 70 jra 2f 73 jeq 1f 75 jra 2f 114 jmp ([0f:w,%pc,%d0*4]) 136 jne 1f 140 jne 4f [all …]
|
/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-video.c | 1015 struct v4l2_format *f) in saa7134_try_get_set_fmt_vbi_cap() argument 1020 memset(&f->fmt.vbi.reserved, 0, sizeof(f->fmt.vbi.reserved)); in saa7134_try_get_set_fmt_vbi_cap() 1021 f->fmt.vbi.sampling_rate = 6750000 * 4; in saa7134_try_get_set_fmt_vbi_cap() 1022 f->fmt.vbi.samples_per_line = 2048 /* VBI_LINE_LENGTH */; in saa7134_try_get_set_fmt_vbi_cap() 1023 f->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY; in saa7134_try_get_set_fmt_vbi_cap() 1024 f->fmt.vbi.offset = 64 * 4; in saa7134_try_get_set_fmt_vbi_cap() 1025 f->fmt.vbi.start[0] = norm->vbi_v_start_0; in saa7134_try_get_set_fmt_vbi_cap() 1026 f->fmt.vbi.count[0] = norm->vbi_v_stop_0 - norm->vbi_v_start_0 +1; in saa7134_try_get_set_fmt_vbi_cap() 1027 f->fmt.vbi.start[1] = norm->vbi_v_start_1; in saa7134_try_get_set_fmt_vbi_cap() 1028 f->fmt.vbi.count[1] = f->fmt.vbi.count[0]; in saa7134_try_get_set_fmt_vbi_cap() [all …]
|
/linux/drivers/usb/gadget/function/ |
H A D | f_eem.c | 38 static inline struct f_eem *func_to_eem(struct usb_function *f) in func_to_eem() argument 40 return container_of(f, struct f_eem, port.func); in func_to_eem() 171 static int eem_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in eem_setup() argument 173 struct usb_composite_dev *cdev = f->config->cdev; in eem_setup() 187 static int eem_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in eem_set_alt() argument 189 struct f_eem *eem = func_to_eem(f); in eem_set_alt() 190 struct usb_composite_dev *cdev = f->config->cdev; in eem_set_alt() 203 if (config_ep_by_speed(cdev->gadget, f, in eem_set_alt() 205 config_ep_by_speed(cdev->gadget, f, in eem_set_alt() 230 static void eem_disable(struct usb_function *f) in eem_disable() argument [all …]
|
H A D | f_acm.c | 65 static inline struct f_acm *func_to_acm(struct usb_function *f) in func_to_acm() argument 67 return container_of(f, struct f_acm, port.func); in func_to_acm() 329 static int acm_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in acm_setup() argument 331 struct f_acm *acm = func_to_acm(f); in acm_setup() 332 struct usb_composite_dev *cdev = f->config->cdev; in acm_setup() 421 static int acm_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in acm_set_alt() argument 423 struct f_acm *acm = func_to_acm(f); in acm_set_alt() 424 struct usb_composite_dev *cdev = f->config->cdev; in acm_set_alt() 436 if (config_ep_by_speed(cdev->gadget, f, acm->notify)) in acm_set_alt() 450 if (config_ep_by_speed(cdev->gadget, f, in acm_set_alt() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_geneve.c | 23 struct flow_cls_offload *f) in mlx5e_tc_tun_check_udp_dport_geneve() argument 25 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_check_udp_dport_geneve() 26 struct netlink_ext_ack *extack = f->common.extack; in mlx5e_tc_tun_check_udp_dport_geneve() 51 struct flow_cls_offload *f, in mlx5e_tc_tun_parse_udp_ports_geneve() argument 57 err = mlx5e_tc_tun_parse_udp_ports(priv, spec, f, headers_c, headers_v); in mlx5e_tc_tun_parse_udp_ports_geneve() 61 return mlx5e_tc_tun_check_udp_dport_geneve(priv, f); in mlx5e_tc_tun_parse_udp_ports_geneve() 126 struct flow_cls_offload *f) in mlx5e_tc_tun_parse_geneve_vni() argument 128 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse_geneve_vni() 129 struct netlink_ext_ack *extack = f->common.extack; in mlx5e_tc_tun_parse_geneve_vni() 158 struct flow_cls_offload *f) in mlx5e_tc_tun_parse_geneve_options() argument [all …]
|
/linux/arch/powerpc/lib/ |
H A D | checksum_32.S | 29 beq 3f /* if we're doing < 4 bytes */ 31 beq+ 1f 37 beq 3f 39 beq 21f 45 beq 3f 54 bdz 23f 66 beq+ 4f 71 beq+ 5f 132 beq 58f 135 blt 63f /* if not much to do */ [all …]
|
/linux/arch/xtensa/lib/ |
H A D | strncpy_user.S | 69 EX(11f) l8ui a9, a3, 0 # get byte 0 71 EX(10f) s8i a9, a11, 0 # store byte 0 79 EX(11f) l8ui a9, a3, 0 # get byte 0 81 EX(10f) s8i a9, a11, 0 # store byte 0 86 EX(11f) l8ui a9, a3, 1 # get byte 0 88 EX(10f) s8i a9, a11, 0 # store byte 0 111 EX(11f) l32i a9, a3, 0 # get word from src 116 EX(10f) s32i a9, a11, 0 # store word to dst 126 EX(11f) l16ui a9, a3, 0 135 EX(10f) s16i a9, a11, 0 [all …]
|
H A D | memset.S | 68 EX(10f) s32i a3, a5, 0 69 EX(10f) s32i a3, a5, 4 70 EX(10f) s32i a3, a5, 8 71 EX(10f) s32i a3, a5, 12 79 EX(10f) s32i a3, a5, 0 80 EX(10f) s32i a3, a5, 4 85 EX(10f) s32i a3, a5, 0 90 EX(10f) s16i a3, a5, 0 95 EX(10f) s8i a3, a5, 0 109 EX(10f) s8i a3, a5, 0 [all …]
|
/linux/fs/ |
H A D | backing-file.c | 36 struct file *f; in backing_file_open() local 39 f = alloc_empty_backing_file(flags, cred); in backing_file_open() 40 if (IS_ERR(f)) in backing_file_open() 41 return f; in backing_file_open() 44 backing_file_set_user_path(f, user_path); in backing_file_open() 45 error = vfs_open(real_path, f); in backing_file_open() 47 fput(f); in backing_file_open() 48 f = ERR_PTR(error); in backing_file_open() 51 return f; in backing_file_open() 60 struct file *f; in backing_tmpfile_open() local [all …]
|
/linux/arch/powerpc/kernel/vdso/ |
H A D | sigtramp64.S | 48 .uleb128 9f - 1f; /* length */ \ 61 .uleb128 9f - 1f; /* length */ \ 77 .uleb128 9f - 1f; /* length */ \ 108 .uleb128 9f - 1f; /* length */ \ 111 .byte 0x2f; .short 2b - 9f; /* DW_OP_skip */ \ 119 .uleb128 9f - 1f; /* length */ \ 122 .byte 0x2f; .short 3b - 9f; /* DW_OP_skip */ \ 129 .uleb128 9f - 1f; /* length */ \
|
/linux/tools/testing/selftests/arm64/mte/ |
H A D | check_ksm_options.c | 28 FILE *f; in read_sysfs() local 31 f = fopen(str, "r"); in read_sysfs() 32 if (!f) { in read_sysfs() 36 if (fscanf(f, "%lu", &val) != 1) { in read_sysfs() 40 fclose(f); in read_sysfs() 46 FILE *f; in write_sysfs() local 48 f = fopen(str, "w"); in write_sysfs() 49 if (!f) { in write_sysfs() 53 fprintf(f, "%lu", val); in write_sysfs() 54 fclose(f); in write_sysfs()
|
/linux/arch/riscv/lib/ |
H A D | strncmp.S | 28 beq a2, t2, 2f 33 bne t0, t1, 3f 73 bnez t2, 3f 81 bge a0, t6, 3f 85 bne t3, t5, 2f 87 bne t3, t5, 2f 112 bne t0, t1, 3f 121 bge a0, t4, 5f 126 bne t0, t1, 4f
|
/linux/tools/testing/selftests/bpf/ |
H A D | veristat.c | 499 struct filter *f; in should_process_file_prog() local 503 f = &env.deny_filters[i]; in should_process_file_prog() 504 if (f->kind != FILTER_NAME) in should_process_file_prog() 507 if (f->any_glob && glob_matches(filename, f->any_glob)) in should_process_file_prog() 509 if (f->any_glob && prog_name && glob_matches(prog_name, f->any_glob)) in should_process_file_prog() 511 if (f->file_glob && glob_matches(filename, f->file_glob)) in should_process_file_prog() 513 if (f->prog_glob && prog_name && glob_matches(prog_name, f->prog_glob)) in should_process_file_prog() 518 f = &env.allow_filters[i]; in should_process_file_prog() 519 if (f->kind != FILTER_NAME) in should_process_file_prog() 523 if (f->any_glob) { in should_process_file_prog() [all …]
|
/linux/rust/kernel/alloc/kvec/ |
H A D | errors.rs | 12 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() 13 write!(f, "Not enough capacity") in fmt() 29 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() 30 write!(f, "Index out of bounds") in fmt() 49 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() 51 InsertError::IndexOutOfBounds(_) => write!(f, "Index out of bounds"), in fmt() 52 InsertError::OutOfCapacity(_) => write!(f, "Not enough capacity"), in fmt()
|
/linux/arch/powerpc/mm/book3s32/ |
H A D | hash_low.S | 56 b 10f 72 blt+ 112f /* assume user more likely */ 208 bne- 11f 210 beq+ 12f 232 bne 9f /* if HASHPTE already set, done */ 321 bge- 1f /* Kernelspace ? Skip */ 339 patch_site 0f, patch__hash_page_A0 340 patch_site 1f, patch__hash_page_A1 341 patch_site 2f, patch__hash_page_A2 354 beq+ 10f /* no PTE: go look for an empty slot */ [all …]
|
/linux/include/linux/mmc/ |
H A D | sdio_func.h | 62 #define sdio_func_present(f) ((f)->state & SDIO_STATE_PRESENT) argument 64 #define sdio_func_set_present(f) ((f)->state |= SDIO_STATE_PRESENT) argument 66 #define sdio_func_id(f) (dev_name(&(f)->dev)) argument 68 #define sdio_get_drvdata(f) dev_get_drvdata(&(f)->dev) argument 69 #define sdio_set_drvdata(f,d) dev_set_drvdata(&(f)->dev, d) argument
|
/linux/arch/powerpc/crypto/ |
H A D | curve25519-ppc64le-core.c | 24 asmlinkage void x25519_fe51_mul(fe51 h, const fe51 f, const fe51 g); 25 asmlinkage void x25519_fe51_sqr(fe51 h, const fe51 f); 26 asmlinkage void x25519_fe51_mul121666(fe51 h, fe51 f); 27 asmlinkage void x25519_fe51_sqr_times(fe51 h, const fe51 f, int n); 37 static void fadd(fe51 h, const fe51 f, const fe51 g) in fadd() argument 39 h[0] = f[0] + g[0]; in fadd() 40 h[1] = f[1] + g[1]; in fadd() 41 h[2] = f[2] + g[2]; in fadd() 42 h[3] = f[3] + g[3]; in fadd() 43 h[4] = f[4] + g[4]; in fadd() [all …]
|
/linux/arch/sh/kernel/ |
H A D | head_32.S | 59 mov.l 1f, r0 ! MD=1, RB=0, BL=0, IMASK=0xF 78 PREFI(5f, r0) 79 PREFI(6f, r0) 82 mov.l 2f, r0 85 mov.l 7f, r0 224 bt 9999f; \ 288 mov.l 6f, r0 302 mov.l 3f, r0 304 bt 10f 307 mov.l 3f, r1 [all …]
|
/linux/drivers/scsi/mpt3sas/mpi/ |
H A D | mpi2.h | 1095 #define MPI2_SGE_SET_FLAGS(f) ((U32)(f) << MPI2_SGE_FLAGS_SHIFT) argument 1096 #define MPI2_SGE_GET_FLAGS(f) (((f) & ~MPI2_SGE_LENGTH_MASK) >> \ argument 1098 #define MPI2_SGE_LENGTH(f) ((f) & MPI2_SGE_LENGTH_MASK) argument 1099 #define MPI2_SGE_CHAIN_LENGTH(f) ((f) & MPI2_SGE_CHAIN_LENGTH_MASK) argument 1101 #define MPI2_SGE_SET_FLAGS_LENGTH(f, l) (MPI2_SGE_SET_FLAGS(f) | \ argument 1106 #define MPI2_pSGE_SET_FLAGS_LENGTH(psg, f, l) ((psg)->FlagsLength = \ argument 1107 MPI2_SGE_SET_FLAGS_LENGTH(f, l)) 1110 #define MPI2_pSGE_SET_FLAGS(psg, f) ((psg)->FlagsLength |= \ argument 1111 MPI2_SGE_SET_FLAGS(f)) 1247 #define MPI2_IEEE32_SGE_SET_FLAGS(f) ((U32)(f) << MPI2_IEEE32_SGE_FLAGS_SHIFT) argument [all …]
|
/linux/kernel/irq/ |
H A D | debug.h | 6 #define ___P(f) if (desc->status_use_accessors & f) printk("%14s set\n", #f) argument 7 #define ___PS(f) if (desc->istate & f) printk("%14s set\n", #f) argument 9 #define ___PD(f) do { } while (0) argument
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | runl.h | 40 #define ENGN_PRINT(e,l,p,f,a...) \ argument 41 RUNL_PRINT((e)->runl, l, p, "%02d[%8s]:"f, (e)->id, (e)->engine->subdev.name, ##a) 42 #define ENGN_DEBUG(e,f,a...) ENGN_PRINT((e), DEBUG, info, " "f"\n", ##a) argument 132 #define RUNL_PRINT(r,l,p,f,a...) \ argument 133 nvkm_printk__(&(r)->fifo->engine.subdev, NV_DBG_##l, p, "%06x:"f, (r)->addr, ##a) 134 #define RUNL_ERROR(r,f,a...) RUNL_PRINT((r), ERROR, err, " "f"\n", ##a) argument 135 #define RUNL_DEBUG(r,f,a...) RUNL_PRINT((r), DEBUG, info, " "f"\n", ##a) argument 136 #define RUNL_TRACE(r,f,a...) RUNL_PRINT((r), TRACE, info, " "f"\n", ##a) argument
|
/linux/drivers/staging/most/video/ |
H A D | video.c | 216 static void comp_set_format_struct(struct v4l2_format *f) in comp_set_format_struct() argument 218 f->fmt.pix.width = 8; in comp_set_format_struct() 219 f->fmt.pix.height = 8; in comp_set_format_struct() 220 f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; in comp_set_format_struct() 221 f->fmt.pix.bytesperline = 0; in comp_set_format_struct() 222 f->fmt.pix.sizeimage = 188 * 2; in comp_set_format_struct() 223 f->fmt.pix.colorspace = V4L2_COLORSPACE_REC709; in comp_set_format_struct() 224 f->fmt.pix.field = V4L2_FIELD_NONE; in comp_set_format_struct() 225 f->fmt.pix.priv = 0; in comp_set_format_struct() 256 struct v4l2_fmtdesc *f) in vidioc_enum_fmt_vid_cap() argument [all …]
|