Searched refs:lctx (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
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 …]
|
/linux-6.1.9/fs/ksmbd/ |
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 memcpy(lease->parent_lease_key, lctx->parent_lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease() 106 lease->version = lctx->version; in alloc_lease() 402 struct lease_ctx_info *lctx) in grant_write_oplock() argument 411 if (lctx) { in grant_write_oplock() 412 lease->state = lctx->req_state; in grant_write_oplock() [all …]
|
D | oplock.h | 97 struct lease_ctx_info *lctx, int share_ret); 125 struct lease_ctx_info *lctx);
|