Searched refs:num_active (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ldu.c42 unsigned num_active; member in struct:vmw_legacy_display
113 lds->num_active ? lds->num_active : 1); vmw_ldu_commit_list()
130 BUG_ON(i != lds->num_active); vmw_ldu_commit_list()
132 lds->last_num_active = lds->num_active; vmw_ldu_commit_list()
165 if (--(ld->num_active) == 0) { vmw_ldu_del_active()
183 BUG_ON(!ld->num_active && ld->fb); vmw_ldu_add_active()
205 ld->num_active++; vmw_ldu_add_active()
247 !(dev_priv->ldu_priv->num_active == 1 && vmw_ldu_crtc_set_config()
403 dev_priv->ldu_priv->num_active = 0; vmw_kms_init_legacy_display_system()
/linux-4.1.27/include/linux/
H A Dslab_def.h49 unsigned long num_active; member in struct:kmem_cache
/linux-4.1.27/drivers/usb/gadget/function/
H A Df_mass_storage.c2386 int num_active = 0; handle_exception() local
2389 num_active += bh->inreq_busy + bh->outreq_busy; handle_exception()
2391 if (num_active == 0) handle_exception()
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_common.h461 __u32 num_active; /* number of active units */ member in struct:ipath_port_info
H A Dipath_file_ops.c2173 info.num_active = nup; ipath_port_info()
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_common.h420 __u16 num_active; /* number of active units */ member in struct:qib_ctxt_info
H A Dqib_file_ops.c1916 info.num_active = qib_count_active_units(); qib_ctxt_info()
/linux-4.1.27/mm/
H A Dslab.c298 #define STATS_INC_ACTIVE(x) ((x)->num_active++)
299 #define STATS_DEC_ACTIVE(x) ((x)->num_active--)
305 if ((x)->num_active > (x)->high_mark) \
306 (x)->high_mark = (x)->num_active; \

Completed in 359 milliseconds