Searched refs:longs (Results 1 - 8 of 8) sorted by relevance

/linux-master/lib/
H A Dmemweight.c14 size_t longs; local
21 longs = bytes / sizeof(long);
22 if (longs) {
23 BUG_ON(longs >= INT_MAX / BITS_PER_LONG);
25 longs * BITS_PER_LONG);
26 bytes -= longs * sizeof(long);
27 bitmap += longs * sizeof(long);
/linux-master/arch/x86/coco/
H A Dcore.c211 * The seed is 32 bytes (in units of longs), which is 256 bits, which
215 size_t i, longs; local
227 for (i = 0; i < ARRAY_SIZE(rng_seed); i += longs) {
228 longs = arch_get_random_longs(&rng_seed[i], ARRAY_SIZE(rng_seed) - i);
238 if (longs == 0)
/linux-master/drivers/char/
H A Drandom.c659 size_t i, longs; local
662 longs = arch_get_random_seed_longs(&block.rdseed[i], ARRAY_SIZE(block.rdseed) - i);
663 if (longs) {
664 i += longs;
667 longs = arch_get_random_longs(&block.rdseed[i], ARRAY_SIZE(block.rdseed) - i);
668 if (longs) {
669 i += longs;
844 size_t i, longs, arch_bits; local
852 longs = arch_get_random_seed_longs(entropy, ARRAY_SIZE(entropy) - i);
853 if (longs) {
[all...]
/linux-master/include/linux/
H A Dnfs4.h814 unsigned long longs[NFS4_OP_MAP_NUM_LONGS]; member in union:nfs4_op_map::__anon586
/linux-master/fs/nfs/
H A Dnfs4proc.c8645 if (test_bit(i, sp->enforce.u.longs))
8647 if (test_bit(i, sp->allow.u.longs))
8669 if (test_bit(OP_BIND_CONN_TO_SESSION, sp->enforce.u.longs) &&
8670 test_bit(OP_CREATE_SESSION, sp->enforce.u.longs) &&
8671 test_bit(OP_DESTROY_SESSION, sp->enforce.u.longs) &&
8672 test_bit(OP_DESTROY_CLIENTID, sp->enforce.u.longs)) {
8682 if (test_bit(OP_CLOSE, sp->allow.u.longs) &&
8683 test_bit(OP_OPEN_DOWNGRADE, sp->allow.u.longs) &&
8684 test_bit(OP_DELEGRETURN, sp->allow.u.longs) &&
8685 test_bit(OP_LOCKU, sp->allow.u.longs)) {
[all...]
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_sli.c5708 int longs; local
5744 longs = (phba->max_vpi + BITS_PER_LONG) / BITS_PER_LONG;
5745 phba->vpi_bmask = kcalloc(longs,
6418 unsigned long longs; local
6475 longs = ((rsrc_cnt * rsrc_size) + BITS_PER_LONG - 1) / BITS_PER_LONG;
6485 phba->sli4_hba.rpi_bmask = kcalloc(longs,
6514 phba->vpi_bmask = kcalloc(longs, sizeof(unsigned long),
6534 phba->sli4_hba.xri_bmask = kcalloc(longs,
6557 phba->sli4_hba.vfi_bmask = kcalloc(longs,
7151 unsigned long longs; local
[all...]
H A Dlpfc_init.c7930 int longs; local
8379 longs = (LPFC_SLI4_FCF_TBL_INDX_MAX + BITS_PER_LONG - 1)/BITS_PER_LONG;
8380 phba->fcf.fcf_rr_bmask = kcalloc(longs, sizeof(unsigned long),
/linux-master/fs/nfsd/
H A Dnfs4proc.c3608 if (test_bit(this->opnum, allow->u.longs) &&

Completed in 915 milliseconds