Home
last modified time | relevance | path

Searched refs:owner (Results 1 - 25 of 8731) sorted by relevance

12345678910>>...350

/kernel/linux/linux-6.6/fs/btrfs/
H A Dlocking.h91 * @owner: The struct where the lockdep map is defined
99 #define btrfs_might_wait_for_event(owner, lock) \
101 rwsem_acquire(&owner->lock##_map, 0, 0, _THIS_IP_); \
102 rwsem_release(&owner->lock##_map, _THIS_IP_); \
108 * @owner: The struct where the lockdep map is defined
116 #define btrfs_lockdep_acquire(owner, lock) \
117 rwsem_acquire_read(&owner->lock##_map, 0, 0, _THIS_IP_)
123 #define btrfs_lockdep_release(owner, lock) \
124 rwsem_release(&owner->lock##_map, _THIS_IP_)
130 #define btrfs_might_wait_for_state(owner,
[all...]
/kernel/linux/linux-5.10/arch/s390/lib/
H A Dspinlock.c75 int owner; in arch_load_niai4() local
80 : "=d" (owner) : "Q" (*lock) : "memory"); in arch_load_niai4()
81 return owner; in arch_load_niai4()
120 int lockval, ix, node_id, tail_id, old, new, owner, count; in arch_spin_lock_queued() local
161 owner = arch_spin_yield_target(old, node); in arch_spin_lock_queued()
162 if (owner && arch_vcpu_is_preempted(owner - 1)) in arch_spin_lock_queued()
163 smp_yield_cpu(owner - 1); in arch_spin_lock_queued()
173 owner = arch_spin_yield_target(old, node); in arch_spin_lock_queued()
174 if (owner in arch_spin_lock_queued()
213 int lockval, old, new, owner, count; arch_spin_lock_classic() local
255 int owner, count; arch_spin_trylock_retry() local
[all...]
/kernel/linux/linux-6.6/arch/s390/lib/
H A Dspinlock.c75 int owner; in arch_load_niai4() local
80 : "=d" (owner) : "Q" (*lock) : "memory"); in arch_load_niai4()
81 return owner; in arch_load_niai4()
120 int lockval, ix, node_id, tail_id, old, new, owner, count; in arch_spin_lock_queued() local
161 owner = arch_spin_yield_target(old, node); in arch_spin_lock_queued()
162 if (owner && arch_vcpu_is_preempted(owner - 1)) in arch_spin_lock_queued()
163 smp_yield_cpu(owner - 1); in arch_spin_lock_queued()
173 owner = arch_spin_yield_target(old, node); in arch_spin_lock_queued()
174 if (owner in arch_spin_lock_queued()
213 int lockval, old, new, owner, count; arch_spin_lock_classic() local
255 int owner, count; arch_spin_trylock_retry() local
[all...]
/kernel/linux/linux-6.6/kernel/locking/
H A Drtmutex.c66 * lock->owner state tracking:
68 * lock->owner holds the task_struct pointer of the owner. Bit 0
71 * owner bit0
79 * possible when bit 0 of lock->owner is 0.
83 * we need to set the bit0 before looking at the lock, and the owner may be
88 * To prevent a cmpxchg of the owner releasing the lock, we need to
93 rt_mutex_owner_encode(struct rt_mutex_base *lock, struct task_struct *owner) in rt_mutex_owner_encode() argument
95 unsigned long val = (unsigned long)owner; in rt_mutex_owner_encode()
104 rt_mutex_set_owner(struct rt_mutex_base *lock, struct task_struct *owner) in rt_mutex_set_owner() argument
128 unsigned long owner, *p = (unsigned long *) &lock->owner; fixup_rt_mutex_waiters() local
235 unsigned long owner, *p = (unsigned long *) &lock->owner; mark_rt_mutex_waiters() local
260 struct task_struct *owner = rt_mutex_owner(lock); global() variable
1186 struct task_struct *owner = rt_mutex_owner(lock); task_blocks_on_rt_mutex() local
1457 rtmutex_spin_on_owner(struct rt_mutex_base *lock, struct rt_mutex_waiter *waiter, struct task_struct *owner) rtmutex_spin_on_owner() argument
1494 rtmutex_spin_on_owner(struct rt_mutex_base *lock, struct rt_mutex_waiter *waiter, struct task_struct *owner) rtmutex_spin_on_owner() argument
1519 struct task_struct *owner = rt_mutex_owner(lock); remove_waiter() local
1586 struct task_struct *owner; rt_mutex_slowlock_block() local
1777 struct task_struct *owner; rtlock_slowlock_locked() local
[all...]
H A Dmutex.c48 atomic_long_set(&lock->owner, 0); in __mutex_init()
60 * @owner: contains: 'struct task_struct *' to the current lock owner,
81 return (struct task_struct *)(atomic_long_read(&lock->owner) & ~MUTEX_FLAGS); in __mutex_owner()
84 static inline struct task_struct *__owner_task(unsigned long owner) in __owner_task() argument
86 return (struct task_struct *)(owner & ~MUTEX_FLAGS); in __owner_task()
95 static inline unsigned long __owner_flags(unsigned long owner) in __owner_flags() argument
97 return owner & MUTEX_FLAGS; in __owner_flags()
105 unsigned long owner, curr = (unsigned long)current; in __mutex_trylock_common() local
107 owner in __mutex_trylock_common()
233 unsigned long owner = atomic_long_read(&lock->owner); __mutex_handoff() local
352 mutex_spin_on_owner(struct mutex *lock, struct task_struct *owner, struct ww_acquire_ctx *ww_ctx, struct mutex_waiter *waiter) mutex_spin_on_owner() argument
394 struct task_struct *owner; mutex_can_spin_on_owner() local
465 struct task_struct *owner; mutex_optimistic_spin() local
905 unsigned long owner; __mutex_unlock_slowpath() local
[all...]
H A Dspinlock_debug.c28 lock->owner = SPINLOCK_OWNER_INIT; in __raw_spin_lock_init()
47 lock->owner = SPINLOCK_OWNER_INIT; in __rwlock_init()
56 struct task_struct *owner = READ_ONCE(lock->owner); in spin_dump() local
58 if (owner == SPINLOCK_OWNER_INIT) in spin_dump()
59 owner = NULL; in spin_dump()
63 printk(KERN_EMERG " lock: %pS, .magic: %08x, .owner: %s/%d, " in spin_dump()
66 owner ? owner->comm : "<none>", in spin_dump()
67 owner in spin_dump()
[all...]
H A Drwsem.c36 * The least significant 2 bits of the owner value has the following
45 * into the owner field. It is cleared after an unlock.
48 * pointer into the owner field with the RWSEM_READER_OWNED bit set.
49 * On unlock, the owner field will largely be left untouched. So
50 * for a free or reader-owned rwsem, the owner value may contain
70 WARN_ONCE(c, "DEBUG_RWSEMS_WARN_ON(%s): count = 0x%lx, magic = 0x%lx, owner = 0x%lx, curr 0x%lx, list %sempty\n",\
73 atomic_long_read(&(sem)->owner), (long)current, \
131 * All writes to owner are protected by WRITE_ONCE() to make sure that
133 * the owner value concurrently without lock. Read from owner, howeve
170 __rwsem_set_reader_owned(struct rw_semaphore *sem, struct task_struct *owner) __rwsem_set_reader_owned() argument
230 unsigned long owner = atomic_long_read(&sem->owner); rwsem_set_nonspinnable() local
284 unsigned long owner = atomic_long_read(&sem->owner); rwsem_owner_flags() local
455 struct task_struct *owner; rwsem_mark_wake() local
707 struct task_struct *owner; rwsem_can_spin_on_owner() local
735 rwsem_owner_state(struct task_struct *owner, unsigned long flags) rwsem_owner_state() argument
749 struct task_struct *new, *owner; rwsem_spin_on_owner() local
1500 __rwsem_set_reader_owned(struct rw_semaphore *sem, struct task_struct *owner) __rwsem_set_reader_owned() argument
[all...]
/kernel/linux/linux-5.10/kernel/locking/
H A Dmutex.c42 atomic_long_set(&lock->owner, 0); in __mutex_init()
54 * @owner: contains: 'struct task_struct *' to the current lock owner,
75 return (struct task_struct *)(atomic_long_read(&lock->owner) & ~MUTEX_FLAGS); in __mutex_owner()
78 static inline struct task_struct *__owner_task(unsigned long owner) in __owner_task() argument
80 return (struct task_struct *)(owner & ~MUTEX_FLAGS); in __owner_task()
99 static inline unsigned long __owner_flags(unsigned long owner) in __owner_flags() argument
101 return owner & MUTEX_FLAGS; in __owner_flags()
109 unsigned long owner, curr = (unsigned long)current; in __mutex_trylock_or_owner() local
111 owner in __mutex_trylock_or_owner()
236 unsigned long owner = atomic_long_read(&lock->owner); __mutex_handoff() local
403 struct task_struct *owner = __mutex_owner(lock); __ww_mutex_wound() local
560 mutex_spin_on_owner(struct mutex *lock, struct task_struct *owner, struct ww_acquire_ctx *ww_ctx, struct mutex_waiter *waiter) mutex_spin_on_owner() argument
601 struct task_struct *owner; mutex_can_spin_on_owner() local
672 struct task_struct *owner; mutex_optimistic_spin() local
1232 unsigned long owner; __mutex_unlock_slowpath() local
[all...]
H A Dspinlock_debug.c28 lock->owner = SPINLOCK_OWNER_INIT; in __raw_spin_lock_init()
46 lock->owner = SPINLOCK_OWNER_INIT; in __rwlock_init()
54 struct task_struct *owner = READ_ONCE(lock->owner); in spin_dump() local
56 if (owner == SPINLOCK_OWNER_INIT) in spin_dump()
57 owner = NULL; in spin_dump()
61 printk(KERN_EMERG " lock: %pS, .magic: %08x, .owner: %s/%d, " in spin_dump()
64 owner ? owner->comm : "<none>", in spin_dump()
65 owner in spin_dump()
[all...]
H A Drwsem.c34 * The least significant 3 bits of the owner value has the following
49 * into the owner field. It is cleared after an unlock.
52 * pointer into the owner field with the RWSEM_READER_OWNED bit set.
53 * On unlock, the owner field will largely be left untouched. So
54 * for a free or reader-owned rwsem, the owner value may contain
107 WARN_ONCE(c, "DEBUG_RWSEMS_WARN_ON(%s): count = 0x%lx, magic = 0x%lx, owner = 0x%lx, curr 0x%lx, list %sempty\n",\
110 atomic_long_read(&(sem)->owner), (long)current, \
168 * All writes to owner are protected by WRITE_ONCE() to make sure that
170 * the owner value concurrently without lock. Read from owner, howeve
202 __rwsem_set_reader_owned(struct rw_semaphore *sem, struct task_struct *owner) __rwsem_set_reader_owned() argument
262 unsigned long owner = atomic_long_read(&sem->owner); rwsem_set_nonspinnable() local
297 unsigned long owner = atomic_long_read(&sem->owner); rwsem_owner_flags() local
444 struct task_struct *owner; rwsem_mark_wake() local
646 owner_on_cpu(struct task_struct *owner) owner_on_cpu() argument
658 struct task_struct *owner; rwsem_can_spin_on_owner() local
703 rwsem_owner_state(struct task_struct *owner, unsigned long flags, unsigned long nonspinnable) rwsem_owner_state() argument
717 struct task_struct *new, *owner; rwsem_spin_on_owner() local
947 unsigned long owner = atomic_long_read(&sem->owner); rwsem_reader_phase_trylock() local
[all...]
H A Drtmutex.c26 * lock->owner state tracking:
28 * lock->owner holds the task_struct pointer of the owner. Bit 0
31 * owner bit0
39 * possible when bit 0 of lock->owner is 0.
43 * we need to set the bit0 before looking at the lock, and the owner may be
48 * To prevent a cmpxchg of the owner releasing the lock, we need to
53 rt_mutex_set_owner(struct rt_mutex *lock, struct task_struct *owner) in rt_mutex_set_owner() argument
55 unsigned long val = (unsigned long)owner; in rt_mutex_set_owner()
60 WRITE_ONCE(lock->owner, (struc in rt_mutex_set_owner()
71 unsigned long owner, *p = (unsigned long *) &lock->owner; fixup_rt_mutex_waiters() local
154 unsigned long owner, *p = (unsigned long *) &lock->owner; mark_rt_mutex_waiters() local
172 struct task_struct *owner = rt_mutex_owner(lock); global() variable
931 struct task_struct *owner = rt_mutex_owner(lock); task_blocks_on_rt_mutex() local
1069 struct task_struct *owner = rt_mutex_owner(lock); remove_waiter() local
[all...]
/kernel/linux/linux-6.6/rust/kernel/sync/
H A Dlocked_by.rs76 owner: *const U,
90 /// It stores a raw pointer to the owner that is never dereferenced. It is only used to ensure
91 /// that the right owner is being used to access the protected data. If the owner is freed, the
92 /// data becomes inaccessible; if another instance of the owner is allocated *on the same
95 pub fn new<B: Backend>(owner: &Lock<U, B>, data: T) -> Self { in new()
101 owner: owner.data.get(), in new()
109 /// reference) that the owner is locked.
116 /// Panics if `owner` i
[all...]
/kernel/linux/linux-5.10/drivers/media/mc/
H A Dmc-dev-allocator.c31 struct module *owner; member
63 struct module *owner) in __media_device_get()
73 /* get module reference for the media_device owner */ in __media_device_get()
74 if (owner != mdi->owner && !try_module_get(mdi->owner)) in __media_device_get()
76 "%s: module %s get owner reference error\n", in __media_device_get()
79 dev_dbg(dev, "%s: module %s got owner reference\n", in __media_device_get()
88 mdi->owner = owner; in __media_device_get()
61 __media_device_get(struct device *dev, const char *module_name, struct module *owner) __media_device_get() argument
97 media_device_usb_allocate(struct usb_device *udev, const char *module_name, struct module *owner) media_device_usb_allocate() argument
119 media_device_delete(struct media_device *mdev, const char *module_name, struct module *owner) media_device_delete() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/mc/
H A Dmc-dev-allocator.c31 struct module *owner; member
63 struct module *owner) in __media_device_get()
73 /* get module reference for the media_device owner */ in __media_device_get()
74 if (owner != mdi->owner && !try_module_get(mdi->owner)) in __media_device_get()
76 "%s: module %s get owner reference error\n", in __media_device_get()
79 dev_dbg(dev, "%s: module %s got owner reference\n", in __media_device_get()
88 mdi->owner = owner; in __media_device_get()
61 __media_device_get(struct device *dev, const char *module_name, struct module *owner) __media_device_get() argument
97 media_device_usb_allocate(struct usb_device *udev, const char *module_name, struct module *owner) media_device_usb_allocate() argument
119 media_device_delete(struct media_device *mdev, const char *module_name, struct module *owner) media_device_delete() argument
[all...]
/kernel/linux/linux-6.6/drivers/xen/
H A Dpci.c271 struct xen_device_domain_owner *owner; in find_device() local
273 list_for_each_entry(owner, &dev_domain_list, list) { in find_device()
274 if (owner->dev == dev) in find_device()
275 return owner; in find_device()
282 struct xen_device_domain_owner *owner; in xen_find_device_domain_owner() local
286 owner = find_device(dev); in xen_find_device_domain_owner()
287 if (owner) in xen_find_device_domain_owner()
288 domain = owner->domain; in xen_find_device_domain_owner()
296 struct xen_device_domain_owner *owner; in xen_register_device_domain_owner() local
298 owner in xen_register_device_domain_owner()
318 struct xen_device_domain_owner *owner; xen_unregister_device_domain_owner() local
[all...]
/base/account/os_account/frameworks/appaccount/native/src/
H A Dapp_account_manager.cpp28 ErrCode AppAccountManager::AddAccountImplicitly(const std::string &owner, const std::string &authType, in AddAccountImplicitly() argument
32 owner, authType, options, callback); in AddAccountImplicitly()
40 ErrCode AppAccountManager::CreateAccountImplicitly(const std::string &owner, in CreateAccountImplicitly() argument
43 return AppAccount::GetInstance().CreateAccountImplicitly(owner, options, callback); in CreateAccountImplicitly()
108 ErrCode AppAccountManager::Authenticate(const std::string &name, const std::string &owner, in Authenticate() argument
111 return AppAccount::GetInstance().Authenticate(name, owner, authType, options, callback); in Authenticate()
115 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) in GetOAuthToken()
117 return AppAccount::GetInstance().GetOAuthToken(name, owner, authType, token); in GetOAuthToken()
121 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) in GetAuthToken()
123 return AppAccount::GetInstance().GetAuthToken(name, owner, authTyp in GetAuthToken()
114 GetOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetOAuthToken() argument
120 GetAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetAuthToken() argument
132 DeleteOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteOAuthToken() argument
138 DeleteAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteAuthToken() argument
172 GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) GetAuthenticatorInfo() argument
177 GetAllOAuthTokens( const std::string &name, const std::string &owner, std::vector<OAuthTokenInfo> &tokenInfos) GetAllOAuthTokens() argument
200 GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) GetAllAccounts() argument
210 QueryAllAccessibleAccounts( const std::string &owner, std::vector<AppAccountInfo> &appAccounts) QueryAllAccessibleAccounts() argument
232 VerifyCredential(const std::string &name, const std::string &owner, const VerifyCredentialOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) VerifyCredential() argument
238 CheckAccountLabels(const std::string &name, const std::string &owner, const std::vector<std::string> &labels, const sptr<IAppAccountAuthenticatorCallback> &callback) CheckAccountLabels() argument
244 SetAuthenticatorProperties(const std::string &owner, const SetPropertiesOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) SetAuthenticatorProperties() argument
[all...]
H A Dapp_account.cpp64 ErrCode AppAccount::AddAccountImplicitly(const std::string &owner, const std::string &authType, in AddAccountImplicitly() argument
67 RETURN_IF_STRING_IS_EMPTY_OR_OVERSIZE(owner, Constants::OWNER_MAX_SIZE, "owner is empty or oversize"); in AddAccountImplicitly()
75 return proxy->AddAccountImplicitly(owner, authType, options, callback); in AddAccountImplicitly()
95 ErrCode AppAccount::CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &options, in CreateAccountImplicitly() argument
98 RETURN_IF_STRING_IS_EMPTY_OR_OVERSIZE(owner, Constants::OWNER_MAX_SIZE, "owner is empty or oversize"); in CreateAccountImplicitly()
108 return proxy->CreateAccountImplicitly(owner, options, callback); in CreateAccountImplicitly()
253 ErrCode AppAccount::Authenticate(const std::string &name, const std::string &owner, const std::string &authType, in Authenticate() argument
257 RETURN_IF_STRING_IS_EMPTY_OR_OVERSIZE(owner, Constant in Authenticate()
268 GetOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetOAuthToken() argument
282 GetAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetAuthToken() argument
307 DeleteOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteOAuthToken() argument
322 DeleteAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteAuthToken() argument
404 GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) GetAuthenticatorInfo() argument
414 GetAllOAuthTokens( const std::string &name, const std::string &owner, std::vector<OAuthTokenInfo> &tokenInfos) GetAllOAuthTokens() argument
462 GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) GetAllAccounts() argument
512 VerifyCredential(const std::string &name, const std::string &owner, const VerifyCredentialOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) VerifyCredential() argument
527 CheckAccountLabels(const std::string &name, const std::string &owner, const std::vector<std::string> &labels, const sptr<IAppAccountAuthenticatorCallback> &callback) CheckAccountLabels() argument
541 SetAuthenticatorProperties(const std::string &owner, const SetPropertiesOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) SetAuthenticatorProperties() argument
561 QueryAllAccessibleAccounts( const std::string &owner, std::vector<AppAccountInfo> &appAccounts) QueryAllAccessibleAccounts() argument
[all...]
/kernel/linux/linux-5.10/kernel/bpf/
H A Dbpf_local_storage.c24 static int mem_charge(struct bpf_local_storage_map *smap, void *owner, u32 size) in mem_charge() argument
31 return map->ops->map_local_storage_charge(smap, owner, size); in mem_charge()
34 static void mem_uncharge(struct bpf_local_storage_map *smap, void *owner, in mem_uncharge() argument
40 map->ops->map_local_storage_uncharge(smap, owner, size); in mem_uncharge()
44 owner_storage(struct bpf_local_storage_map *smap, void *owner) in owner_storage() argument
48 return map->ops->map_owner_storage_ptr(owner); in owner_storage()
72 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, in bpf_selem_alloc() argument
77 if (charge_mem && mem_charge(smap, owner, smap->elem_size)) in bpf_selem_alloc()
88 mem_uncharge(smap, owner, smap->elem_size); in bpf_selem_alloc()
103 void *owner; in bpf_selem_unlink_storage_nolock() local
265 bpf_local_storage_alloc(void *owner, struct bpf_local_storage_map *smap, struct bpf_local_storage_elem *first_selem) bpf_local_storage_alloc() argument
332 bpf_local_storage_update(void *owner, struct bpf_local_storage_map *smap, void *value, u64 map_flags) bpf_local_storage_update() argument
[all...]
/base/account/os_account/services/accountmgr/src/appaccount/
H A Dapp_account_subscribe_manager.cpp104 std::vector<AppAccountSubscribeRecordPtr> AppAccountSubscribeManager::GetSubscribeRecords(const std::string &owner) in GetSubscribeRecords() argument
113 auto subscribeRecordsPtr = ownerSubscribeRecords_.find(owner); in GetSubscribeRecords()
127 if (std::find(owners.begin(), owners.end(), owner) == owners.end()) { in GetSubscribeRecords()
128 ACCOUNT_LOGE("failed to find owner in owners"); in GetSubscribeRecords()
160 for (auto owner : owners) { in CheckAppAccess()
161 if (owner == bundleName) { in CheckAppAccess()
167 [owner](const std::string &account) { in CheckAppAccess()
168 auto position = account.find(owner); in CheckAppAccess()
199 for (auto owner : owners) { in InsertSubscribeRecord()
200 auto item = ownerSubscribeRecords_.find(owner); in InsertSubscribeRecord()
333 std::string owner; GetAccessibleAccountsBySubscribeInfo() local
[all...]
/base/account/os_account/interfaces/innerkits/appaccount/native/include/
H A Dapp_account_manager.h52 * Only the owner of the application account has the permission to call this method.
61 * @brief Adds an application account of a specified owner implicitly.
62 * @param owner - Indicates the account owner of your application or third-party applications.
68 static ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType,
74 * Only the owner of the application account has the permission to call this method.
83 * @brief Creates an application account of a specified owner implicitly.
84 * @param owner - Indicates the account owner of your application or third-party applications.
88 static ErrCode CreateAccountImplicitly(const std::string &owner, cons
[all...]
/kernel/linux/linux-6.6/kernel/bpf/
H A Dbpf_local_storage.c27 static int mem_charge(struct bpf_local_storage_map *smap, void *owner, u32 size) in mem_charge() argument
34 return map->ops->map_local_storage_charge(smap, owner, size); in mem_charge()
37 static void mem_uncharge(struct bpf_local_storage_map *smap, void *owner, in mem_uncharge() argument
43 map->ops->map_local_storage_uncharge(smap, owner, size); in mem_uncharge()
47 owner_storage(struct bpf_local_storage_map *smap, void *owner) in owner_storage() argument
51 return map->ops->map_owner_storage_ptr(owner); in owner_storage()
75 bpf_selem_alloc(struct bpf_local_storage_map *smap, void *owner, in bpf_selem_alloc() argument
80 if (charge_mem && mem_charge(smap, owner, smap->elem_size)) in bpf_selem_alloc()
109 mem_uncharge(smap, owner, smap->elem_size); in bpf_selem_alloc()
259 void *owner; in bpf_selem_unlink_storage_nolock() local
474 bpf_local_storage_alloc(void *owner, struct bpf_local_storage_map *smap, struct bpf_local_storage_elem *first_selem, gfp_t gfp_flags) bpf_local_storage_alloc() argument
552 bpf_local_storage_update(void *owner, struct bpf_local_storage_map *smap, void *value, u64 map_flags, gfp_t gfp_flags) bpf_local_storage_update() argument
[all...]
/kernel/linux/linux-6.6/fs/
H A Dmnt_idmapping.c13 struct user_namespace *owner; member
23 .owner = &init_user_ns,
38 return idmap->owner != sb->s_user_ns; in check_fsmapping()
101 struct user_namespace *mnt_userns = idmap->owner; in make_vfsuid()
139 struct user_namespace *mnt_userns = idmap->owner; in make_vfsgid()
168 struct user_namespace *mnt_userns = idmap->owner; in from_vfsuid()
196 struct user_namespace *mnt_userns = idmap->owner; in from_vfsgid()
239 idmap->owner = get_user_ns(mnt_userns); in alloc_mnt_idmap()
270 put_user_ns(idmap->owner); in mnt_idmap_put()
/base/account/os_account/frameworks/appaccount/cj/src/
H A Dappaccount_ffi.cpp91 ErrCArrAppAccountInfo FfiAppAccountAppAccountManagerGetAccountsByOwner(int id, char *owner) in FfiAppAccountAppAccountManagerGetAccountsByOwner() argument
99 return instance->getAccountsByOwner(owner); in FfiAppAccountAppAccountManagerGetAccountsByOwner()
122 RetDataCString FfiAppAccountAppAccountManagerGetAuthToken(int id, char *name, char *owner, char *authType) in FfiAppAccountAppAccountManagerGetAuthToken() argument
129 return instance->getAuthToken(name, owner, authType); in FfiAppAccountAppAccountManagerGetAuthToken()
141 int32_t FfiAppAccountAppAccountManagerDeleteAuthToken(int id, char *name, char *owner, char *authType, char *token) in FfiAppAccountAppAccountManagerDeleteAuthToken() argument
147 return instance->deleteAuthToken(name, owner, authType, token); in FfiAppAccountAppAccountManagerDeleteAuthToken()
170 ErrCArrAuthTokenInfo FfiAppAccountAppAccountManagerGetAllAuthTokens(int id, char *name, char *owner) in FfiAppAccountAppAccountManagerGetAllAuthTokens() argument
178 return instance->getAllAuthTokens(name, owner); in FfiAppAccountAppAccountManagerGetAllAuthTokens()
191 ErrCAuthenticatorInfo FfiAppAccountAppAccountManagerQueryAuthenticatorInfo(int id, char *owner) in FfiAppAccountAppAccountManagerQueryAuthenticatorInfo() argument
199 return instance->queryAuthenticatorInfo(owner); in FfiAppAccountAppAccountManagerQueryAuthenticatorInfo()
259 FfiAppAccountAppAccountManagerCheckAccountLabels( int id, char *name, char *owner, CArrString labels, void (*callback)(RetDataBool infoRef)) FfiAppAccountAppAccountManagerCheckAccountLabels() argument
283 FfiAppAccountAppAccountManagerVerifyCredential( int id, char *name, char *owner, CAuthCallback callbackId, CVerifyCredentialOptions cOptions) FfiAppAccountAppAccountManagerVerifyCredential() argument
293 FfiAppAccountAppAccountManagerSetAuthenticatorProperties( int id, char *owner, CAuthCallback callbackId, CSetPropertiesOptions cOptions) FfiAppAccountAppAccountManagerSetAuthenticatorProperties() argument
[all...]
/base/account/os_account/frameworks/appaccount/native/include/
H A Dapp_account_proxy.h30 ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType,
33 ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &options,
57 ErrCode Authenticate(const std::string &name, const std::string &owner, const std::string &authType,
60 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) override;
62 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) override;
65 ErrCode DeleteOAuthToken(const std::string &name, const std::string &owner, const std::string &authType,
67 ErrCode DeleteAuthToken(const std::string &name, const std::string &owner, const std::string &authType,
77 ErrCode GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) override;
79 const std::string &name, const std::string &owner, std::vector<OAuthTokenInfo> &tokenInfos) override;
86 ErrCode GetAllAccounts(const std::string &owner, st
[all...]
/base/security/device_security_level/services/sa/lite/small/
H A Ddslm_ipc_process.c85 static BOOL DslmPushRemoteStub(uint32_t owner, uint32_t cookie, IpcIo *reply) in DslmPushRemoteStub() argument
90 uint64_t key = ((uint64_t)owner << COOKIE_SHIFT) | cookie; in DslmPushRemoteStub()
107 static IpcIo *DslmPopRemoteStub(uint32_t owner, uint32_t cookie) in DslmPopRemoteStub() argument
114 uint64_t key = ((uint64_t)owner << COOKIE_SHIFT) | cookie; in DslmPopRemoteStub()
134 static void ProcessCallback(uint32_t owner, uint32_t cookie, uint32_t result, const DslmCallbackInfo *info) in ProcessCallback() argument
141 reply = DslmPopRemoteStub(owner, cookie); in ProcessCallback()
168 uint64_t owner = GetCallingPid(); in DslmProcessGetDeviceSecurityLevel() local
169 DslmPushRemoteStub(owner, cookie, reply); in DslmProcessGetDeviceSecurityLevel()
170 ret = OnRequestDeviceSecLevelInfo(&identity, &option, owner, cookie, ProcessCallback); in DslmProcessGetDeviceSecurityLevel()
174 DslmPopRemoteStub(owner, cooki in DslmProcessGetDeviceSecurityLevel()
[all...]

Completed in 16 milliseconds

12345678910>>...350