Searched refs:member_offset (Results 1 – 4 of 4) sorted by relevance
13 const unsigned long member_offset = (unsigned long)ptr + off; in check_setget_bounds() local15 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 …]
49 static bool is_optional(u32 member_offset) in is_optional() argument54 if (member_offset == optional_ops[i]) in is_optional()61 static bool is_unsupported(u32 member_offset) in is_unsupported() argument66 if (member_offset == unsupported_ops[i]) in is_unsupported()
159 unsigned int member_offset = (i % 4) * 4; in mv88e6185_g1_vtu_data_read() local161 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() local197 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()
3032 u32 member_offset, bitfield_size; in __btf_struct_show() local3038 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()