HomeSort by relevance Sort by last modified time
    Searched refs:cpu_to_le32 (Results 1 - 25 of 65) sorted by null

1 2 3

  /bionic/libc/kernel/uapi/linux/
ncp.h 70 #define RIM_NAME (cpu_to_le32(1))
71 #define RIM_SPACE_ALLOCATED (cpu_to_le32(2))
72 #define RIM_ATTRIBUTES (cpu_to_le32(4))
73 #define RIM_DATA_SIZE (cpu_to_le32(8))
74 #define RIM_TOTAL_SIZE (cpu_to_le32(0x10))
75 #define RIM_EXT_ATTR_INFO (cpu_to_le32(0x20))
76 #define RIM_ARCHIVE (cpu_to_le32(0x40))
77 #define RIM_MODIFY (cpu_to_le32(0x80))
78 #define RIM_CREATION (cpu_to_le32(0x100))
79 #define RIM_OWNING_NAMESPACE (cpu_to_le32(0x200)
    [all...]
nilfs2_ondisk.h 251 { cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) | (1UL << NILFS_CHECKPOINT_ ##flag)); \
253 { cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) & ~(1UL << NILFS_CHECKPOINT_ ##flag)); \
270 { su->su_flags = cpu_to_le32(le32_to_cpu(su->su_flags) | (1UL << NILFS_SEGMENT_USAGE_ ##flag)); \
272 { su->su_flags = cpu_to_le32(le32_to_cpu(su->su_flags) & ~(1UL << NILFS_SEGMENT_USAGE_ ##flag)); \
  /external/kernel-headers/original/uapi/linux/
ncp.h 75 #define RIM_NAME (cpu_to_le32(1))
76 #define RIM_SPACE_ALLOCATED (cpu_to_le32(2))
77 #define RIM_ATTRIBUTES (cpu_to_le32(4))
78 #define RIM_DATA_SIZE (cpu_to_le32(8))
79 #define RIM_TOTAL_SIZE (cpu_to_le32(0x10))
80 #define RIM_EXT_ATTR_INFO (cpu_to_le32(0x20))
81 #define RIM_ARCHIVE (cpu_to_le32(0x40))
82 #define RIM_MODIFY (cpu_to_le32(0x80))
83 #define RIM_CREATION (cpu_to_le32(0x100))
84 #define RIM_OWNING_NAMESPACE (cpu_to_le32(0x200)
    [all...]
nilfs2_ondisk.h 536 cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) | \
542 cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) & \
598 su->su_flags = cpu_to_le32(le32_to_cpu(su->su_flags) | \
605 cpu_to_le32(le32_to_cpu(su->su_flags) & \
623 su->su_nblocks = cpu_to_le32(0);
624 su->su_flags = cpu_to_le32(0);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
ncp.h 74 #define RIM_NAME (cpu_to_le32(1))
75 #define RIM_SPACE_ALLOCATED (cpu_to_le32(2))
76 #define RIM_ATTRIBUTES (cpu_to_le32(4))
77 #define RIM_DATA_SIZE (cpu_to_le32(8))
78 #define RIM_TOTAL_SIZE (cpu_to_le32(0x10))
79 #define RIM_EXT_ATTR_INFO (cpu_to_le32(0x20))
80 #define RIM_ARCHIVE (cpu_to_le32(0x40))
81 #define RIM_MODIFY (cpu_to_le32(0x80))
82 #define RIM_CREATION (cpu_to_le32(0x100))
83 #define RIM_OWNING_NAMESPACE (cpu_to_le32(0x200)
    [all...]
ext2_fs.h 437 ( EXT2_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask) )
439 ( EXT2_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask) )
441 ( EXT2_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask) )
443 EXT2_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask)
445 EXT2_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask)
447 EXT2_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask)
449 EXT2_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask)
451 EXT2_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask)
453 EXT2_SB(sb)->s_es->s_feature_incompat &= ~cpu_to_le32(mask)
  /external/fio/
cconv.c 336 top->allow_create = cpu_to_le32(o->allow_create);
337 top->allow_mounted_write = cpu_to_le32(o->allow_mounted_write);
338 top->td_ddir = cpu_to_le32(o->td_ddir);
339 top->rw_seq = cpu_to_le32(o->rw_seq);
340 top->kb_base = cpu_to_le32(o->kb_base);
341 top->unit_base = cpu_to_le32(o->unit_base);
342 top->ddir_seq_nr = cpu_to_le32(o->ddir_seq_nr);
343 top->iodepth = cpu_to_le32(o->iodepth);
344 top->iodepth_low = cpu_to_le32(o->iodepth_low);
345 top->iodepth_batch = cpu_to_le32(o->iodepth_batch)
    [all...]
server.c 174 cmd->pdu_len = cpu_to_le32(pdu_len);
752 spdu.jobs = cpu_to_le32(thread_number);
753 spdu.stat_outputs = cpu_to_le32(stat_number);
795 spdu.jobs = cpu_to_le32(thread_number);
796 spdu.stat_outputs = cpu_to_le32(stat_number);
836 spdu.jobs = cpu_to_le32(thread_number);
837 spdu.stat_outputs = cpu_to_le32(stat_number);
897 je->nr_running = cpu_to_le32(je->nr_running);
898 je->nr_ramp = cpu_to_le32(je->nr_ramp);
899 je->nr_pending = cpu_to_le32(je->nr_pending)
    [all...]
  /external/selinux/libsepol/src/
write.c 64 buf[0] = cpu_to_le32(MAPSIZE);
65 buf[1] = cpu_to_le32(e->highbit);
70 buf[2] = cpu_to_le32(count);
77 bit = cpu_to_le32(n->startbit);
125 buf32[items++] = cpu_to_le32(val);
127 buf32[items++] = cpu_to_le32(val);
129 buf32[items++] = cpu_to_le32(val);
165 buf32[items++] = cpu_to_le32(val);
190 cpu_to_le32(node->datum.data);
196 buf32[items++] = cpu_to_le32(cur->datum.data)
    [all...]
private.h 27 #define cpu_to_le32(x) (x) macro
34 #define cpu_to_le32(x) bswap_32(x) macro
  /external/f2fs-tools/mkfs/
f2fs_format_main.c 85 c.feature |= cpu_to_le32(F2FS_FEATURE_ENCRYPT);
87 c.feature |= cpu_to_le32(F2FS_FEATURE_VERITY);
89 c.feature |= cpu_to_le32(F2FS_FEATURE_EXTRA_ATTR);
91 c.feature |= cpu_to_le32(F2FS_FEATURE_PRJQUOTA);
93 c.feature |= cpu_to_le32(F2FS_FEATURE_INODE_CHKSUM);
95 c.feature |= cpu_to_le32(F2FS_FEATURE_FLEXIBLE_INLINE_XATTR);
97 c.feature |= cpu_to_le32(F2FS_FEATURE_QUOTA_INO);
99 c.feature |= cpu_to_le32(F2FS_FEATURE_INODE_CRTIME);
182 if (!(c.feature & cpu_to_le32(F2FS_FEATURE_EXTRA_ATTR))) {
183 if (c.feature & cpu_to_le32(F2FS_FEATURE_PRJQUOTA))
    [all...]
f2fs_format.c 247 cpu_to_le32(c.devices[i].total_segments);
383 if (c.feature & cpu_to_le32(F2FS_FEATURE_INODE_CHKSUM))
393 if (c.feature & cpu_to_le32(F2FS_FEATURE_QUOTA_INO)) {
395 if (c.feature & cpu_to_le32(F2FS_FEATURE_PRJQUOTA))
402 sb->qf_ino[qtype] = cpu_to_le32(next_ino++);
641 cpu_to_le32(crc);
692 journal->nat_j.entries[0].ne.block_addr = cpu_to_le32(
702 journal->nat_j.entries[i].ne.block_addr = cpu_to_le32(
862 cpu_to_le32(crc);
989 raw_node->footer.next_blkaddr = cpu_to_le32(
    [all...]
  /external/f2fs-tools/fsck/
quotaio_v2.c 85 d->dqb_id = cpu_to_le32(dquot->dq_id);
129 d->dqi_bgrace = cpu_to_le32(m->dqi_bgrace);
130 d->dqi_igrace = cpu_to_le32(m->dqi_igrace);
131 d->dqi_flags = cpu_to_le32(m->u.v2_mdqi.dqi_flags & V2_DQF_MASK);
132 d->dqi_blocks = cpu_to_le32(m->u.v2_mdqi.dqi_qtree.dqi_blocks);
134 cpu_to_le32(m->u.v2_mdqi.dqi_qtree.dqi_free_blk);
136 cpu_to_le32(m->u.v2_mdqi.dqi_qtree.dqi_free_entry);
202 ddqheader.dqh_magic = cpu_to_le32(file_magics[h->qh_type]);
203 ddqheader.dqh_version = cpu_to_le32(V2_VERSION);
node.h 52 rn->i.i_nid[off - NODE_DIR1_BLOCK] = cpu_to_le32(nid);
54 rn->in.nid[off] = cpu_to_le32(nid);
dir.c 193 de->ino = cpu_to_le32(ino);
280 if (parent->i.i_current_depth != cpu_to_le32(current_depth)) {
281 parent->i.i_current_depth = cpu_to_le32(current_depth);
288 parent->i.i_links = cpu_to_le32(links + 1);
331 dent_blk->dentry[0].ino = cpu_to_le32(ino);
337 dent_blk->dentry[1].ino = cpu_to_le32(pino);
351 inode->i.i_addr[get_extra_isize(inode)] = cpu_to_le32(blkaddr);
386 inode->i.i_addr[get_extra_isize(inode)] = cpu_to_le32(blkaddr);
419 node_blk->i.i_uid = cpu_to_le32(de->uid);
420 node_blk->i.i_gid = cpu_to_le32(de->gid)
    [all...]
quotaio_tree.c 127 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_blk);
128 dh->dqdh_prev_free = cpu_to_le32(0);
163 dh->dqdh_next_free = dh->dqdh_prev_free = cpu_to_le32(0);
179 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_entry);
180 dh->dqdh_prev_free = cpu_to_le32(0);
185 cpu_to_le32(blk);
293 cpu_to_le32(newblk);
421 ref[get_index(dquot->dq_id, depth)] = cpu_to_le32(0);
node.c 47 addr_array[ofs_in_node] = cpu_to_le32(dn->data_blkaddr);
74 node_blk->footer.nid = cpu_to_le32(dn->nid);
76 node_blk->footer.flag = cpu_to_le32(ofs << OFFSET_BIT_SHIFT);
  /system/core/adb/daemon/
usb.cpp 59 #define cpu_to_le32(x) htole32(x) macro
193 .Reserved1 = cpu_to_le32(1),
200 .interface = cpu_to_le32(1),
201 .dwLength = cpu_to_le32(sizeof(os_desc_header) + sizeof(os_desc_compat)),
202 .bcdVersion = cpu_to_le32(1),
203 .wIndex = cpu_to_le32(4),
204 .bCount = cpu_to_le32(1),
205 .Reserved = cpu_to_le32(0),
218 .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC),
219 .length = cpu_to_le32(sizeof(strings))
    [all...]
  /external/syslinux/gpxe/src/drivers/net/
epic100.c 17 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr))
276 rx_ring[i].status = cpu_to_le32(RRING_OWN); /* Owned by Epic chip */
277 rx_ring[i].buflength = cpu_to_le32(PKT_BUF_SZ);
291 tx_ring[i].buflength = 0x0000 | cpu_to_le32(TD_STDFLAGS << 16);
345 tx_ring[entry].buflength |= cpu_to_le32(len);
346 tx_ring[entry].status = cpu_to_le32(len << 16) |
347 cpu_to_le32(TRING_OWN); /* Pass ownership to the chip. */
385 if ((rx_ring[entry].status & cpu_to_le32(RRING_OWN)) == RRING_OWN)
dmfe.c 57 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr))
358 rxd[entry].rdes0 = cpu_to_le32(0x80000000);
378 rxd[entry].rdes0 = cpu_to_le32(0x80000000);
422 txd[db->cur_tx].tdes1 = cpu_to_le32(0xe1000000 | size);
423 txd[db->cur_tx].tdes0 = cpu_to_le32(0x80000000); /* give ownership to device */
528 txd[i].tdes0 = cpu_to_le32(0);
529 txd[i].tdes1 = cpu_to_le32(0x81000000); /* IC, chain */
530 txd[i].tdes2 = cpu_to_le32(virt_to_bus(&txb[i]));
531 txd[i].tdes3 = cpu_to_le32(virt_to_bus(&txd[i + 1]));
541 rxd[i].rdes0 = cpu_to_le32(0x80000000)
    [all...]
sis190.c 175 desc->size |= cpu_to_le32(RingEnd);
183 desc->size = cpu_to_le32((RX_BUF_SIZE & RX_BUF_MASK) | eor);
185 desc->status = cpu_to_le32(OWNbit | INTbit);
190 desc->addr = cpu_to_le32(mapping);
197 desc->addr = cpu_to_le32(0xdeadbeef);
198 desc->size &= cpu_to_le32(RingEnd);
568 tp->tx_dma = cpu_to_le32(virt_to_bus(tp->TxDescRing));
577 tp->rx_dma = cpu_to_le32(virt_to_bus(tp->RxDescRing));
661 desc->PSize = cpu_to_le32(len);
662 desc->addr = cpu_to_le32(virt_to_bus(iob->data))
    [all...]
  /system/extras/ext4_utils/include/ext4_utils/
ext4.h 306 #define EXT4_INODE_SET_XTIME(xtime, inode, raw_inode) do { (raw_inode)->xtime = cpu_to_le32((inode)->xtime.tv_sec); if (EXT4_FITS_IN_INODE(raw_inode, EXT4_I(inode), xtime ## _extra)) (raw_inode)->xtime ## _extra = ext4_encode_extra_time(&(inode)->xtime); } while (0)
307 #define EXT4_EINODE_SET_XTIME(xtime, einode, raw_inode) do { if (EXT4_FITS_IN_INODE(raw_inode, einode, xtime)) (raw_inode)->xtime = cpu_to_le32((einode)->xtime.tv_sec); if (EXT4_FITS_IN_INODE(raw_inode, einode, xtime ## _extra)) (raw_inode)->xtime ## _extra = ext4_encode_extra_time(&(einode)->xtime); } while (0)
472 #define EXT4_HAS_COMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask)) != 0)
473 #define EXT4_HAS_RO_COMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask)) != 0)
474 #define EXT4_HAS_INCOMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask)) != 0)
475 #define EXT4_SET_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask)
476 #define EXT4_SET_RO_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask)
477 #define EXT4_SET_INCOMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask)
478 #define EXT4_CLEAR_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask)
479 #define EXT4_CLEAR_RO_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask
    [all...]
  /external/syslinux/gpxe/src/include/
big_bswap.h 9 #define cpu_to_le32(x) __bswap_32(x) macro
little_bswap.h 11 #define cpu_to_le32(x) (x) macro
  /external/syslinux/gpxe/src/drivers/bitbash/
spi_bit.c 174 tmp_command = cpu_to_le32 ( command );
181 tmp_address = cpu_to_le32 ( address );

Completed in 979 milliseconds

1 2 3