Searched refs:lctx (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | local_storage_bench.c | 51 static int do_lookup(unsigned int elem, struct loop_ctx *lctx) in do_lookup() argument 69 bpf_task_storage_get(inner_map, lctx->task, &idx, in do_lookup() 73 lctx->loop_hits++; in do_lookup() 75 lctx->loop_important_hits++; in do_lookup() 81 struct loop_ctx *lctx = (struct loop_ctx *)ctx; in loop() local 84 do_lookup(map_idx, lctx); in loop() 86 do_lookup(0, lctx); in loop() 93 struct loop_ctx lctx; in get_local() local 95 lctx.task = bpf_get_current_task_btf(); in get_local() 96 lctx.loop_hits = 0; in get_local() [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | oplock.c | 92 static int alloc_lease(struct oplock_info *opinfo, struct lease_ctx_info *lctx) in alloc_lease() argument 100 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease() 101 lease->state = lctx->req_state; in alloc_lease() 103 lease->flags = lctx->flags; in alloc_lease() 104 lease->duration = lctx->duration; in alloc_lease() 105 lease->is_dir = lctx->is_dir; in alloc_lease() 106 memcpy(lease->parent_lease_key, lctx->parent_lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease() 107 lease->version = lctx->version; in alloc_lease() 108 lease->epoch = le16_to_cpu(lctx->epoch) + 1; in alloc_lease() 418 struct lease_ctx_info *lctx) in grant_write_oplock() argument [all …]
|
H A D | oplock.h | 99 struct lease_ctx_info *lctx, int share_ret); 127 struct lease_ctx_info *lctx); 130 struct lease_ctx_info *lctx); 135 struct lease_ctx_info *lctx,
|
/openbmc/google-misc/subprojects/libcr51sign/src/ |
H A D | libcr51sign_support.c | 133 struct libcr51sign_ctx* lctx = (struct libcr51sign_ctx*)ctx; in verify_signature() local 134 FILE* fp = fopen(lctx->keyring, "r"); in verify_signature()
|