Home
last modified time | relevance | path

Searched refs:lctx (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dlocal_storage_bench.c51 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 in get_local()
[all...]
/kernel/linux/linux-6.6/fs/smb/server/
H A Doplock.c92 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()
427 * @lctx
431 grant_write_oplock(struct oplock_info *opinfo_new, int req_oplock, struct lease_ctx_info *lctx) grant_write_oplock() argument
454 grant_read_oplock(struct oplock_info *opinfo_new, struct lease_ctx_info *lctx) grant_read_oplock() argument
476 grant_none_oplock(struct oplock_info *opinfo_new, struct lease_ctx_info *lctx) grant_none_oplock() argument
512 same_client_has_lease(struct ksmbd_inode *ci, char *client_guid, struct lease_ctx_info *lctx) same_client_has_lease() argument
979 find_same_lease_key(struct ksmbd_session *sess, struct ksmbd_inode *ci, struct lease_ctx_info *lctx) find_same_lease_key() argument
1077 set_oplock_level(struct oplock_info *opinfo, int level, struct lease_ctx_info *lctx) set_oplock_level() argument
1094 smb_send_parent_lease_break_noti(struct ksmbd_file *fp, struct lease_ctx_info *lctx) smb_send_parent_lease_break_noti() argument
1189 smb_grant_oplock(struct ksmbd_work *work, int req_op_level, u64 pid, struct ksmbd_file *fp, __u16 tid, struct lease_ctx_info *lctx, int share_ret) smb_grant_oplock() argument
[all...]
H A Doplock.h100 struct lease_ctx_info *lctx, int share_ret);
128 struct lease_ctx_info *lctx);
131 struct lease_ctx_info *lctx);

Completed in 3 milliseconds