Searched refs:byte_sz (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/mmc/core/ ! |
D | sdio_io.c | 236 unsigned int blk_sz, byte_sz; in sdio_align_size() local 281 byte_sz = _sdio_align_size(sz % func->cur_blksize); in sdio_align_size() 282 if (byte_sz <= sdio_max_byte_size(func)) { in sdio_align_size() 284 return blk_sz * func->cur_blksize + byte_sz; in sdio_align_size() 296 byte_sz = orig_sz % chunk_sz; in sdio_align_size() 297 if (byte_sz) { in sdio_align_size() 298 byte_sz = _sdio_align_size(byte_sz); in sdio_align_size() 301 return (orig_sz / chunk_sz) * chunk_sz + byte_sz; in sdio_align_size()
|
/linux-6.1.9/tools/lib/bpf/ ! |
D | relo_core.c | 686 __u32 byte_off, byte_sz, bit_off, bit_sz, field_type_id; in bpf_core_calc_field_relo() local 737 byte_sz = mt->size; in bpf_core_calc_field_relo() 738 byte_off = bit_off / 8 / byte_sz * byte_sz; in bpf_core_calc_field_relo() 740 while (bit_off + bit_sz - byte_off * 8 > byte_sz * 8) { in bpf_core_calc_field_relo() 741 if (byte_sz >= 8) { in bpf_core_calc_field_relo() 747 byte_sz *= 2; in bpf_core_calc_field_relo() 748 byte_off = bit_off / 8 / byte_sz * byte_sz; in bpf_core_calc_field_relo() 754 byte_sz = sz; in bpf_core_calc_field_relo() 756 bit_sz = byte_sz * 8; in bpf_core_calc_field_relo() 770 *field_sz = byte_sz; in bpf_core_calc_field_relo() [all …]
|
D | btf.c | 1744 int btf__add_int(struct btf *btf, const char *name, size_t byte_sz, int encoding) in btf__add_int() argument 1753 if (!byte_sz || (byte_sz & (byte_sz - 1)) || byte_sz > 16) in btf__add_int() 1777 t->size = byte_sz; in btf__add_int() 1779 *(__u32 *)(t + 1) = (encoding << 24) | (byte_sz * 8); in btf__add_int() 1792 int btf__add_float(struct btf *btf, const char *name, size_t byte_sz) in btf__add_float() argument 1802 if (byte_sz != 2 && byte_sz != 4 && byte_sz != 8 && byte_sz != 12 && in btf__add_float() 1803 byte_sz != 16) in btf__add_float() 1820 t->size = byte_sz; in btf__add_float() 1958 int btf__add_struct(struct btf *btf, const char *name, __u32 byte_sz) in btf__add_struct() argument 1960 return btf_add_composite(btf, BTF_KIND_STRUCT, name, byte_sz); in btf__add_struct() [all …]
|
D | btf.h | 176 LIBBPF_API int btf__add_int(struct btf *btf, const char *name, size_t byte_sz, int encoding); 177 LIBBPF_API int btf__add_float(struct btf *btf, const char *name, size_t byte_sz); 214 LIBBPF_API int btf__add_datasec(struct btf *btf, const char *name, __u32 byte_sz); 216 __u32 offset, __u32 byte_sz);
|