/linux-master/tools/testing/selftests/mm/ |
H A D | ksm_functional_tests.c | 254 ksft_test_result_skip("open(\"/proc/self/ksm_stat\") failed\n"); 258 ksft_test_result_skip("open \"/sys/kernel/mm/ksm/use_zero_pages\" failed\n"); 614 mem_fd = open("/proc/self/mem", O_RDWR); 617 ksm_fd = open("/sys/kernel/mm/ksm/run", O_RDWR); 619 ksft_exit_skip("open(\"/sys/kernel/mm/ksm/run\") failed\n"); 620 ksm_full_scans_fd = open("/sys/kernel/mm/ksm/full_scans", O_RDONLY); 622 ksft_exit_skip("open(\"/sys/kernel/mm/ksm/full_scans\") failed\n"); 623 pagemap_fd = open("/proc/self/pagemap", O_RDONLY); 625 ksft_exit_skip("open(\"/proc/self/pagemap\") failed\n"); 626 proc_self_ksm_stat_fd = open("/pro [all...] |
/linux-master/drivers/gnss/ |
H A D | sirf.c | 50 bool open; member in struct:sirf_data 95 data->open = true; 101 data->open = false; 119 data->open = false; 135 data->open = false; 158 .open = sirf_open, 176 if (data->open)
|
/linux-master/fs/smb/client/ |
H A D | smb2misc.c | 558 cifs_dbg(FYI, "found in the open list\n"); 586 struct cifs_pending_open *open; local 589 list_for_each_entry(open, &tcon->pending_opens, olist) { 590 if (memcmp(open->lease_key, rsp->LeaseKey, 595 found = open; 598 cifs_dbg(FYI, "found in the pending open list\n"); 602 open->oplock = lease_state; 615 struct cifs_pending_open *open; local 636 open = smb2_tcon_find_pending_open_lease(tcon, 638 if (open) { [all...] |
H A D | misc.c | 663 cifs_del_pending_open(struct cifs_pending_open *open) argument 665 spin_lock(&tlink_tcon(open->tlink)->open_file_lock); 666 list_del(&open->olist); 667 spin_unlock(&tlink_tcon(open->tlink)->open_file_lock); 672 struct cifs_pending_open *open) 674 memcpy(open->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); 675 open->oplock = CIFS_OPLOCK_NO_CHANGE; 676 open->tlink = tlink; 677 fid->pending_open = open; 678 list_add_tail(&open 671 cifs_add_pending_open_locked(struct cifs_fid *fid, struct tcon_link *tlink, struct cifs_pending_open *open) argument 682 cifs_add_pending_open(struct cifs_fid *fid, struct tcon_link *tlink, struct cifs_pending_open *open) argument [all...] |
/linux-master/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-sgmii.c | 60 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->open)) 63 return adpt->phy.sgmii_ops->open(adpt); 272 .open = emac_sgmii_common_open, 280 .open = emac_sgmii_common_open, 289 .open = emac_sgmii_common_open,
|
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-empty-vm.c | 220 int fd = open(buf, O_RDONLY); 222 perror("open /proc/${pid}/maps"); 242 int fd = open(buf, O_RDONLY); 251 perror("open /proc/${pid}/numa_maps"); 265 int fd = open(buf, O_RDONLY); 274 perror("open /proc/${pid}/smaps"); 329 int fd = open(buf, O_RDONLY); 338 perror("open /proc/${pid}/smaps_rollup"); 373 int fd = open(buf, O_RDONLY); 375 perror("open /pro [all...] |
H A D | proc-pid-vm.c | 207 fd1 = open(buf, O_RDONLY|O_CLOEXEC); 309 if (open("/", O_RDONLY|O_DIRECTORY|O_PATH) != 0) { 361 fd = open(buf, O_RDONLY); 380 fd = open(buf, O_RDONLY); 436 fd = open(buf, O_RDONLY); 472 fd = open(buf, O_RDONLY);
|
H A D | fd-001-lookup.c | 146 fd = open("/", O_PATH|O_DIRECTORY); 153 fd = open("/", O_PATH|O_DIRECTORY);
|
/linux-master/tools/lib/api/fs/ |
H A D | fs.c | 296 int fd = open(filename, O_RDONLY), err = -1; 314 int fd = open(filename, O_RDONLY), err = -1; 354 io.fd = open(filename, O_RDONLY); 371 int fd = open(filename, O_WRONLY), err = -1; 460 io.fd = open(path, O_RDONLY);
|
/linux-master/sound/soc/qcom/qdsp6/ |
H A D | q6asm.c | 931 struct asm_stream_cmd_open_write_v3 *open; local 936 pkt_size = APR_HDR_SIZE + sizeof(*open); 943 open = p + APR_HDR_SIZE; 947 open->mode_flags = 0x00; 948 open->mode_flags |= ASM_LEGACY_STREAM_SESSION; 950 open->mode_flags |= BIT(ASM_SHIFT_GAPLESS_MODE_FLAG); 953 open->sink_endpointype = ASM_END_POINT_DEVICE_MATRIX; 954 open->bits_per_sample = bits_per_sample; 955 open->postprocopo_id = ASM_NULL_POPP_TOPOLOGY; 959 open 1504 struct asm_stream_cmd_open_read_v3 *open; local [all...] |
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.c | 94 .open = simple_open, 164 .open = simple_open, \ 217 .open = simple_open, 236 .open = simple_open, 301 .open = simple_open, 371 .open = simple_open, 413 .open = simple_open, 512 .open = simple_open, 622 .open = simple_open, 680 .open [all...] |
/linux-master/fs/nfsd/ |
H A D | nfs4state.c | 108 * the refcount on the open stateid to drop. 544 find_openstateowner_str_locked(unsigned int hashval, struct nfsd4_open *open, argument 555 if (same_owner_str(so, &open->op_owner)) 562 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open, argument 568 oo = find_openstateowner_str_locked(hashval, open, clp); 704 /* hash tables for lock and open owners */ 742 * new_stp: normal open, not open upgrade. 860 * Allocate a new open/delegation state counter. This is needed for 1715 * All nfs4 states (open, loc 4741 nfsd4_find_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) argument 4854 nfsd4_find_and_lock_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) argument 4869 alloc_init_open_stateowner(unsigned int strhashval, struct nfsd4_open *open, struct nfsd4_compound_state *cstate) argument 4900 init_open_stateid(struct nfs4_file *fp, struct nfsd4_open *open) argument 5322 nfsd4_process_open1(struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct nfsd_net *nn) argument 5405 nfsd4_is_deleg_cur(struct nfsd4_open *open) argument 5412 nfs4_check_deleg(struct nfs4_client *cl, struct nfsd4_open *open, struct nfs4_delegation **dp) argument 5461 nfsd4_truncate(struct svc_rqst *rqstp, struct svc_fh *fh, struct nfsd4_open *open) argument 5478 nfs4_get_vfs_file(struct svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct nfsd4_open *open, bool new_stp) argument 5566 nfs4_upgrade_open(struct svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct nfsd4_open *open) argument 5697 nfsd4_verify_deleg_dentry(struct nfsd4_open *open, struct nfs4_file *fp, struct svc_fh *parent) argument 5726 nfsd4_verify_setuid_write(struct nfsd4_open *open, struct nfsd_file *nf) argument 5737 nfs4_set_delegation(struct nfsd4_open *open, struct nfs4_ol_stateid *stp, struct svc_fh *parent) argument 5867 nfsd4_open_deleg_none_ext(struct nfsd4_open *open, int status) argument 5913 nfs4_open_delegation(struct nfsd4_open *open, struct nfs4_ol_stateid *stp, struct svc_fh *currentfh) argument 5993 nfsd4_deleg_xgrade_none_ext(struct nfsd4_open *open, struct nfs4_delegation *dp) argument 6024 nfsd4_process_open2(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open) argument 6133 nfsd4_cleanup_open_state(struct nfsd4_compound_state *cstate, struct nfsd4_open *open) argument [all...] |
H A D | nfs4xdr.c | 982 nfsd4_decode_createhow4(struct nfsd4_compoundargs *argp, struct nfsd4_open *open) argument 986 if (xdr_stream_decode_u32(argp->xdr, &open->op_createmode) < 0) 988 switch (open->op_createmode) { 991 status = nfsd4_decode_fattr4(argp, open->op_bmval, 992 ARRAY_SIZE(open->op_bmval), 993 &open->op_iattr, &open->op_acl, 994 &open->op_label, &open->op_umask); 999 status = nfsd4_decode_verifier4(argp, &open 1024 nfsd4_decode_openflag4(struct nfsd4_compoundargs *argp, struct nfsd4_open *open) argument 1108 nfsd4_decode_open_claim4(struct nfsd4_compoundargs *argp, struct nfsd4_open *open) argument 1159 struct nfsd4_open *open = &u->open; local 4141 nfsd4_encode_open_read_delegation4(struct xdr_stream *xdr, struct nfsd4_open *open) argument 4168 nfsd4_encode_open_write_delegation4(struct xdr_stream *xdr, struct nfsd4_open *open) argument 4189 nfsd4_encode_open_none_delegation4(struct xdr_stream *xdr, struct nfsd4_open *open) argument 4210 nfsd4_encode_open_delegation4(struct xdr_stream *xdr, struct nfsd4_open *open) argument 4244 struct nfsd4_open *open = &u->open; local [all...] |
/linux-master/sound/isa/ |
H A D | cmi8330.c | 161 snd_pcm_open_callback_t open; member in struct:snd_cmi8330::snd_cmi8330_stream 395 * - replace the open callback with the new one, which replaces the 397 * and calls again the original open callback of the chip. 413 /* replace the private_data and call the original open callback */ 415 return chip->streams[SNDRV_PCM_STREAM_PLAYBACK].open(substream); 422 /* replace the private_data and call the original open callback */ 424 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream); 446 chip->streams[CMI_SB_STREAM].open = ops->open; 447 chip->streams[CMI_SB_STREAM].ops.open [all...] |
/linux-master/net/mac80211/ |
H A D | debugfs.c | 47 .open = simple_open, \ 148 .open = simple_open, 200 .open = simple_open, 230 .open = simple_open, 311 .open = simple_open, 361 .open = simple_open, 412 .open = simple_open, 439 .open = simple_open, 628 .open = simple_open, \
|
/linux-master/drivers/usb/image/ |
H A D | mdc800.c | 158 int open; // Camera device open ? member in struct:mdc800_data 493 mdc800->open=0; 618 if (mdc800->open) 643 mdc800->open=1; 660 if (mdc800->open && (mdc800->state != NOT_CONNECTED)) 665 mdc800->open=0; 699 if (!mdc800->open) 790 if (!mdc800->open ) 951 .open [all...] |
/linux-master/drivers/gpu/drm/i2c/ |
H A D | tda9950.c | 70 bool open; member in struct:tda9950_priv 145 if (!priv->open) 262 if (priv->glue && priv->glue->open) 263 ret = priv->glue->open(priv->glue->data); 265 priv->open = true; 272 priv->open = false;
|
/linux-master/sound/soc/intel/avs/ |
H A D | debugfs.c | 69 .open = simple_open, 94 .open = simple_open, 170 .open = simple_open, 208 .open = simple_open, 283 .open = strace_open, 408 .open = simple_open,
|
/linux-master/Documentation/trace/ |
H A D | function-graph-fold.vim | 5 " use the usual vim fold commands, such as "za", to open and close nested
|
/linux-master/arch/arm/vdso/ |
H A D | vdsomunge.c | 138 infd = open(infile, O_RDONLY); 140 fail("Cannot open %s: %s\n", infile, strerror(errno)); 179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); 181 fail("Cannot open %s: %s\n", outfile, strerror(errno));
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_debugfs.c | 117 .open = simple_open, 183 .open = simple_open,
|
/linux-master/tools/hv/ |
H A D | hv_fcopy_daemon.c | 74 target_fd = open(target_fname, 195 fcopy_fd = open("/dev/vmbus/hv_fcopy", O_RDWR); 198 syslog(LOG_ERR, "open /dev/vmbus/hv_fcopy failed; error: %d %s",
|
/linux-master/sound/soc/intel/atom/ |
H A D | sst-mfld-platform.h | 98 int (*open)(struct device *dev, member in struct:compress_sst_ops 120 int (*open)(struct device *dev, struct snd_sst_params *str_param); member in struct:sst_ops
|
/linux-master/tools/testing/selftests/mount/ |
H A D | nosymfollow-test.c | 55 fd = open(filename, O_WRONLY); 59 die("open of %s failed: %s\n", filename, strerror(errno)); 135 link = open(LINK, 0, O_RDWR);
|
/linux-master/arch/sparc/boot/ |
H A D | piggyback.c | 198 if ((image = open(argv[2], O_RDWR)) < 0) 255 if ((tail = open(argv[4], O_RDONLY)) < 0)
|