Searched refs:ptr_to_u64 (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/samples/bpf/ |
D | libbpf.c | 16 static __u64 ptr_to_u64(void *ptr) in ptr_to_u64() function 38 .key = ptr_to_u64(key), in bpf_update_elem() 39 .value = ptr_to_u64(value), in bpf_update_elem() 50 .key = ptr_to_u64(key), in bpf_lookup_elem() 51 .value = ptr_to_u64(value), in bpf_lookup_elem() 61 .key = ptr_to_u64(key), in bpf_delete_elem() 71 .key = ptr_to_u64(key), in bpf_get_next_key() 72 .next_key = ptr_to_u64(next_key), in bpf_get_next_key() 88 .insns = ptr_to_u64((void *) insns), in bpf_prog_load() 90 .license = ptr_to_u64((void *) license), in bpf_prog_load() [all …]
|
/linux-4.1.27/fs/btrfs/ |
D | qgroup.c | 102 #define ptr_to_u64(x) ((u64)(uintptr_t)x) macro 1039 ptr_to_u64(glist->group), GFP_ATOMIC); in __qgroup_excl_accounting() 1060 ptr_to_u64(glist->group), GFP_ATOMIC); in __qgroup_excl_accounting() 1594 ret = ulist_add(qgroups, qg->qgroupid, ptr_to_u64(qg), in qgroup_calc_old_refcnt() 1598 ret = ulist_add(tmp, qg->qgroupid, ptr_to_u64(qg), GFP_ATOMIC); in qgroup_calc_old_refcnt() 1631 ptr_to_u64(glist->group), in qgroup_calc_old_refcnt() 1636 ptr_to_u64(glist->group), in qgroup_calc_old_refcnt() 1686 ret = ulist_add(qgroups, qg->qgroupid, ptr_to_u64(qg), in qgroup_account_deleted_refs() 1702 ret = ulist_add(tmp, qg->qgroupid, ptr_to_u64(qg), in qgroup_account_deleted_refs() 1732 ptr_to_u64(glist->group), GFP_ATOMIC); in qgroup_account_deleted_refs() [all …]
|