Searched refs:dir (Results 251 - 275 of 2038) sorted by relevance

<<11121314151617181920>>

/linux-master/net/netfilter/
H A Dnf_conntrack_h323_main.c69 int dir = CTINFO2DIR(ctinfo); local
104 if (info->tpkt_len[dir] > 0) {
107 "bytes\n", info->tpkt_len[dir]);
108 if (info->tpkt_len[dir] <= tcpdatalen) {
112 *datalen = info->tpkt_len[dir];
148 info->tpkt_len[dir] = tpktlen - 4;
163 info->tpkt_len[dir] = 0;
167 info->tpkt_len[dir] = 0;
212 int dir = CTINFO2DIR(ctinfo); local
222 memcmp(&addr, &ct->tuplehash[dir]
287 int dir = CTINFO2DIR(ctinfo); local
626 int dir = CTINFO2DIR(ctinfo); local
742 int dir = CTINFO2DIR(ctinfo); local
802 int dir = CTINFO2DIR(ctinfo); local
1210 int dir = CTINFO2DIR(ctinfo); local
1282 int dir = CTINFO2DIR(ctinfo); local
1364 int dir = CTINFO2DIR(ctinfo); local
1415 int dir = CTINFO2DIR(ctinfo); local
1448 int dir = CTINFO2DIR(ctinfo); local
1493 int dir = CTINFO2DIR(ctinfo); local
1560 int dir = CTINFO2DIR(ctinfo); local
[all...]
H A Dnf_nat_sip.c100 enum ip_conntrack_dir dir = CTINFO2DIR(ctinfo); local
107 if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, addr) &&
108 ct->tuplehash[dir].tuple.src.u.udp.port == port) {
109 newaddr = ct->tuplehash[!dir].tuple.dst.u3;
110 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port;
111 } else if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, addr) &&
112 ct->tuplehash[dir].tuple.dst.u.udp.port == port) {
113 newaddr = ct->tuplehash[!dir].tuple.src.u3;
115 ct->tuplehash[!dir].tuple.src.u.udp.port;
151 enum ip_conntrack_dir dir local
382 enum ip_conntrack_dir dir = CTINFO2DIR(ctinfo); local
570 enum ip_conntrack_dir dir = CTINFO2DIR(ctinfo); local
[all...]
H A Dnf_flow_table_ip.c78 unsigned int thoff, enum flow_offload_tuple_dir dir)
82 switch (dir) {
101 unsigned int thoff, enum flow_offload_tuple_dir dir)
105 switch (dir) {
123 unsigned int thoff, enum flow_offload_tuple_dir dir,
127 nf_flow_snat_port(flow, skb, thoff, iph->protocol, dir);
128 nf_flow_snat_ip(flow, skb, iph, thoff, dir);
131 nf_flow_dnat_port(flow, skb, thoff, iph->protocol, dir);
132 nf_flow_dnat_ip(flow, skb, iph, thoff, dir);
368 enum flow_offload_tuple_dir dir; local
76 nf_flow_snat_ip(const struct flow_offload *flow, struct sk_buff *skb, struct iphdr *iph, unsigned int thoff, enum flow_offload_tuple_dir dir) argument
99 nf_flow_dnat_ip(const struct flow_offload *flow, struct sk_buff *skb, struct iphdr *iph, unsigned int thoff, enum flow_offload_tuple_dir dir) argument
122 nf_flow_nat_ip(const struct flow_offload *flow, struct sk_buff *skb, unsigned int thoff, enum flow_offload_tuple_dir dir, struct iphdr *iph) argument
416 enum flow_offload_tuple_dir dir; local
513 nf_flow_snat_ipv6(const struct flow_offload *flow, struct sk_buff *skb, struct ipv6hdr *ip6h, unsigned int thoff, enum flow_offload_tuple_dir dir) argument
536 nf_flow_dnat_ipv6(const struct flow_offload *flow, struct sk_buff *skb, struct ipv6hdr *ip6h, unsigned int thoff, enum flow_offload_tuple_dir dir) argument
559 nf_flow_nat_ipv6(const struct flow_offload *flow, struct sk_buff *skb, enum flow_offload_tuple_dir dir, struct ipv6hdr *ip6h) argument
647 enum flow_offload_tuple_dir dir; local
711 enum flow_offload_tuple_dir dir; local
[all...]
H A Dnf_conntrack_proto_sctp.c97 - Check the error type in the reply dir before transitioning from
115 /* cookie_ack */ {sCL, sCL, sCW, sES, sES, sSS, sSR, sSA, sCL},/* Can't come in orig dir */
129 /* cookie_echo */ {sIV, sCL, sCE, sCE, sES, sSS, sSR, sSA, sIV},/* Can't come in reply dir */
193 static int sctp_new_state(enum ip_conntrack_dir dir, argument
240 return sctp_conntracks[dir][i][cur_state];
339 enum ip_conntrack_dir dir = CTINFO2DIR(ctinfo); local
378 sh->vtag != ct->proto.sctp.vtag[dir]) {
380 "verification tag check failed %x vs %x for dir %d",
381 sh->vtag, ct->proto.sctp.vtag[dir], dir);
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Ddebugfs.c550 struct dentry *dir; local
552 dir = mt76_register_debugfs_fops(&dev->mphy, &fops_regval);
553 if (!dir)
557 debugfs_create_devm_seqfile(dev->mt76.dev, "xmit-queues", dir,
560 debugfs_create_devm_seqfile(dev->mt76.dev, "xmit-queues", dir,
562 debugfs_create_devm_seqfile(dev->mt76.dev, "acq", dir,
564 debugfs_create_file("ampdu_stat", 0400, dir, dev, &mt7615_ampdu_stat_fops);
565 debugfs_create_file("scs", 0600, dir, dev, &fops_scs);
566 debugfs_create_file("dbdc", 0600, dir, dev, &fops_dbdc);
567 debugfs_create_file("fw_debug", 0600, dir, de
[all...]
/linux-master/tools/testing/selftests/net/
H A Dxfrm_policy.sh38 ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tunnel priority 100 action allow
40 ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tunnel priority 100 action allow
75 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
78 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
81 ip -net $ns xfrm policy add src 10.2.0.0/23 dst 10.0.1.0/24 dir fwd priority 200 action block
107 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/23 dir fwd priority 200 action block
112 ip -net $ns xfrm policy add src 10.253.1.$((RANDOM%255))/$p dst 10.254.1.$((RANDOM%255))/$p dir fwd priority $((200+k)) action block 2>/dev/null
122 ip -net $ns xfrm policy get src $lnet dst $rnet dir out > /dev/null
125 echo "FAIL: ip -net $ns xfrm policy get src $lnet dst $rnet dir out"
129 ip -net $ns xfrm policy get src $rnet dst $lnet dir fw
[all...]
/linux-master/include/linux/
H A Dfscrypt.h387 int fscrypt_prepare_new_inode(struct inode *dir, struct inode *inode,
415 u64 fscrypt_fname_siphash(const struct inode *dir, const struct qstr *name);
424 int __fscrypt_prepare_link(struct inode *inode, struct inode *dir,
429 int __fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry,
431 int fscrypt_prepare_lookup_partial(struct inode *dir, struct dentry *dentry);
432 int __fscrypt_prepare_readdir(struct inode *dir);
436 int fscrypt_prepare_symlink(struct inode *dir, const char *target,
636 static inline int fscrypt_prepare_new_inode(struct inode *dir, argument
640 if (IS_ENCRYPTED(dir))
660 static inline int fscrypt_setup_filename(struct inode *dir, argument
707 fscrypt_fname_siphash(const struct inode *dir, const struct qstr *name) argument
741 __fscrypt_prepare_link(struct inode *inode, struct inode *dir, struct dentry *dentry) argument
756 __fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry, struct fscrypt_name *fname) argument
763 fscrypt_prepare_lookup_partial(struct inode *dir, struct dentry *dentry) argument
769 __fscrypt_prepare_readdir(struct inode *dir) argument
787 fscrypt_prepare_symlink(struct inode *dir, const char *target, unsigned int len, unsigned int max_len, struct fscrypt_str *disk_link) argument
957 fscrypt_prepare_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
1023 fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry, struct fscrypt_name *fname) argument
1053 fscrypt_prepare_readdir(struct inode *dir) argument
[all...]
/linux-master/fs/reiserfs/
H A Dxattr.c33 * Directory components (xattr root, xattr dir) are protectd by their i_mutex.
64 * dir->i_mutex must be held for all of them.
67 static int xattr_create(struct inode *dir, struct dentry *dentry, int mode) argument
69 BUG_ON(!inode_is_locked(dir));
70 return dir->i_op->create(&nop_mnt_idmap, dir, dentry, mode, true);
74 static int xattr_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) argument
76 BUG_ON(!inode_is_locked(dir));
77 return dir->i_op->mkdir(&nop_mnt_idmap, dir, dentr
86 xattr_unlink(struct inode *dir, struct dentry *dentry) argument
101 xattr_rmdir(struct inode *dir, struct dentry *dentry) argument
243 struct dentry *dir; local
335 struct inode *dir = d_inode(dentry->d_parent); local
434 reiserfs_get_page(struct inode *dir, size_t n) argument
849 struct dentry *dir; local
[all...]
/linux-master/fs/ext4/
H A Dinline.c972 void ext4_show_inline_dir(struct inode *dir, struct buffer_head *bh, argument
980 trace_printk("inode %lu\n", dir->i_ino);
987 if (ext4_check_dir_entry(dir, NULL, de, bh,
996 #define ext4_show_inline_dir(dir, bh, inline_start, inline_size)
1000 * Add a new entry into a inline dir.
1006 struct inode *dir,
1014 err = ext4_find_dest_de(dir, inode, iloc->bh, inline_start,
1020 err = ext4_journal_get_write_access(handle, dir->i_sb, iloc->bh,
1024 ext4_insert_dentry(dir, inode, de, inline_size, fname);
1026 ext4_show_inline_dir(dir, ilo
1004 ext4_add_dirent_to_inline(handle_t *handle, struct ext4_filename *fname, struct inode *dir, struct inode *inode, struct ext4_iloc *iloc, void *inline_start, int inline_size) argument
1086 ext4_update_inline_dir(handle_t *handle, struct inode *dir, struct ext4_iloc *iloc) argument
1260 ext4_try_add_inline_entry(handle_t *handle, struct ext4_filename *fname, struct inode *dir, struct inode *inode) argument
1329 ext4_inlinedir_to_tree(struct file *dir_file, struct inode *dir, ext4_lblk_t block, struct dx_hash_info *hinfo, __u32 start_hash, __u32 start_minor_hash, int *has_inline_data) argument
1658 ext4_find_inline_entry(struct inode *dir, struct ext4_filename *fname, struct ext4_dir_entry_2 **res_dir, int *has_inline_data) argument
1706 ext4_delete_inline_entry(handle_t *handle, struct inode *dir, struct ext4_dir_entry_2 *de_del, struct buffer_head *bh, int *has_inline_data) argument
1789 empty_inline_dir(struct inode *dir, int *has_inline_data) argument
[all...]
/linux-master/fs/ocfs2/
H A Dnamei.c9 * Portions of this code from linux/fs/ext3/dir.c
18 * linux/fs/minix/dir.c
36 #include "dir.h"
56 struct inode *dir,
93 /* An orphan dir name is an 8 byte value, printed as a hex string */
96 static struct dentry *ocfs2_lookup(struct inode *dir, struct dentry *dentry, argument
105 trace_ocfs2_lookup(dir, dentry, dentry->d_name.len,
107 (unsigned long long)OCFS2_I(dir)->ip_blkno, 0);
114 status = ocfs2_inode_lock_nested(dir, NULL, 0, OI_LS_PARENT);
122 status = ocfs2_lookup_ino_from_name(dir, dentr
184 ocfs2_get_init_inode(struct inode *dir, umode_t mode) argument
224 ocfs2_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) argument
505 __ocfs2_mknod_locked(struct inode *dir, struct inode *inode, dev_t dev, struct buffer_head **new_fe_bh, struct buffer_head *parent_fe_bh, handle_t *handle, struct ocfs2_alloc_context *inode_ac, u64 fe_blkno, u64 suballoc_loc, u16 suballoc_bit) argument
618 ocfs2_mknod_locked(struct ocfs2_super *osb, struct inode *dir, struct inode *inode, dev_t dev, struct buffer_head **new_fe_bh, struct buffer_head *parent_fe_bh, handle_t *handle, struct ocfs2_alloc_context *inode_ac) argument
646 ocfs2_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
662 ocfs2_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
679 ocfs2_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
872 ocfs2_unlink(struct inode *dir, struct dentry *dentry) argument
1803 ocfs2_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
2439 ocfs2_prep_new_orphaned_file(struct inode *dir, struct buffer_head *dir_bh, char *orphan_name, struct inode **ret_orphan_dir, u64 *ret_di_blkno, struct ocfs2_dir_lookup_result *orphan_insert, struct ocfs2_alloc_context **ret_inode_ac) argument
2508 ocfs2_create_inode_in_orphan(struct inode *dir, int mode, struct inode **new_inode) argument
2779 ocfs2_mv_orphaned_inode_to_new(struct inode *dir, struct inode *inode, struct dentry *dentry) argument
[all...]
/linux-master/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) argument
135 if (dir == IP_CT_DIR_ORIGINAL) {
136 ctx.from = ct->tuplehash[dir].tuple.src.u3.ip;
137 ctx.to = ct->tuplehash[!dir].tuple.dst.u3.ip;
139 ctx.from = ct->tuplehash[!dir].tuple.src.u3.ip;
140 ctx.to = ct->tuplehash[dir].tuple.dst.u3.ip;
164 int dir = CTINFO2DIR(ctinfo); local
170 if (udph->source == htons(SNMP_PORT) && dir != IP_CT_DIR_REPLY)
172 if (udph->dest == htons(SNMP_TRAP_PORT) && dir != IP_CT_DIR_ORIGINAL)
195 ret = snmp_translate(ct, dir, sk
[all...]
/linux-master/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,
[all...]
/linux-master/kernel/
H A Dfail_function.c157 struct dentry *dir; local
159 dir = debugfs_create_dir(attr->kp.symbol_name, fei_debugfs_dir);
161 debugfs_create_file("retval", 0600, dir, attr, &fei_retval_ops);
317 struct dentry *dir; local
319 dir = fault_create_debugfs_attr("fail_function", NULL,
321 if (IS_ERR(dir))
322 return PTR_ERR(dir);
325 debugfs_create_symlink("injectable", dir, "../error_injection/list");
327 debugfs_create_file("inject", 0600, dir, NULL, &fei_ops);
329 fei_debugfs_dir = dir;
[all...]
/linux-master/include/trace/events/
H A Dhabanalabs.h92 enum dma_data_direction dir, const char *caller),
94 TP_ARGS(dev, phys_addr, dma_addr, len, dir, caller),
101 __field(int, dir)
110 __entry->dir = dir;
114 TP_printk("%s: phys_addr: %#llx, dma_addr: %#llx, len: %#x, dir: %d, caller: %s",
119 __entry->dir,
125 enum dma_data_direction dir, const char *caller),
126 TP_ARGS(dev, phys_addr, dma_addr, len, dir, caller));
130 enum dma_data_direction dir, cons
[all...]
/linux-master/fs/9p/
H A Dvfs_inode.c443 * - overlayfs sets nlink to 1 for merged dir
444 * - ext4 (with dir_nlink feature enabled) sets nlink to 1 if a dir has more
464 * @dir: directory inode that is being deleted
470 static int v9fs_remove(struct inode *dir, struct dentry *dentry, int flags) argument
478 dir, dentry, flags);
480 v9ses = v9fs_inode2v9ses(dir);
506 v9fs_dec_count(dir);
514 v9fs_invalidate_inode_attr(dir);
526 * @dir: directory that dentry is being created in
534 v9fs_create(struct v9fs_session_info *v9ses, struct inode *dir, argument
611 v9fs_vfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
638 v9fs_vfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
673 v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
728 v9fs_vfs_atomic_open(struct inode *dir, struct dentry *dentry, struct file *file, unsigned int flags, umode_t mode) argument
1186 v9fs_vfs_mkspecial(struct inode *dir, struct dentry *dentry, u32 perm, const char *extension) argument
1220 v9fs_vfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
1240 v9fs_vfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
1275 v9fs_vfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
[all...]
/linux-master/fs/nfs/
H A Dproc.c156 nfs_proc_lookup(struct inode *dir, struct dentry *dentry, argument
160 .fh = NFS_FH(dir),
182 status = rpc_call_sync(NFS_CLIENT(dir), &msg, task_flags);
215 static struct nfs_createdata *nfs_alloc_createdata(struct inode *dir, argument
223 data->arg.fh = NFS_FH(dir);
241 nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, argument
251 data = nfs_alloc_createdata(dir, dentry, sattr);
256 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0);
257 nfs_mark_for_revalidate(dir);
270 nfs_proc_mknod(struct inode *dir, struc argument
314 nfs_proc_remove(struct inode *dir, struct dentry *dentry) argument
347 nfs_proc_unlink_done(struct rpc_task *task, struct inode *dir) argument
376 nfs_proc_link(struct inode *inode, struct inode *dir, const struct qstr *name) argument
399 nfs_proc_symlink(struct inode *dir, struct dentry *dentry, struct folio *folio, unsigned int len, struct iattr *sattr) argument
450 nfs_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr) argument
476 nfs_proc_rmdir(struct inode *dir, const struct qstr *name) argument
506 struct inode *dir = d_inode(nr_arg->dentry); local
[all...]
/linux-master/arch/parisc/kernel/
H A Dpci-dma.c130 pgd_t * dir; local
133 dir = pgd_offset_k(vaddr);
139 p4d = p4d_offset(dir, vaddr);
148 dir++;
189 static inline void unmap_uncached_pmd(pgd_t * dir, unsigned long vaddr, argument
196 if (pgd_none(*dir))
198 if (pgd_bad(*dir)) {
199 pgd_ERROR(*dir);
200 pgd_clear(dir);
203 pmd = pmd_offset(pud_offset(p4d_offset(dir, vadd
218 pgd_t * dir; local
438 arch_sync_dma_for_device(phys_addr_t paddr, size_t size, enum dma_data_direction dir) argument
448 arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, enum dma_data_direction dir) argument
[all...]
/linux-master/fs/proc/
H A Dproc_sysctl.c76 .default_set.dir.header = {
94 static void sysctl_print_dir(struct ctl_dir *dir) argument
96 if (dir->header.parent)
97 sysctl_print_dir(dir->header.parent);
98 pr_cont("%s/", dir->header.ctl_table[0].procname);
113 struct ctl_dir *dir, const char *name, int namelen)
117 struct rb_node *node = dir->root.rb_node;
223 static int insert_header(struct ctl_dir *dir, struct ctl_table_header *header) argument
226 struct ctl_table_header *dir_h = &dir->header;
237 if (!RB_EMPTY_ROOT(&dir
112 find_entry(struct ctl_table_header **phead, struct ctl_dir *dir, const char *name, int namelen) argument
345 lookup_entry(struct ctl_table_header **phead, struct ctl_dir *dir, const char *name, int namelen) argument
374 first_entry(struct ctl_dir *dir, struct ctl_table_header **phead, struct ctl_table **pentry) argument
509 proc_sys_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
678 struct dentry *child, *dir = file->f_path.dentry; local
934 find_subdir(struct ctl_dir *dir, const char *name, int namelen) argument
985 get_subdir(struct ctl_dir *dir, const char *name, int namelen) argument
1035 xlate_dir(struct ctl_table_set *set, struct ctl_dir *dir) argument
1055 struct ctl_dir *dir; local
1154 new_links(struct ctl_dir *dir, struct ctl_table_header *head) argument
1199 get_links(struct ctl_dir *dir, struct ctl_table_header *header, struct ctl_table_root *link_root) argument
1274 sysctl_mkdir_p(struct ctl_dir *dir, const char *path) argument
1357 struct ctl_dir *dir; local
[all...]
/linux-master/sound/firewire/oxfw/
H A Doxfw-command.c10 int avc_stream_set_format(struct fw_unit *unit, enum avc_general_plug_dir dir, argument
24 buf[4] = dir; /* Plug Direction */
53 enum avc_general_plug_dir dir, unsigned int pid,
68 buf[4] = dir; /* Plug Direction */
112 enum avc_general_plug_dir dir,
132 if (dir == AVC_GENERAL_PLUG_DIR_IN)
52 avc_stream_get_format(struct fw_unit *unit, enum avc_general_plug_dir dir, unsigned int pid, u8 *buf, unsigned int *len, unsigned int eid) argument
111 avc_general_inquiry_sig_fmt(struct fw_unit *unit, unsigned int rate, enum avc_general_plug_dir dir, unsigned short pid) argument
/linux-master/drivers/soc/fsl/qe/
H A Dqe_io.c47 void __par_io_config_pin(struct qe_pio_regs __iomem *par_io, u8 pin, int dir, argument
75 new_mask2bits = (u32) (dir << (QE_PIO_PINS -
108 int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain, argument
114 __par_io_config_pin(&par_io[port], pin, dir, open_drain, assignment,
173 int dir = be32_to_cpu(pio_map[2]); local
178 par_io_config_pin(port, pin, dir, open_drain,
/linux-master/drivers/gpu/drm/virtio/
H A Dvirtgpu_prime.c48 enum dma_data_direction dir)
54 return virtio_gpu_vram_map_dma_buf(bo, attach->dev, dir);
56 return drm_gem_map_dma_buf(attach, dir);
61 enum dma_data_direction dir)
67 virtio_gpu_vram_unmap_dma_buf(attach->dev, sgt, dir);
71 drm_gem_unmap_dma_buf(attach, sgt, dir);
47 virtgpu_gem_map_dma_buf(struct dma_buf_attachment *attach, enum dma_data_direction dir) argument
59 virtgpu_gem_unmap_dma_buf(struct dma_buf_attachment *attach, struct sg_table *sgt, enum dma_data_direction dir) argument
/linux-master/drivers/scsi/snic/
H A Dvnic_devcmd.h48 #define _CMDCF(dir, flags, vtype, nr) \
49 (((dir) << _CMD_DIRSHIFT) | \
53 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr)
54 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr)
/linux-master/arch/mips/cavium-octeon/
H A Doct_ilm.c29 static struct dentry *dir; variable in typeref:struct:dentry
58 dir = debugfs_create_dir("oct_ilm", 0);
59 debugfs_create_file("statistics", 0222, dir, NULL, &oct_ilm_fops);
60 debugfs_create_file("reset", 0222, dir, NULL, &reset_statistics_ops);
156 debugfs_remove_recursive(dir);
163 debugfs_remove_recursive(dir);
/linux-master/drivers/xen/xenbus/
H A Dxenbus_xs.c387 /* Return the path to dir with /name appended. Buffer must be kfree()'ed. */
388 static char *join(const char *dir, const char *name) argument
393 buffer = kasprintf(GFP_NOIO | __GFP_HIGH, "%s", dir);
395 buffer = kasprintf(GFP_NOIO | __GFP_HIGH, "%s/%s", dir, name);
423 const char *dir, const char *node, unsigned int *num)
428 path = join(dir, node);
443 const char *dir, const char *node)
448 d = xenbus_directory(t, dir, node, &dir_n);
461 const char *dir, const char *node, unsigned int *len)
466 path = join(dir, nod
422 xenbus_directory(struct xenbus_transaction t, const char *dir, const char *node, unsigned int *num) argument
442 xenbus_exists(struct xenbus_transaction t, const char *dir, const char *node) argument
460 xenbus_read(struct xenbus_transaction t, const char *dir, const char *node, unsigned int *len) argument
479 xenbus_write(struct xenbus_transaction t, const char *dir, const char *node, const char *string) argument
502 xenbus_mkdir(struct xenbus_transaction t, const char *dir, const char *node) argument
519 xenbus_rm(struct xenbus_transaction t, const char *dir, const char *node) argument
568 xenbus_scanf(struct xenbus_transaction t, const char *dir, const char *node, const char *fmt, ...) argument
591 xenbus_read_unsigned(const char *dir, const char *node, unsigned int default_val) argument
606 xenbus_printf(struct xenbus_transaction t, const char *dir, const char *node, const char *fmt, ...) argument
629 xenbus_gather(struct xenbus_transaction t, const char *dir, ...) argument
[all...]
/linux-master/fs/efivarfs/
H A Dinode.c20 const struct inode *dir, int mode,
77 static int efivarfs_create(struct mnt_idmap *idmap, struct inode *dir, argument
80 struct efivarfs_fs_info *info = dir->i_sb->s_fs_info;
108 inode = efivarfs_get_inode(dir->i_sb, dir, mode, 0, is_removable);
137 static int efivarfs_unlink(struct inode *dir, struct dentry *dentry) argument
19 efivarfs_get_inode(struct super_block *sb, const struct inode *dir, int mode, dev_t dev, bool is_removable) argument

Completed in 276 milliseconds

<<11121314151617181920>>