Replace all occurrences of vdbg with vinfo

This commit is contained in:
Gregory Nutt
2016-06-11 11:59:51 -06:00
parent 3a74a438d9
commit fc3540cffe
845 changed files with 5817 additions and 5817 deletions
+7 -7
View File
@@ -322,7 +322,7 @@ static int procfs_open(FAR struct file *filep, FAR const char *relpath,
{
int x, ret = -ENOENT;
fvdbg("Open '%s'\n", relpath);
finfo("Open '%s'\n", relpath);
/* Perform the stat based on the procfs_entry operations */
@@ -382,7 +382,7 @@ static ssize_t procfs_read(FAR struct file *filep, FAR char *buffer,
FAR struct procfs_file_s *handler;
ssize_t ret = 0;
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
/* Recover our private data from the struct file instance */
@@ -406,7 +406,7 @@ static ssize_t procfs_write(FAR struct file *filep, FAR const char *buffer,
FAR struct procfs_file_s *handler;
ssize_t ret = 0;
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
/* Recover our private data from the struct file instance */
@@ -429,7 +429,7 @@ static ssize_t procfs_write(FAR struct file *filep, FAR const char *buffer,
static int procfs_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
{
fvdbg("cmd: %d arg: %08lx\n", cmd, arg);
finfo("cmd: %d arg: %08lx\n", cmd, arg);
/* No IOCTL commands supported */
@@ -448,7 +448,7 @@ static int procfs_dup(FAR const struct file *oldp, FAR struct file *newp)
{
FAR struct procfs_file_s *oldattr;
fvdbg("Dup %p->%p\n", oldp, newp);
finfo("Dup %p->%p\n", oldp, newp);
/* Recover our private data from the old struct file instance */
@@ -476,7 +476,7 @@ static int procfs_opendir(FAR struct inode *mountpt, FAR const char *relpath,
FAR void *priv = NULL;
irqstate_t flags;
fvdbg("relpath: \"%s\"\n", relpath ? relpath : "NULL");
finfo("relpath: \"%s\"\n", relpath ? relpath : "NULL");
DEBUGASSERT(mountpt && relpath && dir && !dir->u.procfs);
/* The relative must be either:
@@ -717,7 +717,7 @@ static int procfs_readdir(struct inode *mountpt, struct fs_dirent_s *dir)
* error -ENOENT
*/
fvdbg("Entry %d: End of directory\n", index);
finfo("Entry %d: End of directory\n", index);
ret = -ENOENT;
}
else
+3 -3
View File
@@ -138,7 +138,7 @@ static int cpuload_open(FAR struct file *filep, FAR const char *relpath,
{
FAR struct cpuload_file_s *attr;
fvdbg("Open '%s'\n", relpath);
finfo("Open '%s'\n", relpath);
/* PROCFS is read-only. Any attempt to open with any kind of write
* access is not permitted.
@@ -207,7 +207,7 @@ static ssize_t cpuload_read(FAR struct file *filep, FAR char *buffer,
off_t offset;
ssize_t ret;
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
/* Recover our private data from the struct file instance */
@@ -288,7 +288,7 @@ static int cpuload_dup(FAR const struct file *oldp, FAR struct file *newp)
FAR struct cpuload_file_s *oldattr;
FAR struct cpuload_file_s *newattr;
fvdbg("Dup %p->%p\n", oldp, newp);
finfo("Dup %p->%p\n", oldp, newp);
/* Recover our private data from the old struct file instance */
+3 -3
View File
@@ -137,7 +137,7 @@ static int kmm_open(FAR struct file *filep, FAR const char *relpath,
{
FAR struct kmm_file_s *procfile;
fvdbg("Open '%s'\n", relpath);
finfo("Open '%s'\n", relpath);
/* PROCFS is read-only. Any attempt to open with any kind of write
* access is not permitted.
@@ -208,7 +208,7 @@ static ssize_t kmm_read(FAR struct file *filep, FAR char *buffer,
size_t totalsize;
off_t offset;
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
DEBUGASSERT(filep != NULL && buffer != NULL && buflen > 0);
offset = filep->f_pos;
@@ -267,7 +267,7 @@ static int kmm_dup(FAR const struct file *oldp, FAR struct file *newp)
FAR struct kmm_file_s *oldattr;
FAR struct kmm_file_s *newattr;
fvdbg("Dup %p->%p\n", oldp, newp);
finfo("Dup %p->%p\n", oldp, newp);
/* Recover our private data from the old struct file instance */
+5 -5
View File
@@ -1013,7 +1013,7 @@ static int proc_open(FAR struct file *filep, FAR const char *relpath,
unsigned long tmp;
pid_t pid;
fvdbg("Open '%s'\n", relpath);
finfo("Open '%s'\n", relpath);
/* PROCFS is read-only. Any attempt to open with any kind of write
* access is not permitted.
@@ -1137,7 +1137,7 @@ static ssize_t proc_read(FAR struct file *filep, FAR char *buffer,
irqstate_t flags;
ssize_t ret;
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
/* Recover our private data from the struct file instance */
@@ -1215,7 +1215,7 @@ static int proc_dup(FAR const struct file *oldp, FAR struct file *newp)
FAR struct proc_file_s *oldfile;
FAR struct proc_file_s *newfile;
fvdbg("Dup %p->%p\n", oldp, newp);
finfo("Dup %p->%p\n", oldp, newp);
/* Recover our private data from the old struct file instance */
@@ -1259,7 +1259,7 @@ static int proc_opendir(FAR const char *relpath, FAR struct fs_dirent_s *dir)
FAR char *ptr;
pid_t pid;
fvdbg("relpath: \"%s\"\n", relpath ? relpath : "NULL");
finfo("relpath: \"%s\"\n", relpath ? relpath : "NULL");
DEBUGASSERT(relpath && dir && !dir->u.procfs);
/* The relative must be either:
@@ -1415,7 +1415,7 @@ static int proc_readdir(struct fs_dirent_s *dir)
* error -ENOENT
*/
fvdbg("Entry %d: End of directory\n", index);
finfo("Entry %d: End of directory\n", index);
ret = -ENOENT;
}
+3 -3
View File
@@ -140,7 +140,7 @@ static int uptime_open(FAR struct file *filep, FAR const char *relpath,
{
FAR struct uptime_file_s *attr;
fvdbg("Open '%s'\n", relpath);
finfo("Open '%s'\n", relpath);
/* PROCFS is read-only. Any attempt to open with any kind of write
* access is not permitted.
@@ -222,7 +222,7 @@ static ssize_t uptime_read(FAR struct file *filep, FAR char *buffer,
unsigned int csec;
#endif
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
/* Recover our private data from the struct file instance */
@@ -301,7 +301,7 @@ static int uptime_dup(FAR const struct file *oldp, FAR struct file *newp)
FAR struct uptime_file_s *oldattr;
FAR struct uptime_file_s *newattr;
fvdbg("Dup %p->%p\n", oldp, newp);
finfo("Dup %p->%p\n", oldp, newp);
/* Recover our private data from the old struct file instance */
+5 -5
View File
@@ -163,7 +163,7 @@ static int skel_open(FAR struct file *filep, FAR const char *relpath,
{
FAR struct skel_file_s *priv;
fvdbg("Open '%s'\n", relpath);
finfo("Open '%s'\n", relpath);
/* PROCFS is read-only. Any attempt to open with any kind of write
* access is not permitted.
@@ -228,7 +228,7 @@ static ssize_t skel_read(FAR struct file *filep, FAR char *buffer,
FAR struct skel_file_s *priv;
ssize_t ret;
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
/* Recover our private data from the struct file instance */
@@ -262,7 +262,7 @@ static int skel_dup(FAR const struct file *oldp, FAR struct file *newp)
FAR struct skel_file_s *oldpriv;
FAR struct skel_file_s *newpriv;
fvdbg("Dup %p->%p\n", oldp, newp);
finfo("Dup %p->%p\n", oldp, newp);
/* Recover our private data from the old struct file instance */
@@ -300,7 +300,7 @@ static int skel_opendir(FAR const char *relpath, FAR struct fs_dirent_s *dir)
{
FAR struct skel_level1_s *level1;
fvdbg("relpath: \"%s\"\n", relpath ? relpath : "NULL");
finfo("relpath: \"%s\"\n", relpath ? relpath : "NULL");
DEBUGASSERT(relpath && dir && !dir->u.procfs);
/* The path refers to the 1st level sbdirectory. Allocate the level1
@@ -383,7 +383,7 @@ static int skel_readdir(FAR struct fs_dirent_s *dir)
* error -ENOENT
*/
fvdbg("Entry %d: End of directory\n", index);
finfo("Entry %d: End of directory\n", index);
ret = -ENOENT;
}