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

123456789

/linux-master/drivers/gpu/drm/nouveau/nvif/
H A Duser.c43 } users[] = { local
54 cid = nvif_mclass(&device->object, users);
59 0, users[cid].oclass, NULL, 0,
65 device->user.func = users[cid].func;
/linux-master/net/rxrpc/
H A Dskbuff.c25 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why);
35 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why);
45 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why);
65 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why);
79 trace_rxrpc_skb(skb, refcount_read(&skb->users), n,
/linux-master/drivers/infiniband/core/
H A Dsa.h42 atomic_inc(&client->users);
47 if (atomic_dec_and_test(&client->users))
/linux-master/tools/testing/selftests/bpf/progs/
H A Dkfree_skb.c45 refcount_t users; member in struct:sk_buff
66 int users; local
75 users = skb->users.refs.counter;
95 bpf_printk("skb->len %d users %d pkt_type %x\n",
96 _(skb->len), users, pkt_type);
102 if (users != 1 || pkt_data != bpf_htons(0x86dd) || meta.ifindex != 1)
/linux-master/security/tomoyo/
H A Dmemory.c114 atomic_read(&group->head.users) == TOMOYO_GC_IN_PROGRESS)
116 atomic_inc(&group->head.users);
125 atomic_set(&entry->head.users, 1);
168 atomic_read(&ptr->head.users) == TOMOYO_GC_IN_PROGRESS)
170 atomic_inc(&ptr->head.users);
177 atomic_set(&ptr->head.users, 1);
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++;
55 head->users--;
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++;
94 head->users--;
393 * list element became no longer referenced by syscall users.
399 * However, there are two users whic
[all...]
H A Dtomoyo.c22 atomic_dec(&s->old_domain_info->users);
44 atomic_dec(&s->domain_info->users);
61 atomic_dec(&s->old_domain_info->users);
523 atomic_inc(&new->domain_info->users);
538 atomic_dec(&s->domain_info->users);
542 atomic_dec(&s->old_domain_info->users);
610 atomic_inc(&tomoyo_kernel_domain.users);
/linux-master/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.h36 * @users: list of &struct efx_tc_encap_action
61 struct list_head users; member in struct:efx_neigh_binder
79 struct list_head list; /* entry on neigh->users list */
80 struct list_head users; /* action sets using this encap_md */ member in struct:efx_tc_encap_action
H A Dtc_counters.h37 struct list_head users; member in struct:efx_tc_counter
/linux-master/drivers/xen/
H A Dgntalloc.c94 unsigned int users; /* Use count - when zero, waiting on Xen */ member in struct:gntalloc_gref
106 int users; member in struct:gntalloc_vma_private_data
116 if (!gref->users)
138 gref->users = 1;
259 gref->users--;
260 if (gref->users == 0)
290 /* Clean up pages that were at zero (local) users but were still mapped
357 gref->users--;
456 priv->users++;
470 priv->users
[all...]
H A Dprivcmd-buf.c32 unsigned int users; member in struct:privcmd_buf_vma_private
94 vma_priv->users++;
110 vma_priv->users--;
111 if (!vma_priv->users)
157 vma_priv->users = 1;
/linux-master/fs/nfs/
H A Dcallback.c33 unsigned int users; member in struct:nfs_callback_data
196 if (cb_info->users)
197 printk(KERN_WARNING "nfs_callback_create_svc: no kthread, %d users??\n",
198 cb_info->users);
246 cb_info->users++;
248 if (!cb_info->users) {
273 cb_info->users--;
274 if (cb_info->users == 0) {
/linux-master/drivers/net/ethernet/ibm/emac/
H A Dtah.c31 ++dev->users;
42 --dev->users;
137 WARN_ON(dev->users != 0);
H A Drgmii.h47 int users; member in struct:rgmii_instance
H A Dzmii.h40 int users; member in struct:zmii_instance
H A Dzmii.c96 dev->users++;
143 ++dev->users;
197 BUG_ON(!dev || dev->users == 0);
207 --dev->users;
285 WARN_ON(dev->users != 0);
H A Dtah.h44 int users; member in struct:tah_instance
/linux-master/include/linux/
H A Dfs_struct.h10 int users; member in struct:fs_struct
/linux-master/fs/
H A Dfs_struct.c104 kill = !--fs->users;
117 fs->users = 1;
144 kill = !--fs->users;
164 .users = 1,
/linux-master/fs/nfsd/
H A Dnfs4acl.c181 unsigned short users; member in struct:posix_acl_summary
194 * Only pas.users and pas.groups need initialization; previous
212 pas->users |= pa->e_perm;
226 pas->users &= pas->mask;
255 deny &= pas.users | pas.group | pas.groups | pas.other;
396 /* posix_acl_valid requires that users and groups be in order
400 /* no users or groups */
450 struct posix_ace_state_array *users; member in struct:posix_acl_state
467 state->users = kzalloc(alloc, GFP_KERNEL);
468 if (!state->users)
[all...]
/linux-master/drivers/iommu/
H A Diommu-sva.c88 refcount_inc(&handle->users);
104 domain->users++;
119 domain->users = 1;
123 refcount_set(&handle->users, 1);
155 if (!refcount_dec_and_test(&handle->users)) {
162 if (--domain->users == 0) {
/linux-master/block/
H A Dblk-mq-tag.c21 unsigned int users)
23 if (!users)
27 users);
29 users);
35 * to get tag when first time, the other shared-tag users could reserve
40 unsigned int users; local
60 users = tags->active_queues + 1;
61 WRITE_ONCE(tags->active_queues, users);
62 blk_mq_update_wake_batch(tags, users);
83 unsigned int users; local
20 blk_mq_update_wake_batch(struct blk_mq_tags *tags, unsigned int users) argument
[all...]
/linux-master/kernel/bpf/
H A Ddispatcher.c53 refcount_inc(&entry->users);
63 refcount_set(&entry->users, 1);
80 if (refcount_dec_and_test(&entry->users)) {
/linux-master/drivers/media/pci/ngene/
H A Dngene-dvb.c111 .users = 2,
247 if (chan->users > 0)
280 if (chan->users == 0) {
285 return ++chan->users;
293 if (--chan->users)
294 return chan->users;
/linux-master/lib/reed_solomon/
H A Dreed_solomon.c155 rs->users = 1;
185 cd->users--;
186 if(!cd->users) {
260 cd->users++;

Completed in 253 milliseconds

123456789