Home
last modified time | relevance | path

Searched refs:member_offset (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Dstruct-funcs.c13 const unsigned long member_offset = (unsigned long)ptr + off; in check_setget_bounds() local
15 if (member_offset > eb->len) { in check_setget_bounds()
18 (unsigned long)ptr, eb->start, member_offset, size); in check_setget_bounds()
21 if (member_offset + size > eb->len) { in check_setget_bounds()
24 (unsigned long)ptr, eb->start, member_offset, size); in check_setget_bounds()
59 const unsigned long member_offset = (unsigned long)ptr + off; \
60 const unsigned long idx = member_offset >> PAGE_SHIFT; \
61 const unsigned long oip = offset_in_page(member_offset); \
69 if (token->offset <= member_offset && \
70 member_offset + size <= token->offset + PAGE_SIZE) { \
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dbpf_tcp_ca.c49 static bool is_optional(u32 member_offset) in is_optional() argument
54 if (member_offset == optional_ops[i]) in is_optional()
61 static bool is_unsupported(u32 member_offset) in is_unsupported() argument
66 if (member_offset == unsupported_ops[i]) in is_unsupported()
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
Dglobal1_vtu.c159 unsigned int member_offset = (i % 4) * 4; in mv88e6185_g1_vtu_data_read() local
161 entry->member[i] = (regs[i / 4] >> member_offset) & 0x3; in mv88e6185_g1_vtu_data_read()
196 unsigned int member_offset = (i % 4) * 4; in mv88e6185_g1_vtu_data_write() local
197 unsigned int state_offset = member_offset + 2; in mv88e6185_g1_vtu_data_write()
199 regs[i / 4] |= (entry->member[i] & 0x3) << member_offset; in mv88e6185_g1_vtu_data_write()
/kernel/linux/linux-5.10/kernel/bpf/
Dbtf.c3032 u32 member_offset, bitfield_size; in __btf_struct_show() local
3038 member_offset = btf_member_bit_offset(t, member); in __btf_struct_show()
3040 bytes_offset = BITS_ROUNDDOWN_BYTES(member_offset); in __btf_struct_show()
3041 bits8_offset = BITS_PER_BYTE_MASKED(member_offset); in __btf_struct_show()