Searched refs:cmparg (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/kernel/futex/ |
D | waitwake.c | 193 int cmparg = sign_extend32(encoded_op & 0x00000fff, 11); in futex_atomic_op_inuser() local 218 return oldval == cmparg; in futex_atomic_op_inuser() 220 return oldval != cmparg; in futex_atomic_op_inuser() 222 return oldval < cmparg; in futex_atomic_op_inuser() 224 return oldval >= cmparg; in futex_atomic_op_inuser() 226 return oldval <= cmparg; in futex_atomic_op_inuser() 228 return oldval > cmparg; in futex_atomic_op_inuser()
|
/linux-6.6.21/include/uapi/linux/ |
D | futex.h | 176 #define FUTEX_OP(op, oparg, cmp, cmparg) \ argument 178 | ((oparg & 0xfff) << 12) | (cmparg & 0xfff))
|
/linux-6.6.21/include/linux/ |
D | mroute.h | 87 struct mfc_cache_cmp_arg cmparg; member
|
D | mroute6.h | 90 struct mfc6_cache_cmp_arg cmparg; member
|
/linux-6.6.21/net/ipv6/ |
D | ip6mr.c | 347 const struct mfc6_cache_cmp_arg *cmparg = arg->key; in ip6mr_hash_cmp() local 350 return !ipv6_addr_equal(&c->mf6c_mcastgrp, &cmparg->mf6c_mcastgrp) || in ip6mr_hash_cmp() 351 !ipv6_addr_equal(&c->mf6c_origin, &cmparg->mf6c_origin); in ip6mr_hash_cmp() 356 .key_offset = offsetof(struct mfc6_cache, cmparg), 1476 err = rhltable_insert_key(&mrt->mfc_hash, &c->cmparg, &c->_c.mnode, in ip6mr_mfc_add()
|
/linux-6.6.21/net/ipv4/ |
D | ipmr.c | 363 const struct mfc_cache_cmp_arg *cmparg = arg->key; in ipmr_hash_cmp() local 366 return cmparg->mfc_mcastgrp != c->mfc_mcastgrp || in ipmr_hash_cmp() 367 cmparg->mfc_origin != c->mfc_origin; in ipmr_hash_cmp() 372 .key_offset = offsetof(struct mfc_cache, cmparg), 1241 ret = rhltable_insert_key(&mrt->mfc_hash, &c->cmparg, &c->_c.mnode, in ipmr_mfc_add()
|