Home
last modified time | relevance | path

Searched refs:dir (Results 76 – 100 of 2988) sorted by relevance

12345678910>>...120

/openbmc/linux/fs/orangefs/
H A Dnamei.c19 struct inode *dir, in orangefs_create() argument
24 struct orangefs_inode_s *parent = ORANGEFS_I(dir); in orangefs_create()
63 inode = orangefs_new_inode(dir->i_sb, dir, S_IFREG | mode, 0, &ref); in orangefs_create()
89 __orangefs_setattr(dir, &iattr); in orangefs_create()
108 struct orangefs_inode_s *parent = ORANGEFS_I(dir); in orangefs_lookup()
214 __orangefs_setattr(dir, &iattr); in orangefs_unlink()
220 struct inode *dir, in orangefs_symlink() argument
271 inode = orangefs_new_inode(dir->i_sb, dir, S_IFLNK | mode, 0, &ref); in orangefs_symlink()
301 __orangefs_setattr(dir, &iattr); in orangefs_symlink()
346 inode = orangefs_new_inode(dir->i_sb, dir, S_IFDIR | mode, 0, &ref); in orangefs_mkdir()
[all …]
/openbmc/linux/fs/minix/
H A Ddir.c56 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()
176 page = dir_get_page(dir, n); in minix_find_entry()
232 page = dir_get_page(dir, n); in minix_add_link()
284 dir->i_mtime = inode_set_ctime_current(dir); in minix_add_link()
285 mark_inode_dirty(dir); in minix_add_link()
345 de3->inode = dir->i_ino; in minix_make_empty()
353 de->inode = dir->i_ino; in minix_make_empty()
439 dir->i_mtime = inode_set_ctime_current(dir); in minix_set_link()
[all …]
/openbmc/linux/fs/fat/
H A Ddir.c1016 if (IS_DIRSYNC(dir)) in __fat_remove_entries()
1051 if (IS_DIRSYNC(dir)) in fat_remove_entries()
1056 inode_inc_iversion(dir); in fat_remove_entries()
1072 if (IS_DIRSYNC(dir)) in fat_remove_entries()
1073 (void)fat_sync_inode(dir); in fat_remove_entries()
1075 mark_inode_dirty(dir); in fat_remove_entries()
1107 if (IS_DIRSYNC(dir)) { in fat_zeroed_cluster()
1117 if (IS_DIRSYNC(dir)) { in fat_zeroed_cluster()
1324 MSDOS_I(dir)->i_pos); in fat_add_entries()
1359 if (IS_DIRSYNC(dir)) in fat_add_entries()
[all …]
H A Dnamei_vfat.c683 if (IS_DIRSYNC(dir)) in vfat_add_entry()
686 mark_inode_dirty(dir); in vfat_add_entry()
770 ts = current_time(dir); in vfat_create()
774 inode_inc_iversion(dir); in vfat_create()
809 drop_nlink(dir); in vfat_rmdir()
858 ts = current_time(dir); in vfat_mkdir()
868 inc_nlink(dir); in vfat_mkdir()
904 if (IS_DIRSYNC(dir)) in vfat_sync_ipos()
916 if (IS_DIRSYNC(dir)) in vfat_update_dotdot_de()
925 if (IS_DIRSYNC(dir)) in vfat_update_dir_metadata()
[all …]
H A Dnamei_msdos.c204 struct super_block *sb = dir->i_sb; in msdos_lookup()
255 if (IS_DIRSYNC(dir)) in msdos_add_entry()
256 (void)fat_sync_inode(dir); in msdos_add_entry()
258 mark_inode_dirty(dir); in msdos_add_entry()
267 struct super_block *sb = dir->i_sb; in msdos_create()
288 ts = current_time(dir); in msdos_create()
328 drop_nlink(dir); in msdos_rmdir()
366 ts = current_time(dir); in msdos_mkdir()
375 inc_nlink(dir); in msdos_mkdir()
391 fat_flush_inodes(sb, dir, inode); in msdos_mkdir()
[all …]
/openbmc/openbmc/meta-security/recipes-ids/samhain/files/
H A Dsamhain-samhainrc.patch52 dir = -1/dev/pts
64 dir = -1/var/cache
65 -dir = -1/var/backups
66 -dir = -1/var/games
67 -dir = -1/var/gdm
68 dir = -1/var/lock
69 dir = -1/var/mail
70 dir = -1/var/run
71 dir = -1/var/spool
72 dir = -1/var/tmp
[all …]
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-stats.c92 sum.dir[READ].cnt += r->dir[READ].cnt; in rtrs_clt_stats_rdma_to_str()
93 sum.dir[READ].size_total += r->dir[READ].size_total; in rtrs_clt_stats_rdma_to_str()
94 sum.dir[WRITE].cnt += r->dir[WRITE].cnt; in rtrs_clt_stats_rdma_to_str()
95 sum.dir[WRITE].size_total += r->dir[WRITE].size_total; in rtrs_clt_stats_rdma_to_str()
100 sum.dir[READ].cnt, sum.dir[READ].size_total, in rtrs_clt_stats_rdma_to_str()
101 sum.dir[WRITE].cnt, sum.dir[WRITE].size_total, in rtrs_clt_stats_rdma_to_str()
168 this_cpu_inc(stats->pcpu_stats->rdma.dir[d].cnt); in rtrs_clt_update_rdma_stats()
169 this_cpu_add(stats->pcpu_stats->rdma.dir[d].size_total, size); in rtrs_clt_update_rdma_stats()
172 void rtrs_clt_update_all_stats(struct rtrs_clt_io_req *req, int dir) in rtrs_clt_update_all_stats() argument
180 rtrs_clt_update_rdma_stats(stats, len, dir); in rtrs_clt_update_all_stats()
/openbmc/linux/net/netfilter/
H A Dnft_flow_offload.c32 enum ip_conntrack_dir dir) in nft_default_forward_path() argument
35 route->tuple[dir].dst = dst_cache; in nft_default_forward_path()
51 enum ip_conntrack_dir dir, u8 *ha, in nft_dev_fill_forward_path() argument
189 enum ip_conntrack_dir dir, in nft_dev_forward_path() argument
224 enum ip_conntrack_dir dir, in nft_flow_route() argument
267 nft_dev_forward_path(route, ct, dir, ft); in nft_flow_route()
268 nft_dev_forward_path(route, ct, !dir, ft); in nft_flow_route()
301 enum ip_conntrack_dir dir; in nft_flow_offload_eval() local
349 dir = CTINFO2DIR(ctinfo); in nft_flow_offload_eval()
373 dst_release(route.tuple[dir].dst); in nft_flow_offload_eval()
[all …]
H A Dnf_flow_table_core.c22 enum flow_offload_tuple_dir dir) in flow_offload_fill_dir() argument
27 ft->dir = dir; in flow_offload_fill_dir()
91 route->tuple[dir].dst = NULL; in nft_route_dst_fetch()
98 enum flow_offload_tuple_dir dir) in flow_offload_fill_route() argument
123 switch (route->tuple[dir].xmit_type) { in flow_offload_fill_route()
148 enum flow_offload_tuple_dir dir) in nft_flow_dst_release() argument
357 int dir; in flow_offload_lookup() local
364 dir = tuplehash->tuple.dir; in flow_offload_lookup()
398 if (tuplehash->tuple.dir) in nf_flow_table_iterate()
498 switch (dir) { in nf_flow_snat_port()
[all …]
H A Dnf_conntrack_proto_sctp.c381 sh->vtag, ct->proto.sctp.vtag[dir], dir); in nf_conntrack_sctp_packet()
416 ct->proto.sctp.init[dir] = 0; in nf_conntrack_sctp_packet()
417 ct->proto.sctp.init[!dir] = 0; in nf_conntrack_sctp_packet()
427 ct->proto.sctp.last_dir = dir; in nf_conntrack_sctp_packet()
436 sh->vtag, dir); in nf_conntrack_sctp_packet()
448 ct->proto.sctp.vtag[!dir] = 0; in nf_conntrack_sctp_packet()
461 old_state, dir, sch->type); in nf_conntrack_sctp_packet()
474 if (ct->proto.sctp.init[dir] && ct->proto.sctp.init[!dir]) in nf_conntrack_sctp_packet()
475 ct->proto.sctp.init[!dir] = 0; in nf_conntrack_sctp_packet()
476 ct->proto.sctp.init[dir] = 1; in nf_conntrack_sctp_packet()
[all …]
H A Dnf_nat_sip.c109 newaddr = ct->tuplehash[!dir].tuple.dst.u3; in map_addr()
113 newaddr = ct->tuplehash[!dir].tuple.src.u3; in map_addr()
115 ct->tuplehash[!dir].tuple.src.u.udp.port; in map_addr()
189 &ct->tuplehash[dir].tuple.src.u3) || in nf_nat_sip()
194 &ct->tuplehash[dir].tuple.dst.u3) || in nf_nat_sip()
216 &ct->tuplehash[!dir].tuple.dst.u3, in nf_nat_sip()
233 &ct->tuplehash[!dir].tuple.src.u3, in nf_nat_sip()
392 &ct->tuplehash[!dir].tuple.dst.u3)) in nf_nat_sip_expect()
410 exp->dir = !dir; in nf_nat_sip_expect()
583 rtp_exp->dir = !dir; in nf_nat_sdp_media()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/initscripts/initscripts-1.0/
H A Dread-only-rootfs-hook.sh12 dir=`readlink -f $DIRECTORY`
14 if [ ! -d "$dir" ]; then
15 echo "ERROR: $dir is not a directory"
18 for flag in `awk -v dir=$dir '{ if ($2 == dir) { print "FOUND"; split($4,FLAGS,",") } }; \
23 if [ "$dir" = "/" -o -n "$partition" ]; then
26 dir=`dirname $dir`
/openbmc/linux/sound/soc/qcom/
H A Dlpass-lpaif-reg.h153 ((dir == SNDRV_PCM_STREAM_PLAYBACK) ? \
160 __LPAIF_DMA_REG(v, chan, dir, CTL, dai_id))
164 __LPAIF_DMA_REG(v, chan, dir, BASE, dai_id))
168 __LPAIF_DMA_REG(v, chan, dir, BUFF, dai_id))
172 __LPAIF_DMA_REG(v, chan, dir, CURR, dai_id))
176 __LPAIF_DMA_REG(v, chan, dir, PER, dai_id))
250 ((dir == SNDRV_PCM_STREAM_PLAYBACK) ? \
255 ((dir == SNDRV_PCM_STREAM_PLAYBACK) ? \
259 #define LPAIF_INTF_REG(v, chan, dir, dai_id) \ argument
261 LPAIF_CDC_INTF_REG(v, chan, dir, dai_id) : \
[all …]
/openbmc/linux/include/sound/
H A Dhda_regmap.h50 #define snd_hdac_regmap_encode_amp(nid, ch, dir, idx) \ argument
53 ((dir) == HDA_OUTPUT ? AC_AMP_GET_OUTPUT : AC_AMP_GET_INPUT) | \
64 #define snd_hdac_regmap_encode_amp_stereo(nid, dir, idx) \ argument
67 ((dir) == HDA_OUTPUT ? AC_AMP_GET_OUTPUT : AC_AMP_GET_INPUT) | \
137 int ch, int dir, int idx) in snd_hdac_regmap_get_amp() argument
139 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx); in snd_hdac_regmap_get_amp()
161 int ch, int dir, int idx, int mask, int val) in snd_hdac_regmap_update_amp() argument
163 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx); in snd_hdac_regmap_update_amp()
182 int dir, int idx) in snd_hdac_regmap_get_amp_stereo() argument
184 unsigned int cmd = snd_hdac_regmap_encode_amp_stereo(nid, dir, idx); in snd_hdac_regmap_get_amp_stereo()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Ddebugfs.c98 struct dentry *dir; in mt7603_init_debugfs() local
100 dir = mt76_register_debugfs(&dev->mt76); in mt7603_init_debugfs()
101 if (!dir) in mt7603_init_debugfs()
104 debugfs_create_file("ampdu_stat", 0400, dir, dev, in mt7603_init_debugfs()
106 debugfs_create_devm_seqfile(dev->mt76.dev, "xmit-queues", dir, in mt7603_init_debugfs()
108 debugfs_create_file("edcca", 0600, dir, dev, &fops_edcca); in mt7603_init_debugfs()
109 debugfs_create_u32("reset_test", 0600, dir, &dev->reset_test); in mt7603_init_debugfs()
110 debugfs_create_devm_seqfile(dev->mt76.dev, "reset", dir, in mt7603_init_debugfs()
112 debugfs_create_devm_seqfile(dev->mt76.dev, "radio", dir, in mt7603_init_debugfs()
114 debugfs_create_u8("sensitivity_limit", 0600, dir, in mt7603_init_debugfs()
[all …]
/openbmc/linux/fs/ceph/
H A Ddir.c160 if (ceph_dir_is_complete_ordered(dir) && ptr_pos < i_size_read(dir)) in __dcache_find_get_entry()
836 ihold(dir); in ceph_lookup()
925 ihold(dir); in ceph_mknod()
1028 ihold(dir); in ceph_symlink()
1118 ihold(dir); in ceph_mkdir()
1165 dir, ceph_vinop(dir), old_dentry, old_dentry, dentry, dentry); in ceph_link()
1181 ihold(dir); in ceph_link()
1321 ihold(dir); in ceph_unlink()
1802 struct inode *dir; in __dir_lease_try_check() local
1878 if (!dir) in ceph_d_revalidate()
[all …]
H A Dexport.c54 struct inode *dir; in ceph_encode_snapfh() local
369 struct inode* dir; in ceph_get_parent() local
377 if (IS_ERR(dir)) { in ceph_get_parent()
387 iput(dir); in ceph_get_parent()
392 dir = snapdir; in ceph_get_parent()
486 ihold(dir); in __get_snap_name()
489 inode_lock(dir); in __get_snap_name()
553 inode_lock(dir); in ceph_get_name()
558 ihold(dir); in ceph_get_name()
562 inode_unlock(dir); in ceph_get_name()
[all …]
/openbmc/linux/fs/erofs/
H A Dnamei.c92 unsigned int bsz = i_blocksize(dir); in erofs_find_target_block()
93 int head = 0, back = erofs_iblks(dir) - 1; in erofs_find_target_block()
102 buf.inode = dir; in erofs_find_target_block()
113 erofs_err(dir->i_sb, in erofs_find_target_block()
115 mid, EROFS_I(dir)->nid); in erofs_find_target_block()
169 if (!dir->i_size) in erofs_namei()
174 buf.inode = dir; in erofs_namei()
177 de = erofs_find_target_block(&buf, dir, &qn, &ndirents); in erofs_namei()
201 trace_erofs_lookup(dir, dentry, flags); in erofs_lookup()
206 err = erofs_namei(dir, &dentry->d_name, &nid, &d_type); in erofs_lookup()
[all …]
H A Ddir.c9 static int erofs_fill_dentries(struct inode *dir, struct dir_context *ctx, in erofs_fill_dentries() argument
34 erofs_err(dir->i_sb, "bogus dirent @ nid %llu", in erofs_fill_dentries()
35 EROFS_I(dir)->nid); in erofs_fill_dentries()
51 struct inode *dir = file_inode(f); in erofs_readdir() local
53 struct super_block *sb = dir->i_sb; in erofs_readdir()
55 const size_t dirsize = i_size_read(dir); in erofs_readdir()
61 buf.inode = dir; in erofs_readdir()
69 i, EROFS_I(dir)->nid); in erofs_readdir()
77 nameoff, EROFS_I(dir)->nid); in erofs_readdir()
94 err = erofs_fill_dentries(dir, ctx, de, (void *)de + ofs, in erofs_readdir()
/openbmc/linux/drivers/accel/qaic/
H A Dmhi_controller.c30 .dir = DMA_TO_DEVICE,
46 .dir = DMA_FROM_DEVICE,
62 .dir = DMA_TO_DEVICE,
78 .dir = DMA_FROM_DEVICE,
94 .dir = DMA_TO_DEVICE,
126 .dir = DMA_TO_DEVICE,
158 .dir = DMA_TO_DEVICE,
190 .dir = DMA_TO_DEVICE,
222 .dir = DMA_TO_DEVICE,
254 .dir = DMA_TO_DEVICE,
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_debugfs.c134 struct dentry *dir; in mt76x02_init_debugfs() local
136 dir = mt76_register_debugfs(&dev->mt76); in mt76x02_init_debugfs()
137 if (!dir) in mt76x02_init_debugfs()
140 debugfs_create_devm_seqfile(dev->mt76.dev, "xmit-queues", dir, in mt76x02_init_debugfs()
142 debugfs_create_u8("temperature", 0400, dir, &dev->cal.temp); in mt76x02_init_debugfs()
143 debugfs_create_bool("tpc", 0600, dir, &dev->enable_tpc); in mt76x02_init_debugfs()
145 debugfs_create_file("edcca", 0600, dir, dev, &fops_edcca); in mt76x02_init_debugfs()
148 debugfs_create_devm_seqfile(dev->mt76.dev, "txpower", dir, in mt76x02_init_debugfs()
151 debugfs_create_devm_seqfile(dev->mt76.dev, "rate_txpower", dir, in mt76x02_init_debugfs()
153 debugfs_create_devm_seqfile(dev->mt76.dev, "agc", dir, read_agc); in mt76x02_init_debugfs()
[all …]
H A Ddebugfs.c109 struct dentry *dir; in mt76_register_debugfs_fops() local
111 dir = debugfs_create_dir("mt76", phy->hw->wiphy->debugfsdir); in mt76_register_debugfs_fops()
112 if (!dir) in mt76_register_debugfs_fops()
115 debugfs_create_u8("led_pin", 0600, dir, &phy->leds.pin); in mt76_register_debugfs_fops()
116 debugfs_create_u32("regidx", 0600, dir, &dev->debugfs_reg); in mt76_register_debugfs_fops()
117 debugfs_create_file_unsafe("regval", 0600, dir, dev, fops); in mt76_register_debugfs_fops()
118 debugfs_create_file_unsafe("napi_threaded", 0600, dir, dev, in mt76_register_debugfs_fops()
120 debugfs_create_blob("eeprom", 0400, dir, &dev->eeprom); in mt76_register_debugfs_fops()
122 debugfs_create_blob("otp", 0400, dir, &dev->otp); in mt76_register_debugfs_fops()
123 debugfs_create_devm_seqfile(dev->dev, "rx-queues", dir, in mt76_register_debugfs_fops()
[all …]
/openbmc/linux/fs/nfs/
H A Dproc.c160 .fh = NFS_FH(dir), in nfs_proc_lookup()
223 data->arg.fh = NFS_FH(dir); in nfs_alloc_createdata()
257 nfs_mark_for_revalidate(dir); in nfs_proc_create()
298 nfs_mark_for_revalidate(dir); in nfs_proc_mknod()
317 .fh = NFS_FH(dir), in nfs_proc_remove()
328 nfs_mark_for_revalidate(dir); in nfs_proc_remove()
380 .tofh = NFS_FH(dir), in nfs_proc_link()
405 .fromfh = NFS_FH(dir), in nfs_proc_symlink()
478 .fh = NFS_FH(dir), in nfs_proc_rmdir()
507 .fh = NFS_FH(dir), in nfs_proc_readdir()
[all …]
/openbmc/linux/fs/hfs/
H A Dcatalog.c44 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()
95 sb = dir->i_sb; in hfs_cat_create()
111 dir->i_ino, str); in hfs_cat_create()
135 dir->i_size++; in hfs_cat_create()
136 dir->i_mtime = inode_set_ctime_current(dir); in hfs_cat_create()
137 mark_inode_dirty(dir); in hfs_cat_create()
229 sb = dir->i_sb; in hfs_cat_delete()
271 dir->i_size--; in hfs_cat_delete()
[all …]
/openbmc/linux/fs/reiserfs/
H A Dxattr.c70 return dir->i_op->create(&nop_mnt_idmap, dir, dentry, mode, true); in xattr_create()
77 return dir->i_op->mkdir(&nop_mnt_idmap, dir, dentry, mode); in xattr_mkdir()
93 error = dir->i_op->unlink(dir, dentry); in xattr_unlink()
108 error = dir->i_op->rmdir(dir, dentry); in xattr_rmdir()
243 struct dentry *dir; in reiserfs_for_each_xattr() local
254 if (IS_ERR(dir)) { in reiserfs_for_each_xattr()
255 err = PTR_ERR(dir); in reiserfs_for_each_xattr()
264 buf.xadir = dir; in reiserfs_for_each_xattr()
321 dput(dir); in reiserfs_for_each_xattr()
865 if (IS_ERR(dir)) { in reiserfs_listxattr()
[all …]

12345678910>>...120