Searched refs:OBJ_FIELD (Results 1 – 1 of 1) sorted by relevance
/net/core/ |
D | filter.c | 9507 #define SOCK_OPS_GET_FIELD(BPF_FIELD, OBJ_FIELD, OBJ) \ in sock_ops_convert_ctx_access() argument 9510 BUILD_BUG_ON(sizeof_field(OBJ, OBJ_FIELD) > \ in sock_ops_convert_ctx_access() 9539 OBJ_FIELD), \ in sock_ops_convert_ctx_access() 9541 offsetof(OBJ, OBJ_FIELD)); \ in sock_ops_convert_ctx_access() 9599 #define SOCK_OPS_SET_FIELD(BPF_FIELD, OBJ_FIELD, OBJ) \ in sock_ops_convert_ctx_access() argument 9602 BUILD_BUG_ON(sizeof_field(OBJ, OBJ_FIELD) > \ in sock_ops_convert_ctx_access() 9622 *insn++ = BPF_STX_MEM(BPF_FIELD_SIZEOF(OBJ, OBJ_FIELD), \ in sock_ops_convert_ctx_access() 9624 offsetof(OBJ, OBJ_FIELD)); \ in sock_ops_convert_ctx_access() 9630 #define SOCK_OPS_GET_OR_SET_FIELD(BPF_FIELD, OBJ_FIELD, OBJ, TYPE) \ in sock_ops_convert_ctx_access() argument 9633 SOCK_OPS_SET_FIELD(BPF_FIELD, OBJ_FIELD, OBJ); \ in sock_ops_convert_ctx_access() [all …]
|