| /OK3568_Linux_fs/kernel/fs/orangefs/ |
| H A D | namei.c | 18 static int orangefs_create(struct inode *dir, in orangefs_create() argument 23 struct orangefs_inode_s *parent = ORANGEFS_I(dir); in orangefs_create() 46 ret = service_operation(new_op, __func__, get_interruptible_flag(dir)); in orangefs_create() 62 inode = orangefs_new_inode(dir->i_sb, dir, S_IFREG | mode, 0, &ref); in orangefs_create() 87 iattr.ia_mtime = iattr.ia_ctime = current_time(dir); in orangefs_create() 88 __orangefs_setattr(dir, &iattr); in orangefs_create() 104 static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry, in orangefs_lookup() argument 107 struct orangefs_inode_s *parent = ORANGEFS_I(dir); in orangefs_lookup() 149 ret = service_operation(new_op, __func__, get_interruptible_flag(dir)); in orangefs_lookup() 159 inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn); in orangefs_lookup() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ramfs/ |
| H A D | inode.c | 64 const struct inode *dir, umode_t mode, dev_t dev) in ramfs_get_inode() argument 70 inode_init_owner(inode, dir, mode); in ramfs_get_inode() 104 ramfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ramfs_mknod() argument 106 struct inode * inode = ramfs_get_inode(dir->i_sb, dir, mode, dev); in ramfs_mknod() 113 dir->i_mtime = dir->i_ctime = current_time(dir); in ramfs_mknod() 118 static int ramfs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ramfs_mkdir() argument 120 int retval = ramfs_mknod(dir, dentry, mode | S_IFDIR, 0); in ramfs_mkdir() 122 inc_nlink(dir); in ramfs_mkdir() 126 static int ramfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in ramfs_create() argument 128 return ramfs_mknod(dir, dentry, mode | S_IFREG, 0); in ramfs_create() [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nf_flow_table_ip.c | 90 enum flow_offload_tuple_dir dir) in nf_flow_snat_ip() argument 94 switch (dir) { in nf_flow_snat_ip() 115 enum flow_offload_tuple_dir dir) in nf_flow_dnat_ip() argument 119 switch (dir) { in nf_flow_dnat_ip() 139 unsigned int thoff, enum flow_offload_tuple_dir dir) in nf_flow_nat_ip() argument 144 (nf_flow_snat_port(flow, skb, thoff, iph->protocol, dir) < 0 || in nf_flow_nat_ip() 145 nf_flow_snat_ip(flow, skb, ip_hdr(skb), thoff, dir) < 0)) in nf_flow_nat_ip() 150 (nf_flow_dnat_port(flow, skb, thoff, iph->protocol, dir) < 0 || in nf_flow_nat_ip() 151 nf_flow_dnat_ip(flow, skb, ip_hdr(skb), thoff, dir) < 0)) in nf_flow_nat_ip() 248 enum flow_offload_tuple_dir dir; in nf_flow_offload_ip_hook() local [all …]
|
| H A D | nf_flow_table_offload.c | 175 enum flow_offload_tuple_dir dir, in flow_offload_eth_src() argument 178 const struct flow_offload_tuple *tuple = &flow->tuplehash[!dir].tuple; in flow_offload_eth_src() 206 enum flow_offload_tuple_dir dir, in flow_offload_eth_dst() argument 211 const void *daddr = &flow->tuplehash[!dir].tuple.src_v4; in flow_offload_eth_dst() 219 dst_cache = flow->tuplehash[dir].tuple.dst_cache; in flow_offload_eth_dst() 251 enum flow_offload_tuple_dir dir, in flow_offload_ipv4_snat() argument 259 switch (dir) { in flow_offload_ipv4_snat() 278 enum flow_offload_tuple_dir dir, in flow_offload_ipv4_dnat() argument 286 switch (dir) { in flow_offload_ipv4_dnat() 319 enum flow_offload_tuple_dir dir, in flow_offload_ipv6_snat() argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/um/os-Linux/ |
| H A D | mem.c | 24 static int __init check_tmpfs(const char *dir) in check_tmpfs() argument 28 os_info("Checking if %s is on tmpfs...", dir); in check_tmpfs() 29 if (statfs(dir, &st) < 0) { in check_tmpfs() 62 const char *dir; in choose_tempdir() local 66 dir = getenv(vars[i]); in choose_tempdir() 67 if ((dir != NULL) && (*dir != '\0')) { in choose_tempdir() 68 os_info("%s\n", dir); in choose_tempdir() 69 if (check_tmpfs(dir) >= 0) in choose_tempdir() 78 dir = tmpfs_dirs[i]; in choose_tempdir() 79 if (check_tmpfs(dir) >= 0) in choose_tempdir() [all …]
|
| /OK3568_Linux_fs/kernel/fs/isofs/ |
| H A D | namei.c | 36 isofs_find_entry(struct inode *dir, struct dentry *dentry, in isofs_find_entry() argument 40 unsigned long bufsize = ISOFS_BUFFER_SIZE(dir); in isofs_find_entry() 41 unsigned char bufbits = ISOFS_BUFFER_BITS(dir); in isofs_find_entry() 44 struct isofs_sb_info *sbi = ISOFS_SB(dir->i_sb); in isofs_find_entry() 46 if (!ISOFS_I(dir)->i_first_extent) in isofs_find_entry() 53 while (f_pos < dir->i_size) { in isofs_find_entry() 59 bh = isofs_bread(dir, block); in isofs_find_entry() 90 bh = isofs_bread(dir, block); in isofs_find_entry() 104 dir->i_ino); in isofs_find_entry() 110 ((i = get_rock_ridge_filename(de, tmpname, dir)))) { in isofs_find_entry() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/xen/ |
| H A D | swiotlb-xen.c | 375 enum dma_data_direction dir, in xen_swiotlb_map_page() argument 381 BUG_ON(dir == DMA_NONE); in xen_swiotlb_map_page() 398 map = swiotlb_tbl_map_single(dev, phys, size, size, dir, attrs); in xen_swiotlb_map_page() 409 swiotlb_tbl_unmap_single(dev, map, size, size, dir, in xen_swiotlb_map_page() 417 arch_sync_dma_for_device(phys, size, dir); in xen_swiotlb_map_page() 419 xen_dma_sync_for_device(dev, dev_addr, size, dir); in xen_swiotlb_map_page() 433 size_t size, enum dma_data_direction dir, unsigned long attrs) in xen_swiotlb_unmap_page() argument 437 BUG_ON(dir == DMA_NONE); in xen_swiotlb_unmap_page() 441 arch_sync_dma_for_cpu(paddr, size, dir); in xen_swiotlb_unmap_page() 443 xen_dma_sync_for_cpu(hwdev, dev_addr, size, dir); in xen_swiotlb_unmap_page() [all …]
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | objdiff | 46 dir=${1%/*} 48 if [ "$dir" = "$1" ]; then 49 dir=. 52 dir=$(cd $dir; pwd) 54 echo $TMPD/$CMT${dir#$SRCTREE} 58 dir=$(get_output_dir $1) 60 stripped=$dir/${base%.o}.stripped 61 dis=$dir/${base%.o}.dis 63 [ ! -d "$dir" ] && mkdir -p $dir
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/ |
| H A D | qabstractgeotilecache.cpp | 113 QString dir; in baseCacheDirectory() local 118 dir = QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation); in baseCacheDirectory() 120 if (!dir.isEmpty()) { in baseCacheDirectory() 126 QDir::root().mkpath(dir); in baseCacheDirectory() 127 QFile writeTestFile(QDir(dir).filePath(QStringLiteral("qt_cache_check"))); in baseCacheDirectory() 133 dir = QString(); in baseCacheDirectory() 136 if (dir.isEmpty()) in baseCacheDirectory() 137 dir = QStandardPaths::writableLocation(QStandardPaths::CacheLocation); in baseCacheDirectory() 139 if (!dir.endsWith(QLatin1Char('/'))) in baseCacheDirectory() 140 dir += QLatin1Char('/'); in baseCacheDirectory() [all …]
|
| /OK3568_Linux_fs/u-boot/scripts/ |
| H A D | objdiff | 46 dir=${1%/*} 48 if [ "$dir" = "$1" ]; then 49 dir=. 52 dir=$(cd $dir; pwd) 54 echo $TMPD/$CMT${dir#$SRCTREE} 58 dir=$(get_output_dir $1) 60 stripped=$dir/${base%.o}.stripped 61 dis=$dir/${base%.o}.dis 63 [ ! -d "$dir" ] && mkdir -p $dir
|
| /OK3568_Linux_fs/kernel/fs/minix/ |
| H A D | dir.c | 52 struct inode *dir = mapping->host; in dir_commit_chunk() local 56 if (pos+len > dir->i_size) { in dir_commit_chunk() 57 i_size_write(dir, pos+len); in dir_commit_chunk() 58 mark_inode_dirty(dir); in dir_commit_chunk() 60 if (IS_DIRSYNC(dir)) in dir_commit_chunk() 67 static struct page * dir_get_page(struct inode *dir, unsigned long n) in dir_get_page() argument 69 struct address_space *mapping = dir->i_mapping; in dir_get_page() 155 struct inode * dir = d_inode(dentry->d_parent); in minix_find_entry() local 156 struct super_block * sb = dir->i_sb; in minix_find_entry() 159 unsigned long npages = dir_pages(dir); in minix_find_entry() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | debugfs.c | 370 struct dentry *dir; in mt7615_init_debugfs() local 372 dir = mt76_register_debugfs(&dev->mt76); in mt7615_init_debugfs() 373 if (!dir) in mt7615_init_debugfs() 377 debugfs_create_devm_seqfile(dev->mt76.dev, "xmit-queues", dir, in mt7615_init_debugfs() 380 debugfs_create_devm_seqfile(dev->mt76.dev, "xmit-queues", dir, in mt7615_init_debugfs() 382 debugfs_create_devm_seqfile(dev->mt76.dev, "acq", dir, in mt7615_init_debugfs() 384 debugfs_create_file("ampdu_stat", 0400, dir, dev, &mt7615_ampdu_stat_fops); in mt7615_init_debugfs() 385 debugfs_create_file("scs", 0600, dir, dev, &fops_scs); in mt7615_init_debugfs() 386 debugfs_create_file("dbdc", 0600, dir, dev, &fops_dbdc); in mt7615_init_debugfs() 387 debugfs_create_file("fw_debug", 0600, dir, dev, &fops_fw_debug); in mt7615_init_debugfs() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ |
| H A D | Makefile | 2 out-dir := $(CURDIR)/out 5 out-dir := $(call strip-trailing-slashes-and-dots,$(O)) 6 ifeq ($(out-dir),) 45 O=$(out-dir)/extra_app \ 53 O=$(out-dir)/rk_test \ 61 O=$(out-dir) \ 67 O=$(out-dir) \ 73 $(q)$(MAKE) -C host/rk_test O=$(out-dir) $@ 74 $(q)$(MAKE) -C host/xtest O=$(out-dir) $@ 75 $(q)$(MAKE) -C ta O=$(out-dir) $@ [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/ |
| H A D | osxbuild | 89 dir=sox-`grep Version: sox.pc | cut -d ' ' -f 2` 90 rm -rf $dir $dir-macosx.zip 91 mkdir -p $dir 96 cp -p $f $dir/$f.txt 100 cp -p $f $dir/$f 114 $dir 116 (cd $dir; ln -s sox soxi; ln -s sox play; ln -s sox rec) 122 zip --symlinks -r $dir-macosx.zip $dir 123 rm -rf $dir
|
| /OK3568_Linux_fs/buildroot/support/kconfig/patches/ |
| H A D | 14-support-out-of-tree-config.patch | 56 + char *opwd, *dir, *_name; 71 + dir = dirname(_name); 72 + if (dir == NULL) { 76 + if (chdir(dir)) { 102 + char dir[PATH_MAX+1], buf[PATH_MAX+1]; 105 + strcpy(dir, conf_get_configname()); 106 + s = strrchr(dir, '/'); 110 + dir[0] = 0; 115 + sprintf(buf, "%s.config.cmd", dir); 122 + sprintf(buf, "%s.tmpconfig", dir); [all …]
|
| /OK3568_Linux_fs/kernel/fs/squashfs/ |
| H A D | namei.c | 126 static struct dentry *squashfs_lookup(struct inode *dir, struct dentry *dentry, in squashfs_lookup() argument 132 struct squashfs_sb_info *msblk = dir->i_sb->s_fs_info; in squashfs_lookup() 135 u64 block = squashfs_i(dir)->start + msblk->directory_table; in squashfs_lookup() 136 int offset = squashfs_i(dir)->offset; in squashfs_lookup() 153 length = get_dir_index_using_name(dir->i_sb, &block, &offset, in squashfs_lookup() 154 squashfs_i(dir)->dir_idx_start, in squashfs_lookup() 155 squashfs_i(dir)->dir_idx_offset, in squashfs_lookup() 156 squashfs_i(dir)->dir_idx_cnt, name, len); in squashfs_lookup() 158 while (length < i_size_read(dir)) { in squashfs_lookup() 162 err = squashfs_read_metadata(dir->i_sb, &dirh, &block, in squashfs_lookup() [all …]
|
| /OK3568_Linux_fs/kernel/fs/fat/ |
| H A D | namei_vfat.c | 236 static int vfat_find_form(struct inode *dir, unsigned char *name) in vfat_find_form() argument 239 int err = fat_scan(dir, name, &sinfo); in vfat_find_form() 327 static int vfat_create_shortname(struct inode *dir, struct nls_table *nls, in vfat_create_shortname() argument 331 struct fat_mount_options *opts = &MSDOS_SB(dir->i_sb)->options; in vfat_create_shortname() 448 if (vfat_find_form(dir, name_res) == 0) in vfat_create_shortname() 469 if (vfat_find_form(dir, name_res) < 0) in vfat_create_shortname() 487 if (vfat_find_form(dir, name_res) < 0) in vfat_create_shortname() 502 if (vfat_find_form(dir, name_res) < 0) in vfat_create_shortname() 579 static int vfat_build_slots(struct inode *dir, const unsigned char *name, in vfat_build_slots() argument 584 struct msdos_sb_info *sbi = MSDOS_SB(dir->i_sb); in vfat_build_slots() [all …]
|
| H A D | namei_msdos.c | 119 static int msdos_find(struct inode *dir, const unsigned char *name, int len, in msdos_find() argument 122 struct msdos_sb_info *sbi = MSDOS_SB(dir->i_sb); in msdos_find() 130 err = fat_scan(dir, msdos_name, sinfo); in msdos_find() 201 static struct dentry *msdos_lookup(struct inode *dir, struct dentry *dentry, in msdos_lookup() argument 204 struct super_block *sb = dir->i_sb; in msdos_lookup() 210 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_lookup() 227 static int msdos_add_entry(struct inode *dir, const unsigned char *name, in msdos_add_entry() argument 231 struct msdos_sb_info *sbi = MSDOS_SB(dir->i_sb); in msdos_add_entry() 250 err = fat_add_entries(dir, &de, 1, sinfo); in msdos_add_entry() 254 fat_truncate_time(dir, ts, S_CTIME|S_MTIME); in msdos_add_entry() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | drop_monitor_tests.sh | 70 local dir=$(mktemp -d) 79 timeout 5 dwdump -o sw -w ${dir}/packets.pcap 80 (( $(tshark -r ${dir}/packets.pcap \ 84 rm ${dir}/packets.pcap 87 timeout 5 dwdump -o sw -w ${dir}/packets.pcap 88 (( $(tshark -r ${dir}/packets.pcap \ 92 rm -r $dir 104 local dir=$(mktemp -d) 107 timeout 5 dwdump -o hw -w ${dir}/packets.pcap 108 (( $(tshark -r ${dir}/packets.pcap \ [all …]
|
| /OK3568_Linux_fs/kernel/fs/hfs/ |
| H A D | catalog.c | 43 rec->dir.DirID = cpu_to_be32(cnid); in hfs_cat_build_record() 44 rec->dir.CrDat = mtime; in hfs_cat_build_record() 45 rec->dir.MdDat = mtime; in hfs_cat_build_record() 46 rec->dir.BkDat = 0; in hfs_cat_build_record() 47 rec->dir.UsrInfo.frView = cpu_to_be16(0xff); in hfs_cat_build_record() 82 int hfs_cat_create(u32 cnid, struct inode *dir, const struct qstr *str, struct inode *inode) in hfs_cat_create() argument 92 if (dir->i_size >= HFS_MAX_VALENCE) in hfs_cat_create() 95 sb = dir->i_sb; in hfs_cat_create() 111 dir->i_ino, str); in hfs_cat_create() 122 hfs_cat_build_key(sb, fd.search_key, dir->i_ino, str); in hfs_cat_create() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ceph/ |
| H A D | dir.c | 131 struct inode *dir = d_inode(parent); in __dcache_find_get_entry() local 137 if (ptr_pos >= i_size_read(dir)) in __dcache_find_get_entry() 142 cache_ctl->page = find_lock_page(&dir->i_data, ptr_pgoff); in __dcache_find_get_entry() 159 if (ceph_dir_is_complete_ordered(dir) && ptr_pos < i_size_read(dir)) in __dcache_find_get_entry() 186 struct inode *dir = d_inode(parent); in __dcache_readdir() local 193 dout("__dcache_readdir %p v%u at %llx\n", dir, (unsigned)shared_gen, ctx->pos); in __dcache_readdir() 197 u64 count = div_u64(i_size_read(dir), sizeof(struct dentry *)); in __dcache_readdir() 223 dout("__dcache_readdir %p cache idx %llu\n", dir, idx); in __dcache_readdir() 745 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup() argument 748 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_lookup() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/mm/ |
| H A D | dma-noncoherent.c | 58 enum dma_data_direction dir) in dma_sync_virt_for_device() argument 60 switch (dir) { in dma_sync_virt_for_device() 76 enum dma_data_direction dir) in dma_sync_virt_for_cpu() argument 78 switch (dir) { in dma_sync_virt_for_cpu() 96 enum dma_data_direction dir, bool for_device) in dma_sync_phys() argument 113 dma_sync_virt_for_device(addr + offset, len, dir); in dma_sync_phys() 115 dma_sync_virt_for_cpu(addr + offset, len, dir); in dma_sync_phys() 125 enum dma_data_direction dir) in arch_sync_dma_for_device() argument 127 dma_sync_phys(paddr, size, dir, true); in arch_sync_dma_for_device() 132 enum dma_data_direction dir) in arch_sync_dma_for_cpu() argument [all …]
|
| /OK3568_Linux_fs/kernel/fs/affs/ |
| H A D | namei.c | 170 affs_find_entry(struct inode *dir, struct dentry *dentry) in affs_find_entry() argument 172 struct super_block *sb = dir->i_sb; in affs_find_entry() 179 bh = affs_bread(sb, dir->i_ino); in affs_find_entry() 199 affs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in affs_lookup() argument 201 struct super_block *sb = dir->i_sb; in affs_lookup() 208 affs_lock_dir(dir); in affs_lookup() 209 bh = affs_find_entry(dir, dentry); in affs_lookup() 211 affs_unlock_dir(dir); in affs_lookup() 231 affs_unlock_dir(dir); in affs_lookup() 236 affs_unlink(struct inode *dir, struct dentry *dentry) in affs_unlink() argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/cell/spufs/ |
| H A D | inode.c | 144 static void spufs_prune_dir(struct dentry *dir) in spufs_prune_dir() argument 148 inode_lock(d_inode(dir)); in spufs_prune_dir() 149 list_for_each_entry_safe(dentry, tmp, &dir->d_subdirs, d_child) { in spufs_prune_dir() 155 simple_unlink(d_inode(dir), dentry); in spufs_prune_dir() 164 shrink_dcache_parent(dir); in spufs_prune_dir() 165 inode_unlock(d_inode(dir)); in spufs_prune_dir() 169 static int spufs_rmdir(struct inode *parent, struct dentry *dir) in spufs_rmdir() argument 173 spufs_prune_dir(dir); in spufs_rmdir() 174 d_drop(dir); in spufs_rmdir() 175 res = simple_rmdir(parent, dir); in spufs_rmdir() [all …]
|
| /OK3568_Linux_fs/kernel/fs/nfs/ |
| H A D | proc.c | 155 nfs_proc_lookup(struct inode *dir, struct dentry *dentry, in nfs_proc_lookup() argument 160 .fh = NFS_FH(dir), in nfs_proc_lookup() 182 status = rpc_call_sync(NFS_CLIENT(dir), &msg, task_flags); in nfs_proc_lookup() 215 static struct nfs_createdata *nfs_alloc_createdata(struct inode *dir, in nfs_alloc_createdata() argument 223 data->arg.fh = NFS_FH(dir); in nfs_alloc_createdata() 241 nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_create() argument 251 data = nfs_alloc_createdata(dir, dentry, sattr); in nfs_proc_create() 256 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_create() 257 nfs_mark_for_revalidate(dir); in nfs_proc_create() 270 nfs_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_mknod() argument [all …]
|