Home
last modified time | relevance | path

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

/linux-6.1.9/lib/
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-6.1.9/drivers/char/
Drandom.c640 size_t i, longs; in extract_entropy() local
643 longs = arch_get_random_seed_longs(&block.rdseed[i], ARRAY_SIZE(block.rdseed) - i); in extract_entropy()
644 if (longs) { in extract_entropy()
645 i += longs; in extract_entropy()
648 longs = arch_get_random_longs(&block.rdseed[i], ARRAY_SIZE(block.rdseed) - i); in extract_entropy()
649 if (longs) { in extract_entropy()
650 i += longs; in extract_entropy()
824 size_t i, longs, arch_bits; in random_init_early() local
832 longs = arch_get_random_seed_longs_early(entropy, ARRAY_SIZE(entropy) - i); in random_init_early()
833 if (longs) { in random_init_early()
[all …]
/linux-6.1.9/include/linux/
Dnfs4.h690 unsigned long longs[NFS4_OP_MAP_NUM_LONGS]; member
/linux-6.1.9/Documentation/input/
Dinput-programming.rst270 BITS_TO_LONGS(x) - returns the length of a bitfield array in longs for
272 BIT_WORD(x) - returns the index in the array in longs for bit x
/linux-6.1.9/fs/nfs/
Dnfs4proc.c8611 if (test_bit(i, sp->enforce.u.longs)) in nfs4_sp4_select_mode()
8613 if (test_bit(i, sp->allow.u.longs)) in nfs4_sp4_select_mode()
8635 if (test_bit(OP_BIND_CONN_TO_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode()
8636 test_bit(OP_CREATE_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode()
8637 test_bit(OP_DESTROY_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode()
8638 test_bit(OP_DESTROY_CLIENTID, sp->enforce.u.longs)) { in nfs4_sp4_select_mode()
8648 if (test_bit(OP_CLOSE, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8649 test_bit(OP_OPEN_DOWNGRADE, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8650 test_bit(OP_DELEGRETURN, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8651 test_bit(OP_LOCKU, sp->allow.u.longs)) { in nfs4_sp4_select_mode()
[all …]
/linux-6.1.9/Documentation/userspace-api/media/drivers/
Dcx2341x-uapi.rst154 'itv0': After this magic number two unsigned longs follow. Bits 0-17 of the first
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_sli.c5701 int longs; in lpfc_sli_hba_setup() local
5756 longs = (phba->max_vpi + BITS_PER_LONG) / BITS_PER_LONG; in lpfc_sli_hba_setup()
5757 phba->vpi_bmask = kcalloc(longs, in lpfc_sli_hba_setup()
6430 unsigned long longs; in lpfc_sli4_alloc_extent() local
6487 longs = ((rsrc_cnt * rsrc_size) + BITS_PER_LONG - 1) / BITS_PER_LONG; in lpfc_sli4_alloc_extent()
6497 phba->sli4_hba.rpi_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent()
6526 phba->vpi_bmask = kcalloc(longs, sizeof(unsigned long), in lpfc_sli4_alloc_extent()
6546 phba->sli4_hba.xri_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent()
6569 phba->sli4_hba.vfi_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent()
7163 unsigned long longs; in lpfc_sli4_alloc_resource_identifiers() local
[all …]
Dlpfc_init.c7917 int longs; in lpfc_sli4_driver_resource_setup() local
8363 longs = (LPFC_SLI4_FCF_TBL_INDX_MAX + BITS_PER_LONG - 1)/BITS_PER_LONG; in lpfc_sli4_driver_resource_setup()
8364 phba->fcf.fcf_rr_bmask = kcalloc(longs, sizeof(unsigned long), in lpfc_sli4_driver_resource_setup()
/linux-6.1.9/Documentation/dev-tools/
Dkcsan.rst326 longs to encode watchpoint information, which is negligible.
/linux-6.1.9/Documentation/driver-api/
Ddevice-io.rst146 outs() functions copy bytes, words or longs to the given
/linux-6.1.9/fs/nfsd/
Dnfs4proc.c3577 if (test_bit(this->opnum, allow->u.longs) && in nfsd4_spo_must_allow()
/linux-6.1.9/
DCREDITS272 D: New sysctl function for handling unsigned longs