Searched refs:longs (Results 1 - 65 of 65) sorted by relevance

/linux-4.4.14/lib/
H A Dmemweight.c13 size_t longs; memweight() local
20 longs = bytes / sizeof(long); memweight()
21 if (longs) { memweight()
22 BUG_ON(longs >= INT_MAX / BITS_PER_LONG); memweight()
24 longs * BITS_PER_LONG); memweight()
25 bytes -= longs * sizeof(long); memweight()
26 bitmap += longs * sizeof(long); memweight()
H A Dbitmap.c21 * array of unsigned longs. The number of valid bits in a
924 * bitmap: array of unsigned longs corresponding to the bitmap
951 int nlongs_reg; /* num longs spanned by region in bitmap */ __reg_op()
954 int i; /* scans bitmap by longs */ __reg_op()
1000 * @bitmap: array of unsigned longs corresponding to the bitmap
1028 * @bitmap: array of unsigned longs corresponding to the bitmap
1045 * @bitmap: array of unsigned longs corresponding to the bitmap
/linux-4.4.14/arch/m68k/lib/
H A Dchecksum.c61 /* unrolled loop for the main part: do 8 longs at once */ csum_partial()
91 "andw #0x1c,%3\n\t" /* number of rest longs */ csum_partial()
96 /* loop for rest longs */ csum_partial()
103 /* now check for rest bytes that do not fit into longs */ csum_partial()
161 /* unrolled loop for the main part: do 8 longs at once */ csum_partial_copy_from_user()
207 "andw #0x1c,%4\n\t" /* number of rest longs */ csum_partial_copy_from_user()
212 /* loop for rest longs */ csum_partial_copy_from_user()
221 /* now check for rest bytes that do not fit into longs */ csum_partial_copy_from_user()
348 /* unrolled loop for the main part: do 8 longs at once */ csum_partial_copy_nocheck()
386 "andw #0x1c,%4\n\t" /* number of rest longs */ csum_partial_copy_nocheck()
391 /* loop for rest longs */ csum_partial_copy_nocheck()
399 /* now check for rest bytes that do not fit into longs */ csum_partial_copy_nocheck()
/linux-4.4.14/include/uapi/linux/
H A Datmapi.h22 * code that still assumes that we're passing unsigned longs.
/linux-4.4.14/arch/powerpc/include/asm/
H A Dasm-compat.h21 /* operations for longs and pointers */
52 /* operations for longs and pointers */
H A Delf.h36 * Our registers are always unsigned longs, whether we're a 32 bit
H A Dbitops.h15 * The bitop functions are defined to work on unsigned longs, so for a
/linux-4.4.14/net/netfilter/
H A Dnf_conntrack_labels.c21 unsigned int longs = l->words; label_bits() local
22 return longs * BITS_PER_LONG; label_bits()
/linux-4.4.14/tools/testing/selftests/powerpc/primitives/asm/
H A Dasm-compat.h21 /* operations for longs and pointers */
52 /* operations for longs and pointers */
/linux-4.4.14/include/linux/
H A Dhash.h3 /* Fast hashing routine for ints, longs and pointers.
H A Dbitmap.h13 * longs. The bitmap interface and available operations are listed
82 * to declare an array named 'name' of just enough unsigned longs to
H A Dbtree.h23 * Each key here is an array of unsigned longs, geo->no_longs in total. The
H A Dnfs_xdr.h1195 unsigned long longs[NFS4_OP_MAP_NUM_LONGS]; member in union:nfs4_op_map::__anon13038
/linux-4.4.14/arch/parisc/kernel/
H A Dsyscall_table.S147 /* Following 3 have linux-common-code structs containing longs -( */
180 /* even though manpage says struct timeval contains longs, ours has
192 /* struct rusage contains longs... */
204 /* struct timex contains longs */
227 * contains longs, the macros and sizes are clever. */
/linux-4.4.14/crypto/
H A Dblowfish_generic.c29 * organized in 4 unsigned longs at a row.
H A Dblowfish_common.c299 * organized in 4 unsigned longs at a row.
/linux-4.4.14/drivers/block/mtip32xx/
H A Dmtip32xx.h106 * Per-tag bitfield size in longs.
109 * manipulate memory in longs, so we try to make the math work.
110 * take the slot groups and find the number of longs, rounding up.
111 * Careful! i386 and x86_64 use different size longs!
/linux-4.4.14/arch/powerpc/kernel/
H A Dsys_ppc32.c74 * The 32 bit ABI passes long longs in an odd even register pair.
/linux-4.4.14/arch/s390/include/asm/
H A Dchecksum.h35 "0: cksm %0,%1\n" /* do checksum on longs */ csum_partial()
H A Dbitops.h14 * The bitop functions are defined to work on unsigned longs, so the bits
/linux-4.4.14/fs/ocfs2/cluster/
H A Dmasklog.h38 * caller gives a constant bitmask that fills one of the longs with all 0s. So
40 * one of the longs. This leads to having infrequently given bits that are
/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Dhvcserver.c126 * unsigned longs, hence the casting mumbo jumbo you see later).
136 * Dealt with as longs because of the hcall interface even though the hvcs_get_partner_info()
/linux-4.4.14/tools/power/cpupower/utils/helpers/
H A Dbitmask.c13 /* How many longs in mask of n bits */
57 * array of unsigned longs.
/linux-4.4.14/drivers/oprofile/
H A Devent_buffer.c11 * of unsigned longs. Entries are prefixed by the
/linux-4.4.14/include/net/
H A Dsnmp.h50 * We use unsigned longs for most mibs but u64 for ipstats.
/linux-4.4.14/arch/m68k/include/asm/
H A Dmcfwdebug.h89 * that the debug module instructions (2 longs) must be long word aligned and
/linux-4.4.14/drivers/video/fbdev/
H A Datafb_iplan2p8.c27 /* This expands a 8 bit color into two longs for two movepl (8 plane)
H A Datafb_utils.h250 * This expands a up to 8 bit color into two longs
/linux-4.4.14/arch/mips/lib/
H A Dmemset.S181 /* ... but first do longs ... */
/linux-4.4.14/net/openvswitch/
H A Dflow.h123 } __aligned(BITS_PER_LONG/8); /* Ensure that we can do comparisons as longs. */
/linux-4.4.14/arch/sh/kernel/
H A Dsignal_64.c415 * to two long longs in size. setup_frame()
507 * to two long longs in size. setup_rt_frame()
/linux-4.4.14/include/uapi/rdma/
H A Dib_user_mad.h151 * bitmap made up of longs in the kernel. This ambiguity meant that
/linux-4.4.14/kernel/trace/
H A Dtrace_seq.c108 * @maskp: points to an array of unsigned longs that represent a bitmask
/linux-4.4.14/arch/s390/include/uapi/asm/
H A Dptrace.h54 * only supports passing of longs.
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dme_daq.c372 * Build longs from the byte-wise coded header me2600_xilinx_download()
/linux-4.4.14/drivers/misc/sgi-xp/
H A Dxpc_partition.c33 int xpc_nasid_mask_nlongs; /* #of longs in nasid mask */
/linux-4.4.14/drivers/block/drbd/
H A Ddrbd_bitmap.c56 * 1 << (35 - 2) 32bit longs needed
58 * 1 << (35 - 3) 64bit longs needed
333 * modulo longs per page
1480 /* MLPP: modulo longs per page */ _drbd_bm_set_bits()
/linux-4.4.14/arch/arm/kernel/
H A Dunwind.c127 * prel31 numbers can be compared as unsigned longs. search_index()
/linux-4.4.14/arch/s390/kernel/
H A Ddebug.c57 * This assumes that all args are converted into longs
1496 /* count of longs fit into one entry */ debug_sprintf_format_fn()
/linux-4.4.14/fs/nfs/
H A Dnfs4proc.c6897 if (test_bit(i, sp->enforce.u.longs)) nfs4_sp4_select_mode()
6899 if (test_bit(i, sp->allow.u.longs)) nfs4_sp4_select_mode()
6920 if (test_bit(OP_BIND_CONN_TO_SESSION, sp->enforce.u.longs) && nfs4_sp4_select_mode()
6921 test_bit(OP_CREATE_SESSION, sp->enforce.u.longs) && nfs4_sp4_select_mode()
6922 test_bit(OP_DESTROY_SESSION, sp->enforce.u.longs) && nfs4_sp4_select_mode()
6923 test_bit(OP_DESTROY_CLIENTID, sp->enforce.u.longs)) { nfs4_sp4_select_mode()
6932 if (test_bit(OP_CLOSE, sp->allow.u.longs) && nfs4_sp4_select_mode()
6933 test_bit(OP_LOCKU, sp->allow.u.longs)) { nfs4_sp4_select_mode()
6938 if (test_bit(OP_SECINFO, sp->allow.u.longs) && nfs4_sp4_select_mode()
6939 test_bit(OP_SECINFO_NO_NAME, sp->allow.u.longs)) { nfs4_sp4_select_mode()
6944 if (test_bit(OP_TEST_STATEID, sp->allow.u.longs) && nfs4_sp4_select_mode()
6945 test_bit(OP_FREE_STATEID, sp->allow.u.longs)) { nfs4_sp4_select_mode()
6950 if (test_bit(OP_WRITE, sp->allow.u.longs)) { nfs4_sp4_select_mode()
6955 if (test_bit(OP_COMMIT, sp->allow.u.longs)) { nfs4_sp4_select_mode()
/linux-4.4.14/drivers/isdn/mISDN/
H A Ddsp_blowfish.c350 * organized in 4 unsigned longs at a row.
/linux-4.4.14/drivers/net/fddi/skfp/h/
H A Dsmt.h47 * if struct smt_header starts at offset 0, all longs are aligned correctly
/linux-4.4.14/net/sched/
H A Dcls_flower.c37 } __aligned(BITS_PER_LONG / 8); /* Ensure that we can do comparisons as longs. */
/linux-4.4.14/samples/trace_events/
H A Dtrace-events-sample.h144 * an array of longs, and the number of bits to parse. It takes
/linux-4.4.14/fs/
H A Dcompat.c1158 * Ooo, nasty. We need here to frob 32-bit unsigned longs to
1159 * 64-bit unsigned longs.
/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_sli.c4636 int longs; lpfc_sli_hba_setup() local
4715 longs = (phba->max_vpi + BITS_PER_LONG) / BITS_PER_LONG; lpfc_sli_hba_setup()
4716 phba->vpi_bmask = kzalloc(longs * sizeof(unsigned long), lpfc_sli_hba_setup()
5330 unsigned long longs; lpfc_sli4_alloc_extent() local
5387 longs = ((rsrc_cnt * rsrc_size) + BITS_PER_LONG - 1) / BITS_PER_LONG; lpfc_sli4_alloc_extent()
5397 phba->sli4_hba.rpi_bmask = kzalloc(longs * lpfc_sli4_alloc_extent()
5426 phba->vpi_bmask = kzalloc(longs * lpfc_sli4_alloc_extent()
5448 phba->sli4_hba.xri_bmask = kzalloc(longs * lpfc_sli4_alloc_extent()
5471 phba->sli4_hba.vfi_bmask = kzalloc(longs * lpfc_sli4_alloc_extent()
5673 unsigned long longs; lpfc_sli4_alloc_resource_identifiers() local
5772 longs = (count + BITS_PER_LONG - 1) / BITS_PER_LONG; lpfc_sli4_alloc_resource_identifiers()
5773 phba->sli4_hba.rpi_bmask = kzalloc(longs * lpfc_sli4_alloc_resource_identifiers()
5801 longs = (count + BITS_PER_LONG - 1) / BITS_PER_LONG; lpfc_sli4_alloc_resource_identifiers()
5802 phba->vpi_bmask = kzalloc(longs * lpfc_sli4_alloc_resource_identifiers()
5830 longs = (count + BITS_PER_LONG - 1) / BITS_PER_LONG; lpfc_sli4_alloc_resource_identifiers()
5831 phba->sli4_hba.xri_bmask = kzalloc(longs * lpfc_sli4_alloc_resource_identifiers()
5860 longs = (count + BITS_PER_LONG - 1) / BITS_PER_LONG; lpfc_sli4_alloc_resource_identifiers()
5861 phba->sli4_hba.vfi_bmask = kzalloc(longs * lpfc_sli4_alloc_resource_identifiers()
H A Dlpfc_init.c5121 int longs; lpfc_sli4_driver_resource_setup() local
5423 longs = (LPFC_SLI4_FCF_TBL_INDX_MAX + BITS_PER_LONG - 1)/BITS_PER_LONG; lpfc_sli4_driver_resource_setup()
5424 phba->fcf.fcf_rr_bmask = kzalloc(longs * sizeof(unsigned long), lpfc_sli4_driver_resource_setup()
/linux-4.4.14/drivers/scsi/
H A Dscript_asm.pl404 delete $forward{$1}; # an array of longs
H A Dqla1280.c321 - Changed conversion of pointers to unsigned longs instead of integers.
326 - Added l modifiers to sprintf and printk format specifiers for longs.
/linux-4.4.14/drivers/s390/crypto/
H A Dzcrypt_msgtype6.c68 * Note that all shorts, ints and longs are little-endian.
/linux-4.4.14/drivers/net/ethernet/amd/
H A Dsun3lance.c154 /* These two must be longs for set_bit() */
/linux-4.4.14/drivers/net/fddi/
H A Ddefxx.h35 /* Define basic types for unsigned chars, shorts, longs */
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dsiena_sriov.c22 /* Number of longs required to track all the VIs in a VF */
/linux-4.4.14/drivers/net/ethernet/smsc/
H A Dsmc9194.c630 . I _think_ it's faster to send the longs first, and then smc_hardware_send_packet()
/linux-4.4.14/fs/ext2/
H A Dinode.c153 * architecture with 32-bit longs and 8Kb pages we might get into trouble
/linux-4.4.14/arch/sparc/kernel/
H A Dperf_event.c92 /* Array of encoded longs, specifying the %pcr register
/linux-4.4.14/scripts/
H A Dkernel-doc136 # For really longs structs, you can also describe arguments inside the
/linux-4.4.14/fs/ext4/
H A Dindirect.c66 * architecture with 32-bit longs and 8Kb pages we might get into trouble
/linux-4.4.14/tools/perf/util/
H A Dheader.c2360 * feature bitmap is declared as an array of unsigned longs -- perf_file_header__read()
/linux-4.4.14/virt/kvm/arm/
H A Dvgic.c135 * struct vgic_bitmap contains a bitmap made of unsigned longs, but
/linux-4.4.14/fs/proc/
H A Dbase.c1831 * dname_to_vma_addr - maps a dentry name into two unsigned longs
/linux-4.4.14/arch/powerpc/xmon/
H A Dxmon.c1868 " l modify by longs (4 byte)\n"
/linux-4.4.14/tools/perf/
H A Dbuiltin-trace.c1785 * args is to be interpreted as a series of longs but we need to handle
/linux-4.4.14/drivers/block/
H A Dfloppy.c123 * being used to store jiffies, which are unsigned longs).
/linux-4.4.14/arch/m68k/kernel/
H A Dhead.S3471 divul #32,%d6 /* we'll move 8 longs at a time */

Completed in 2905 milliseconds