/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_debugfs.c | 276 for_each_set_bit(sa_id, map->bmap, mcs->hw->sa_entries) { 292 for_each_set_bit(sa_id, map->bmap, mcs->hw->sa_entries) { 330 for_each_set_bit(sc_id, map->bmap, mcs->hw->sc_entries) { 360 for_each_set_bit(sc_id, map->bmap, mcs->hw->sc_entries) { 401 for_each_set_bit(flow_id, map->bmap, mcs->hw->tcam_entries) { 434 for_each_set_bit(secy_id, map->bmap, mcs->hw->secy_entries) { 477 for_each_set_bit(secy_id, map->bmap, mcs->hw->secy_entries) { 671 for_each_set_bit(lf, block.lf.bmap, block.lf.max) { 2118 unsigned long *bmap, char *qtype) 2126 bitmap_print_to_pagebuf(false, buf, bmap, qsiz 2117 print_nix_qctx_qsize(struct seq_file *filp, int qsize, unsigned long *bmap, char *qtype) argument [all...] |
H A D | rvu_npc.c | 1835 bitmap_free(mcam->bmap); 1842 kfree(mcam->counters.bmap); 1889 mcam->bmap = bitmap_zalloc(mcam->bmap_entries, GFP_KERNEL); 1890 if (!mcam->bmap) 1968 kfree(mcam->counters.bmap); 1974 bitmap_free(mcam->bmap); 2182 kfree(pkind->rsrc.bmap); 2304 __set_bit(entry, mcam->bmap); 2320 __clear_bit(entry, mcam->bmap); 2455 fcnt = npc_mcam_get_free_count(mcam->bmap, 2497 unsigned long *bmap; local [all...] |
H A D | rvu_nix.c | 1326 unsigned long *bmap; local 1342 bmap = pfvf->cq_bmap; 1348 bmap = pfvf->sq_bmap; 1354 bmap = pfvf->rq_bmap; 1361 if (!test_bit(qidx, bmap)) 2052 !test_bit(schq, txsch->schq.bmap)) 2107 if (idx >= (end - start) || test_bit(schq, txsch->schq.bmap)) { 2115 set_bit(schq, txsch->schq.bmap); 2120 set_bit(schq, txsch->schq.bmap); 2128 schq = bitmap_find_next_zero_area(txsch->schq.bmap, [all...] |
H A D | cgx.c | 347 set_bit(0, lmac->mac_to_index_bmap.bmap); 385 if (!test_bit(index, lmac->mac_to_index_bmap.bmap)) 641 if (!bitmap_weight(lmac->rx_fc_pfvf_bmap.bmap, lmac->rx_fc_pfvf_bmap.max)) 900 clear_bit(pfvf_idx, lmac->rx_fc_pfvf_bmap.bmap); 902 set_bit(pfvf_idx, lmac->rx_fc_pfvf_bmap.bmap); 905 clear_bit(pfvf_idx, lmac->tx_fc_pfvf_bmap.bmap); 907 set_bit(pfvf_idx, lmac->tx_fc_pfvf_bmap.bmap); 910 if (!rx_pause && bitmap_weight(lmac->rx_fc_pfvf_bmap.bmap, lmac->rx_fc_pfvf_bmap.max)) { 916 if (!tx_pause && bitmap_weight(lmac->tx_fc_pfvf_bmap.bmap, lmac->tx_fc_pfvf_bmap.max)) { 1670 set_bit(0, lmac->mac_to_index_bmap.bmap); [all...] |
H A D | rvu.c | 132 if (!rsrc->bmap) 135 id = find_first_zero_bit(rsrc->bmap, rsrc->max); 139 __set_bit(id, rsrc->bmap); 148 if (!rsrc->bmap) 151 start = bitmap_find_next_zero_area(rsrc->bmap, rsrc->max, 0, nrsrc, 0); 155 bitmap_set(rsrc->bmap, start, nrsrc); 161 if (!rsrc->bmap) 166 bitmap_clear(rsrc->bmap, start, nrsrc); 173 if (!rsrc->bmap) 176 start = bitmap_find_next_zero_area(rsrc->bmap, rsr [all...] |
H A D | rvu.h | 93 unsigned long *bmap; /* Pointer to resource bitmap */ member in struct:rsrc_bmap 183 unsigned long *bmap; /* bitmap, 0 => bmap_entries */ member in struct:npc_mcam
|
H A D | mbox.h | 105 int direction, int ndevs, unsigned long *bmap);
|
/linux-master/drivers/dma/idxd/ |
H A D | irq.c | 318 if (test_bit(index, evl->bmap)) { 319 clear_bit(index, evl->bmap);
|
H A D | idxd.h | 303 unsigned long *bmap; member in struct:idxd_evl 734 void multi_u64_to_bmap(unsigned long *bmap, u64 *val, int count);
|
H A D | init.c | 442 void multi_u64_to_bmap(unsigned long *bmap, u64 *val, int count) argument 449 set_bit(nr, bmap);
|
H A D | device.c | 754 unsigned long *bmap; local 762 bmap = bitmap_zalloc(size, GFP_KERNEL); 763 if (!bmap) { 782 evl->bmap = bmap; 803 bitmap_free(bmap); 833 bitmap_free(evl->bmap);
|
H A D | cdev.c | 354 set_bit(h, evl->bmap);
|
/linux-master/fs/ntfs3/ |
H A D | inode.c | 2121 .bmap = ntfs_bmap,
|
/linux-master/fs/ |
H A D | ioctl.c | 77 error = bmap(inode, &block);
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 5200 int bnxt_hwrm_func_drv_rgtr(struct bnxt *bp, unsigned long *bmap, int bmap_size, argument 5270 if (bmap && bmap_size) { 5272 if (test_bit(i, bmap))
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_dirty_log_test.c | 87 unsigned long *bmap; local 132 bmap = bitmap_zalloc(TEST_MEM_PAGES); 149 kvm_vm_get_dirty_log(vm, TEST_MEM_SLOT_INDEX, bmap); 151 TEST_ASSERT(test_bit(0, bmap), "Page 0 incorrectly reported clean"); 154 TEST_ASSERT(!test_bit(0, bmap), "Page 0 incorrectly reported dirty"); 158 TEST_ASSERT(!test_bit(1, bmap), "Page 1 incorrectly reported dirty"); 160 TEST_ASSERT(!test_bit(2, bmap), "Page 2 incorrectly reported dirty");
|
/linux-master/fs/fuse/ |
H A D | file.c | 3331 .bmap = fuse_bmap,
|
/linux-master/include/linux/ |
H A D | fs.h | 415 sector_t (*bmap)(struct address_space *, sector_t); member in struct:address_space_operations 2809 extern int bmap(struct inode *inode, sector_t *block); 2811 static inline int bmap(struct inode *inode, sector_t *block) function
|
/linux-master/fs/nfsd/ |
H A D | nfs4state.c | 430 bmap_to_share_mode(unsigned long bmap) argument 436 if (test_bit(i, &bmap)) 754 unsigned char bmap; local 766 bmap = share_access ? st->st_deny_bmap : st->st_access_bmap; 767 if (!(access & bmap_to_share_mode(bmap)))
|
/linux-master/fs/xfs/ |
H A D | xfs_aops.c | 532 * The swap code (ab-)uses ->bmap to get a block mapping and then 535 * 0 is the magic code for a bmap error. 537 * Since we don't pass back blockdev info, we can't return bmap 578 .bmap = xfs_vm_bmap,
|
/linux-master/fs/exfat/ |
H A D | inode.c | 304 "failed to bmap (inode : %p iblock : %llu, err : %d)", 348 "requested for bmap out of range(pos : (%llu) > i_size_aligned(%llu)\n", 576 .bmap = exfat_aop_bmap,
|
/linux-master/arch/riscv/kernel/ |
H A D | cpufeature.c | 66 const unsigned long *bmap = (isa_bitmap) ? isa_bitmap : riscv_isa; local 71 return test_bit(bit, bmap) ? true : false;
|
/linux-master/sound/usb/ |
H A D | mixer.c | 575 static int check_matrix_bitmap(unsigned char *bmap, argument 579 return bmap[idx >> 3] & (0x80 >> (idx & 7));
|
/linux-master/fs/f2fs/ |
H A D | data.c | 4078 .bmap = f2fs_bmap,
|
/linux-master/tools/testing/selftests/kvm/aarch64/ |
H A D | page_fault_test.c | 455 unsigned long *bmap; local 460 bmap = bitmap_zalloc(size / getpagesize()); 461 kvm_vm_get_dirty_log(vm, region->region.slot, bmap); 462 first_page_dirty = test_bit(host_pg_nr, bmap); 463 free(bmap);
|