Home
last modified time | relevance | path

Searched refs:longs (Results 1 – 9 of 9) sorted by relevance

/linux/lib/
H A Dmemweight.c14 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 Dcore.c221 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 Drandom.c668 size_t i, longs; in extract_entropy() local
671 longs = arch_get_random_seed_longs(&block.rdseed[i], ARRAY_SIZE(block.rdseed) - i); in extract_entropy()
672 if (longs) { in extract_entropy()
673 i += longs; in extract_entropy()
676 longs = arch_get_random_longs(&block.rdseed[i], ARRAY_SIZE(block.rdseed) - i); in extract_entropy()
677 if (longs) { in extract_entropy()
678 i += longs; in extract_entropy()
856 size_t i, longs, arch_bits; in random_init_early() local
864 longs = arch_get_random_seed_longs(entropy, ARRAY_SIZE(entropy) - i); in random_init_early()
865 if (longs) { in random_init_early()
[all …]
/linux/include/linux/
H A Dnfs4.h726 unsigned long longs[NFS4_OP_MAP_NUM_LONGS];
720 unsigned long longs[NFS4_OP_MAP_NUM_LONGS]; global() member
/linux/fs/nfs/
H A Dnfs4proc.c8675 if (test_bit(i, sp->enforce.u.longs)) in nfs4_sp4_select_mode()
8677 if (test_bit(i, sp->allow.u.longs)) in nfs4_sp4_select_mode()
8699 if (test_bit(OP_BIND_CONN_TO_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode()
8700 test_bit(OP_CREATE_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode()
8701 test_bit(OP_DESTROY_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode()
8702 test_bit(OP_DESTROY_CLIENTID, sp->enforce.u.longs)) { in nfs4_sp4_select_mode()
8712 if (test_bit(OP_CLOSE, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8713 test_bit(OP_OPEN_DOWNGRADE, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8714 test_bit(OP_DELEGRETURN, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8715 test_bit(OP_LOCKU, sp->allow.u.longs)) { in nfs4_sp4_select_mode()
[all...]
/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c5693 int longs; in lpfc_sli_hba_setup()
5729 longs = (phba->max_vpi + BITS_PER_LONG) / BITS_PER_LONG; in lpfc_sli_hba_setup()
5730 phba->vpi_bmask = kzalloc_objs(unsigned long, longs); in lpfc_sli_hba_setup()
6400 unsigned long longs; in lpfc_sli4_alloc_extent()
6457 longs = ((rsrc_cnt * rsrc_size) + BITS_PER_LONG - 1) / BITS_PER_LONG; in lpfc_sli4_alloc_extent()
6467 phba->sli4_hba.rpi_bmask = kzalloc_objs(unsigned long, longs); in lpfc_sli4_alloc_extent()
6492 phba->vpi_bmask = kzalloc_objs(unsigned long, longs); in lpfc_sli4_alloc_extent()
6510 phba->sli4_hba.xri_bmask = kzalloc_objs(unsigned long, longs); in lpfc_sli4_alloc_extent()
6529 phba->sli4_hba.vfi_bmask = kzalloc_objs(unsigned long, longs); in lpfc_sli4_alloc_extent()
7118 unsigned long longs; in lpfc_sli4_ras_setup()
5692 int longs; lpfc_sli_hba_setup() local
6402 unsigned long longs; lpfc_sli4_alloc_extent() local
7134 unsigned long longs; lpfc_sli4_alloc_resource_identifiers() local
[all...]
H A Dlpfc_init.c7924 int longs; in lpfc_sli4_driver_resource_setup() local
8349 longs = (LPFC_SLI4_FCF_TBL_INDX_MAX + BITS_PER_LONG - 1)/BITS_PER_LONG; in lpfc_sli4_driver_resource_setup()
8350 phba->fcf.fcf_rr_bmask = kzalloc_objs(unsigned long, longs); in lpfc_sli4_driver_resource_setup()
/linux/fs/nfsd/
H A Dnfs4proc.c4296 if (test_bit(this->opnum, allow->u.longs) &&
/linux/
H A DCREDITS290 D: New sysctl function for handling unsigned longs