/linux-master/tools/testing/selftests/bpf/ |
H A D | unpriv_helpers.c | 18 fd = open("/proc/cmdline", O_RDONLY); 20 perror("open /proc/cmdline");
|
H A D | cgroup_helpers.c | 71 fd = open(path, O_RDONLY); 92 cfd = open(path, O_RDWR); 135 fd = open(file_path, O_RDWR); 259 fd = open(cgroup_procs_path, O_WRONLY); 367 fd = open(CGROUP_MOUNT_PATH, O_RDONLY); 415 fd = open(cgroup_path, O_RDONLY); 581 fd = open(cgroup_classid_path, O_WRONLY); 697 * open it here. 706 return open(cgroup_workdir, O_RDONLY);
|
/linux-master/include/drm/ |
H A D | drm_accel.h | 24 .open = accel_open,\
|
/linux-master/tools/testing/selftests/arm64/fp/ |
H A D | za-fork.c | 86 ret = open("/proc/sys/abi/sme_default_vector_length", O_RDONLY, 0);
|
/linux-master/arch/um/drivers/ |
H A D | chan_user.h | 21 int (*open)(int, int, int, void *, char **); member in struct:chan_ops
|
/linux-master/scripts/clang-tools/ |
H A D | gen_compile_commands.py | 139 with open(modorder) as f: 147 with open(mod) as m: 212 with open(cmdfile, 'rt') as f: 223 with open(output, 'wt') as f:
|
H A D | run-clang-tools.py | 88 with open(args.path, "r") as f: 94 devnull = os.open(os.devnull, os.O_WRONLY)
|
/linux-master/drivers/ras/ |
H A D | debugfs.c | 40 .open = trace_open,
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_display_debugfs_params.c | 53 .open = intel_display_param_int_open, 62 .open = intel_display_param_int_open, 106 .open = intel_display_param_uint_open, 115 .open = intel_display_param_uint_open,
|
/linux-master/tools/perf/util/ |
H A D | zlib.c | 32 input_fd = open(input, O_RDONLY); 85 int fd = open(input, O_RDONLY);
|
/linux-master/drivers/comedi/drivers/ni_routing/tools/ |
H A D | convert_csv_to_c.py | 258 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f: 262 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f: 269 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f: 284 with open(filename,'w') as f: 447 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f: 451 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f: 458 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f: 473 with open(filename,'w') as f:
|
/linux-master/drivers/net/wan/ |
H A D | hdlc.c | 17 * - proto->open(), close(), start(), stop() calls are serialized. 18 * The order is: open, [ start, stop ... ] close ... 126 if (!hdlc->open) 147 printk(KERN_DEBUG "%s: hdlc_open() carrier %i open %i\n", dev->name, 148 hdlc->carrier, hdlc->open); 154 if (hdlc->proto->open) { 155 int result = hdlc->proto->open(dev); 170 hdlc->open = 1; 182 printk(KERN_DEBUG "%s: hdlc_close() carrier %i open %i\n", dev->name, 183 hdlc->carrier, hdlc->open); [all...] |
/linux-master/fs/nfs_common/ |
H A D | grace.c | 64 __state_in_grace(struct net *net, bool open) argument 69 if (!open)
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_debugfs.c | 77 .open = kfd_debugfs_open, 85 .open = kfd_debugfs_open,
|
/linux-master/samples/pfsm/ |
H A D | pfsm-wakeup.c | 38 fd_rtc = open(RTC_A, O_RDONLY); 40 perror("Failed to open RTC device."); 45 fd_pfsm[i] = open(dev_pfsm[i], O_RDWR); 47 perror("Failed to open PFSM device.");
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_rd.c | 24 * do anything if userspace doesn't have the debugfs file open. 84 bool open; member in struct:msm_rd_state 106 wait_event(rd->fifo_event, circ_space(&rd->fifo) > 0 || !rd->open); 107 if (!rd->open) 186 if (rd->open) { 192 rd->open = true; 219 rd->open = false; 228 .open = rd_open, 360 if (!rd->open)
|
/linux-master/fs/nfsd/ |
H A D | nfs4proc.c | 105 struct nfsd4_compound_state *cstate, struct nfsd4_open *open) 109 if (open->op_create == NFS4_OPEN_CREATE) { 110 if (open->op_createmode == NFS4_CREATE_UNCHECKED 111 || open->op_createmode == NFS4_CREATE_GUARDED) 113 open->op_bmval, nfsd_attrmask); 114 else if (open->op_createmode == NFS4_CREATE_EXCLUSIVE4_1) 116 open->op_bmval, nfsd41_ex_attrmask); 123 is_create_with_attrs(struct nfsd4_open *open) argument 125 return open->op_create == NFS4_OPEN_CREATE 126 && (open 104 nfsd4_check_open_attributes(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open) argument 142 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int accmode) argument 179 nfsd4_set_open_owner_reply_cache(struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh *resfh) argument 194 nfsd4_vfs_create(struct svc_fh *fhp, struct dentry *child, struct nfsd4_open *open) argument 232 nfsd4_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, struct svc_fh *resfhp, struct nfsd4_open *open) argument 418 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh **resfh) argument 485 do_open_fhandle(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open) argument 529 struct nfsd4_open *open = &u->open; local 653 struct nfsd4_open *open = &op->u.open; local [all...] |
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_debugfs.c | 142 .open = simple_open, 175 .open = fw_log_fops_open, 205 .open = simple_open, 232 .open = simple_open, 259 .open = simple_open, 285 .open = simple_open, 310 .open = simple_open, 332 .open = simple_open,
|
/linux-master/tools/testing/selftests/devices/ |
H A D | test_discoverable_devices.py | 58 with open(os.path.join(sysfs_dev_dir, "uevent")) as f: 67 with open(os.path.join(sysfs_dev_dir, "firmware_node", "uid")) as f: 73 with open(os.path.join(sysfs_dev_dir, "uevent")) as f: 79 with open(os.path.join(sysfs_dev_dir, "uevent")) as f: 269 with open(platform_compatible_file) as f: 277 with open(vendor_dmi_file) as f: 279 with open(product_dmi_file) as f: 290 with open(yaml_file) as f:
|
/linux-master/scripts/ |
H A D | diffconfig | 97 a = readconfig(open(configa_filename)) 98 b = readconfig(open(configb_filename)) 138 devnull = os.open(os.devnull, os.O_WRONLY)
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_debugfs_params.c | 75 .open = i915_param_int_open, 84 .open = i915_param_int_open, 138 .open = i915_param_uint_open, 147 .open = i915_param_uint_open, 192 .open = i915_param_charp_open, 201 .open = i915_param_charp_open,
|
/linux-master/sound/soc/qcom/qdsp6/ |
H A D | q6adm.c | 183 } __packed *open = data->payload; local 189 if (open->copp_id == INVALID_COPP_ID) { 191 open->copp_id); 198 copp->id = open->copp_id; 325 struct q6adm_cmd_device_open_v5 *open; local 331 pkt_size = APR_HDR_SIZE + sizeof(*open); 337 open = p + APR_HDR_SIZE; 346 open->flags = ADM_LEGACY_DEVICE_SESSION; 347 open->mode_of_operation = path; 348 open [all...] |
/linux-master/sound/isa/wavefront/ |
H A D | wavefront_midi.c | 246 spin_lock_irqsave (&midi->open, flags); 249 spin_unlock_irqrestore (&midi->open, flags); 271 spin_lock_irqsave (&midi->open, flags); 274 spin_unlock_irqrestore (&midi->open, flags); 296 spin_lock_irqsave (&midi->open, flags); 298 spin_unlock_irqrestore (&midi->open, flags); 320 spin_lock_irqsave (&midi->open, flags); 322 spin_unlock_irqrestore (&midi->open, flags); 565 .open = snd_wavefront_midi_output_open, 572 .open [all...] |
/linux-master/drivers/hid/ |
H A D | hid-roccat.c | 42 int open; member in struct:roccat_device 171 if (!device->open++) { 175 --device->open; 182 --device->open; 223 if (!--device->open) { 371 if (device->open) { 412 .open = roccat_open,
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | base_test.c | 182 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); 205 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); 277 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); 305 ASSERT_EQ(-1, open("/", O_RDONLY | O_DIRECTORY | O_CLOEXEC)); 307 dir_fd = open("/tmp", O_RDONLY | O_DIRECTORY | O_CLOEXEC); 317 dir_fd = open("/", O_RDONLY | O_DIRECTORY | O_CLOEXEC); 320 dir_fd = open("/tmp", O_RDONLY | O_DIRECTORY | O_CLOEXEC);
|