Home
last modified time | relevance | path

Searched refs:users (Results 1 - 25 of 450) sorted by relevance

12345678910>>...18

/kernel/linux/linux-5.10/security/tomoyo/
H A Dgc.c33 * tomoyo_struct_used_by_io_buffer - Check whether the list element is used by /sys/kernel/security/tomoyo/ users or not.
37 * Returns true if @element is used by /sys/kernel/security/tomoyo/ users,
47 head->users++; in tomoyo_struct_used_by_io_buffer()
55 head->users--; in tomoyo_struct_used_by_io_buffer()
64 * tomoyo_name_used_by_io_buffer - Check whether the string is used by /sys/kernel/security/tomoyo/ users or not.
68 * Returns true if @string is used by /sys/kernel/security/tomoyo/ users,
81 head->users++; in tomoyo_name_used_by_io_buffer()
94 head->users--; in tomoyo_name_used_by_io_buffer()
393 * list element became no longer referenced by syscall users. in tomoyo_try_to_gc()
399 * However, there are two users whic in tomoyo_try_to_gc()
[all...]
H A Dmemory.c114 atomic_read(&group->head.users) == TOMOYO_GC_IN_PROGRESS) in tomoyo_get_group()
116 atomic_inc(&group->head.users); in tomoyo_get_group()
125 atomic_set(&entry->head.users, 1); in tomoyo_get_group()
168 atomic_read(&ptr->head.users) == TOMOYO_GC_IN_PROGRESS) in tomoyo_get_name()
170 atomic_inc(&ptr->head.users); in tomoyo_get_name()
177 atomic_set(&ptr->head.users, 1); in tomoyo_get_name()
H A Dtomoyo.c21 atomic_dec(&s->old_domain_info->users); in tomoyo_domain()
43 atomic_dec(&s->domain_info->users); in tomoyo_cred_prepare()
60 atomic_dec(&s->old_domain_info->users); in tomoyo_bprm_committed_creds()
502 atomic_inc(&new->domain_info->users); in tomoyo_task_alloc()
517 atomic_dec(&s->domain_info->users); in tomoyo_task_free()
521 atomic_dec(&s->old_domain_info->users); in tomoyo_task_free()
582 atomic_inc(&tomoyo_kernel_domain.users); in tomoyo_init()
/kernel/linux/linux-6.6/security/tomoyo/
H A Dgc.c33 * tomoyo_struct_used_by_io_buffer - Check whether the list element is used by /sys/kernel/security/tomoyo/ users or not.
37 * Returns true if @element is used by /sys/kernel/security/tomoyo/ users,
47 head->users++; in tomoyo_struct_used_by_io_buffer()
55 head->users--; in tomoyo_struct_used_by_io_buffer()
64 * tomoyo_name_used_by_io_buffer - Check whether the string is used by /sys/kernel/security/tomoyo/ users or not.
68 * Returns true if @string is used by /sys/kernel/security/tomoyo/ users,
81 head->users++; in tomoyo_name_used_by_io_buffer()
94 head->users--; in tomoyo_name_used_by_io_buffer()
393 * list element became no longer referenced by syscall users. in tomoyo_try_to_gc()
399 * However, there are two users whic in tomoyo_try_to_gc()
[all...]
H A Dmemory.c114 atomic_read(&group->head.users) == TOMOYO_GC_IN_PROGRESS) in tomoyo_get_group()
116 atomic_inc(&group->head.users); in tomoyo_get_group()
125 atomic_set(&entry->head.users, 1); in tomoyo_get_group()
168 atomic_read(&ptr->head.users) == TOMOYO_GC_IN_PROGRESS) in tomoyo_get_name()
170 atomic_inc(&ptr->head.users); in tomoyo_get_name()
177 atomic_set(&ptr->head.users, 1); in tomoyo_get_name()
H A Dtomoyo.c21 atomic_dec(&s->old_domain_info->users); in tomoyo_domain()
43 atomic_dec(&s->domain_info->users); in tomoyo_cred_prepare()
60 atomic_dec(&s->old_domain_info->users); in tomoyo_bprm_committed_creds()
521 atomic_inc(&new->domain_info->users); in tomoyo_task_alloc()
536 atomic_dec(&s->domain_info->users); in tomoyo_task_free()
540 atomic_dec(&s->old_domain_info->users); in tomoyo_task_free()
602 atomic_inc(&tomoyo_kernel_domain.users); in tomoyo_init()
/kernel/linux/linux-6.6/net/rxrpc/
H A Dskbuff.c25 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why); in rxrpc_new_skb()
35 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why); in rxrpc_see_skb()
45 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why); in rxrpc_get_skb()
65 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why); in rxrpc_free_skb()
79 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, in rxrpc_purge_queue()
/kernel/linux/linux-5.10/fs/nfsd/
H A Dnfs4acl.c181 unsigned short users; member
194 * Only pas.users and pas.groups need initialization; previous in summarize_posix_acl()
212 pas->users |= pa->e_perm; in summarize_posix_acl()
226 pas->users &= pas->mask; in summarize_posix_acl()
255 deny &= pas.users | pas.group | pas.groups | pas.other; in _posix_to_nfsv4_one()
396 /* posix_acl_valid requires that users and groups be in order in sort_pacl()
400 /* no users or groups */ in sort_pacl()
450 struct posix_ace_state_array *users; member
468 state->users = kzalloc(alloc, GFP_KERNEL); in init_state()
469 if (!state->users) in init_state()
[all...]
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfs4acl.c181 unsigned short users; member
194 * Only pas.users and pas.groups need initialization; previous in summarize_posix_acl()
212 pas->users |= pa->e_perm; in summarize_posix_acl()
226 pas->users &= pas->mask; in summarize_posix_acl()
255 deny &= pas.users | pas.group | pas.groups | pas.other; in _posix_to_nfsv4_one()
396 /* posix_acl_valid requires that users and groups be in order in sort_pacl()
400 /* no users or groups */ in sort_pacl()
450 struct posix_ace_state_array *users; member
467 state->users = kzalloc(alloc, GFP_KERNEL); in init_state()
468 if (!state->users) in init_state()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dkfree_skb.c45 refcount_t users; member
66 int users; in BPF_PROG() local
75 users = skb->users.refs.counter; in BPF_PROG()
95 bpf_printk("skb->len %d users %d pkt_type %x\n", in BPF_PROG()
96 _(skb->len), users, pkt_type); in BPF_PROG()
102 if (users != 1 || pkt_data != bpf_htons(0x86dd) || meta.ifindex != 1) in BPF_PROG()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dkfree_skb.c45 refcount_t users; member
66 int users; in BPF_PROG() local
75 users = skb->users.refs.counter; in BPF_PROG()
95 bpf_printk("skb->len %d users %d pkt_type %x\n", in BPF_PROG()
96 _(skb->len), users, pkt_type); in BPF_PROG()
102 if (users != 1 || pkt_data != bpf_htons(0x86dd) || meta.ifindex != 1) in BPF_PROG()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/
H A Duser.c43 } users[] = { in nvif_user_ctor() local
52 cid = nvif_mclass(&device->object, users); in nvif_user_ctor()
57 0, users[cid].oclass, NULL, 0, in nvif_user_ctor()
63 device->user.func = users[cid].func; in nvif_user_ctor()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvif/
H A Duser.c43 } users[] = { in nvif_user_ctor() local
54 cid = nvif_mclass(&device->object, users); in nvif_user_ctor()
59 0, users[cid].oclass, NULL, 0, in nvif_user_ctor()
65 device->user.func = users[cid].func; in nvif_user_ctor()
/kernel/linux/linux-5.10/drivers/xen/
H A Dgntalloc.c94 unsigned int users; /* Use count - when zero, waiting on Xen */ member
106 int users; member
116 if (!gref->users) in do_cleanup()
138 gref->users = 1; in add_grefs()
262 gref->users--; in gntalloc_release()
263 if (gref->users == 0) in gntalloc_release()
293 /* Clean up pages that were at zero (local) users but were still mapped in gntalloc_ioctl_alloc()
360 gref->users--; in gntalloc_ioctl_dealloc()
459 priv->users++; in gntalloc_vma_open()
473 priv->users in gntalloc_vma_close()
[all...]
H A Dprivcmd-buf.c32 unsigned int users; member
94 vma_priv->users++; in privcmd_buf_vma_open()
110 vma_priv->users--; in privcmd_buf_vma_close()
111 if (!vma_priv->users) in privcmd_buf_vma_close()
157 vma_priv->users = 1; in privcmd_buf_mmap()
/kernel/linux/linux-6.6/drivers/xen/
H A Dgntalloc.c94 unsigned int users; /* Use count - when zero, waiting on Xen */ member
106 int users; member
116 if (!gref->users) in do_cleanup()
138 gref->users = 1; in add_grefs()
259 gref->users--; in gntalloc_release()
260 if (gref->users == 0) in gntalloc_release()
290 /* Clean up pages that were at zero (local) users but were still mapped in gntalloc_ioctl_alloc()
357 gref->users--; in gntalloc_ioctl_dealloc()
456 priv->users++; in gntalloc_vma_open()
470 priv->users in gntalloc_vma_close()
[all...]
H A Dprivcmd-buf.c32 unsigned int users; member
94 vma_priv->users++; in privcmd_buf_vma_open()
110 vma_priv->users--; in privcmd_buf_vma_close()
111 if (!vma_priv->users) in privcmd_buf_vma_close()
157 vma_priv->users = 1; in privcmd_buf_mmap()
/kernel/linux/linux-5.10/net/rxrpc/
H A Dskbuff.c27 trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, in rxrpc_new_skb()
39 trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, in rxrpc_see_skb()
51 trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, in rxrpc_get_skb()
75 trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, in rxrpc_free_skb()
91 refcount_read(&skb->users), n, in rxrpc_purge_queue()
/kernel/linux/linux-5.10/scripts/
H A Dget_abi.pl109 if (!($new_tag =~ m/(what|where|date|kernelversion|contact|description|users)/)) {
441 if (defined($data{$what}->{users})) {
442 my $users = $data{$what}->{users};
444 $users =~ s/\n/\n\t/g;
445 printf "Users:\n\t%s\n\n", $users if ($users ne "");
470 my $users = $data{$what}->{users} if (defined($data{$what}->{users}));
[all...]
/kernel/linux/linux-6.6/block/
H A Dblk-mq-tag.c21 unsigned int users) in blk_mq_update_wake_batch()
23 if (!users) in blk_mq_update_wake_batch()
27 users); in blk_mq_update_wake_batch()
29 users); in blk_mq_update_wake_batch()
35 * to get tag when first time, the other shared-tag users could reserve
40 unsigned int users; in __blk_mq_tag_busy() local
60 users = tags->active_queues + 1; in __blk_mq_tag_busy()
61 WRITE_ONCE(tags->active_queues, users); in __blk_mq_tag_busy()
62 blk_mq_update_wake_batch(tags, users); in __blk_mq_tag_busy()
83 unsigned int users; in __blk_mq_tag_idle() local
20 blk_mq_update_wake_batch(struct blk_mq_tags *tags, unsigned int users) blk_mq_update_wake_batch() argument
[all...]
/kernel/linux/linux-5.10/block/
H A Dblk-mq.h298 * For shared tag users, we track the number of currently active users
304 unsigned int depth, users; in hctx_may_queue() local
321 users = atomic_read(&set->active_queues_shared_sbitmap); in hctx_may_queue()
325 users = atomic_read(&hctx->tags->active_queues); in hctx_may_queue()
328 if (!users) in hctx_may_queue()
334 depth = max((bt->sb.depth + users - 1) / users, 4U); in hctx_may_queue()
/kernel/linux/linux-5.10/fs/nfs/
H A Dcallback.c34 unsigned int users; member
293 if (cb_info->users) in nfs_callback_create_svc()
294 printk(KERN_WARNING "nfs_callback_create_svc: no kthread, %d users??\n", in nfs_callback_create_svc()
295 cb_info->users); in nfs_callback_create_svc()
337 cb_info->users++; in nfs_callback_up()
345 if (!cb_info->users) in nfs_callback_up()
369 cb_info->users--; in nfs_callback_down()
370 if (cb_info->users == 0) { in nfs_callback_down()
/kernel/linux/linux-6.6/fs/nfs/
H A Dcallback.c33 unsigned int users; member
235 if (cb_info->users) in nfs_callback_create_svc()
236 printk(KERN_WARNING "nfs_callback_create_svc: no kthread, %d users??\n", in nfs_callback_create_svc()
237 cb_info->users); in nfs_callback_create_svc()
288 cb_info->users++; in nfs_callback_up()
290 if (!cb_info->users) in nfs_callback_up()
314 cb_info->users--; in nfs_callback_down()
315 if (cb_info->users == 0) { in nfs_callback_down()
/kernel/linux/linux-6.6/scripts/
H A Dget_abi.pl132 if (!($new_tag =~ m/(what|where|date|kernelversion|contact|description|users)/)) {
497 if (defined($data{$what}->{users})) {
498 my $users = $data{$what}->{users};
500 $users =~ s/\n/\n\t/g;
501 printf "Users:\n\t%s\n\n", $users if ($users ne "");
527 my $users = $data{$what}->{users} if (defined($data{$what}->{users}));
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/emac/
H A Dzmii.c94 dev->users++; in zmii_attach()
141 ++dev->users; in zmii_attach()
195 BUG_ON(!dev || dev->users == 0); in zmii_detach()
205 --dev->users; in zmii_detach()
283 WARN_ON(dev->users != 0); in zmii_remove()

Completed in 13 milliseconds

12345678910>>...18