/linux-4.4.14/include/linux/ceph/ |
H A D | rados.h | 91 * increases over time. b is the number of bins, and bmask is the 94 * b <= bmask and bmask=(2**n)-1 95 * e.g., b=12 -> bmask=15, b=123 -> bmask=127 97 static inline int ceph_stable_mod(int x, int b, int bmask) ceph_stable_mod() argument 99 if ((x & bmask) < b) ceph_stable_mod() 100 return x & bmask; ceph_stable_mod() 102 return x & (bmask >> 1); ceph_stable_mod()
|
/linux-4.4.14/arch/x86/boot/ |
H A D | vesa.h | 59 u8 bmask; /* 35 */ member in struct:vesa_mode_info
|
/linux-4.4.14/drivers/isdn/act2000/ |
H A D | capi.h | 48 struct bmask { /* bit definitions */ struct in union:actcapi_infonr 53 } bmask; member in union:actcapi_infonr
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | visemul.c | 405 static void bmask(struct pt_regs *regs, unsigned int insn) bmask() function 425 unsigned long bmask, i; bshuffle() local 427 bmask = current_thread_info()->gsr[0] >> 32UL; bshuffle() 434 unsigned long which = (bmask >> (i * 4)) & 0xf; bshuffle() 887 bmask(regs, insn); vis_emul()
|
/linux-4.4.14/drivers/isdn/hardware/mISDN/ |
H A D | hfcmulti.c | 106 * dmask and bmask: 111 * For each bit set, a bmask value must be given. Each bit on the bmask 112 * value stands for a B-channel. The bmask may not overlap with dmask or 113 * with other bmask values for that card. 114 * Example: dmask=0x00020002 bmask=0x0000fffc,0xfffc0000 120 * Example: dmask=0x00000001 bmask=0xfffffffe 123 * If no bits are set on bmask, no B-channel is created for that fragment. 124 * Example: dmask=0xfffffffe bmask=0,0,0,0.... (31 0-values for bmask) 220 static uint bmask[MAX_FRAGS]; variable 249 module_param_array(bmask, uint, NULL, S_IRUGO | S_IWUSR); 3886 if (!((1 << i) & hc->bmask[pt])) /* skip unused chan */ hfcmulti_initmode() 4579 if (!((1 << i) & hc->bmask[pt])) /* skip unused chan */ release_port() 4838 if (!((1 << ch) & hc->bmask[pt])) /* skip unused channel */ init_e1_port() 5056 hc->bmask[pt] = bmask[bmask_cnt++]; hfcmulti_init() 5057 if ((maskcheck & hc->bmask[pt]) hfcmulti_init() 5058 || (dmask[E1_cnt] & hc->bmask[pt])) { hfcmulti_init() 5065 maskcheck |= hc->bmask[pt]; hfcmulti_init() 5068 E1_cnt + 1, ch, hc->bmask[pt]); hfcmulti_init() 5076 hc->bmask[0] = 0xfffefffe; hfcmulti_init()
|
H A D | hfc_multi.h | 212 u_int bmask[32]; /* bitmask of bchannels for port */ member in struct:hfc_multi
|
/linux-4.4.14/drivers/isdn/capi/ |
H A D | capidrv.c | 1699 unsigned long bmask = 0; decodeFVteln() local 1729 bmask |= (1 << digit1); decodeFVteln() 1746 bmask |= (1 << i); decodeFVteln() 1749 bmask |= (1 << i); decodeFVteln() 1757 if (bmaskp) *bmaskp = bmask; decodeFVteln() 1763 unsigned long bmask; FVteln2capi20() local 1767 rc = decodeFVteln(teln, &bmask, &active); FVteln2capi20() 1782 AdditionalInfo[5 + i] = (bmask & (1 << i)) ? 0xff : 0; FVteln2capi20()
|
/linux-4.4.14/lib/842/ |
H A D | 842_compress.c | 159 static u8 bmask[8] = { 0x00, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe }; variable 200 o = *out & bmask[b]; add_bits()
|
/linux-4.4.14/drivers/scsi/ |
H A D | qlogicpti.c | 776 u8 bursts, bmask; qpti_get_bursts() local 779 bmask = of_getintprop_default(op->dev.of_node->parent, "burst-sizes", 0xff); qpti_get_bursts() 780 if (bmask != 0xff) qpti_get_bursts() 781 bursts &= bmask; qpti_get_bursts()
|
/linux-4.4.14/drivers/net/wireless/b43/ |
H A D | tables_nphy.h | 25 u16 bmask; member in struct:nphy_rf_control_override_rev2
|
H A D | phy_n.c | 316 b43_phy_maskset(dev, addr, ~(rf_ctrl->bmask), b43_nphy_rf_ctl_override() 3616 u16 bmask, val, tmp; b43_nphy_tx_power_ctrl() local 3671 bmask = B43_NPHY_TXPCTL_CMD_COEFF | b43_nphy_tx_power_ctrl() 3676 bmask |= B43_NPHY_TXPCTL_CMD_PCTLEN; b43_nphy_tx_power_ctrl() 3680 b43_phy_maskset(dev, B43_NPHY_TXPCTL_CMD, ~(bmask), val); b43_nphy_tx_power_ctrl()
|
H A D | tables_nphy.c | 3101 /* addr0, addr1, bmask, shift */
|
/linux-4.4.14/fs/jfs/ |
H A D | namei.c | 899 int bmask = 0, xsize; jfs_symlink() local 994 bmask = JFS_SBI(sb)->bsize - 1; jfs_symlink() 995 xsize = (ssize + bmask) & ~bmask; jfs_symlink()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
H A D | lpfc_hbadisc.c | 2511 * read FCF record mailbox command from the eligible FCF record bmask for 2564 "from roundrobin bmask\n", fcf_index); lpfc_mbx_cmpl_fcf_rr_read_fcf_rec() 2565 /* Clear roundrobin bmask bit for ineligible FCF */ lpfc_mbx_cmpl_fcf_rr_read_fcf_rec() 2621 * updating the eligible FCF bmask for FLOGI failure roundrobin FCF 2624 * the bmask for the eligible FCF record for roundrobin failover. 2664 /* Update the eligible FCF record index bmask */ lpfc_mbx_cmpl_read_fcf_rec() 3226 /* Reset FCF roundrobin bmask for new discovery */ lpfc_mbx_process_link_up() 6158 /* Reset FCF roundrobin bmask for new discovery */ lpfc_unregister_fcf_rescan()
|
H A D | lpfc_sli.c | 5331 unsigned long *bmask; lpfc_sli4_alloc_extent() local 5421 bmask = phba->sli4_hba.rpi_bmask; lpfc_sli4_alloc_extent() 5443 bmask = phba->vpi_bmask; lpfc_sli4_alloc_extent() 5466 bmask = phba->sli4_hba.xri_bmask; lpfc_sli4_alloc_extent() 5488 bmask = phba->sli4_hba.vfi_bmask; lpfc_sli4_alloc_extent() 5495 bmask = NULL; lpfc_sli4_alloc_extent() 5518 kfree(bmask); lpfc_sli4_alloc_extent() 16130 * lpfc_sli4_read_fcf_rec - Read hba fcf record for update eligible fcf bmask. 16343 * lpfc_sli4_fcf_rr_index_set - Set bmask with eligible fcf record index 16346 * This routine sets the FCF record index in to the eligible bmask for 16348 * does not go beyond the range of the driver allocated bmask dimension 16364 /* Set the eligible FCF record index bmask */ lpfc_sli4_fcf_rr_index_set() 16369 "bmask\n", fcf_index); lpfc_sli4_fcf_rr_index_set() 16375 * lpfc_sli4_fcf_rr_index_clear - Clear bmask from eligible fcf record index 16378 * This routine clears the FCF record index from the eligible bmask for 16380 * does not go beyond the range of the driver allocated bmask dimension 16394 /* Clear the eligible FCF record index bmask */ lpfc_sli4_fcf_rr_index_clear() 16408 "bmask\n", fcf_index); lpfc_sli4_fcf_rr_index_clear()
|
H A D | lpfc_init.c | 4362 * FCF roundrobin failover eligible FCF bmask. lpfc_sli4_async_fip_evt() 4367 "roundrobin FCF failover bmask\n", lpfc_sli4_async_fip_evt() 4423 /* Update FLOGI FCF failover eligible FCF bmask */ lpfc_sli4_async_fip_evt() 4464 /* Reset FCF roundrobin bmask for new discovery */ lpfc_sli4_async_fip_evt() 4556 * Reset FCF roundrobin bmask for new lpfc_sli4_async_fip_evt() 5422 /* Allocate eligible FCF bmask memory for FCF roundrobin failover */ lpfc_sli4_driver_resource_setup() 5429 "robin failover bmask\n"); lpfc_sli4_driver_resource_setup() 5558 /* Free eligible FCF index bmask */ lpfc_sli4_driver_resource_unset()
|
/linux-4.4.14/drivers/md/ |
H A D | md.c | 1375 int bmask; super_1_load() local 1442 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; super_1_load() 1443 if (rdev->sb_size & bmask) super_1_load() 1444 rdev->sb_size = (rdev->sb_size | bmask) + 1; super_1_load() 1807 int bmask; super_1_sync() local 1810 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; super_1_sync() 1811 if (rdev->sb_size & bmask) super_1_sync() 1812 rdev->sb_size = (rdev->sb_size | bmask) + 1; super_1_sync()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | sdio.c | 776 u8 wr_val = 0, rd_val, cmp_val, bmask; brcmf_sdio_kso_control() local 794 bmask = cmp_val; brcmf_sdio_kso_control() 802 bmask = SBSDIO_FUNC1_SLEEPCSR_KSO_MASK; brcmf_sdio_kso_control() 813 if (((rd_val & bmask) == cmp_val) && !err) brcmf_sdio_kso_control()
|