/linux-master/net/rxrpc/ |
H A D | conn_object.c | 209 if (atomic_dec_and_test(&conn->active)) 223 if (atomic_read(&conn->active) >= 0 && 386 int active; local 397 ASSERTCMP(atomic_read(&conn->active), >=, 0); 398 if (likely(atomic_read(&conn->active) > 0)) 410 conn->debug_id, atomic_read(&conn->active), 423 active = 0; 424 if (!atomic_try_cmpxchg(&conn->active, &active, -1)) 448 ASSERTCMP(atomic_read(&conn->active), [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | i9xx_wm.c | 450 * __---__---__ (- plane active, _ blanking) 456 * __----__----__ (- plane active, _ blanking) 498 * __ --__--__--__--__--__--__ (- plane active, _ blanking) 608 * FIXME: The intel_crtc->active here should be switched to 609 * crtc->state->active once we have proper CRTC states wired up 612 return crtc->active && crtc->base.primary->state->fb && 1205 const struct g4x_wm_state *active = &old_crtc_state->wm.g4x.optimal; local 1208 if (!new_crtc_state->hw.active || 1217 intermediate->cxsr = optimal->cxsr && active->cxsr && 1219 intermediate->hpll_en = optimal->hpll_en && active 1860 const struct vlv_wm_state *active = &old_crtc_state->wm.vlv.optimal; local 2937 const struct intel_pipe_wm *active = &crtc->wm.active.ilk; local 3353 struct intel_pipe_wm *active = &crtc_state->wm.ilk.optimal; local 3631 struct g4x_wm_state *active = &crtc->wm.active.g4x; local 3816 struct vlv_wm_state *active = &crtc->wm.active.vlv; local [all...] |
/linux-master/drivers/net/wireless/ti/wl18xx/ |
H A D | scan.c | 16 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); 98 if (cmd->active[0]) { 115 if (cmd->active[1] || cmd->dfs) { 241 if (cmd->active[0]) { 258 if (cmd->active[1] || cmd->dfs) {
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_gem_evict.c | 58 * bound by their active reference. 160 struct i915_vma *active; local 169 * Since both active and inactive objects reside on the same list, 171 * we sort it into inactive/active, which keeps the active portion 197 active = NULL; 200 if (vma == active) { /* now seen this vma twice */ 204 active = ERR_PTR(-EAGAIN); 209 * of active elements (inactive elements are cheap to reap). 220 * first active elemen [all...] |
/linux-master/drivers/input/mouse/ |
H A D | focaltech.c | 54 #define FOC_TOUCH 0x3 /* bitmap of active fingers */ 65 bool active; member in struct:focaltech_finger_state 69 * flag is 0 when the finger is not active, and there is a 124 bool active = finger->active && finger->valid; local 127 input_mt_report_slot_state(dev, MT_TOOL_FINGER, active); 128 if (active) { 161 state->fingers[i].active = fingers & 0x1; 162 if (!state->fingers[i].active) { 164 * Even when the finger becomes active agai [all...] |
/linux-master/arch/s390/kernel/ |
H A D | debug.c | 853 * - set active entry to next in the ring buffer 868 * - set active area to next in the ring buffer 897 /* Append all debug events in active area from source to destination log. */ 927 static inline void debug_finish_entry(debug_info_t *id, debug_entry_t *active, argument 936 active->clock = timestamp; 937 active->cpu = smp_processor_id(); 938 active->caller = __builtin_return_address(0); 939 active->exception = exception; 940 active->level = level; 1023 debug_entry_t *active; local 1056 debug_entry_t *active; local 1102 debug_entry_t *active; local 1137 debug_entry_t *active; local [all...] |
/linux-master/net/ethtool/ |
H A D | features.c | 15 u32 active[ETHTOOL_DEV_FEATURE_WORDS]; member in struct:features_reply_data 46 ethnl_features_to_bitmap32(data->active, dev->features); 72 ret = ethnl_bitset32_size(data->active, NULL, NETDEV_FEATURE_COUNT, 104 ret = ethnl_put_bitset32(skb, ETHTOOL_A_FEATURES_ACTIVE, data->active, 159 const unsigned long *active, 173 ret = ethnl_bitset_size(active, active_mask, NETDEV_FEATURE_COUNT, 191 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_ACTIVE, active, 156 features_send_reply(struct net_device *dev, struct genl_info *info, const unsigned long *wanted, const unsigned long *wanted_mask, const unsigned long *active, const unsigned long *active_mask, bool compact) argument
|
/linux-master/drivers/dma/ |
H A D | dma-axi-dmac.c | 374 struct axi_dmac_desc *active) 376 struct dmaengine_result *rslt = &active->vdesc.tx_result; 377 unsigned int start = active->num_completed - 1; 391 for (i = start; i < active->num_sgs; i++) { 392 sg = &active->sg[i]; 401 struct axi_dmac_desc *active; local 405 active = axi_dmac_active_desc(chan); 406 if (!active) 414 if (active->cyclic) { 415 vchan_cyclic_callback(&active 373 axi_dmac_compute_residue(struct axi_dmac_chan *chan, struct axi_dmac_desc *active) argument [all...] |
/linux-master/virt/kvm/ |
H A D | pfncache.c | 77 if (!gpc->active) 266 if (!gpc->active) { 386 gpc->active = gpc->valid = false; 399 if (!gpc->active) { 413 gpc->active = true; 444 if (gpc->active) { 451 gpc->active = false;
|
/linux-master/drivers/net/ |
H A D | rionet.c | 75 struct rio_dev **active; member in struct:rionet_net 76 int nact; /* number of active peers */ 197 if (nets[rnet->mport->id].active[i]) { 199 nets[rnet->mport->id].active[i]); 206 if (nets[rnet->mport->id].active[destid]) 208 nets[rnet->mport->id].active[destid]); 212 * active peers but we still have TX packets targeting 239 if (!nets[netid].active[sid]) { 243 nets[netid].active[sid] = peer->rdev; 254 if (nets[netid].active[si [all...] |
/linux-master/fs/autofs/ |
H A D | root.c | 74 list_del_init(&ino->active); 121 if (!list_empty(&ino->active)) 122 list_del(&ino->active); 147 struct dentry *active; local 150 ino = list_entry(p, struct autofs_info, active); 151 active = ino->dentry; 153 spin_lock(&active->d_lock); 156 if ((int) d_count(active) <= 0) 159 qstr = &active->d_name; 161 if (active 498 struct dentry *active; local [all...] |
/linux-master/drivers/base/power/ |
H A D | wakeup.c | 176 ws->active = false; 551 * wakeup_source_activate - Mark given wakeup source as active. 566 ws->active = true; 590 if (!ws->active) 675 * will set ws->active. Then, ws->active may be cleared immediately 684 ws->active = false; 728 if (ws->active) 758 * in @data if it is currently active and its timer has not been canceled and 768 if (ws->active 845 int srcuidx, active = 0; local [all...] |
/linux-master/sound/soc/fsl/ |
H A D | mpc5200_dma.c | 39 if (psc_dma->playback.active && (isr & MPC52xx_PSC_IMR_TXEMP)) 43 if (psc_dma->capture.active && (isr & MPC52xx_PSC_IMR_ORERR)) 93 /* If the stream is active, then also inform the PCM middle layer 95 if (s->active) 131 s->active = 1; 159 s->active = 0; 179 if (psc_dma->playback.active) 181 if (psc_dma->capture.active) 254 if (!psc_dma->playback.active && 255 !psc_dma->capture.active) { [all...] |
/linux-master/kernel/power/ |
H A D | wakelock.c | 48 if (wl->ws->active == show_active) 110 bool active; local 114 active = wl->ws->active; 120 if (!active) {
|
/linux-master/drivers/hwmon/occ/ |
H A D | sysfs.c | 30 bool active; local 33 rc = kstrtobool(buf, &active); 37 rc = occ_active(occ, active); 53 if (occ->active) { 172 if (!occ->active)
|
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00config.c | 109 struct antenna_setup *active = &rt2x00dev->link.ant.active; local 129 config.rx = active->rx; 141 config.tx = active->tx; 159 memcpy(active, &config, sizeof(config));
|
/linux-master/net/sctp/ |
H A D | stream_sched_prio.c | 50 INIT_LIST_HEAD(&p->active); 98 if (pos == &p->active) 120 if (list_empty(&prio_head->active)) { 150 list_add(&soute->prio_list, &prio_head->active); 240 * one or the first chunk on the next active stream. 299 list_for_each_entry_safe(soute, souttmp, &p->active, prio_list)
|
/linux-master/drivers/input/misc/ |
H A D | pm8xxx-vibrator.c | 53 * @active: state of vibrator 64 bool active; member in struct:pm8xxx_vib 117 vib->active = true; 122 vib->active = false; 126 pm8xxx_vib_set(vib, vib->active); 140 if (vib->active)
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_attr.c | 130 ASSERT((path->active >= 0) && (path->active < XFS_DA_NODE_MAXDEPTH)); 131 for (blk = path->blk, level = 0; level < path->active; blk++, level++) { 145 ASSERT((path->active >= 0) && (path->active < XFS_DA_NODE_MAXDEPTH)); 146 for (blk = path->blk, level = 0; level < path->active; blk++, level++) { 178 ASSERT((path->active >= 0) && (path->active < XFS_DA_NODE_MAXDEPTH)); 179 for (blk = path->blk, level = 0; level < path->active; blk++, level++) { 196 ASSERT((path->active > [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | macsec.c | 59 bool active; member in struct:mlx5e_macsec_sa 80 bool active; member in struct:mlx5e_macsec_rx_sc 389 if (sa->active) { 418 bool active, u32 *fs_id) 424 if (rx_sa->active == active) 427 rx_sa->active = active; 428 if (!active) { 435 rx_sa->active 416 macsec_rx_sa_active_update(struct macsec_context *ctx, struct mlx5e_macsec_sa *rx_sa, bool active, u32 *fs_id) argument [all...] |
/linux-master/kernel/time/ |
H A D | timer_migration.c | 44 * active in the group. This designated role is necessary to avoid that all 45 * active CPUs in a group try to migrate expired timers from other CPUs, 50 * no CPU is active, it also checks the groups where no migrator is set 65 * When CPU comes out of idle and when a group has at least a single active 69 * time. This spares locking in active path as the lock protects (after 74 * the next active CPU in the group or sets migrator to TMIGR_NONE when 75 * there is no active CPU in the group. This delegation needs to be 101 * active CPU/group information atomic_try_cmpxchg() is used instead and only 114 * The state information with the list of active children and migrator needs to 125 * active 452 unsigned long active; local 468 unsigned long active; local 1283 unsigned long new_migr_bit, active = newstate.active; local [all...] |
/linux-master/drivers/crypto/ccp/ |
H A D | ccp-dmaengine.c | 79 ccp_free_cmd_resources(ccp, &desc->active); 98 ccp_free_desc_resources(chan->ccp, &chan->active); 116 ccp_free_cmd_resources(ccp, &desc->active); 145 list_move(&cmd->entry, &desc->active); 164 cmd = list_first_entry_or_null(&desc->active, struct ccp_dma_cmd, 183 /* Get the next DMA descriptor on the active list */ 184 desc = list_first_entry_or_null(&chan->active, struct ccp_dma_desc, 252 desc = list_empty(&chan->active) 256 list_splice_tail_init(&chan->pending, &chan->active); 346 INIT_LIST_HEAD(&desc->active); [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | debugfs.c | 62 bool active; local 66 active = __mlx5_lag_is_active(ldev); 68 seq_printf(file, "%s\n", active ? "active" : "disabled");
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | time-sync.c | 142 if (mvm->time_sync.active && 164 mvm->time_sync.active = protocols != 0; 169 if (!mvm->time_sync.active)
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | minimal.c | 30 bool active; member in struct:mlxsw_m_line_card 334 if (mlxsw_m->line_cards[slot_index]->active) 463 /* Mark slot as active */ 464 if (!mlxsw_m->line_cards[slot_index]->active) 465 mlxsw_m->line_cards[slot_index]->active = true; 477 if (mlxsw_m->line_cards[slot_index]->active) 478 mlxsw_m->line_cards[slot_index]->active = false; 555 if (WARN_ON(!linecard->active)) 559 linecard->active = false; 589 if (linecard->active) [all...] |