Searched refs:field_sz (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | ctx_rewrite.c | 37 int field_sz; member 65 .field_sz = sizeof(typeof(((type *)NULL)->field)) 294 int field_sz = matches[2].rm_eo - matches[2].rm_so; in find_field_offset() local 306 if (field_sz >= sizeof(field_str)) { in find_field_offset() 307 PRINT_FAIL("Malformed pattern: field ident is too long: %d\n", field_sz); in find_field_offset() 312 strncpy(field_str, field, field_sz); in find_field_offset() 713 switch (test->field_sz) { in run_one_testcase() 727 PRINT_FAIL("Unexpected field size: %d, want 8,4,2 or 1\n", test->field_sz); in run_one_testcase()
|
/linux-6.12.1/tools/lib/bpf/ |
D | relo_core.c | 681 __u64 *val, __u32 *field_sz, __u32 *type_id, in bpf_core_calc_field_relo() argument 692 *field_sz = 0; in bpf_core_calc_field_relo() 713 *field_sz = sz; in bpf_core_calc_field_relo() 770 *field_sz = byte_sz; in bpf_core_calc_field_relo()
|
/linux-6.12.1/drivers/net/phy/ |
D | micrel.c | 1033 u16 reg, size_t field_sz, in ksz9031_of_load_skew_values() argument 1058 maxval = (field_sz == 4) ? 0xf : 0x1f; in ksz9031_of_load_skew_values() 1062 mask ^= maxval << (field_sz * i); in ksz9031_of_load_skew_values() 1065 << (field_sz * i)); in ksz9031_of_load_skew_values() 1263 u16 reg, size_t field_sz, in ksz9131_of_load_skew_values() argument 1276 if (field_sz == 5) in ksz9131_of_load_skew_values() 1300 maxval = (field_sz == 4) ? 0xf : 0x1f; in ksz9131_of_load_skew_values() 1304 mask ^= maxval << (field_sz * i); in ksz9131_of_load_skew_values() 1307 << (field_sz * i)); in ksz9131_of_load_skew_values()
|