Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 53) sorted by relevance

123

/fs/yaffs2/
Dyaffs_guts.c119 static void yaffs_AddrToChunk(yaffs_Device *dev, loff_t addr, int *chunkOut, in yaffs_AddrToChunk()
197 static int yaffs_InitialiseTempBuffers(yaffs_Device *dev) in yaffs_InitialiseTempBuffers()
213 __u8 *yaffs_GetTempBuffer(yaffs_Device *dev, int lineNo) in yaffs_GetTempBuffer()
253 void yaffs_ReleaseTempBuffer(yaffs_Device *dev, __u8 *buffer, in yaffs_ReleaseTempBuffer()
281 int yaffs_IsManagedTempBuffer(yaffs_Device *dev, const __u8 *buffer) in yaffs_IsManagedTempBuffer()
309 static Y_INLINE __u8 *yaffs_BlockBits(yaffs_Device *dev, int blk) in yaffs_BlockBits()
321 static Y_INLINE void yaffs_VerifyChunkBitId(yaffs_Device *dev, int blk, int chunk) in yaffs_VerifyChunkBitId()
332 static Y_INLINE void yaffs_ClearChunkBits(yaffs_Device *dev, int blk) in yaffs_ClearChunkBits()
339 static Y_INLINE void yaffs_ClearChunkBit(yaffs_Device *dev, int blk, int chunk) in yaffs_ClearChunkBit()
348 static Y_INLINE void yaffs_SetChunkBit(yaffs_Device *dev, int blk, int chunk) in yaffs_SetChunkBit()
[all …]
Dyaffs_checkptrw.c21 static int yaffs_CheckpointSpaceOk(yaffs_Device *dev) in yaffs_CheckpointSpaceOk()
33 static int yaffs_CheckpointErase(yaffs_Device *dev) in yaffs_CheckpointErase()
66 static void yaffs_CheckpointFindNextErasedBlock(yaffs_Device *dev) in yaffs_CheckpointFindNextErasedBlock()
94 static void yaffs_CheckpointFindNextCheckpointBlock(yaffs_Device *dev) in yaffs_CheckpointFindNextCheckpointBlock()
130 int yaffs_CheckpointOpen(yaffs_Device *dev, int forWriting) in yaffs_CheckpointOpen()
184 int yaffs_GetCheckpointSum(yaffs_Device *dev, __u32 *sum) in yaffs_GetCheckpointSum()
192 static int yaffs_CheckpointFlushBuffer(yaffs_Device *dev) in yaffs_CheckpointFlushBuffer()
245 int yaffs_CheckpointWrite(yaffs_Device *dev, const void *data, int nBytes) in yaffs_CheckpointWrite()
280 int yaffs_CheckpointRead(yaffs_Device *dev, void *data, int nBytes) in yaffs_CheckpointRead()
355 int yaffs_CheckpointClose(yaffs_Device *dev) in yaffs_CheckpointClose()
[all …]
Dyaffs_nand.c23 int yaffs_ReadChunkWithTagsFromNAND(yaffs_Device *dev, int chunkInNAND, in yaffs_ReadChunkWithTagsFromNAND()
56 int yaffs_WriteChunkWithTagsToNAND(yaffs_Device *dev, in yaffs_WriteChunkWithTagsToNAND()
93 int yaffs_MarkBlockBad(yaffs_Device *dev, int blockNo) in yaffs_MarkBlockBad()
104 int yaffs_QueryInitialBlockState(yaffs_Device *dev, in yaffs_QueryInitialBlockState()
120 int yaffs_EraseBlockInNAND(struct yaffs_DeviceStruct *dev, in yaffs_EraseBlockInNAND()
134 int yaffs_InitialiseNAND(struct yaffs_DeviceStruct *dev) in yaffs_InitialiseNAND()
Dyaffs_tagscompat.c135 static void yaffs_GetTagsFromSpare(yaffs_Device *dev, yaffs_Spare *sparePtr, in yaffs_GetTagsFromSpare()
162 static int yaffs_WriteChunkToNAND(struct yaffs_DeviceStruct *dev, in yaffs_WriteChunkToNAND()
176 static int yaffs_ReadChunkFromNAND(struct yaffs_DeviceStruct *dev, in yaffs_ReadChunkFromNAND()
300 static int yaffs_CheckChunkErased(struct yaffs_DeviceStruct *dev, in yaffs_CheckChunkErased()
331 static void yaffs_HandleReadDataError(yaffs_Device *dev, int chunkInNAND) in yaffs_HandleReadDataError()
348 static void yaffs_CheckWrittenBlock(yaffs_Device *dev, int chunkInNAND) in yaffs_CheckWrittenBlock()
352 static void yaffs_HandleWriteChunkOk(yaffs_Device *dev, int chunkInNAND, in yaffs_HandleWriteChunkOk()
358 static void yaffs_HandleUpdateChunk(yaffs_Device *dev, int chunkInNAND, in yaffs_HandleUpdateChunk()
363 static void yaffs_HandleWriteChunkError(yaffs_Device *dev, int chunkInNAND) in yaffs_HandleWriteChunkError()
398 int yaffs_TagsCompatabilityWriteChunkWithTagsToNAND(yaffs_Device *dev, in yaffs_TagsCompatabilityWriteChunkWithTagsToNAND()
[all …]
Dyaffs_fs.c368 static void yaffs_GrossLock(yaffs_Device *dev) in yaffs_GrossLock()
375 static void yaffs_GrossUnlock(yaffs_Device *dev) in yaffs_GrossUnlock()
387 yaffs_Device *dev = yaffs_DentryToObject(dentry)->myDev; in yaffs_readlink() local
411 yaffs_Device *dev = yaffs_DentryToObject(dentry)->myDev; in yaffs_follow_link() local
451 yaffs_Device *dev = yaffs_InodeToObject(dir)->myDev; in yaffs_lookup() local
518 yaffs_Device *dev; in yaffs_clear_inode() local
557 yaffs_Device *dev; in yaffs_delete_inode() local
584 yaffs_Device *dev = obj->myDev; in yaffs_file_flush() local
607 yaffs_Device *dev; in yaffs_readpage_nolock() local
999 struct inode *yaffs_get_inode(struct super_block *sb, int mode, int dev, in yaffs_get_inode()
[all …]
Dyaffs_mtdif2.c34 int nandmtd2_WriteChunkWithTagsToNAND(yaffs_Device *dev, int chunkInNAND, in nandmtd2_WriteChunkWithTagsToNAND()
97 int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device *dev, int chunkInNAND, in nandmtd2_ReadChunkWithTagsFromNAND()
190 int nandmtd2_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo) in nandmtd2_MarkNANDBlockBad()
209 int nandmtd2_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, in nandmtd2_QueryNANDBlock()
Dyaffs_mtdif.c74 int nandmtd_WriteChunkToNAND(yaffs_Device *dev, int chunkInNAND, in nandmtd_WriteChunkToNAND()
138 int nandmtd_ReadChunkFromNAND(yaffs_Device *dev, int chunkInNAND, __u8 *data, in nandmtd_ReadChunkFromNAND()
208 int nandmtd_EraseBlockInNAND(yaffs_Device *dev, int blockNumber) in nandmtd_EraseBlockInNAND()
237 int nandmtd_InitialiseNAND(yaffs_Device *dev) in nandmtd_InitialiseNAND()
Dyaffs_mtdif1.c91 int nandmtd1_WriteChunkWithTagsToNAND(yaffs_Device *dev, in nandmtd1_WriteChunkWithTagsToNAND()
169 int nandmtd1_ReadChunkWithTagsFromNAND(yaffs_Device *dev, in nandmtd1_ReadChunkWithTagsFromNAND()
281 int nandmtd1_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo) in nandmtd1_MarkNANDBlockBad()
321 int nandmtd1_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, in nandmtd1_QueryNANDBlock()
Dyaffs_getblockinfo.h22 static Y_INLINE yaffs_BlockInfo *yaffs_GetBlockInfo(yaffs_Device * dev, int blk) in yaffs_GetBlockInfo()
/fs/notify/inotify/
Dinotify_user.c107 struct inotify_device *dev; /* associated device */ member
152 static inline void get_inotify_dev(struct inotify_device *dev) in get_inotify_dev()
157 static inline void put_inotify_dev(struct inotify_device *dev) in put_inotify_dev()
172 struct inotify_device *dev; in free_inotify_user_watch() local
246 inotify_dev_get_event(struct inotify_device *dev) in inotify_dev_get_event()
257 inotify_dev_get_last_event(struct inotify_device *dev) in inotify_dev_get_last_event()
275 struct inotify_device *dev; in inotify_dev_queue_event() local
330 static void remove_kevent(struct inotify_device *dev, in remove_kevent()
353 static void inotify_dev_event_dequeue(struct inotify_device *dev) in inotify_dev_event_dequeue()
386 static int create_watch(struct inotify_device *dev, struct inode *inode, in create_watch()
[all …]
/fs/partitions/
Dcheck.c147 const char *__bdevname(dev_t dev, char *buffer) in __bdevname()
198 static ssize_t part_partition_show(struct device *dev, in part_partition_show()
206 static ssize_t part_start_show(struct device *dev, in part_start_show()
214 ssize_t part_size_show(struct device *dev, in part_size_show()
221 ssize_t part_stat_show(struct device *dev, in part_stat_show()
249 ssize_t part_fail_show(struct device *dev, in part_fail_show()
257 ssize_t part_fail_store(struct device *dev, in part_fail_store()
300 static void part_release(struct device *dev) in part_release()
307 static int part_uevent(struct device *dev, struct kobj_uvent_env *env) in part_uevent()
354 static ssize_t whole_disk_show(struct device *dev, in whole_disk_show()
/fs/afs/
Dnetdevices.c20 struct net_device *dev; in afs_get_MAC_address() local
44 struct net_device *dev; in afs_get_ipv4_interfaces() local
/fs/
Dchar_dev.c229 int alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count, in alloc_chrdev_region()
437 static struct kobject *exact_match(dev_t dev, int *part, void *data) in exact_match()
443 static int exact_lock(dev_t dev, void *data) in exact_lock()
459 int cdev_add(struct cdev *p, dev_t dev, unsigned count) in cdev_add()
466 static void cdev_unmap(dev_t dev, unsigned count) in cdev_unmap()
537 static struct kobject *base_probe(dev_t dev, int *part, void *data) in base_probe()
Dsuper.c541 struct super_block * user_get_super(dev_t dev) in user_get_super()
565 SYSCALL_DEFINE2(ustat, unsigned, dev, struct ustat __user *, ubuf) in SYSCALL_DEFINE2() argument
718 int dev; in set_anon_super() local
Dblock_dev.c356 static inline unsigned long hash(dev_t dev) in hash()
374 struct block_device *bdget(dev_t dev) in bdget()
846 struct block_device *open_by_devnum(dev_t dev, fmode_t mode) in open_by_devnum()
/fs/ramfs/
Dinode.c52 struct inode *ramfs_get_inode(struct super_block *sb, int mode, dev_t dev) in ramfs_get_inode()
93 ramfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) in ramfs_mknod()
/fs/ufs/
Dutil.c189 dev_t dev; in ufs_get_inode_dev() local
213 ufs_set_inode_dev(struct super_block *sb, struct ufs_inode_info *ufsi, dev_t dev) in ufs_set_inode_dev()
/fs/ubifs/
Dsuper.c206 union ubifs_dev_desc *dev; in ubifs_iget() local
1813 int dev, vol; in open_ubi() local
1969 dev_t *dev = data; in sb_test() local
1976 dev_t *dev = data; in sb_set() local
Dmisc.h210 static inline int ubifs_encode_dev(union ubifs_dev_desc *dev, dev_t rdev) in ubifs_encode_dev()
/fs/debugfs/
Dinode.c34 static struct inode *debugfs_get_inode(struct super_block *sb, int mode, dev_t dev) in debugfs_get_inode()
66 int mode, dev_t dev) in debugfs_mknod()
/fs/proc/
Dnommu.c42 dev_t dev = 0; in nommu_region_show() local
Dtask_nommu.c126 dev_t dev = 0; in nommu_vma_show() local
/fs/gfs2/
Dinode.c761 const u64 *generation, dev_t dev, struct buffer_head **bhp) in init_dinode()
819 const u64 *generation, dev_t dev, struct buffer_head **bhp) in make_dinode()
973 unsigned int mode, dev_t dev) in gfs2_createi()
/fs/jffs2/
Dfs.c33 union jffs2_device_node dev; in jffs2_do_setattr() local
/fs/ocfs2/
Dnamei.c223 dev_t dev) in ocfs2_mknod()
454 dev_t dev, in ocfs2_mknod_locked()

123