/drivers/gpu/drm/nouveau/core/core/ |
H A D | event.c | 32 if (--event->refs[index * event->types_nr + type] == 0) { 45 if (++event->refs[index * event->types_nr + type] == 1) { 59 if (!event->refs || WARN_ON(index >= event->index_nr)) 78 if (event->refs) { 79 kfree(event->refs); 80 event->refs = NULL; 88 event->refs = kzalloc(sizeof(*event->refs) * index_nr * types_nr, 90 if (!event->refs)
|
H A D | notify.c | 144 if ((notify->event = event), event->refs) {
|
/drivers/staging/lustre/lustre/libcfs/ |
H A D | libcfs_lock.c | 152 cfs_percpt_atomic_free(atomic_t **refs) argument 154 cfs_percpt_free(refs); 162 atomic_t **refs; local 166 refs = cfs_percpt_alloc(cptab, sizeof(*ref)); 167 if (refs == NULL) 170 cfs_percpt_for_each(ref, i, refs) 172 return refs; 176 /** return sum of cpu-partition refs */ 178 cfs_percpt_atomic_summary(atomic_t **refs) argument 184 cfs_percpt_for_each(ref, i, refs) [all...] |
/drivers/gpu/drm/nouveau/core/include/core/ |
H A D | event.h | 23 int *refs; member in struct:nvkm_event
|
/drivers/staging/lustre/lnet/lnet/ |
H A D | lib-eq.c | 157 int **refs = NULL; local 191 refs = eq->eq_refs; 202 if (refs != NULL) 203 cfs_percpt_free(refs);
|
/drivers/misc/sgi-xp/ |
H A D | xpc.h | 956 s32 refs = atomic_dec_return(&ch->references); local 958 DBUG_ON(refs < 0); 959 if (refs == 0) 973 s32 refs = atomic_dec_return(&part->references); local 975 DBUG_ON(refs < 0); 976 if (refs == 0 && part->setup_state == XPC_P_SS_WTEARDOWN)
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | port.c | 59 table->refs[i] = 0; 72 table->refs[i] = 0; 106 if (table->refs[i] && 144 if (!table->refs[i]) 169 if (!table->refs[i]) { 179 ++table->refs[i]; 202 table->refs[free] = 1; 265 if (--table->refs[index]) { 358 if (table->refs[i] && 387 if (free < 0 && (table->refs[ [all...] |
H A D | mlx4.h | 701 int refs[MLX4_MAX_MAC_NUM]; member in struct:mlx4_mac_table 723 int refs[MLX4_MAX_VLAN_NUM]; member in struct:mlx4_vlan_table
|
/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_private.h | 393 void cfs_percpt_atomic_free(atomic_t **refs); 394 /* return sum of all percpu refs */ 395 int cfs_percpt_atomic_summary(atomic_t **refs);
|
/drivers/net/wireless/iwlwifi/mvm/ |
H A D | debugfs.c | 1256 if (mvm->refs[ref]) \ 1259 BIT(ref), mvm->refs[ref], #ref); \ 1270 u32 refs = 0; local 1273 if (mvm->refs[i]) 1274 refs |= BIT(i); 1276 pos += scnprintf(buf + pos, bufsz - pos, "taken mvm refs: 0x%x\n", 1277 refs); 1315 taken = mvm->refs[IWL_MVM_REF_USER];
|
H A D | mac80211.c | 217 mvm->refs[ref_type]++; 229 WARN_ON(!mvm->refs[ref_type]--); 244 if (except_ref == i || !mvm->refs[i]) 248 i, mvm->refs[i]); 249 for (j = 0; j < mvm->refs[i]; j++) 251 mvm->refs[i] = 0;
|
H A D | mvm.h | 645 u8 refs[IWL_MVM_REF_COUNT]; member in struct:iwl_mvm
|
H A D | ops.c | 560 mvm->refs[IWL_MVM_REF_UCODE_DOWN] = 1;
|
/drivers/staging/android/ |
H A D | binder.c | 231 struct hlist_head refs; member in struct:binder_node 256 /* node => refs + procs (proc exit) */ 970 if (node->local_weak_refs || !hlist_empty(&node->refs)) 979 if (hlist_empty(&node->refs) && !node->local_strong_refs && 1073 hlist_add_head(&new_ref->node_entry, &node->refs); 2269 int weak = !hlist_empty(&node->refs) || node->local_weak_refs || strong; 3018 static int binder_node_release(struct binder_node *node, int refs) argument 3026 if (hlist_empty(&node->refs)) { 3030 return refs; 3038 hlist_for_each_entry(ref, &node->refs, node_entr [all...] |
/drivers/staging/lustre/lustre/obdclass/ |
H A D | obd_config.c | 725 int refs; local 729 refs = atomic_read(&obd->obd_refcount); 733 CDEBUG(D_INFO, "Decref %s (%p) now %d\n", obd->obd_name, obd, refs); 735 if ((refs == 1) && obd->obd_stopping) { 748 if (refs == 0) {
|
/drivers/tty/ |
H A D | tty_io.c | 536 int refs = 0; local 547 refs++; 572 return refs; 603 int refs; local 645 refs = tty_signal_session_leader(tty, exit_session); 647 while (refs--)
|
/drivers/xen/ |
H A D | gntdev.c | 569 if (copy_from_user(map->grants, &u->refs,
|
/drivers/block/drbd/ |
H A D | drbd_main.c | 2894 int refs = 3; local 2902 refs++; 2908 kref_sub(&device->kref, refs, drbd_destroy_device);
|