Home
last modified time | relevance | path

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

/linux/lib/
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/
A Dcore.c214 size_t i, longs; in cc_random_init() local
226 for (i = 0; i < ARRAY_SIZE(rng_seed); i += longs) { in cc_random_init()
227 longs = arch_get_random_longs(&rng_seed[i], ARRAY_SIZE(rng_seed) - i); in cc_random_init()
237 if (longs == 0) in cc_random_init()
/linux/drivers/char/
A Drandom.c680 size_t i, longs; in extract_entropy() local
684 if (longs) { in extract_entropy()
685 i += longs; in extract_entropy()
689 if (longs) { in extract_entropy()
690 i += longs; in extract_entropy()
868 size_t i, longs, arch_bits; in random_init_early() local
877 if (longs) { in random_init_early()
878 _mix_pool_bytes(entropy, sizeof(*entropy) * longs); in random_init_early()
879 i += longs; in random_init_early()
883 if (longs) { in random_init_early()
[all …]
/linux/include/linux/
A Dnfs4.h834 unsigned long longs[NFS4_OP_MAP_NUM_LONGS]; member
/linux/Documentation/input/
A 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/fs/nfs/
A Dnfs4proc.c8803 if (test_bit(i, sp->enforce.u.longs)) in nfs4_sp4_select_mode()
8805 if (test_bit(i, sp->allow.u.longs)) in nfs4_sp4_select_mode()
8840 if (test_bit(OP_CLOSE, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8842 test_bit(OP_DELEGRETURN, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8843 test_bit(OP_LOCKU, sp->allow.u.longs)) { in nfs4_sp4_select_mode()
8848 if (test_bit(OP_LAYOUTRETURN, sp->allow.u.longs)) { in nfs4_sp4_select_mode()
8853 if (test_bit(OP_SECINFO, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8859 if (test_bit(OP_TEST_STATEID, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8860 test_bit(OP_FREE_STATEID, sp->allow.u.longs)) { in nfs4_sp4_select_mode()
8865 if (test_bit(OP_WRITE, sp->allow.u.longs)) { in nfs4_sp4_select_mode()
[all …]
/linux/Documentation/userspace-api/media/drivers/
A Dcx2341x-uapi.rst154 'itv0': After this magic number two unsigned longs follow. Bits 0-17 of the first
/linux/drivers/scsi/lpfc/
A Dlpfc_sli.c5720 int longs; in lpfc_sli_hba_setup() local
5757 phba->vpi_bmask = kcalloc(longs, in lpfc_sli_hba_setup()
6430 unsigned long longs; in lpfc_sli4_alloc_extent() local
6497 phba->sli4_hba.rpi_bmask = kcalloc(longs, 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
7262 longs = (count + BITS_PER_LONG - 1) / BITS_PER_LONG; in lpfc_sli4_alloc_resource_identifiers()
7263 phba->sli4_hba.rpi_bmask = kcalloc(longs, in lpfc_sli4_alloc_resource_identifiers()
7318 phba->sli4_hba.xri_bmask = kcalloc(longs, in lpfc_sli4_alloc_resource_identifiers()
[all …]
A Dlpfc_init.c7932 int longs; in lpfc_sli4_driver_resource_setup() local
8381 longs = (LPFC_SLI4_FCF_TBL_INDX_MAX + BITS_PER_LONG - 1)/BITS_PER_LONG; in lpfc_sli4_driver_resource_setup()
8382 phba->fcf.fcf_rr_bmask = kcalloc(longs, sizeof(unsigned long), in lpfc_sli4_driver_resource_setup()
/linux/Documentation/dev-tools/
A Dkcsan.rst336 longs to encode watchpoint information, which is negligible.
/linux/Documentation/driver-api/
A Ddevice-io.rst146 outs() functions copy bytes, words or longs to the given
/linux/fs/nfsd/
A Dnfs4proc.c3667 if (test_bit(this->opnum, allow->u.longs) && in nfsd4_spo_must_allow()
/linux/
A DCREDITS278 D: New sysctl function for handling unsigned longs

Completed in 122 milliseconds