| /linux-6.15/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-6.15/arch/x86/coco/ |
| H A D | core.c | 216 size_t i, longs; in cc_random_init() local 228 for (i = 0; i < ARRAY_SIZE(rng_seed); i += longs) { in cc_random_init() 229 longs = arch_get_random_longs(&rng_seed[i], ARRAY_SIZE(rng_seed) - i); in cc_random_init() 239 if (longs == 0) in cc_random_init()
|
| /linux-6.15/drivers/char/ |
| H A D | random.c | 680 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-6.15/include/linux/ |
| H A D | nfs4.h | 832 unsigned long longs[NFS4_OP_MAP_NUM_LONGS]; member
|
| /linux-6.15/Documentation/input/ |
| H A D | input-programming.rst | 270 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.15/fs/nfs/ |
| H A D | nfs4proc.c | 8858 if (test_bit(i, sp->enforce.u.longs)) in nfs4_sp4_select_mode() 8860 if (test_bit(i, sp->allow.u.longs)) in nfs4_sp4_select_mode() 8895 if (test_bit(OP_CLOSE, sp->allow.u.longs) && in nfs4_sp4_select_mode() 8897 test_bit(OP_DELEGRETURN, sp->allow.u.longs) && in nfs4_sp4_select_mode() 8898 test_bit(OP_LOCKU, sp->allow.u.longs)) { in nfs4_sp4_select_mode() 8903 if (test_bit(OP_LAYOUTRETURN, sp->allow.u.longs)) { in nfs4_sp4_select_mode() 8908 if (test_bit(OP_SECINFO, sp->allow.u.longs) && in nfs4_sp4_select_mode() 8914 if (test_bit(OP_TEST_STATEID, sp->allow.u.longs) && in nfs4_sp4_select_mode() 8915 test_bit(OP_FREE_STATEID, sp->allow.u.longs)) { in nfs4_sp4_select_mode() 8920 if (test_bit(OP_WRITE, sp->allow.u.longs)) { in nfs4_sp4_select_mode() [all …]
|
| /linux-6.15/Documentation/userspace-api/media/drivers/ |
| H A D | cx2341x-uapi.rst | 154 'itv0': After this magic number two unsigned longs follow. Bits 0-17 of the first
|
| /linux-6.15/drivers/scsi/lpfc/ |
| H A D | lpfc_sli.c | 5705 int longs; in lpfc_sli_hba_setup() local 5742 phba->vpi_bmask = kcalloc(longs, in lpfc_sli_hba_setup() 6415 unsigned long longs; in lpfc_sli4_alloc_extent() local 6482 phba->sli4_hba.rpi_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent() 6531 phba->sli4_hba.xri_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent() 6554 phba->sli4_hba.vfi_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent() 7148 unsigned long longs; in lpfc_sli4_alloc_resource_identifiers() local 7247 longs = (count + BITS_PER_LONG - 1) / BITS_PER_LONG; in lpfc_sli4_alloc_resource_identifiers() 7248 phba->sli4_hba.rpi_bmask = kcalloc(longs, in lpfc_sli4_alloc_resource_identifiers() 7303 phba->sli4_hba.xri_bmask = kcalloc(longs, in lpfc_sli4_alloc_resource_identifiers() [all …]
|
| H A D | lpfc_init.c | 7915 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.15/Documentation/dev-tools/ |
| H A D | kcsan.rst | 336 longs to encode watchpoint information, which is negligible.
|
| /linux-6.15/Documentation/driver-api/ |
| H A D | device-io.rst | 146 outs() functions copy bytes, words or longs to the given
|
| /linux-6.15/fs/nfsd/ |
| H A D | nfs4proc.c | 3778 if (test_bit(this->opnum, allow->u.longs) && in nfsd4_spo_must_allow()
|
| /linux-6.15/ |
| H A D | CREDITS | 287 D: New sysctl function for handling unsigned longs
|