Searched refs:field_sz (Results 1 – 4 of 4) sorted by relevance
892 u16 reg, size_t field_sz, in ksz9031_of_load_skew_values() argument917 maxval = (field_sz == 4) ? 0xf : 0x1f; in ksz9031_of_load_skew_values()921 mask ^= maxval << (field_sz * i); in ksz9031_of_load_skew_values()924 << (field_sz * i)); in ksz9031_of_load_skew_values()1122 u16 reg, size_t field_sz, in ksz9131_of_load_skew_values() argument1135 if (field_sz == 5) in ksz9131_of_load_skew_values()1159 maxval = (field_sz == 4) ? 0xf : 0x1f; in ksz9131_of_load_skew_values()1163 mask ^= maxval << (field_sz * i); in ksz9131_of_load_skew_values()1166 << (field_sz * i)); in ksz9131_of_load_skew_values()
681 __u64 *val, __u32 *field_sz, __u32 *type_id, in bpf_core_calc_field_relo() argument692 *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()
199 u8 field_sz[BPF_MAP_OFF_ARR_MAX]; member318 curr_off = next_off + map->off_arr->field_sz[i]; in __copy_map_value()347 curr_off = next_off + map->off_arr->field_sz[i]; in zero_map_value()
928 sz_a = map->off_arr->field_sz + (a - off_base); in map_off_arr_swap()929 sz_b = map->off_arr->field_sz + (b - off_base); in map_off_arr_swap()958 off_arr->field_sz[i] = sizeof(struct bpf_spin_lock); in bpf_map_alloc_off_arr()965 off_arr->field_sz[i] = sizeof(struct bpf_timer); in bpf_map_alloc_off_arr()971 u8 *sz = &off_arr->field_sz[off_arr->cnt]; in bpf_map_alloc_off_arr()