Searched refs:longs (Results 1 – 8 of 8) sorted by relevance
| /linux/lib/ |
| H A D | memweight.c | 14 size_t longs; in memweight() local 21 longs = bytes / sizeof(long); in memweight() 22 if (longs) { in memweight() 23 BUG_ON(longs >= INT_MAX / BITS_PER_LONG); in memweight() 25 longs * BITS_PER_LONG); in memweight() 26 bytes -= longs * sizeof(long); in memweight() 27 bitmap += longs * sizeof(long); in memweight()
|
| /linux/arch/x86/coco/ |
| H A D | core.c | 221 size_t i, longs; in cc_random_init() local 233 for (i = 0; i < ARRAY_SIZE(rng_seed); i += longs) { in cc_random_init() 234 longs = arch_get_random_longs(&rng_seed[i], ARRAY_SIZE(rng_seed) - i); in cc_random_init() 244 if (longs == 0) in cc_random_init()
|
| /linux/drivers/char/ |
| H A D | random.c | 671 size_t i, longs; in extract_entropy() local 674 longs = arch_get_random_seed_longs(&block.rdseed[i], ARRAY_SIZE(block.rdseed) - i); in extract_entropy() 675 if (longs) { in extract_entropy() 676 i += longs; in extract_entropy() 679 longs = arch_get_random_longs(&block.rdseed[i], ARRAY_SIZE(block.rdseed) - i); in extract_entropy() 680 if (longs) { in extract_entropy() 681 i += longs; in extract_entropy() 860 size_t i, longs, arch_bits; in random_init_early() local 868 longs = arch_get_random_seed_longs(entropy, ARRAY_SIZE(entropy) - i); in random_init_early() 869 if (longs) { in random_init_early() [all …]
|
| /linux/fs/nfs/ |
| H A D | nfs4proc.c | 8585 if (test_bit(i, sp->enforce.u.longs)) in nfs4_sp4_select_mode() 8587 if (test_bit(i, sp->allow.u.longs)) in nfs4_sp4_select_mode() 8609 if (test_bit(OP_BIND_CONN_TO_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode() 8610 test_bit(OP_CREATE_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode() 8611 test_bit(OP_DESTROY_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode() 8612 test_bit(OP_DESTROY_CLIENTID, sp->enforce.u.longs)) { in nfs4_sp4_select_mode() 8622 if (test_bit(OP_CLOSE, sp->allow.u.longs) && in nfs4_sp4_select_mode() 8623 test_bit(OP_OPEN_DOWNGRADE, sp->allow.u.longs) && in nfs4_sp4_select_mode() 8624 test_bit(OP_DELEGRETURN, sp->allow.u.longs) && in nfs4_sp4_select_mode() 8625 test_bit(OP_LOCKU, sp->allow.u.longs)) { in nfs4_sp4_select_mode() [all …]
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_sli.c | 5716 int longs; in lpfc_sli_hba_setup() local 5752 longs = (phba->max_vpi + BITS_PER_LONG) / BITS_PER_LONG; in lpfc_sli_hba_setup() 5753 phba->vpi_bmask = kcalloc(longs, in lpfc_sli_hba_setup() 6426 unsigned long longs; in lpfc_sli4_alloc_extent() local 6483 longs = ((rsrc_cnt * rsrc_size) + BITS_PER_LONG - 1) / BITS_PER_LONG; in lpfc_sli4_alloc_extent() 6493 phba->sli4_hba.rpi_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent() 6522 phba->vpi_bmask = kcalloc(longs, sizeof(unsigned long), in lpfc_sli4_alloc_extent() 6542 phba->sli4_hba.xri_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent() 6565 phba->sli4_hba.vfi_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent() 7158 unsigned long longs; in lpfc_sli4_alloc_resource_identifiers() local [all …]
|
| H A D | lpfc_init.c | 7919 int longs; in lpfc_sli4_driver_resource_setup() local 8345 longs = (LPFC_SLI4_FCF_TBL_INDX_MAX + BITS_PER_LONG - 1)/BITS_PER_LONG; in lpfc_sli4_driver_resource_setup() 8346 phba->fcf.fcf_rr_bmask = kcalloc(longs, sizeof(unsigned long), in lpfc_sli4_driver_resource_setup()
|
| /linux/fs/nfsd/ |
| H A D | nfs4proc.c | 4032 if (test_bit(this->opnum, allow->u.longs) && in nfsd4_spo_must_allow()
|
| /linux/ |
| H A D | CREDITS | 291 D: New sysctl function for handling unsigned longs
|