Searched refs:bmap (Results 1 - 25 of 122) sorted by last modified time

12345

/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c276 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 Drvu_npc.c1835 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 Drvu_nix.c1326 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 Dcgx.c347 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 Drvu.c132 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 Drvu.h93 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 Dmbox.h105 int direction, int ndevs, unsigned long *bmap);
/linux-master/drivers/dma/idxd/
H A Dirq.c318 if (test_bit(index, evl->bmap)) {
319 clear_bit(index, evl->bmap);
H A Didxd.h303 unsigned long *bmap; member in struct:idxd_evl
734 void multi_u64_to_bmap(unsigned long *bmap, u64 *val, int count);
H A Dinit.c442 void multi_u64_to_bmap(unsigned long *bmap, u64 *val, int count) argument
449 set_bit(nr, bmap);
H A Ddevice.c754 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 Dcdev.c354 set_bit(h, evl->bmap);
/linux-master/fs/ntfs3/
H A Dinode.c2121 .bmap = ntfs_bmap,
/linux-master/fs/
H A Dioctl.c77 error = bmap(inode, &block);
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c5200 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 Dvmx_dirty_log_test.c87 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 Dfile.c3331 .bmap = fuse_bmap,
/linux-master/include/linux/
H A Dfs.h415 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 Dnfs4state.c430 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 Dxfs_aops.c532 * 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 Dinode.c304 "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 Dcpufeature.c66 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 Dmixer.c575 static int check_matrix_bitmap(unsigned char *bmap, argument
579 return bmap[idx >> 3] & (0x80 >> (idx & 7));
/linux-master/fs/f2fs/
H A Ddata.c4078 .bmap = f2fs_bmap,
/linux-master/tools/testing/selftests/kvm/aarch64/
H A Dpage_fault_test.c455 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);

Completed in 398 milliseconds

12345