/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-max.c | 35 static int fmode; variable 36 module_param(fmode, int, 0444); 37 MODULE_PARM_DESC(fmode, "frontend emulation mode"); 76 u32 fmode = dev->link[port->lnr].lnb.fmode; in max_send_master_cmd() local 78 if (fmode == 2 || fmode == 1) in max_send_master_cmd() 201 u32 fmode = dev->link[port->lnr].lnb.fmode; in max_set_tone() local 205 switch (fmode) { in max_set_tone() 240 u32 fmode = dev->link[port->lnr].lnb.fmode; in max_set_voltage() local 245 switch (fmode) { in max_set_voltage() 249 if (fmode == 3) in max_set_voltage() [all …]
|
H A D | ddbridge.h | 285 u32 fmode; member
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_libbpf_get_fd_by_id_opts.c | 27 int BPF_PROG(check_access, struct bpf_map *map, fmode_t fmode) in BPF_PROG() argument 32 if (fmode & FMODE_WRITE) in BPF_PROG()
|
/linux/fs/nfsd/ |
H A D | localio.c | 50 * @fmode: fmode_t to use for open 63 const struct nfs_fh *nfs_fh, const fmode_t fmode) in nfsd_open_local_fh() 79 if (fmode & FMODE_READ) in nfsd_open_local_fh() 81 if (fmode & FMODE_WRITE) in nfsd_open_local_fh() 61 nfsd_open_local_fh(struct net * net,struct auth_domain * dom,struct rpc_clnt * rpc_clnt,const struct cred * cred,const struct nfs_fh * nfs_fh,const fmode_t fmode) nfsd_open_local_fh() argument
|
/linux/drivers/video/fbdev/ |
H A D | amifb.c | 748 u_short fmode; member 780 u_short fmode; /* vmode */ member 1477 par->fmode = bplfetchmode[maxfmode]; in ami_decode_var() 1485 par->fmode |= FMODE_SSCAN2 | FMODE_BSCAN2; in ami_decode_var() 1556 if (IS_AGA && par->fmode & FMODE_BSCAN2) in ami_encode_var() 1637 if (IS_AGA && (par->fmode & FMODE_BSCAN2)) in ami_update_par() 1726 custom.fmode = par->fmode; in ami_init_display() 1864 delta = 1 << par->crsr.fmode; in ami_get_var_cursorinfo() 1926 u_short fmode; in ami_set_var_cursorinfo() local 1932 fmode = TAG_FMODE_1; in ami_set_var_cursorinfo() [all …]
|
/linux/fs/ceph/ |
H A D | file.c | 201 int fmode, bool isdir) in ceph_init_file_info() argument 235 ceph_get_fmode(ci, fmode, 1); in ceph_init_file_info() 236 fi->fmode = fmode; in ceph_init_file_info() 252 ceph_put_fmode(ci, fi->fmode, 1); in ceph_init_file_info() 263 static int ceph_init_file(struct inode *inode, struct file *file, int fmode) in ceph_init_file() argument 273 ret = ceph_init_file_info(inode, file, fmode, in ceph_init_file() 300 int ceph_renew_caps(struct inode *inode, int fmode) in ceph_renew_caps() argument 309 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_renew_caps() 368 int flags, fmode, wanted; in ceph_open() local 393 fmode = ceph_flags_to_mode(flags); in ceph_open() [all …]
|
H A D | ioctl.c | 250 if ((fi->fmode & CEPH_FILE_MODE_LAZY) == 0) { in ceph_ioctl_lazyio() 252 fi->fmode |= CEPH_FILE_MODE_LAZY; in ceph_ioctl_lazyio() 254 __ceph_touch_fmode(ci, mdsc, fi->fmode); in ceph_ioctl_lazyio()
|
H A D | caps.c | 3000 int fmode = 0; in get_used_fmode() local 3002 fmode |= CEPH_FILE_MODE_RD; in get_used_fmode() 3004 fmode |= CEPH_FILE_MODE_WR; in get_used_fmode() 3005 return fmode; in get_used_fmode() 3050 if (fi && (fi->fmode & CEPH_FILE_MODE_WR) && in __ceph_get_caps() 3109 if (fi && (fi->fmode & CEPH_FILE_MODE_WR) && in __ceph_get_caps() 4713 struct ceph_mds_client *mdsc, int fmode) in __ceph_touch_fmode() argument 4716 if (fmode & CEPH_FILE_MODE_RD) in __ceph_touch_fmode() 4718 if (fmode & CEPH_FILE_MODE_WR) in __ceph_touch_fmode() 4721 if (fmode && in __ceph_touch_fmode() [all …]
|
/linux/fs/nfs/ |
H A D | nfs4proc.c | 1345 nfs4_fmode_to_share_access(fmode_t fmode) in nfs4_fmode_to_share_access() argument 1349 switch (fmode & (FMODE_READ | FMODE_WRITE)) { in nfs4_fmode_to_share_access() 1364 fmode_t fmode, int openflags) in nfs4_map_atomic_open_share() argument 1366 u32 res = nfs4_fmode_to_share_access(fmode); in nfs4_map_atomic_open_share() 1414 struct nfs4_state_owner *sp, fmode_t fmode, int flags, in nfs4_opendata_alloc() argument 1448 p->o_arg.fmode = fmode & (FMODE_READ|FMODE_WRITE); in nfs4_opendata_alloc() 1451 fmode, flags); in nfs4_opendata_alloc() 1543 fmode_t fmode) in nfs4_mode_match_open_stateid() argument 1545 switch(fmode & (FMODE_READ|FMODE_WRITE)) { in nfs4_mode_match_open_stateid() 1588 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument [all …]
|
H A D | nfs4trace.h | 537 __field(unsigned long, fmode) 555 __entry->fmode = (__force unsigned long)ctx->mode; 593 show_fs_fmode_flags(__entry->fmode), 626 __field(unsigned int, fmode) 637 __entry->fmode = (__force unsigned int)state->state; 647 __entry->fmode ? show_fs_fmode_flags(__entry->fmode) : 670 __field(unsigned int, fmode) 682 __entry->fmode = (__force unsigned int)state->state; 695 __entry->fmode ? show_fs_fmode_flags(__entry->fmode) : 923 fmode_t fmode [all …]
|
H A D | nfstrace.h | 504 __field(unsigned long, fmode) 514 __entry->fmode = (__force unsigned long)ctx->mode; 519 "flags=0x%lx (%s) fmode=%s name=%02x:%02x:%llu/%s", 522 show_fs_fmode_flags(__entry->fmode), 542 __field(unsigned long, fmode) 553 __entry->fmode = (__force unsigned long)ctx->mode; 558 "error=%ld (%s) flags=0x%lx (%s) fmode=%s " 563 show_fs_fmode_flags(__entry->fmode), 1691 fmode_t fmode, 1695 TP_ARGS(fh, fmode, erro [all...] |
H A D | nfs4_fs.h | 323 fmode_t fmode); 331 fmode_t fmode);
|
H A D | nfs3xdr.c | 623 umode_t fmode; in decode_fattr3() local 630 p = xdr_decode_ftype3(p, &fmode); in decode_fattr3() 632 fattr->mode = (be32_to_cpup(p++) & ~S_IFMT) | fmode; in decode_fattr3()
|
/linux/fs/xfs/ |
H A D | xfs_handle.c | 242 fmode_t fmode; in xfs_open_by_handle() local 264 fmode = OPEN_FMODE(permflag); in xfs_open_by_handle() 266 (fmode & FMODE_WRITE) && IS_APPEND(inode)) { in xfs_open_by_handle() 271 if ((fmode & FMODE_WRITE) && IS_IMMUTABLE(inode)) { in xfs_open_by_handle() 277 if (S_ISDIR(inode->i_mode) && (fmode & FMODE_WRITE)) { in xfs_open_by_handle()
|
/linux/sound/core/seq/oss/ |
H A D | seq_oss_midi.c | 317 snd_seq_oss_midi_open(struct seq_oss_devinfo *dp, int dev, int fmode) in snd_seq_oss_midi_open() argument 336 if (is_write_mode(fmode)) in snd_seq_oss_midi_open() 338 if (is_read_mode(fmode)) in snd_seq_oss_midi_open()
|
/linux/drivers/ptp/ |
H A D | ptp_private.h | 136 int ptp_open(struct posix_clock_context *pccontext, fmode_t fmode);
|
/linux/drivers/media/usb/dvb-usb/ |
H A D | cxusb.h | 106 enum cxusb_bt656_fmode fmode; member
|
/linux/fs/vboxsf/ |
H A D | vfsmod.h | 30 umode_t fmode; member
|
H A D | utils.c | 96 mode = sbi->o.fmode; in vboxsf_init_inode() 107 mode = sbi->o.fmode; in vboxsf_init_inode()
|
H A D | super.c | 91 ctx->o.fmode = result.uint_32; in vboxsf_parse_param()
|
/linux/drivers/char/ |
H A D | mem.c | 693 fmode_t fmode; member 726 filp->f_mode |= dev->fmode; in memory_open()
|
/linux/arch/m68k/include/asm/ |
H A D | amigahw.h | 203 unsigned short fmode; member
|
/linux/init/ |
H A D | initramfs.c | 331 static void __init clean_path(char *path, umode_t fmode) in clean_path() argument 336 (st.mode ^ fmode) & S_IFMT) { in clean_path()
|
/linux/fs/ |
H A D | splice.c | 50 fmode_t fmode = READ_ONCE(file->f_mode); in pipe_clear_nowait() local 53 if (!(fmode & FMODE_NOWAIT)) in pipe_clear_nowait() 55 } while (!try_cmpxchg(&file->f_mode, &fmode, fmode & ~FMODE_NOWAIT)); in pipe_clear_nowait()
|
/linux/include/linux/ |
H A D | nfs_xdr.h | 476 fmode_t fmode; member 543 fmode_t fmode; member
|