Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 10 of 10) sorted by relevance

/fs/yaffs2/
Dyaffs_packedtags1.c17 void yaffs_PackTags1(yaffs_PackedTags1 *pt, const yaffs_ExtendedTags *t) in yaffs_PackTags1() argument
19 pt->chunkId = t->chunkId; in yaffs_PackTags1()
20 pt->serialNumber = t->serialNumber; in yaffs_PackTags1()
21 pt->byteCount = t->byteCount; in yaffs_PackTags1()
22 pt->objectId = t->objectId; in yaffs_PackTags1()
23 pt->ecc = 0; in yaffs_PackTags1()
24 pt->deleted = (t->chunkDeleted) ? 0 : 1; in yaffs_PackTags1()
25 pt->unusedStuff = 0; in yaffs_PackTags1()
26 pt->shouldBeFF = 0xFFFFFFFF; in yaffs_PackTags1()
30 void yaffs_UnpackTags1(yaffs_ExtendedTags *t, const yaffs_PackedTags1 *pt) in yaffs_UnpackTags1() argument
[all …]
Dyaffs_packedtags2.c51 static void yaffs_DumpPackedTags2(const yaffs_PackedTags2 *pt) in yaffs_DumpPackedTags2() argument
53 yaffs_DumpPackedTags2TagsPart(&pt->t); in yaffs_DumpPackedTags2()
102 void yaffs_PackTags2(yaffs_PackedTags2 *pt, const yaffs_ExtendedTags *t) in yaffs_PackTags2() argument
104 yaffs_PackTags2TagsPart(&pt->t, t); in yaffs_PackTags2()
108 yaffs_ECCCalculateOther((unsigned char *)&pt->t, in yaffs_PackTags2()
110 &pt->ecc); in yaffs_PackTags2()
164 void yaffs_UnpackTags2(yaffs_ExtendedTags *t, yaffs_PackedTags2 *pt) in yaffs_UnpackTags2() argument
169 if (pt->t.sequenceNumber != 0xFFFFFFFF) { in yaffs_UnpackTags2()
175 yaffs_ECCCalculateOther((unsigned char *)&pt->t, in yaffs_UnpackTags2()
180 yaffs_ECCCorrectOther((unsigned char *)&pt->t, in yaffs_UnpackTags2()
[all …]
Dyaffs_mtdif2.c48 yaffs_PackedTags2 pt; in nandmtd2_WriteChunkWithTagsToNAND() local
68 yaffs_PackTags2(&pt, tags); in nandmtd2_WriteChunkWithTagsToNAND()
72 ops.ooblen = (dev->inbandTags) ? 0 : sizeof(pt); in nandmtd2_WriteChunkWithTagsToNAND()
76 ops.oobbuf = (dev->inbandTags) ? NULL : (void *)&pt; in nandmtd2_WriteChunkWithTagsToNAND()
83 &dummy, data, (__u8 *) &pt, NULL); in nandmtd2_WriteChunkWithTagsToNAND()
110 yaffs_PackedTags2 pt; in nandmtd2_ReadChunkWithTagsFromNAND() local
134 ops.ooblen = sizeof(pt); in nandmtd2_ReadChunkWithTagsFromNAND()
135 ops.len = data ? dev->nDataBytesPerChunk : sizeof(pt); in nandmtd2_ReadChunkWithTagsFromNAND()
168 memcpy(&pt, dev->spareBuffer, sizeof(pt)); in nandmtd2_ReadChunkWithTagsFromNAND()
169 yaffs_UnpackTags2(tags, &pt); in nandmtd2_ReadChunkWithTagsFromNAND()
Dyaffs_packedtags2.h37 void yaffs_PackTags2(yaffs_PackedTags2 *pt, const yaffs_ExtendedTags *t);
38 void yaffs_UnpackTags2(yaffs_ExtendedTags *t, yaffs_PackedTags2 *pt);
41 void yaffs_PackTags2TagsPart(yaffs_PackedTags2TagsPart *pt, const yaffs_ExtendedTags *t);
42 void yaffs_UnpackTags2TagsPart(yaffs_ExtendedTags *t, yaffs_PackedTags2TagsPart *pt);
Dyaffs_packedtags1.h35 void yaffs_PackTags1(yaffs_PackedTags1 *pt, const yaffs_ExtendedTags *t);
36 void yaffs_UnpackTags1(yaffs_ExtendedTags *t, const yaffs_PackedTags1 *pt);
/fs/partitions/
Dmsdos.c66 struct partition *pt = (struct partition *) (p + 0x1be); in aix_magic_present() local
77 for (slot = 1; slot <= 4; slot++, pt++) { in aix_magic_present()
78 if (pt->sys_ind == LINUX_SWAP_PARTITION || in aix_magic_present()
79 pt->sys_ind == LINUX_RAID_PARTITION || in aix_magic_present()
80 pt->sys_ind == LINUX_DATA_PARTITION || in aix_magic_present()
81 pt->sys_ind == LINUX_LVM_PARTITION || in aix_magic_present()
82 is_extended_partition(pt)) in aix_magic_present()
/fs/
Dselect.c111 init_poll_funcptr(&pwq->pt, __pollwait); in poll_initwait()
201 struct poll_wqueues *pwq = container_of(p, struct poll_wqueues, pt); in __pollwait()
382 wait = &table.pt; in do_select()
703 poll_table* pt = &wait->pt; in do_poll() local
710 pt = NULL; in do_poll()
733 if (do_pollfd(pfd, pt)) { in do_poll()
735 pt = NULL; in do_poll()
743 pt = NULL; in do_poll()
Deventpoll.c230 poll_table pt; member
305 return container_of(p, struct ep_pqueue, pt)->epi; in ep_item_from_epqueue()
701 poll_table *pt) in ep_ptable_queue_proc() argument
703 struct epitem *epi = ep_item_from_epqueue(pt); in ep_ptable_queue_proc()
767 init_poll_funcptr(&epq.pt, ep_ptable_queue_proc); in ep_insert()
776 revents = tfile->f_op->poll(tfile, &epq.pt); in ep_insert()
/fs/ntfs/
Dcompress.c351 u16 lg, pt, length, max_non_overlap; in ntfs_decompress() local
391 pt = le16_to_cpup((le16*)cb); in ntfs_decompress()
398 dp_back_addr = dp_addr - (pt >> (12 - lg)) - 1; in ntfs_decompress()
403 length = (pt & (0xfff >> lg)) + 3; in ntfs_decompress()
/fs/ecryptfs/
Dmiscdev.c41 ecryptfs_miscdev_poll(struct file *file, poll_table *pt) in ecryptfs_miscdev_poll() argument
65 poll_wait(file, &daemon->wait, pt); in ecryptfs_miscdev_poll()