/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 2140 eosw_txq->inuse += n; 2146 if (eosw_txq->inuse == eosw_txq->ndesc) 2506 eosw_txq->inuse--; 4037 eosw_txq->inuse -= pktcount;
|
/linux-master/block/ |
H A D | blk-iocost.c | 474 * `weight`. `inuse` is the surplus adjusted active weight. 475 * `active` and `inuse` are used to calculate `hweight_active` and 478 * `last_inuse` remembers `inuse` while an iocg is idle to persist 481 * `inuse` may be adjusted dynamically during period. `saved_*` are used 487 u32 inuse; member in struct:ioc_gq 1080 * Update @iocg's `active` and `inuse` to @active and @inuse, update level 1082 * is saved to be used as reference for later inuse in-period adjustments. 1084 static void __propagate_weights(struct ioc_gq *iocg, u32 active, u32 inuse, argument 1093 * For an active leaf node, its inuse should 1159 propagate_weights(struct ioc_gq *iocg, u32 active, u32 inuse, bool save, struct ioc_now *now) argument 1197 u32 inuse = READ_ONCE(child->inuse); local 1227 u32 inuse = iocg->active; local 1988 u32 inuse, wpt, wptp; local 2032 u32 inuse; local [all...] |
/linux-master/net/netfilter/ |
H A D | nf_tables_api.c | 4472 unsigned long *inuse; local 4483 inuse = (unsigned long *)get_zeroed_page(GFP_KERNEL); 4484 if (inuse == NULL) 4497 set_bit(tmp - min, inuse); 4500 n = find_first_zero_bit(inuse, BITS_PER_BYTE * PAGE_SIZE); 4503 memset(inuse, 0, PAGE_SIZE); 4506 free_page((unsigned long)inuse);
|
/linux-master/net/core/ |
H A D | dev.c | 1063 unsigned long *inuse; local 1075 inuse = bitmap_zalloc(max_netdevices, GFP_ATOMIC); 1076 if (!inuse) 1091 __set_bit(i, inuse); 1101 __set_bit(i, inuse); 1104 i = find_first_zero_bit(inuse, max_netdevices); 1105 bitmap_free(inuse);
|
/linux-master/io_uring/ |
H A D | kbuf.c | 38 int inuse; member in struct:io_buf_free 210 ibf->inuse = 0; 563 if (ibf->inuse || ibf->size < ring_size) 604 ibf->inuse = 1;
|
/linux-master/fs/xfs/scrub/ |
H A D | common.c | 1336 bool *inuse) 1458 *inuse = VFS_I(ip)->i_mode != 0; 1333 xchk_inode_is_allocated( struct xfs_scrub *sc, xfs_agino_t agino, bool *inuse) argument
|
H A D | ialloc_repair.c | 144 bool *inuse) 172 error = xchk_inode_is_allocated(sc, agino, inuse); 176 *inuse = dip->di_mode != 0; 265 bool inuse = false; local 268 cluster_bp, cluster_index, &inuse); 271 if (!inuse) 139 xrep_ibt_check_ifree( struct xrep_ibt *ri, xfs_agino_t cluster_ag_base, struct xfs_buf *cluster_bp, unsigned int cluster_index, bool *inuse) argument
|
H A D | common.h | 276 bool *inuse);
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_common.h | 341 bool inuse; member in struct:otx2_mac_table
|
/linux-master/drivers/iio/dummy/ |
H A D | iio_dummy_evgen.c | 33 * @inuse: mask of which irqs are connected 39 bool inuse[IIO_EVENTGEN_NO]; member in struct:iio_dummy_eventgen 82 if (!iio_evgen->inuse[i]) { 84 iio_evgen->inuse[i] = true; 107 iio_evgen->inuse[irqd_to_hwirq(irqd)] = false;
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_qp.c | 196 bankcnt = bank[i].inuse; 250 qp_table->bank[bankid].inuse++; 416 hr_dev->qp_table.bank[bankid].inuse--; 1544 hr_dev->qp_table.bank[get_qp_bankid(i)].inuse++;
|
H A D | hns_roce_cq.c | 42 u32 least_load = bank[0].inuse; 48 bankcnt = bank[i].inuse; 77 bank->inuse++; 99 bank->inuse--; 520 cq_table->bank[get_cq_bankid(i)].inuse++;
|
H A D | hns_roce_device.h | 477 u32 inuse; /* Number of IDs allocated */ member in struct:hns_roce_bank
|
/linux-master/drivers/infiniband/core/ |
H A D | device.c | 457 struct ida inuse; local 462 ida_init(&inuse); 474 rc = ida_alloc_range(&inuse, i, i, GFP_KERNEL); 479 rc = ida_alloc(&inuse, GFP_KERNEL); 485 ida_destroy(&inuse);
|
/linux-master/drivers/macintosh/ |
H A D | adb.c | 613 int inuse; member in struct:adbdev_state 627 if (!state->inuse) { 687 state->inuse = 1; 708 state->inuse = 0;
|
/linux-master/mm/ |
H A D | zsmalloc.c | 150 * of ->inuse objects to all objects that page can store). For example, 155 * number of ->inuse objects) and the most busy page (maximum permitted 156 * number of ->inuse objects) at a reasonable value. 168 /* NOTE: stats for 12 fullness groups here: from inuse 0 to 100 */ 250 unsigned int inuse; member in struct:zspage 436 return zspage->inuse; 442 zspage->inuse += val; 642 int inuse, objs_per_zspage, ratio; local 644 inuse = get_zspage_inuse(zspage); 647 if (inuse [all...] |
H A D | swapfile.c | 2027 * Return 0 if there are no inuse entries after prev till end of 2653 unsigned long bytes, inuse; local 2661 inuse = K(READ_ONCE(si->inuse_pages)); 2670 inuse, inuse < 10000000 ? "\t" : "",
|
H A D | slub.c | 74 * B. slab->inuse -> Number of objects in use 853 return s->offset >= s->inuse; 857 * Return offset of the end of info block which is inuse + free pointer if 863 return s->inuse + sizeof(void *); 865 return s->inuse; 964 slab, slab->objects, slab->inuse, slab->freelist, 1069 s->inuse - s->object_size); 1156 memset(p + poison_size, val, s->inuse - poison_size); 1213 * object_size == inuse. 1218 * object + s->inuse [all...] |
H A D | slab.h | 74 unsigned inuse:16; member in struct:slab::__anon2916::__anon2917::__anon2920::__anon2921::__anon2922::__anon2923 275 unsigned int inuse; /* Offset to metadata */ member in struct:kmem_cache 596 return s->inuse;
|
/linux-master/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_smp.c | 350 int inuse = bitmap_weight(cs, smp->blk_cnt); local 353 pipe2name(pipe), j, inuse, 356 total += inuse;
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras.h | 538 int inuse; member in struct:ras_ih_data
|
H A D | amdgpu_ras.c | 2149 if (data->inuse == 0) 2175 if (data->inuse == 0) 2207 .inuse = 0, 2226 data->inuse = 1;
|
/linux-master/fs/overlayfs/ |
H A D | util.c | 996 * it is marked inuse. 1028 bool inuse; local 1031 inuse = (inode->i_state & I_OVL_INUSE); 1034 return inuse;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | ptp.c | 27 bool inuse : 1; member in struct:mlx5e_ptp_port_ts_cqe_tracker 43 WARN_ON_ONCE(tracker->inuse); 44 tracker->inuse = true; 55 WARN_ON_ONCE(!tracker->inuse); 56 tracker->inuse = false; 169 WARN_ON_ONCE(!pos->inuse); 170 pos->inuse = false; 191 if (likely(pending_cqe_list->nodes[metadata_id].inuse)) {
|
/linux-master/drivers/isdn/mISDN/ |
H A D | dsp_pipeline.c | 269 pipeline->inuse = 1; 271 pipeline->inuse = 0;
|