Home
last modified time | relevance | path

Searched refs:dir (Results 151 – 175 of 3116) sorted by relevance

12345678910>>...125

/openbmc/linux/fs/9p/
H A Dvfs_inode_dotl.c258 v9ses = v9fs_inode2v9ses(dir); in v9fs_vfs_atomic_open_dotl()
301 v9fs_invalidate_inode_attr(dir); in v9fs_vfs_atomic_open_dotl()
370 v9ses = v9fs_inode2v9ses(dir); in v9fs_vfs_mkdir_dotl()
373 if (dir->i_mode & S_ISGID) in v9fs_vfs_mkdir_dotl()
431 inc_nlink(dir); in v9fs_vfs_mkdir_dotl()
432 v9fs_invalidate_inode_attr(dir); in v9fs_vfs_mkdir_dotl()
716 v9ses = v9fs_inode2v9ses(dir); in v9fs_vfs_symlink_dotl()
735 v9fs_invalidate_inode_attr(dir); in v9fs_vfs_symlink_dotl()
792 v9ses = v9fs_inode2v9ses(dir); in v9fs_vfs_link_dotl()
854 dir->i_ino, dentry, omode, in v9fs_vfs_mknod_dotl()
[all …]
/openbmc/linux/tools/testing/selftests/dma/
H A Ddma_map_benchmark.c31 int bits = 32, xdelay = 0, dir = DMA_MAP_BIDIRECTIONAL; in main() local
53 dir = atoi(optarg); in main()
90 if (dir != DMA_MAP_BIDIRECTIONAL && dir != DMA_MAP_TO_DEVICE && in main()
91 dir != DMA_MAP_FROM_DEVICE) { in main()
112 map.dma_dir = dir; in main()
122 threads, seconds, node, dir[directions], granule); in main()
/openbmc/linux/fs/ext4/
H A Dinline.c1007 struct inode *dir, in ext4_add_dirent_to_inline() argument
1040 dir->i_mtime = inode_set_ctime_current(dir); in ext4_add_dirent_to_inline()
1041 ext4_update_dx_flag(dir); in ext4_add_dirent_to_inline()
1042 inode_inc_iversion(dir); in ext4_add_dirent_to_inline()
1105 dir->i_size = EXT4_I(dir)->i_disksize = EXT4_I(dir)->i_inline_size; in ext4_update_inline_dir()
1273 if (!ext4_has_inline_data(dir)) in ext4_try_add_inline_entry()
1727 struct inode *dir, in ext4_delete_inline_entry() argument
1823 err, dir->i_ino); in empty_inline_dir()
1836 ext4_warning(dir->i_sb, in empty_inline_dir()
1838 dir->i_ino); in empty_inline_dir()
[all …]
/openbmc/openbmc/poky/meta/recipes-connectivity/bind/bind/
H A Dinit.d-add-support-for-read-only-rootfs.patch24 + dir=`readlink -f $DIRECTORY`
26 + if [ ! -d "$dir" ]; then
27 + echo "ERROR: $dir is not a directory"
30 + for flag in `awk -v dir=$dir '{ if ($2 == dir) { print "FOUND"; split($4,FLAGS,",") } }; \
35 + if [ "$dir" = "/" -o -n "$partition" ]; then
38 + dir=`dirname $dir`
/openbmc/linux/sound/soc/uniphier/
H A Daio-ld11.c18 .dir = PORT_DIR_INPUT,
31 .dir = PORT_DIR_INPUT,
45 .dir = PORT_DIR_INPUT,
59 .dir = PORT_DIR_INPUT,
72 .dir = PORT_DIR_OUTPUT,
86 .dir = PORT_DIR_OUTPUT,
100 .dir = PORT_DIR_OUTPUT,
113 .dir = PORT_DIR_OUTPUT,
126 .dir = PORT_DIR_OUTPUT,
141 .dir = PORT_DIR_OUTPUT,
[all …]
/openbmc/linux/net/xfrm/
H A Dxfrm_policy.c341 int dir; in xfrm_policy_timer() local
705 for (dir = 0; dir < XFRM_POLICY_MAX; dir++) { in xfrm_hash_resize()
726 .dir = dir, in xfrm_policy_inexact_alloc_bin()
1256 int dir; in xfrm_hash_rebuild() local
1320 for (dir = 0; dir < XFRM_POLICY_MAX; dir++) { in xfrm_hash_rebuild()
1504 ret = b->k.dir ^ key->dir; in xfrm_pol_bin_cmp()
2087 .dir = dir, in xfrm_policy_inexact_lookup_rcu()
4154 for (dir = 0; dir < XFRM_POLICY_MAX; dir++) { in xfrm_policy_init()
4185 for (dir--; dir >= 0; dir--) { in xfrm_policy_init()
4200 int dir; in xfrm_policy_fini() local
[all …]
/openbmc/linux/arch/powerpc/mm/
H A Ddma-noncoherent.c94 static void __dma_sync_page(phys_addr_t paddr, size_t size, int dir) in __dma_sync_page() argument
100 __dma_sync_page_highmem(page, offset, size, dir); in __dma_sync_page()
103 __dma_sync((void *)start, size, dir); in __dma_sync_page()
108 enum dma_data_direction dir) in arch_sync_dma_for_device() argument
110 __dma_sync_page(paddr, size, dir); in arch_sync_dma_for_device()
114 enum dma_data_direction dir) in arch_sync_dma_for_cpu() argument
116 __dma_sync_page(paddr, size, dir); in arch_sync_dma_for_cpu()
/openbmc/intel-ipmi-oem/src/
H A Dsmbiosmdrv2handler.cpp163 uint16_t MDRV2::getSessionHandle(Mdr2DirStruct* dir) in getSessionHandle() argument
165 if (dir == NULL) in getSessionHandle()
171 dir->sessionHandle++; in getSessionHandle()
172 if (dir->sessionHandle == 0) in getSessionHandle()
174 dir->sessionHandle = 1; in getSessionHandle()
177 return dir->sessionHandle; in getSessionHandle()
882 switch (smbiosDir.dir[index].stage) in smbiosUnlock()
889 smbiosDir.dir[index].lockHandle = 0; in smbiosUnlock()
899 smbiosDir.dir[index].lockHandle = 0; in smbiosUnlock()
921 switch (smbiosDir.dir[index].stage) in smbiosTryLock()
[all …]
/openbmc/qemu/include/sysemu/
H A Ddma.h46 static inline void dma_barrier(AddressSpace *as, DMADirection dir) in dma_barrier() argument
74 DMADirection dir, MemTxAttrs attrs) in dma_memory_valid() argument
77 dir == DMA_DIRECTION_FROM_DEVICE, in dma_memory_valid()
84 DMADirection dir, in dma_memory_rw_relaxed() argument
88 buf, len, dir == DMA_DIRECTION_FROM_DEVICE); in dma_memory_rw_relaxed()
126 DMADirection dir, MemTxAttrs attrs) in dma_memory_rw() argument
128 dma_barrier(as, dir); in dma_memory_rw()
130 return dma_memory_rw_relaxed(as, addr, buf, len, dir, attrs); in dma_memory_rw()
207 DMADirection dir, MemTxAttrs attrs) in dma_memory_map() argument
212 p = address_space_map(as, addr, &xlen, dir == DMA_DIRECTION_FROM_DEVICE, in dma_memory_map()
[all …]
/openbmc/linux/fs/hpfs/
H A Dname.c23 static inline unsigned char upcase(unsigned char *dir, unsigned char a) in upcase() argument
26 if (!dir) return a; in upcase()
27 return dir[a-128]; in upcase()
30 unsigned char hpfs_upcase(unsigned char *dir, unsigned char a) in hpfs_upcase() argument
32 return upcase(dir, a); in hpfs_upcase()
35 static inline unsigned char locase(unsigned char *dir, unsigned char a) in locase() argument
38 if (!dir) return a; in locase()
39 return dir[a]; in locase()
/openbmc/linux/fs/udf/
H A Ddir.c37 struct inode *dir = file_inode(file); in udf_readdir() local
42 struct super_block *sb = dir->i_sb; in udf_readdir()
52 if (nf_pos >= dir->i_size) in udf_readdir()
63 if (!inode_eq_iversion(dir, file->f_version)) { in udf_readdir()
76 for (ret = udf_fiiter_init(&iter, dir, nf_pos); in udf_readdir()
77 !ret && iter.pos < dir->i_size; in udf_readdir()
125 file->f_version = inode_query_iversion(dir); in udf_readdir()
/openbmc/linux/sound/firewire/oxfw/
H A Doxfw-stream.c62 enum avc_general_plug_dir dir; in set_stream_format() local
68 dir = AVC_GENERAL_PLUG_DIR_OUT; in set_stream_format()
71 dir = AVC_GENERAL_PLUG_DIR_IN; in set_stream_format()
201 enum avc_general_plug_dir dir; in keep_resources() local
209 dir = AVC_GENERAL_PLUG_DIR_IN; in keep_resources()
213 dir = AVC_GENERAL_PLUG_DIR_OUT; in keep_resources()
258 enum avc_general_plug_dir dir; in snd_oxfw_stream_reserve_duplex() local
273 dir = AVC_GENERAL_PLUG_DIR_OUT; in snd_oxfw_stream_reserve_duplex()
275 dir = AVC_GENERAL_PLUG_DIR_IN; in snd_oxfw_stream_reserve_duplex()
486 enum avc_general_plug_dir dir, in snd_oxfw_stream_get_current_formation() argument
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-clps711x.c16 void __iomem *dat, *dir; in clps711x_gpio_probe() local
35 dir = devm_platform_ioremap_resource(pdev, 1); in clps711x_gpio_probe()
36 if (IS_ERR(dir)) in clps711x_gpio_probe()
37 return PTR_ERR(dir); in clps711x_gpio_probe()
43 NULL, dir, 0); in clps711x_gpio_probe()
47 dir, NULL, 0); in clps711x_gpio_probe()
/openbmc/linux/fs/hfs/
H A Ddir.c28 res = hfs_find_init(HFS_SB(dir->i_sb)->cat_tree, &fd); in hfs_lookup()
31 hfs_cat_build_key(dir->i_sb, fd.search_key, dir->i_ino, &dentry->d_name); in hfs_lookup()
37 inode = hfs_iget(dir->i_sb, &fd.search_key->cat, &rec); in hfs_lookup()
126 be32_to_cpu(entry.dir.DirID), DT_DIR)) in hfs_readdir()
192 static int hfs_create(struct mnt_idmap *idmap, struct inode *dir, in hfs_create() argument
198 inode = hfs_new_inode(dir, &dentry->d_name, mode); in hfs_create()
202 res = hfs_cat_create(inode->i_ino, dir, &dentry->d_name, inode); in hfs_create()
222 static int hfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in hfs_mkdir() argument
228 inode = hfs_new_inode(dir, &dentry->d_name, S_IFDIR | mode); in hfs_mkdir()
255 static int hfs_remove(struct inode *dir, struct dentry *dentry) in hfs_remove() argument
[all …]
/openbmc/linux/sound/pci/lola/
H A Dlola_mixer.c19 int dir, int nid) in lola_init_pin() argument
47 if (dir == PLAY) in lola_init_pin()
86 err = lola_init_pin(chip, &chip->pin[dir].pins[i], dir, nid); in lola_init_pins()
90 chip->pin[dir].num_analog_pins++; in lola_init_pins()
327 pin = chip->pin[dir].pins; in lola_setup_all_analog_gains()
328 max_idx = chip->pin[dir].num_pins; in lola_setup_all_analog_gains()
394 pin = &chip->pin[dir].pins[idx]; in set_analog_volume()
403 dir, idx, val); in set_analog_volume()
554 pin = &chip->pin[dir].pins[0]; in lola_analog_vol_tlv()
585 if (!chip->pin[dir].num_pins) in create_analog_mixer()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dhda.c32 int dir; in hda_codec_create_dais() local
39 dir = SNDRV_PCM_STREAM_PLAYBACK; in hda_codec_create_dais()
41 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
48 snd_pcm_direction_name(dir)); in hda_codec_create_dais()
53 stream->rates = pcm->stream[dir].rates; in hda_codec_create_dais()
54 stream->formats = pcm->stream[dir].formats; in hda_codec_create_dais()
55 stream->sig_bits = pcm->stream[dir].maxbps; in hda_codec_create_dais()
58 dir = SNDRV_PCM_STREAM_CAPTURE; in hda_codec_create_dais()
60 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
67 snd_pcm_direction_name(dir)); in hda_codec_create_dais()
[all …]
/openbmc/linux/arch/parisc/kernel/
H A Dpci-dma.c130 pgd_t * dir; in map_uncached_pages() local
133 dir = pgd_offset_k(vaddr); in map_uncached_pages()
148 dir++; in map_uncached_pages()
196 if (pgd_none(*dir)) in unmap_uncached_pmd()
198 if (pgd_bad(*dir)) { in unmap_uncached_pmd()
199 pgd_ERROR(*dir); in unmap_uncached_pmd()
200 pgd_clear(dir); in unmap_uncached_pmd()
218 pgd_t * dir; in unmap_uncached_pages() local
221 dir = pgd_offset_k(vaddr); in unmap_uncached_pages()
225 dir++; in unmap_uncached_pages()
[all …]
/openbmc/linux/net/ipv4/netfilter/
H A Dnf_nat_snmp_basic_main.c126 static int snmp_translate(struct nf_conn *ct, int dir, struct sk_buff *skb) in snmp_translate() argument
135 if (dir == IP_CT_DIR_ORIGINAL) { in snmp_translate()
136 ctx.from = ct->tuplehash[dir].tuple.src.u3.ip; in snmp_translate()
137 ctx.to = ct->tuplehash[!dir].tuple.dst.u3.ip; in snmp_translate()
139 ctx.from = ct->tuplehash[!dir].tuple.src.u3.ip; in snmp_translate()
140 ctx.to = ct->tuplehash[dir].tuple.dst.u3.ip; in snmp_translate()
164 int dir = CTINFO2DIR(ctinfo); in help() local
170 if (udph->source == htons(SNMP_PORT) && dir != IP_CT_DIR_REPLY) in help()
172 if (udph->dest == htons(SNMP_TRAP_PORT) && dir != IP_CT_DIR_ORIGINAL) in help()
195 ret = snmp_translate(ct, dir, skb); in help()
/openbmc/linux/include/xen/
H A Dxenbus.h155 const char *dir, const char *node, unsigned int *num);
157 const char *dir, const char *node, unsigned int *len);
159 const char *dir, const char *node, const char *string);
161 const char *dir, const char *node);
163 const char *dir, const char *node);
164 int xenbus_rm(struct xenbus_transaction t, const char *dir, const char *node);
171 const char *dir, const char *node, const char *fmt, ...);
174 unsigned int xenbus_read_unsigned(const char *dir, const char *node,
180 const char *dir, const char *node, const char *fmt, ...);
184 int xenbus_gather(struct xenbus_transaction t, const char *dir, ...);
/openbmc/qemu/util/
H A Dcutils.c1024 (!dir[prefix_len] || G_IS_DIR_SEPARATOR(dir[prefix_len])); in starts_with_prefix()
1032 while ((*dir && G_IS_DIR_SEPARATOR(*dir)) || in next_component()
1033 (*dir == '.' && (G_IS_DIR_SEPARATOR(dir[1]) || dir[1] == '\0'))) { in next_component()
1034 dir++; in next_component()
1037 while (dir[len] && !G_IS_DIR_SEPARATOR(dir[len])) { in next_component()
1041 return dir; in next_component()
1161 const char *src = dir; in get_relocated_path()
1190 dir += len_dir; in get_relocated_path()
1192 dir = next_component(dir, &len_dir); in get_relocated_path()
1203 if (*dir) { in get_relocated_path()
[all …]
H A Ddrm.c25 DIR *dir; in qemu_drm_rendernode_open() local
35 dir = opendir("/dev/dri"); in qemu_drm_rendernode_open()
36 if (!dir) { in qemu_drm_rendernode_open()
41 while ((e = readdir(dir))) { in qemu_drm_rendernode_open()
70 closedir(dir); in qemu_drm_rendernode_open()
/openbmc/linux/arch/ia64/scripts/
H A Dtoolchain-flags10 dir=$(dirname $0)
17 $CC -nostdlib -static -Wl,-T$dir/check-segrel.lds $dir/check-segrel.S -o $out
31 $CC -c $dir/check-text-align.S -o $out
39 if ! $CC -c $dir/check-model.c -o $out 2>&1 | grep __model__ | grep -q attrib
47 $CC -c $dir/check-serialize.S -o $out 2>/dev/null
/openbmc/linux/fs/qnx4/
H A Dnamei.c57 static struct buffer_head *qnx4_find_entry(int len, struct inode *dir, in qnx4_find_entry() argument
66 while (blkofs * QNX4_BLOCK_SIZE + offset < dir->i_size) { in qnx4_find_entry()
68 block = qnx4_block_map(dir, blkofs); in qnx4_find_entry()
70 bh = sb_bread(dir->i_sb, block); in qnx4_find_entry()
95 struct dentry * qnx4_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in qnx4_lookup() argument
105 if (!(bh = qnx4_find_entry(len, dir, name, &de, &ino))) in qnx4_lookup()
116 foundinode = qnx4_iget(dir->i_sb, ino); in qnx4_lookup()
/openbmc/linux/kernel/bpf/
H A Dinode.c102 const struct inode *dir, in bpf_get_inode() argument
145 struct inode *dir) in bpf_dentry_finalize() argument
150 dir->i_mtime = inode_set_ctime_current(dir); in bpf_dentry_finalize()
158 inode = bpf_get_inode(dir->i_sb, dir, mode | S_IFDIR); in bpf_mkdir()
166 inc_nlink(dir); in bpf_mkdir()
334 struct inode *inode = bpf_get_inode(dir->i_sb, dir, mode); in bpf_mkobj_ops()
376 if ((dir->i_mode & S_IALLUGO) && in bpf_lookup()
392 inode = bpf_get_inode(dir->i_sb, dir, S_IRWXUGO | S_IFLNK); in bpf_symlink()
440 struct inode *dir; in bpf_obj_do_pin() local
449 dir = d_inode(path.dentry); in bpf_obj_do_pin()
[all …]
/openbmc/linux/fs/nfs/
H A Dunlink.c52 if (!NFS_PROTO(dir)->unlink_done(task, dir)) in nfs_async_unlink_done()
80 NFS_PROTO(dir)->unlink_rpc_prepare(task, data); in nfs_unlink_prepare()
109 nfs_sb_active(dir->i_sb); in nfs_do_call_unlink()
110 data->args.fh = NFS_FH(dir); in nfs_do_call_unlink()
115 task_setup_data.rpc_client = NFS_CLIENT(dir); in nfs_do_call_unlink()
123 struct inode *dir = d_inode(dentry->d_parent); in nfs_call_unlink() local
126 down_read_non_owner(&NFS_I(dir)->rmdir_sem); in nfs_call_unlink()
129 up_read_non_owner(&NFS_I(dir)->rmdir_sem); in nfs_call_unlink()
152 up_read_non_owner(&NFS_I(dir)->rmdir_sem); in nfs_call_unlink()
453 nfs_inc_stats(dir, NFSIOS_SILLYRENAME); in nfs_sillyrename()
[all …]

12345678910>>...125