/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | iopin_8xx.h | 127 ushort __iomem *dirp = &immap->im_ioport.iop_padir; in iopin_set_out() local 129 setbits_be16(dirp, 1 << (15 - iopin->pin)); in iopin_set_out() 131 uint __iomem *dirp = &immap->im_cpm.cp_pbdir; in iopin_set_out() local 133 setbits_be32(dirp, 1 << (31 - iopin->pin)); in iopin_set_out() 135 ushort __iomem *dirp = &immap->im_ioport.iop_pcdir; in iopin_set_out() local 137 setbits_be16(dirp, 1 << (15 - iopin->pin)); in iopin_set_out() 139 ushort __iomem *dirp = &immap->im_ioport.iop_pddir; in iopin_set_out() local 141 setbits_be16(dirp, 1 << (15 - iopin->pin)); in iopin_set_out() 150 ushort __iomem *dirp = &immap->im_ioport.iop_padir; in iopin_set_in() local 152 clrbits_be16(dirp, 1 << (15 - iopin->pin)); in iopin_set_in() [all …]
|
/openbmc/phosphor-event/ |
H A D | message.cpp | 41 dirp = NULL; in event_manager() 65 if (dirp) in ~event_manager() 66 closedir(dirp); in ~event_manager() 124 if (dirp) { in next_log_refresh() 125 closedir(dirp); in next_log_refresh() 126 dirp = NULL; in next_log_refresh() 138 if (dirp == NULL) in next_log() 139 dirp = opendir(eventpath.c_str()); in next_log() 141 if (dirp) { in next_log() 143 ent = readdir(dirp); in next_log() [all …]
|
H A D | message.hpp | 42 DIR *dirp; member in event_manager
|
/openbmc/qemu/bsd-user/freebsd/ |
H A D | os-stat.h | 457 struct freebsd11_dirent *dirp; in do_freebsd11_getdents() local 459 dirp = lock_user(VERIFY_WRITE, arg2, nbytes, 0); in do_freebsd11_getdents() 460 if (dirp == NULL) { in do_freebsd11_getdents() 463 ret = get_errno(freebsd11_getdents(arg1, (char *)dirp, nbytes)); in do_freebsd11_getdents() 469 de = dirp; in do_freebsd11_getdents() 488 struct freebsd11_dirent *dirp; in do_freebsd11_getdirentries() local 491 dirp = lock_user(VERIFY_WRITE, arg2, nbytes, 0); in do_freebsd11_getdirentries() 492 if (dirp == NULL) { in do_freebsd11_getdirentries() 495 ret = get_errno(freebsd11_getdirentries(arg1, (char *)dirp, nbytes, &basep)); in do_freebsd11_getdirentries() 501 de = dirp; in do_freebsd11_getdirentries() [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/papr_attributes/ |
H A D | attr_test.c | 63 DIR *dirp; in verify_energy_info() local 73 dirp = opendir(path); in verify_energy_info() 75 while ((entry = readdir(dirp)) != NULL) { in verify_energy_info()
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffsfs.h | 155 struct yaffs_dirent *yaffs_readdir(yaffs_DIR *dirp) ; 156 void yaffs_rewinddir(yaffs_DIR *dirp) ; 157 int yaffs_closedir(yaffs_DIR *dirp) ;
|
H A D | yaffsfs.c | 2918 struct yaffs_dirent *yaffs_readdir(yaffs_DIR * dirp) in yaffs_readdir() argument 2923 dsc = (struct yaffsfs_DirSearchContxt *) dirp; in yaffs_readdir() 2953 void yaffs_rewinddir(yaffs_DIR *dirp) in yaffs_rewinddir() argument 2957 dsc = (struct yaffsfs_DirSearchContxt *) dirp; in yaffs_rewinddir() 2966 int yaffs_closedir(yaffs_DIR *dirp) in yaffs_closedir() argument 2970 dsc = (struct yaffsfs_DirSearchContxt *) dirp; in yaffs_closedir()
|
/openbmc/linux/fs/nfsd/ |
H A D | vfs.c | 1415 struct inode *dirp; in nfsd_create_locked() local 1421 dirp = d_inode(dentry); in nfsd_create_locked() 1432 if (!IS_POSIXACL(dirp)) in nfsd_create_locked() 1438 host_err = vfs_create(&nop_mnt_idmap, dirp, dchild, in nfsd_create_locked() 1444 host_err = vfs_mkdir(&nop_mnt_idmap, dirp, dchild, iap->ia_mode); in nfsd_create_locked() 1472 host_err = vfs_mknod(&nop_mnt_idmap, dirp, dchild, in nfsd_create_locked() 1664 struct inode *dirp; in nfsd_link() local 1691 dirp = d_inode(ddir); in nfsd_link() 1692 inode_lock_nested(dirp, I_MUTEX_PARENT); in nfsd_link() 1708 host_err = vfs_link(dold, &nop_mnt_idmap, dirp, dnew, NULL); in nfsd_link() [all …]
|
/openbmc/linux/tools/include/nolibc/ |
H A D | sys.h | 349 int sys_getdents64(int fd, struct linux_dirent64 *dirp, int count) in sys_getdents64() argument 351 return my_syscall3(__NR_getdents64, fd, dirp, count); in sys_getdents64() 355 int getdents64(int fd, struct linux_dirent64 *dirp, int count) in getdents64() argument 357 return __sysret(sys_getdents64(fd, dirp, count)); in getdents64()
|
/openbmc/qemu/target/ppc/ |
H A D | kvm.c | 1875 struct dirent *dirp; in kvmppc_find_cpu_dt() local 1885 while ((dirp = readdir(dp)) != NULL) { in kvmppc_find_cpu_dt() 1889 if (strcmp(dirp->d_name, ".") == 0 || strcmp(dirp->d_name, "..") == 0) { in kvmppc_find_cpu_dt() 1894 dirp->d_name); in kvmppc_find_cpu_dt() 1897 snprintf(buf, buf_len, "%s%s", PROC_DEVTREE_CPU, dirp->d_name); in kvmppc_find_cpu_dt()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/ |
H A D | rdist-6.1.5-cleanup.patch | 782 DIR *dirp; 784 dirp = opendir(path);
|
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 5862 int dir_filter(const struct dirent *dirp) in dir_filter() argument 5864 if (isdigit(dirp->d_name[0])) in dir_filter()
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 312 _syscall3(int, sys_getdents, unsigned int, fd, struct linux_dirent *, dirp, unsigned int, count); 317 _syscall3(int, sys_getdents64, unsigned int, fd, struct linux_dirent64 *, dirp, unsigned int, count);
|
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/ |
H A D | 0001-ffmpeg-5.1.4-rpi_24.patch | 16409 + DIR *dirp; 16411 + dirp = opendir("/dev"); 16412 + if (!dirp) 16415 + for (entry = readdir(dirp); entry; entry = readdir(dirp)) { 16427 + closedir(dirp);
|