Searched refs:fmode (Results 1 - 25 of 41) sorted by relevance

12

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_libbpf_get_fd_by_id_opts.c27 int BPF_PROG(check_access, struct bpf_map *map, fmode_t fmode) argument
32 if (fmode & FMODE_WRITE)
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-max.c35 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; local
78 if (fmode == 2 || fmode == 1)
201 u32 fmode = dev->link[port->lnr].lnb.fmode; local
205 switch (fmode) {
240 u32 fmode = dev->link[port->lnr].lnb.fmode; local
[all...]
H A Dddbridge.h285 u32 fmode; member in struct:ddb_lnb
/linux-master/drivers/spi/
H A Dspi-stm32-qspi.c112 u32 fmode; member in struct:stm32_qspi
282 if (qspi->fmode == CCR_FMODE_MM)
308 qspi->fmode == CCR_FMODE_APM)
380 ccr = qspi->fmode;
402 if (op->addr.nbytes && qspi->fmode != CCR_FMODE_MM)
405 if (qspi->fmode == CCR_FMODE_APM)
417 if (err || err_poll_status || qspi->fmode == CCR_FMODE_MM)
465 qspi->fmode = CCR_FMODE_APM;
488 qspi->fmode = CCR_FMODE_INDR;
490 qspi->fmode
[all...]
/linux-master/drivers/ptp/
H A Dptp_private.h136 int ptp_open(struct posix_clock_context *pccontext, fmode_t fmode);
/linux-master/drivers/video/fbdev/
H A Damifb.c218 - the display DMA always fetches 64 pixels at a time (fmode = 3).
748 u_short fmode; member in struct:amifb_par::__anon237
780 u_short fmode; /* vmode */ member in struct:amifb_par
1477 par->fmode = bplfetchmode[maxfmode];
1485 par->fmode |= FMODE_SSCAN2 | FMODE_BSCAN2;
1556 if (IS_AGA && par->fmode & FMODE_BSCAN2)
1637 if (IS_AGA && (par->fmode & FMODE_BSCAN2))
1726 custom.fmode = par->fmode;
1864 delta = 1 << par->crsr.fmode;
1926 u_short fmode; local
[all...]
/linux-master/drivers/media/usb/dvb-usb/
H A Dcxusb-analog.c192 if (bt656->fmode == LINE_SAMPLES) {
248 bt656->fmode = LINE_SAMPLES;
253 bt656->fmode = VBI_SAMPLES;
283 bt656->fmode = START_SEARCH;
298 bt656->fmode = START_SEARCH;
309 if (bt656->fmode == START_SEARCH) {
311 } else if (bt656->fmode == LINE_SAMPLES) {
315 } else if (bt656->fmode == VBI_SAMPLES) {
346 bt656->fmode = LINE_SAMPLES;
362 bt656->fmode
[all...]
H A Dcxusb.h106 enum cxusb_bt656_fmode fmode; member in struct:cxusb_bt656_params
/linux-master/fs/nfs/
H A Dnfs4trace.h537 __field(unsigned long, fmode)
555 __entry->fmode = (__force unsigned long)ctx->mode;
585 "error=%ld (%s) flags=%lu (%s) fmode=%s "
593 show_fs_fmode_flags(__entry->fmode),
626 __field(unsigned int, fmode)
637 __entry->fmode = (__force unsigned int)state->state;
645 "fmode=%s fileid=%02x:%02x:%llu "
647 __entry->fmode ? show_fs_fmode_flags(__entry->fmode) :
670 __field(unsigned int, fmode)
[all...]
H A Dnfs4proc.c1324 fmode_t fmode, int openflags)
1328 switch (fmode & (FMODE_READ | FMODE_WRITE)) {
1377 struct nfs4_state_owner *sp, fmode_t fmode, int flags,
1411 p->o_arg.fmode = fmode & (FMODE_READ|FMODE_WRITE);
1414 fmode, flags);
1506 fmode_t fmode)
1508 switch(fmode & (FMODE_READ|FMODE_WRITE)) {
1551 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, argument
1556 if ((delegation->type & fmode) !
1323 nfs4_map_atomic_open_share(struct nfs_server *server, fmode_t fmode, int openflags) argument
1376 nfs4_opendata_alloc(struct dentry *dentry, struct nfs4_state_owner *sp, fmode_t fmode, int flags, const struct nfs4_open_createattrs *c, enum open_claim_type4 claim, gfp_t gfp_mask) argument
1505 nfs4_mode_match_open_stateid(struct nfs4_state *state, fmode_t fmode) argument
1573 update_open_stateflags(struct nfs4_state *state, fmode_t fmode) argument
1663 nfs_clear_open_stateid_locked(struct nfs4_state *state, nfs4_stateid *stateid, fmode_t fmode) argument
1695 nfs_clear_open_stateid(struct nfs4_state *state, nfs4_stateid *arg_stateid, nfs4_stateid *stateid, fmode_t fmode) argument
1766 nfs_state_set_open_stateid(struct nfs4_state *state, const nfs4_stateid *open_stateid, fmode_t fmode, nfs4_stateid *freeme) argument
1799 nfs_state_set_delegation(struct nfs4_state *state, const nfs4_stateid *deleg_stateid, fmode_t fmode) argument
1821 update_open_stateid(struct nfs4_state *state, const nfs4_stateid *open_stateid, const nfs4_stateid *delegation, fmode_t fmode) argument
1895 nfs4_return_incompatible_delegation(struct inode *inode, fmode_t fmode) argument
1915 fmode_t fmode = opendata->o_arg.fmode; local
2160 nfs4_open_recover_helper(struct nfs4_opendata *opendata, fmode_t fmode) argument
2658 nfs4_opendata_access(const struct cred *cred, struct nfs4_opendata *opendata, struct nfs4_state *state, fmode_t fmode) argument
3156 fmode_t fmode = _nfs4_ctx_to_openmode(ctx); local
5377 nfs4_set_rw_stateid(nfs4_stateid *stateid, const struct nfs_open_context *ctx, const struct nfs_lock_context *l_ctx, fmode_t fmode) argument
5386 nfs4_stateid_is_current(nfs4_stateid *stateid, const struct nfs_open_context *ctx, const struct nfs_lock_context *l_ctx, fmode_t fmode) argument
[all...]
H A Dnfs4state.c684 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) argument
686 if (state->state == fmode)
689 if ((fmode & FMODE_WRITE) != (state->state & FMODE_WRITE)) {
690 if (fmode & FMODE_WRITE)
695 state->state = fmode;
780 fmode_t fmode, gfp_t gfp_mask, int wait)
789 switch (fmode & (FMODE_READ | FMODE_WRITE)) {
824 void nfs4_close_state(struct nfs4_state *state, fmode_t fmode) argument
826 __nfs4_close(state, fmode, GFP_KERNEL, 0);
829 void nfs4_close_sync(struct nfs4_state *state, fmode_t fmode) argument
779 __nfs4_close(struct nfs4_state *state, fmode_t fmode, gfp_t gfp_mask, int wait) argument
1044 nfs4_select_rw_stateid(struct nfs4_state *state, fmode_t fmode, const struct nfs_lock_context *l_ctx, nfs4_stateid *dst, const struct cred **cred) argument
[all...]
H A Dnfstrace.h504 __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),
H A Dnfs4_fs.h322 fmode_t fmode);
330 fmode_t fmode);
/linux-master/fs/ceph/
H A Dioctl.c250 if ((fi->fmode & CEPH_FILE_MODE_LAZY) == 0) {
252 fi->fmode |= CEPH_FILE_MODE_LAZY;
254 __ceph_touch_fmode(ci, mdsc, fi->fmode);
H A Dfile.c201 int fmode, bool isdir)
235 ceph_get_fmode(ci, fmode, 1);
236 fi->fmode = fmode;
252 ceph_put_fmode(ci, fi->fmode, 1);
261 * if we fail, clean up by dropping fmode reference on the ceph_inode
263 static int ceph_init_file(struct inode *inode, struct file *file, int fmode) argument
273 ret = ceph_init_file_info(inode, file, fmode,
300 int ceph_renew_caps(struct inode *inode, int fmode) argument
309 __ceph_touch_fmode(ci, mdsc, fmode);
200 ceph_init_file_info(struct inode *inode, struct file *file, int fmode, bool isdir) argument
368 int flags, fmode, wanted; local
[all...]
H A Dcaps.c645 * @fmode is the open file mode, if we are opening a file, otherwise
3005 int fmode = 0; local
3007 fmode |= CEPH_FILE_MODE_RD;
3009 fmode |= CEPH_FILE_MODE_WR;
3010 return fmode;
3055 if (fi && (fi->fmode & CEPH_FILE_MODE_WR) &&
3083 /* make sure used fmode not timeout */
3108 if (fi && (fi->fmode & CEPH_FILE_MODE_WR) &&
4686 struct ceph_mds_client *mdsc, int fmode)
4689 if (fmode
4685 __ceph_touch_fmode(struct ceph_inode_info *ci, struct ceph_mds_client *mdsc, int fmode) argument
4700 ceph_get_fmode(struct ceph_inode_info *ci, int fmode, int count) argument
4734 ceph_put_fmode(struct ceph_inode_info *ci, int fmode, int count) argument
[all...]
/linux-master/fs/vboxsf/
H A Dvfsmod.h30 umode_t fmode; member in struct:vboxsf_options
H A Dutils.c96 mode = sbi->o.fmode;
107 mode = sbi->o.fmode;
/linux-master/sound/core/seq/oss/
H A Dseq_oss_midi.c317 snd_seq_oss_midi_open(struct seq_oss_devinfo *dp, int dev, int fmode) argument
336 if (is_write_mode(fmode))
338 if (is_read_mode(fmode))
/linux-master/arch/m68k/include/asm/
H A Damigahw.h203 unsigned short fmode; member in struct:CUSTOM
/linux-master/fs/isofs/
H A Dinode.c161 umode_t fmode; member in struct:iso9660_options
352 popt->fmode = popt->dmode = ISOFS_INVALID_MODE;
457 popt->fmode = option;
518 seq_printf(m, ",fmode=%o", sbi->s_fmode);
896 if (opt.fmode != ISOFS_INVALID_MODE)
897 sbi->s_fmode = opt.fmode & 0777;
/linux-master/drivers/char/
H A Dmem.c688 fmode_t fmode; member in struct:memdev
721 filp->f_mode |= dev->fmode;
/linux-master/init/
H A Dinitramfs.c330 static void __init clean_path(char *path, umode_t fmode) argument
335 (st.mode ^ fmode) & S_IFMT) {
/linux-master/fs/xfs/
H A Dxfs_ioctl.c198 fmode_t fmode; local
220 fmode = OPEN_FMODE(permflag);
222 (fmode & FMODE_WRITE) && IS_APPEND(inode)) {
227 if ((fmode & FMODE_WRITE) && IS_IMMUTABLE(inode)) {
233 if (S_ISDIR(inode->i_mode) && (fmode & FMODE_WRITE)) {
/linux-master/fs/udf/
H A Dsuper.c229 umode_t fmode; member in struct:udf_options
249 uopt->fmode = sbi->s_fmode;
262 uopt->fmode = UDF_INVALID_MODE;
638 uopt->fmode = result.uint_32 & 0777;
667 sbi->s_fmode = uopt->fmode;
2151 sbi->s_fmode = uopt->fmode;

Completed in 493 milliseconds

12