Home
last modified time | relevance | path

Searched refs:dir (Results 251 – 275 of 3116) sorted by relevance

1...<<11121314151617181920>>...125

/openbmc/linux/security/landlock/
H A Dfs.c727 if (is_nouser_or_private(dir)) in collect_domain_accesses()
733 dget(dir); in collect_domain_accesses()
738 if (unmask_layers(find_rule(domain, dir), access_dom, in collect_domain_accesses()
749 if (dir == mnt_root || WARN_ON_ONCE(IS_ROOT(dir))) in collect_domain_accesses()
752 parent_dentry = dget_parent(dir); in collect_domain_accesses()
753 dput(dir); in collect_domain_accesses()
754 dir = parent_dentry; in collect_domain_accesses()
756 dput(dir); in collect_domain_accesses()
1130 static int hook_path_mkdir(const struct path *const dir, in hook_path_mkdir() argument
1136 static int hook_path_mknod(const struct path *const dir, in hook_path_mknod() argument
[all …]
/openbmc/linux/tools/perf/arch/arm/util/
H A Dauxtrace.c62 DIR *dir = NULL; in find_all_hisi_ptt_pmus() local
66 dir = opendir(path); in find_all_hisi_ptt_pmus()
67 if (!dir) { in find_all_hisi_ptt_pmus()
73 while ((dent = readdir(dir))) { in find_all_hisi_ptt_pmus()
88 rewinddir(dir); in find_all_hisi_ptt_pmus()
89 while ((dent = readdir(dir))) { in find_all_hisi_ptt_pmus()
98 closedir(dir); in find_all_hisi_ptt_pmus()
/openbmc/linux/drivers/staging/greybus/
H A Daudio_helper.c11 #define gbaudio_dapm_for_each_direction(dir) \ argument
12 for ((dir) = SND_SOC_DAPM_DIR_IN; (dir) <= SND_SOC_DAPM_DIR_OUT; \
13 (dir)++)
93 enum snd_soc_dapm_direction dir; in gbaudio_dapm_free_widget() local
101 gbaudio_dapm_for_each_direction(dir) { in gbaudio_dapm_free_widget()
102 snd_soc_dapm_widget_for_each_path_safe(w, dir, p, next_p) in gbaudio_dapm_free_widget()
/openbmc/qemu/util/
H A Dthrottle.c203 ThrottleDirection dir; in throttle_timers_attach_aio_context() local
205 for (dir = THROTTLE_READ; dir < THROTTLE_MAX; dir++) { in throttle_timers_attach_aio_context()
206 if (tt->timer_cb[dir]) { in throttle_timers_attach_aio_context()
207 tt->timers[dir] = in throttle_timers_attach_aio_context()
209 tt->timer_cb[dir], tt->timer_opaque); in throttle_timers_attach_aio_context()
266 ThrottleDirection dir; in throttle_timers_detach_aio_context() local
268 for (dir = THROTTLE_READ; dir < THROTTLE_MAX; dir++) { in throttle_timers_detach_aio_context()
269 throttle_timer_destroy(&tt->timers[dir]); in throttle_timers_detach_aio_context()
282 ThrottleDirection dir; in throttle_timers_are_initialized() local
284 for (dir = THROTTLE_READ; dir < THROTTLE_MAX; dir++) { in throttle_timers_are_initialized()
[all …]
/openbmc/linux/tools/perf/util/
H A Dtrace-event-info.c156 while ((dent = readdir(dir))) \
166 DIR *dir; in copy_event_system() local
171 dir = opendir(sys); in copy_event_system()
172 if (!dir) { in copy_event_system()
198 rewinddir(dir); in copy_event_system()
220 closedir(dir); in copy_event_system()
259 DIR *dir; in record_event_files() local
270 dir = opendir(path); in record_event_files()
271 if (!dir) { in record_event_files()
291 rewinddir(dir); in record_event_files()
[all …]
/openbmc/linux/sound/firewire/oxfw/
H A Doxfw-command.c10 int avc_stream_set_format(struct fw_unit *unit, enum avc_general_plug_dir dir, in avc_stream_set_format() argument
24 buf[4] = dir; /* Plug Direction */ in avc_stream_set_format()
53 enum avc_general_plug_dir dir, unsigned int pid, in avc_stream_get_format() argument
68 buf[4] = dir; /* Plug Direction */ in avc_stream_get_format()
112 enum avc_general_plug_dir dir, in avc_general_inquiry_sig_fmt() argument
132 if (dir == AVC_GENERAL_PLUG_DIR_IN) in avc_general_inquiry_sig_fmt()
/openbmc/linux/arch/powerpc/include/asm/book3s/32/
H A Dkup.h101 u32 size, unsigned long dir) in allow_user_access() argument
103 BUILD_BUG_ON(!__builtin_constant_p(dir)); in allow_user_access()
105 if (!(dir & KUAP_WRITE)) in allow_user_access()
112 static __always_inline void prevent_user_access(unsigned long dir) in prevent_user_access() argument
116 BUILD_BUG_ON(!__builtin_constant_p(dir)); in prevent_user_access()
118 if (!(dir & KUAP_WRITE)) in prevent_user_access()
/openbmc/linux/fs/udf/
H A Dialloc.c30 struct inode *udf_new_inode(struct inode *dir, umode_t mode) in udf_new_inode() argument
32 struct super_block *sb = dir->i_sb; in udf_new_inode()
36 uint32_t start = UDF_I(dir)->i_location.logicalBlockNum; in udf_new_inode()
38 struct udf_inode_info *dinfo = UDF_I(dir); in udf_new_inode()
67 block = udf_new_block(dir->i_sb, NULL, in udf_new_inode()
79 inode_init_owner(&nop_mnt_idmap, inode, dir, mode); in udf_new_inode()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0016-pass-correct-parameters-to-getdents64.patch7 ../git/src/basic/recurse-dir.c:57:40: error: incompatible pointer types passing 'uint8_t *' (aka 'u…
19 src/basic/recurse-dir.c | 2 +-
22 diff --git a/src/basic/recurse-dir.c b/src/basic/recurse-dir.c
24 --- a/src/basic/recurse-dir.c
25 +++ b/src/basic/recurse-dir.c
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0016-pass-correct-parameters-to-getdents64.patch7 ../git/src/basic/recurse-dir.c:57:40: error: incompatible pointer types passing 'uint8_t *' (aka 'u…
19 src/basic/recurse-dir.c | 2 +-
22 diff --git a/src/basic/recurse-dir.c b/src/basic/recurse-dir.c
24 --- a/src/basic/recurse-dir.c
25 +++ b/src/basic/recurse-dir.c
/openbmc/linux/arch/powerpc/platforms/512x/
H A Dmpc512x_lpbfifo.c76 if (!req || req->dir == MPC512X_LPBFIFO_REQ_DIR_READ) { in mpc512x_lpbfifo_irq()
119 enum dma_data_direction dir; in mpc512x_lpbfifo_callback() local
136 if (req->dir == MPC512X_LPBFIFO_REQ_DIR_WRITE) in mpc512x_lpbfifo_callback()
137 dir = DMA_TO_DEVICE; in mpc512x_lpbfifo_callback()
139 dir = DMA_FROM_DEVICE; in mpc512x_lpbfifo_callback()
141 lpbfifo.ram_bus_addr, req->size, dir); in mpc512x_lpbfifo_callback()
167 enum dma_data_direction dir; in mpc512x_lpbfifo_kick() local
229 dir = DMA_TO_DEVICE; in mpc512x_lpbfifo_kick()
234 dir = DMA_FROM_DEVICE; in mpc512x_lpbfifo_kick()
294 if (lpbfifo.req->dir == MPC512X_LPBFIFO_REQ_DIR_READ) in mpc512x_lpbfifo_kick()
[all …]
/openbmc/linux/drivers/bus/mhi/host/
H A Dmain.c187 buf_info->dir); in mhi_map_single_no_bb()
215 buf_info->dir); in mhi_unmap_single_no_bb()
622 result.dir = mhi_chan->dir; in parse_xfer_event()
664 mhi_chan->dir, in parse_xfer_event()
736 result.dir = mhi_chan->dir; in parse_rsc_event()
1224 buf_info->dir = mhi_chan->dir; in mhi_gen_tre()
1639 int ret, dir; in __mhi_prepare_for_transfer() local
1643 for (dir = 0; dir < 2; dir++) { in __mhi_prepare_for_transfer()
1656 for (--dir; dir >= 0; dir--) { in __mhi_prepare_for_transfer()
1683 int dir; in mhi_unprepare_from_transfer() local
[all …]
/openbmc/linux/fs/ext4/
H A Dhash.c200 static int __ext4fs_dirhash(const struct inode *dir, const char *name, int len, in __ext4fs_dirhash() argument
267 if (fscrypt_has_encryption_key(dir)) { in __ext4fs_dirhash()
268 combined_hash = fscrypt_fname_siphash(dir, &qname); in __ext4fs_dirhash()
270 ext4_warning_inode(dir, "Siphash requires key"); in __ext4fs_dirhash()
281 ext4_warning(dir->i_sb, in __ext4fs_dirhash()
294 int ext4fs_dirhash(const struct inode *dir, const char *name, int len, in ext4fs_dirhash() argument
298 const struct unicode_map *um = dir->i_sb->s_encoding; in ext4fs_dirhash()
303 if (len && IS_CASEFOLDED(dir) && in ext4fs_dirhash()
304 (!IS_ENCRYPTED(dir) || fscrypt_has_encryption_key(dir))) { in ext4fs_dirhash()
315 r = __ext4fs_dirhash(dir, buff, dlen, hinfo); in ext4fs_dirhash()
[all …]
/openbmc/linux/include/linux/
H A Dthunderbolt.h138 struct tb_property_dir *dir; member
147 ssize_t tb_property_format_dir(const struct tb_property_dir *dir, u32 *block,
151 void tb_property_free_dir(struct tb_property_dir *dir);
159 struct tb_property_dir *dir);
161 struct tb_property *tb_property_find(struct tb_property_dir *dir,
163 struct tb_property *tb_property_get_next(struct tb_property_dir *dir,
166 #define tb_property_for_each(dir, property) \ argument
167 for (property = tb_property_get_next(dir, NULL); \
169 property = tb_property_get_next(dir, property))
171 int tb_register_property_dir(const char *key, struct tb_property_dir *dir);
[all …]
/openbmc/linux/net/ipv4/netfilter/
H A Dnf_nat_pptp.c63 if (exp->dir == IP_CT_DIR_ORIGINAL) { in pptp_nat_expected()
67 t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip; in pptp_nat_expected()
69 t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip; in pptp_nat_expected()
76 t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip; in pptp_nat_expected()
78 t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip; in pptp_nat_expected()
100 = ct->master->tuplehash[!exp->dir].tuple.dst.u3; in pptp_nat_expected()
101 if (exp->dir == IP_CT_DIR_ORIGINAL) { in pptp_nat_expected()
110 = ct->master->tuplehash[!exp->dir].tuple.src.u3; in pptp_nat_expected()
111 if (exp->dir == IP_CT_DIR_REPLY) { in pptp_nat_expected()
220 expect_orig->dir = IP_CT_DIR_ORIGINAL; in pptp_exp_gre()
[all …]
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dmemtrace.c29 struct dentry *dir; member
189 struct dentry *dir; in memtrace_init_debugfs() local
202 dir = debugfs_create_dir(ent->name, memtrace_debugfs_dir); in memtrace_init_debugfs()
204 ent->dir = dir; in memtrace_init_debugfs()
205 debugfs_create_file_unsafe("trace", 0600, dir, ent, &memtrace_fops); in memtrace_init_debugfs()
206 debugfs_create_x64("start", 0400, dir, &ent->start); in memtrace_init_debugfs()
207 debugfs_create_x64("size", 0400, dir, &ent->size); in memtrace_init_debugfs()
265 debugfs_remove_recursive(ent->dir); in memtrace_free_regions()
/openbmc/linux/drivers/net/netdevsim/
H A Dethtool.c179 struct dentry *ethtool, *dir; in nsim_ethtool_init() local
195 dir = debugfs_create_dir("pause", ethtool); in nsim_ethtool_init()
196 debugfs_create_bool("report_stats_rx", 0600, dir, in nsim_ethtool_init()
198 debugfs_create_bool("report_stats_tx", 0600, dir, in nsim_ethtool_init()
201 dir = debugfs_create_dir("ring", ethtool); in nsim_ethtool_init()
202 debugfs_create_u32("rx_max_pending", 0600, dir, in nsim_ethtool_init()
204 debugfs_create_u32("rx_jumbo_max_pending", 0600, dir, in nsim_ethtool_init()
206 debugfs_create_u32("rx_mini_max_pending", 0600, dir, in nsim_ethtool_init()
208 debugfs_create_u32("tx_max_pending", 0600, dir, in nsim_ethtool_init()
/openbmc/linux/drivers/ufs/core/
H A Dufs_bsg.c72 enum dma_data_direction dir; in ufs_bsg_exec_advanced_rpmb_req() local
91 dir = DMA_NONE; in ufs_bsg_exec_advanced_rpmb_req()
95 dir = DMA_TO_DEVICE; in ufs_bsg_exec_advanced_rpmb_req()
100 dir = DMA_FROM_DEVICE; in ufs_bsg_exec_advanced_rpmb_req()
106 if (dir != DMA_NONE) { in ufs_bsg_exec_advanced_rpmb_req()
111 sg_cnt = dma_map_sg(hba->host->dma_dev, payload->sg_list, payload->sg_cnt, dir); in ufs_bsg_exec_advanced_rpmb_req()
120 &rpmb_reply->ehs_rsp, sg_cnt, sg_list, dir); in ufs_bsg_exec_advanced_rpmb_req()
122 if (dir != DMA_NONE) { in ufs_bsg_exec_advanced_rpmb_req()
123 dma_unmap_sg(hba->host->dma_dev, payload->sg_list, payload->sg_cnt, dir); in ufs_bsg_exec_advanced_rpmb_req()
/openbmc/linux/fs/
H A Dnamei.c1609 old = dir->i_op->lookup(dir, dentry, flags); in lookup_one_qstr_excl()
2971 if (IS_APPEND(dir)) in may_delete()
3190 error = dir->i_op->create(idmap, dir, dentry, mode, want_excl); in vfs_create()
3351 error = dir->i_op->atomic_open(dir, dentry, file, in atomic_open()
3683 error = dir->i_op->tmpfile(idmap, dir, file, mode); in vfs_tmpfile()
3991 error = dir->i_op->mknod(idmap, dir, dentry, mode, dev); in vfs_mknod()
4113 error = dir->i_op->mkdir(idmap, dir, dentry, mode); in vfs_mkdir()
4196 error = dir->i_op->rmdir(dir, dentry); in vfs_rmdir()
4325 error = dir->i_op->unlink(dir, dentry); in vfs_unlink()
4473 error = dir->i_op->symlink(idmap, dir, dentry, oldname); in vfs_symlink()
[all …]
/openbmc/linux/drivers/xen/xenbus/
H A Dxenbus_probe_backend.c134 const char *dir, in xenbus_probe_backend_unit() argument
141 nodename = kasprintf(GFP_KERNEL, "%s/%s", dir, name); in xenbus_probe_backend_unit()
158 char **dir; in xenbus_probe_backend() local
167 dir = xenbus_directory(XBT_NIL, nodename, "", &dir_n); in xenbus_probe_backend()
168 if (IS_ERR(dir)) { in xenbus_probe_backend()
170 return PTR_ERR(dir); in xenbus_probe_backend()
174 err = xenbus_probe_backend_unit(bus, nodename, type, dir[i]); in xenbus_probe_backend()
178 kfree(dir); in xenbus_probe_backend()
/openbmc/linux/arch/x86/boot/
H A Dgenimage.sh137 local dir file
138 for dir in /usr/share /usr/lib64 /usr/lib; do
140 echo "$dir/$file"
141 echo "$dir/${file^^}"
146 local dir file
147 for dir in /usr/share /boot /usr/lib64 /usr/lib; do
149 echo "$dir/$file"
150 echo "$dir/${file^^}"
/openbmc/bmcweb/include/
H A Dwebassets.hpp150 inline void addFile(App& app, const std::filesystem::directory_entry& dir) in addFile() argument
153 file.absolutePath = dir.path(); in addFile()
234 for (const std::filesystem::directory_entry& dir : paths) in requestRoutes() local
236 if (std::filesystem::is_directory(dir)) in requestRoutes()
239 if (dir.path().filename().string().starts_with(".") || in requestRoutes()
240 std::filesystem::is_symlink(dir)) in requestRoutes()
245 else if (std::filesystem::is_regular_file(dir)) in requestRoutes()
247 addFile(app, dir); in requestRoutes()
/openbmc/phosphor-debug-collector/tools/dreport.d/ibm.d/plugins.d/
H A Dpels13 dir="/var/lib/phosphor-logging/extensions/pels/logs"
15 if [ -d $dir ]; then
16 add_copy_file "$dir" "$desc"
/openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/
H A Dpels13 dir="/var/lib/phosphor-logging/extensions/pels/logs"
15 if [ -d $dir ]; then
16 add_copy_file "$dir" "$desc"
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmcs_rvu_if.c304 if (req->dir == MCS_RX) in rvu_mbox_handler_mcs_get_secy_stats()
567 req->sa_index[i], req->dir); in rvu_mbox_handler_mcs_sa_plcy_write()
596 req->secy_id, req->dir); in rvu_mbox_handler_mcs_secy_plcy_write()
614 req->flow_id, req->dir); in rvu_mbox_handler_mcs_flowid_entry_write()
623 req->dir, true); in rvu_mbox_handler_mcs_flowid_entry_write()
641 if (req->dir == MCS_RX) in rvu_mbox_handler_mcs_free_resources()
665 if (req->dir == MCS_RX) in rvu_mbox_handler_mcs_free_resources()
691 if (req->dir == MCS_RX) in rvu_mbox_handler_mcs_alloc_resources()
704 pcifunc, req->dir); in rvu_mbox_handler_mcs_alloc_resources()
748 rsp->dir = req->dir; in rvu_mbox_handler_mcs_alloc_resources()
[all …]

1...<<11121314151617181920>>...125