Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/include/linux/
Dnfs4.h684 unsigned long longs[NFS4_OP_MAP_NUM_LONGS]; member
/Linux-v5.15/fs/nfs/
Dnfs4proc.c8448 if (test_bit(i, sp->enforce.u.longs)) in nfs4_sp4_select_mode()
8450 if (test_bit(i, sp->allow.u.longs)) in nfs4_sp4_select_mode()
8472 if (test_bit(OP_BIND_CONN_TO_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode()
8473 test_bit(OP_CREATE_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode()
8474 test_bit(OP_DESTROY_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode()
8475 test_bit(OP_DESTROY_CLIENTID, sp->enforce.u.longs)) { in nfs4_sp4_select_mode()
8485 if (test_bit(OP_CLOSE, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8486 test_bit(OP_OPEN_DOWNGRADE, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8487 test_bit(OP_DELEGRETURN, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8488 test_bit(OP_LOCKU, sp->allow.u.longs)) { in nfs4_sp4_select_mode()
[all …]
/Linux-v5.15/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-v5.15/Documentation/userspace-api/media/drivers/
Dcx2341x-uapi.rst156 'itv0': After this magic number two unsigned longs follow. Bits 0-17 of the first
/Linux-v5.15/drivers/scsi/lpfc/
Dlpfc_sli.c5604 int longs; in lpfc_sli_hba_setup() local
5659 longs = (phba->max_vpi + BITS_PER_LONG) / BITS_PER_LONG; in lpfc_sli_hba_setup()
5660 phba->vpi_bmask = kcalloc(longs, in lpfc_sli_hba_setup()
6332 unsigned long longs; in lpfc_sli4_alloc_extent() local
6389 longs = ((rsrc_cnt * rsrc_size) + BITS_PER_LONG - 1) / BITS_PER_LONG; in lpfc_sli4_alloc_extent()
6399 phba->sli4_hba.rpi_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent()
6428 phba->vpi_bmask = kcalloc(longs, sizeof(unsigned long), in lpfc_sli4_alloc_extent()
6448 phba->sli4_hba.xri_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent()
6471 phba->sli4_hba.vfi_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent()
7060 unsigned long longs; in lpfc_sli4_alloc_resource_identifiers() local
[all …]
Dlpfc_init.c7763 int longs; in lpfc_sli4_driver_resource_setup() local
8191 longs = (LPFC_SLI4_FCF_TBL_INDX_MAX + BITS_PER_LONG - 1)/BITS_PER_LONG; in lpfc_sli4_driver_resource_setup()
8192 phba->fcf.fcf_rr_bmask = kcalloc(longs, sizeof(unsigned long), in lpfc_sli4_driver_resource_setup()
/Linux-v5.15/Documentation/dev-tools/
Dkcsan.rst276 longs to encode watchpoint information, which is negligible.
/Linux-v5.15/Documentation/driver-api/
Ddevice-io.rst146 outs() functions copy bytes, words or longs to the given
/Linux-v5.15/fs/nfsd/
Dnfs4proc.c3391 if (test_bit(this->opnum, allow->u.longs) && in nfsd4_spo_must_allow()
/Linux-v5.15/
DCREDITS272 D: New sysctl function for handling unsigned longs