Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/include/linux/
Dnfs4.h672 unsigned long longs[NFS4_OP_MAP_NUM_LONGS]; member
/Linux-v5.4/Documentation/input/
Dinput-programming.rst224 BITS_TO_LONGS(x) - returns the length of a bitfield array in longs for
226 BIT_WORD(x) - returns the index in the array in longs for bit x
/Linux-v5.4/fs/nfs/
Dnfs4proc.c7976 if (test_bit(i, sp->enforce.u.longs)) in nfs4_sp4_select_mode()
7978 if (test_bit(i, sp->allow.u.longs)) in nfs4_sp4_select_mode()
8000 if (test_bit(OP_BIND_CONN_TO_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode()
8001 test_bit(OP_CREATE_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode()
8002 test_bit(OP_DESTROY_SESSION, sp->enforce.u.longs) && in nfs4_sp4_select_mode()
8003 test_bit(OP_DESTROY_CLIENTID, sp->enforce.u.longs)) { in nfs4_sp4_select_mode()
8013 if (test_bit(OP_CLOSE, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8014 test_bit(OP_OPEN_DOWNGRADE, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8015 test_bit(OP_DELEGRETURN, sp->allow.u.longs) && in nfs4_sp4_select_mode()
8016 test_bit(OP_LOCKU, sp->allow.u.longs)) { in nfs4_sp4_select_mode()
[all …]
/Linux-v5.4/Documentation/driver-api/
Ddevice-io.rst146 :c:func:`outs()` functions copy bytes, words or longs to the given
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_sli.c5055 int longs; in lpfc_sli_hba_setup() local
5137 longs = (phba->max_vpi + BITS_PER_LONG) / BITS_PER_LONG; in lpfc_sli_hba_setup()
5138 phba->vpi_bmask = kcalloc(longs, in lpfc_sli_hba_setup()
5810 unsigned long longs; in lpfc_sli4_alloc_extent() local
5867 longs = ((rsrc_cnt * rsrc_size) + BITS_PER_LONG - 1) / BITS_PER_LONG; in lpfc_sli4_alloc_extent()
5877 phba->sli4_hba.rpi_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent()
5906 phba->vpi_bmask = kcalloc(longs, sizeof(unsigned long), in lpfc_sli4_alloc_extent()
5926 phba->sli4_hba.xri_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent()
5949 phba->sli4_hba.vfi_bmask = kcalloc(longs, in lpfc_sli4_alloc_extent()
6470 unsigned long longs; in lpfc_sli4_alloc_resource_identifiers() local
[all …]
Dlpfc_init.c6412 int longs; in lpfc_sli4_driver_resource_setup() local
6853 longs = (LPFC_SLI4_FCF_TBL_INDX_MAX + BITS_PER_LONG - 1)/BITS_PER_LONG; in lpfc_sli4_driver_resource_setup()
6854 phba->fcf.fcf_rr_bmask = kcalloc(longs, sizeof(unsigned long), in lpfc_sli4_driver_resource_setup()
/Linux-v5.4/Documentation/core-api/
Datomic_ops.rst98 Properly aligned pointers, longs, ints, and chars (and unsigned
/Linux-v5.4/fs/nfsd/
Dnfs4proc.c2747 if (test_bit(this->opnum, allow->u.longs) && in nfsd4_spo_must_allow()
/Linux-v5.4/Documentation/media/v4l-drivers/
Dcx2341x.rst3837 'itv0': After this magic number two unsigned longs follow. Bits 0-17 of the first
/Linux-v5.4/
DCREDITS268 D: New sysctl function for handling unsigned longs