Searched refs:cpu_to_be16 (Results 1 - 25 of 135) sorted by relevance

123456

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus/
H A Dwrapper.c34 if (sig != cpu_to_be16(HFSPLUS_VOLHEAD_SIG) &&
35 sig != cpu_to_be16(HFSPLUS_VOLHEAD_SIGX))
107 if (vhdr->signature == cpu_to_be16(HFSP_WRAP_MAGIC)) {
118 if (vhdr->signature == cpu_to_be16(HFSPLUS_VOLHEAD_SIG))
120 if (vhdr->signature == cpu_to_be16(HFSPLUS_VOLHEAD_SIGX)) {
169 cpu_to_be16(HFSPLUS_VOLHEAD_SIGX) :
170 cpu_to_be16(HFSPLUS_VOLHEAD_SIG)))
H A Dcatalog.c54 key->key_len = cpu_to_be16(6 + 2 * len);
64 key->cat.name.length = cpu_to_be16(ustrlen);
67 key->key_len = cpu_to_be16(6 + ustrlen);
82 perms->mode = cpu_to_be16(inode->i_mode);
94 folder->type = cpu_to_be16(HFSPLUS_FOLDER);
104 folder->user_info.frFlags = cpu_to_be16(0x5000);
111 file->type = cpu_to_be16(HFSPLUS_FILE);
112 file->flags = cpu_to_be16(HFSPLUS_FILE_THREAD_EXISTS);
129 file->flags |= cpu_to_be16(HFSPLUS_FILE_LOCKED);
133 file->user_info.fdFlags = cpu_to_be16(
[all...]
H A Dpart_tbl.c124 if (pm->pmSig != cpu_to_be16(HFS_NEW_PMAP_MAGIC))
H A Dunicode.c288 ustr->unicode[outlen++] = cpu_to_be16(hfsplus_decompose_table[off++]);
293 ustr->unicode[outlen++] = cpu_to_be16(c);
295 ustr->length = cpu_to_be16(outlen);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/
H A Dwrapper.c34 if (sig != cpu_to_be16(HFSPLUS_VOLHEAD_SIG) &&
35 sig != cpu_to_be16(HFSPLUS_VOLHEAD_SIGX))
107 if (vhdr->signature == cpu_to_be16(HFSP_WRAP_MAGIC)) {
118 if (vhdr->signature == cpu_to_be16(HFSPLUS_VOLHEAD_SIG))
120 if (vhdr->signature == cpu_to_be16(HFSPLUS_VOLHEAD_SIGX)) {
169 cpu_to_be16(HFSPLUS_VOLHEAD_SIGX) :
170 cpu_to_be16(HFSPLUS_VOLHEAD_SIG)))
H A Dcatalog.c54 key->key_len = cpu_to_be16(6 + 2 * len);
64 key->cat.name.length = cpu_to_be16(ustrlen);
67 key->key_len = cpu_to_be16(6 + ustrlen);
82 perms->mode = cpu_to_be16(inode->i_mode);
94 folder->type = cpu_to_be16(HFSPLUS_FOLDER);
104 folder->user_info.frFlags = cpu_to_be16(0x5000);
111 file->type = cpu_to_be16(HFSPLUS_FILE);
112 file->flags = cpu_to_be16(HFSPLUS_FILE_THREAD_EXISTS);
129 file->flags |= cpu_to_be16(HFSPLUS_FILE_LOCKED);
133 file->user_info.fdFlags = cpu_to_be16(
[all...]
H A Dpart_tbl.c124 if (pm->pmSig != cpu_to_be16(HFS_NEW_PMAP_MAGIC))
H A Dunicode.c288 ustr->unicode[outlen++] = cpu_to_be16(hfsplus_decompose_table[off++]);
293 ustr->unicode[outlen++] = cpu_to_be16(c);
295 ustr->length = cpu_to_be16(outlen);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/
H A Ddir.h55 dent->de_rec_len = cpu_to_be16(reclen);
56 dent->de_name_len = cpu_to_be16(name->len);
57 dent->de_type = cpu_to_be16(0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/boot/
H A Dflatdevtree_env.h21 #define cpu_to_be16(x) (x) macro
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfs/
H A Dmdb.c90 if (mdb->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC))
127 if (mdb->drSigWord != cpu_to_be16(HFS_SUPER_MAGIC))
156 if (mdb2->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC)) {
204 if (!(attrib & cpu_to_be16(HFS_SB_ATTRIB_UNMNT))) {
209 if ((attrib & cpu_to_be16(HFS_SB_ATTRIB_SLOCK))) {
215 attrib &= cpu_to_be16(~HFS_SB_ATTRIB_UNMNT);
216 attrib |= cpu_to_be16(HFS_SB_ATTRIB_INCNSTNT);
265 mdb->drFreeBks = cpu_to_be16(HFS_SB(sb)->free_ablocks);
267 mdb->drNmFls = cpu_to_be16(HFS_SB(sb)->root_files);
268 mdb->drNmRtDirs = cpu_to_be16(HFS_S
[all...]
H A Dextent.c26 key->ext.FABN = cpu_to_be16(block);
220 extent->block = cpu_to_be16(alloc_block);
223 extent->count = cpu_to_be16(block_count);
261 extent->count = cpu_to_be16(count);
400 HFS_I(inode)->first_extents[0].block = cpu_to_be16(start);
401 HFS_I(inode)->first_extents[0].count = cpu_to_be16(len);
444 HFS_I(inode)->cached_extents[0].block = cpu_to_be16(start);
445 HFS_I(inode)->cached_extents[0].count = cpu_to_be16(len);
H A Dpart_tbl.c108 if (pm->pmSig != cpu_to_be16(HFS_NEW_PMAP_MAGIC))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/
H A Dxfs_dir2_data.c257 new.offset = cpu_to_be16((char *)dup - (char *)d);
416 d->hdr.bestfree[0].offset = cpu_to_be16(sizeof(d->hdr));
425 dup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
428 d->hdr.bestfree[0].length = cpu_to_be16(t);
429 dup->length = cpu_to_be16(t);
430 *XFS_DIR2_DATA_UNUSED_TAG_P(dup) = cpu_to_be16((char *)dup - (char *)d);
591 cpu_to_be16((char *)prevdup - (char *)d);
625 cpu_to_be16((char *)prevdup - (char *)d);
650 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
651 newdup->length = cpu_to_be16(le
[all...]
H A Dxfs_arch.h44 #define cpu_to_be16(val) ((__be16)(val)) macro
51 #define cpu_to_be16(val) (__swab16((__uint16_t)(val))) macro
175 *a = cpu_to_be16(be16_to_cpu(*a) + b);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/amso1100/
H A Dc2_mq.c67 __raw_writew(cpu_to_be16(q->priv), &q->peer->shared);
108 __raw_writew(cpu_to_be16(q->priv), &q->peer->shared);
120 *q->shared = cpu_to_be16((be16_to_cpu(*q->shared)+1) % q->q_size);
H A Dc2.c136 __raw_writew(cpu_to_be16(TXP_HTXD_UNINIT),
182 __raw_writew(cpu_to_be16(RXP_HRXD_OK),
188 __raw_writew(cpu_to_be16(RXP_HRXD_UNINIT),
242 __raw_writew(cpu_to_be16((u16) maplen - sizeof(*rxp_hdr)),
245 __raw_writew(cpu_to_be16(RXP_HRXD_READY), elem->hw_desc + C2_RXP_FLAGS);
295 __raw_writew(cpu_to_be16(RXP_HRXD_UNINIT),
349 __raw_writew(cpu_to_be16(TXP_HTXD_DONE),
358 __raw_writew(cpu_to_be16(TXP_HTXD_UNINIT),
451 __raw_writew(cpu_to_be16((u16) elem->maplen - sizeof(*rxp_hdr)),
454 __raw_writew(cpu_to_be16(RXP_HRXD_READ
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/befs/
H A Dendian.h65 return (__force fs16)cpu_to_be16(n);
98 run.start = cpu_to_be16(n.start);
99 run.len = cpu_to_be16(n.len);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ufs/
H A Dswab.h112 return (__force __fs16)cpu_to_be16(n);
121 *(__be16 *)n = cpu_to_be16(be16_to_cpu(*(__be16 *)n)+d);
130 *(__be16 *)n = cpu_to_be16(be16_to_cpu(*(__be16 *)n)-d);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/crypto/
H A Dzcrypt_cca_key.h168 key->t6_hdr.blen = cpu_to_be16(0x189);
169 key->t6_hdr.ulen = cpu_to_be16(0x189 - 2);
257 key->t6_hdr.ulen = cpu_to_be16(key->pubHdr.token_length + 4);
258 key->t6_hdr.blen = cpu_to_be16(key->pubHdr.token_length + 6);
304 key->t6_hdr.blen = cpu_to_be16(size);
305 key->t6_hdr.ulen = cpu_to_be16(size - 2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/byteorder/
H A Dgeneric.h101 #define cpu_to_be16 __cpu_to_be16 macro
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/mtd/
H A Dcfi_endian.h40 #define cpu_to_cfi16(x) cpu_to_be16(x)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_mad.c102 nip->partition_cap = cpu_to_be16(ipath_get_npkeys(dd));
103 nip->device_id = cpu_to_be16(dd->ipath_deviceid);
247 pip->lid = lid ? cpu_to_be16(lid) : IB_LID_PERMISSIVE;
248 pip->sm_lid = cpu_to_be16(dev->sm_lid);
251 pip->mkey_lease_period = cpu_to_be16(dev->mkey_lease_period);
294 pip->mkey_violations = cpu_to_be16(dev->mkey_violations);
297 cpu_to_be16((ipath_get_cr_errpkey(dev->dd) -
299 pip->qkey_violations = cpu_to_be16(dev->qkey_violations);
348 q[i] = cpu_to_be16(p[i]);
961 p->tag = cpu_to_be16(de
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mlx4/
H A Dah.c48 ah->av.dlid = cpu_to_be16(ah_attr->dlid);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/core/
H A Dud_header.c226 cpu_to_be16((IB_BTH_BYTES +
234 header->lrh.packet_length = cpu_to_be16(packet_length);

Completed in 142 milliseconds

123456