/openbmc/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()
|
/openbmc/linux/arch/x86/coco/ |
H A D | core.c | 163 size_t i, longs; in cc_random_init() local 175 for (i = 0; i < ARRAY_SIZE(rng_seed); i += longs) { in cc_random_init() 176 longs = arch_get_random_longs(&rng_seed[i], ARRAY_SIZE(rng_seed) - i); in cc_random_init() 186 if (longs == 0) in cc_random_init()
|
/openbmc/linux/drivers/char/ |
H A D | random.c | 659 size_t i, longs; in extract_entropy() local 662 longs = arch_get_random_seed_longs(&block.rdseed[i], ARRAY_SIZE(block.rdseed) - i); in extract_entropy() 663 if (longs) { in extract_entropy() 664 i += longs; in extract_entropy() 667 longs = arch_get_random_longs(&block.rdseed[i], ARRAY_SIZE(block.rdseed) - i); in extract_entropy() 668 if (longs) { in extract_entropy() 669 i += longs; in extract_entropy() 844 size_t i, longs, arch_bits; in random_init_early() local 852 longs = arch_get_random_seed_longs(entropy, ARRAY_SIZE(entropy) - i); in random_init_early() 853 if (longs) { in random_init_early() [all …]
|
/openbmc/u-boot/lib/ |
H A D | md5.c | 43 byteReverse(unsigned char *buf, unsigned longs) in byteReverse() argument 51 } while (--longs); in byteReverse()
|
/openbmc/linux/include/linux/ |
H A D | nfs4.h | 690 unsigned long longs[NFS4_OP_MAP_NUM_LONGS]; member
|
/openbmc/linux/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
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4proc.c | 8645 if (test_bit(i, sp->enforce.u.longs)) in nfs4_sp4_select_mode() 8647 if (test_bit(i, sp->allow.u.longs)) in nfs4_sp4_select_mode() 8669 if (test_bit(OP_BIND_CONN_TO_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode() 8670 test_bit(OP_CREATE_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode() 8671 test_bit(OP_DESTROY_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode() 8672 test_bit(OP_DESTROY_CLIENTID, sp->enforce.u.longs)) { in nfs4_sp4_select_mode() 8682 if (test_bit(OP_CLOSE, sp->allow.u.longs) && in nfs4_sp4_select_mode() 8683 test_bit(OP_OPEN_DOWNGRADE, sp->allow.u.longs) && in nfs4_sp4_select_mode() 8684 test_bit(OP_DELEGRETURN, sp->allow.u.longs) && in nfs4_sp4_select_mode() 8685 test_bit(OP_LOCKU, sp->allow.u.longs)) { in nfs4_sp4_select_mode() [all …]
|
/openbmc/linux/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
|
/openbmc/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() 7159 unsigned long longs; in lpfc_sli4_alloc_resource_identifiers() local [all …]
|
H A D | lpfc_init.c | 7923 int longs; in lpfc_sli4_driver_resource_setup() local 8372 longs = (LPFC_SLI4_FCF_TBL_INDX_MAX + BITS_PER_LONG - 1)/BITS_PER_LONG; in lpfc_sli4_driver_resource_setup() 8373 phba->fcf.fcf_rr_bmask = kcalloc(longs, sizeof(unsigned long), in lpfc_sli4_driver_resource_setup()
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | kcsan.rst | 326 longs to encode watchpoint information, which is negligible.
|
/openbmc/linux/Documentation/driver-api/ |
H A D | device-io.rst | 146 outs() functions copy bytes, words or longs to the given
|
/openbmc/linux/fs/nfsd/ |
H A D | nfs4proc.c | 3592 if (test_bit(this->opnum, allow->u.longs) && in nfsd4_spo_must_allow()
|
/openbmc/linux/ |
H A D | CREDITS | 276 D: New sysctl function for handling unsigned longs
|