Home
last modified time | relevance | path

Searched refs:opened (Results 1 – 169 of 169) sorted by relevance

/linux-4.1.27/sound/core/seq/oss/
Dseq_oss_synth.c60 int opened; member
118 rec->opened = 0; in snd_seq_oss_synth_probe()
237 info->opened = 0; in snd_seq_oss_synth_setup()
258 info->opened++; in snd_seq_oss_synth_setup()
259 rec->opened++; in snd_seq_oss_synth_setup()
291 info->opened = 1; in snd_seq_oss_synth_setup_midi()
292 midi_synth_dev.opened++; in snd_seq_oss_synth_setup_midi()
315 if (! info->opened) in snd_seq_oss_synth_cleanup()
318 if (midi_synth_dev.opened > 0) { in snd_seq_oss_synth_cleanup()
320 midi_synth_dev.opened--; in snd_seq_oss_synth_cleanup()
[all …]
Dseq_oss_midi.c47 int opened; /* flag for opening */ member
184 mdev->opened = 0; in snd_seq_oss_midi_check_new_port()
336 if (mdev->opened && mdev->devinfo != dp) { in snd_seq_oss_midi_open()
353 if ((mdev->opened & perm) == perm) { in snd_seq_oss_midi_open()
358 perm &= ~mdev->opened; in snd_seq_oss_midi_open()
367 mdev->opened |= PERM_WRITE; in snd_seq_oss_midi_open()
376 mdev->opened |= PERM_READ; in snd_seq_oss_midi_open()
379 if (! mdev->opened) { in snd_seq_oss_midi_open()
400 if (! mdev->opened || mdev->devinfo != dp) { in snd_seq_oss_midi_close()
406 if (mdev->opened & PERM_WRITE) { in snd_seq_oss_midi_close()
[all …]
Dseq_oss_device.h72 int opened; member
/linux-4.1.27/sound/oss/
Dsys_timer.c21 static volatile int opened, tmr_running; variable
53 if (!opened) in poll_def_tmr()
91 if (opened) in def_tmr_open()
97 opened = 1; in def_tmr_open()
109 opened = tmr_running = 0; in def_tmr_close()
178 if (!opened) in def_tmr_get_time()
Dsound_timer.c19 static volatile int initialized, opened, tmr_running; variable
97 if (opened) in timer_open()
102 opened = 1; in timer_open()
109 opened = tmr_running = 0; in timer_close()
176 if (!opened) in timer_get_time()
285 if (!opened) in sound_timer_interrupt()
Dsb_midi.c43 if (devc->opened) in sb_midi_open()
48 devc->opened = 1; in sb_midi_open()
58 devc->opened = 0; in sb_midi_open()
83 devc->opened = 0; in sb_midi_close()
Dv_midi.c55 if (devc->opened) in v_midi_open()
60 devc->opened = 1; in v_midi_open()
85 devc->opened = 0; in v_midi_close()
220 v_devc[0]->opened = v_devc[0]->input_opened = 0; in attach_v_midi()
241 v_devc[1]->opened = v_devc[1]->input_opened = 0; in attach_v_midi()
Duart401.c39 int opened, disabled; member
92 else if (devc->opened & OPEN_READ && devc->midi_input_intr) in uart401_input_loop()
123 if (devc->opened) in uart401_open()
132 devc->opened = mode; in uart401_open()
145 devc->opened = 0; in uart401_close()
315 devc->opened = 0; in probe_uart401()
379 devc->opened = 0; in probe_uart401()
Dmpu401.c42 int opened; /* member
431 else if (devc->opened & OPEN_READ && devc->inputintr != NULL) in mpu401_input_loop()
448 if (devc->base != 0 && (devc->opened & OPEN_READ || devc->mode == MODE_SYNTH)) in mpuintr()
473 if (devc->opened) in mpu401_open()
514 devc->opened = mode; in mpu401_open()
537 devc->opened = 0; in mpu401_close()
615 if (devc->opened && devc->mode == MODE_SYNTH) in mpu401_command()
824 if (devc->opened) in mpu_synth_open()
842 devc->opened = mode; in mpu_synth_open()
873 devc->opened = 0; in mpu_synth_close()
[all …]
Dv_midi.h5 int opened; member
Dsb_audio.c50 if (devc->opened) in sb_audio_open()
63 devc->opened = mode; in sb_audio_open()
104 && (devc->opened & OPEN_READ) && (devc->opened & OPEN_WRITE)) in sb_audio_close()
120 if ((devc->submodel == SUBMDL_ALS007) && (devc->opened & OPEN_READ)) in sb_audio_close()
125 devc->opened = 0; in sb_audio_close()
291 if (devc->opened & OPEN_READ) in sb1_audio_set_speed()
453 if (devc->opened & OPEN_READ && speed > 15000) in sb201_audio_set_speed()
Dsb.h100 int opened; member
/linux-4.1.27/drivers/hv/
Dhv_fcopy.c68 static bool opened; /* currently device opened */ variable
293 if (!opened) in fcopy_read()
349 if (opened) in fcopy_open()
355 opened = true; in fcopy_open()
373 opened = false; in fcopy_release()
412 opened = false; in fcopy_dev_deinit()
/linux-4.1.27/scripts/
Drecordmcount.pl381 my $opened = 0;
457 if (!$opened) {
459 $opened = 1;
543 if (!$opened) {
/linux-4.1.27/include/linux/
Dima.h18 extern int ima_file_check(struct file *file, int mask, int opened);
30 static inline int ima_file_check(struct file *file, int mask, int opened) in ima_file_check() argument
Dhdlcdrv.h87 int opened; member
Dfs.h1655 umode_t create_mode, int *opened);
2220 int *opened);
/linux-4.1.27/security/integrity/ima/
Dima_main.c157 int opened) in process_measurement() argument
240 xattr_value, xattr_len, opened); in process_measurement()
304 int ima_file_check(struct file *file, int mask, int opened) in ima_file_check() argument
308 FILE_CHECK, opened); in ima_file_check()
Dima.h174 int xattr_len, int opened);
190 int xattr_len, int opened) in ima_appraise_measurement() argument
Dima_appraise.c188 int xattr_len, int opened) in ima_appraise_measurement() argument
206 if (opened & FILE_CREATED) { in ima_appraise_measurement()
/linux-4.1.27/fs/ncpfs/
Dfile.c44 atomic_read(&NCP_FINFO(inode)->opened), in ncp_make_open()
49 if (!atomic_read(&NCP_FINFO(inode)->opened)) { in ncp_make_open()
84 atomic_set(&NCP_FINFO(inode)->opened, 1); in ncp_make_open()
90 atomic_inc(&NCP_FINFO(inode)->opened); in ncp_make_open()
Dncp_fs_i.h21 atomic_t opened; member
Dncp_fs.h37 int opened; member
Dinode.c214 if (!atomic_read(&NCP_FINFO(inode)->opened)) { in ncp_update_inode2()
268 atomic_set(&NCP_FINFO(inode)->opened, info->opened); in ncp_iget()
712 finfo.opened = 0; in ncp_fill_super()
Dncplib_kernel.h63 atomic_dec(&NCP_FINFO(inode)->opened); in ncp_inode_close()
Dncplib_kernel.c293 if (atomic_read(&NCP_FINFO(inode)->opened) == 1) { in ncp_make_closed()
294 atomic_set(&NCP_FINFO(inode)->opened, 0); in ncp_make_closed()
809 target->opened = 1; in ncp_open_create_file_or_subdir()
Ddir.c627 entry->opened = 0; in ncp_fill_cache()
868 finfo.opened = 0; in ncp_lookup()
/linux-4.1.27/drivers/input/misc/
Dcma3000_d0x.c80 bool opened; member
236 data->opened = true; in cma3000_open()
252 data->opened = false; in cma3000_close()
261 if (!data->suspended && data->opened) in cma3000_suspend()
275 if (data->suspended && data->opened) in cma3000_resume()
Dadxl34x.c202 bool opened; /* P: mutex */ member
419 if (!ac->suspended && !ac->disabled && ac->opened) in adxl34x_suspend()
432 if (ac->suspended && !ac->disabled && ac->opened) in adxl34x_resume()
463 if (!ac->suspended && ac->opened) { in adxl34x_disable_store()
592 if (!ac->disabled && !ac->suspended && ac->opened) in adxl34x_autosleep_store()
670 ac->opened = true; in adxl34x_input_open()
686 ac->opened = false; in adxl34x_input_close()
/linux-4.1.27/drivers/isdn/hardware/eicon/
Ddivamnt.c47 static unsigned long opened; variable
137 if (test_and_set_bit(0, &opened)) in maint_open()
155 clear_bit(0, &opened); in maint_close()
/linux-4.1.27/sound/atmel/
Dac97c.c83 int opened; member
181 chip->opened++; in atmel_ac97c_playback_open()
200 chip->opened++; in atmel_ac97c_capture_open()
218 chip->opened--; in atmel_ac97c_playback_close()
219 if (!chip->opened) { in atmel_ac97c_playback_close()
235 chip->opened--; in atmel_ac97c_capture_close()
236 if (!chip->opened) { in atmel_ac97c_capture_close()
345 if (chip->opened <= 1) in atmel_ac97c_playback_prepare()
436 if (chip->opened <= 1) in atmel_ac97c_capture_prepare()
528 if (chip->opened <= 1) in atmel_ac97c_playback_trigger()
[all …]
/linux-4.1.27/drivers/tty/hvc/
Dhvsi_lib.c59 if (!pv->is_console && pv->opened) { in hvsi_cd_change()
192 if (!pv->opened) in hvsilib_get_chars()
370 pv->opened = 1; in hvsilib_establish()
397 pv->opened = 0; in hvsilib_close()
/linux-4.1.27/drivers/usb/misc/
Diowarrior.c88 int opened; /* this is 1 if the device is currently open */ member
405 if (!dev->opened) { in iowarrior_write()
625 if (dev->opened) { in iowarrior_open()
637 ++dev->opened; in iowarrior_open()
666 if (dev->opened <= 0) { in iowarrior_release()
670 dev->opened = 0; /* we're closing now */ in iowarrior_release()
906 if (dev->opened) { in iowarrior_disconnect()
/linux-4.1.27/arch/um/drivers/
Dchan_kern.c88 if (chan->opened) in open_one_chan()
106 chan->opened = 1; in open_one_chan()
209 if (!chan->opened) in close_one_chan()
227 chan->opened = 0; in close_one_chan()
489 .opened = 0, in parse_chan()
Dchan.h23 unsigned int opened:1; member
Dnet_kern.c31 static LIST_HEAD(opened);
181 list_add(&lp->list, &opened); in uml_net_open()
794 list_for_each(ele, &opened) { in inet_register()
828 list_for_each(ele, &opened) { in close_devices()
/linux-4.1.27/fs/nfs/
Dnfs4file.c30 int opened = 0; in nfs4_file_open() local
65 inode = NFS_PROTO(dir)->open_context(dir, ctx, openflags, &attr, &opened); in nfs4_file_open()
Ddir.c1469 int *opened) in nfs_finish_open() argument
1474 *opened |= FILE_CREATED; in nfs_finish_open()
1476 err = finish_open(file, dentry, do_open, opened); in nfs_finish_open()
1487 umode_t mode, int *opened) in nfs_atomic_open() argument
1539 inode = NFS_PROTO(dir)->open_context(dir, ctx, open_flags, &attr, opened); in nfs_atomic_open()
1565 err = nfs_finish_open(ctx, ctx->dentry, file, open_flags, opened); in nfs_atomic_open()
Dnfs4proc.c2364 int *opened) in _nfs4_do_open() argument
2437 *opened |= FILE_CREATED; in _nfs4_do_open()
2465 int *opened) in nfs4_do_open() argument
2473 status = _nfs4_do_open(dir, ctx, flags, sattr, label, opened); in nfs4_do_open()
2848 int open_flags, struct iattr *attr, int *opened) in nfs4_atomic_open() argument
2856 state = nfs4_do_open(dir, ctx, open_flags, attr, label, opened); in nfs4_atomic_open()
3548 int opened = 0; in nfs4_proc_create() local
3558 state = nfs4_do_open(dir, ctx, flags, sattr, ilabel, &opened); in nfs4_proc_create()
/linux-4.1.27/fs/
Dnamei.c2715 int *opened) in atomic_open() argument
2786 opened); in atomic_open()
2802 if (*opened & FILE_CREATED) in atomic_open()
2805 WARN_ON(*opened & FILE_CREATED); in atomic_open()
2811 if (excl && !(*opened & FILE_CREATED)) { in atomic_open()
2824 if (*opened & FILE_CREATED) { in atomic_open()
2874 bool got_write, int *opened) in lookup_open() argument
2882 *opened &= ~FILE_CREATED; in lookup_open()
2893 need_lookup, opened); in lookup_open()
2920 *opened |= FILE_CREATED; in lookup_open()
[all …]
Dopen.c790 int *opened) in finish_open() argument
793 BUG_ON(*opened & FILE_OPENED); /* once it's opened, it's opened */ in finish_open()
799 *opened |= FILE_OPENED; in finish_open()
/linux-4.1.27/sound/pci/lola/
Dlola_pcm.c231 if (str->opened) { in lola_pcm_open()
237 str->opened = 1; in lola_pcm_open()
268 s->opened = 0; in lola_cleanup_slave_streams()
280 str->opened = 0; in lola_pcm_close()
483 str[i].opened = 1; in lola_pcm_prepare()
Dlola.h308 unsigned int opened:1; member
/linux-4.1.27/drivers/input/touchscreen/
Dtsc2005.c150 bool opened; member
557 ts->opened = true; in tsc2005_open()
573 ts->opened = false; in tsc2005_close()
783 if (!ts->suspended && ts->opened) in tsc2005_suspend()
800 if (ts->suspended && ts->opened) in tsc2005_resume()
/linux-4.1.27/arch/xtensa/platforms/iss/
Dnetwork.c45 static LIST_HEAD(opened);
319 list_for_each(ele, &opened) { in iss_net_poll()
381 list_add(&lp->opened_list, &opened); in iss_net_open()
403 list_del(&opened); in iss_net_close()
/linux-4.1.27/drivers/misc/
Dphantom.c46 unsigned int opened; member
227 if (dev->opened) { in phantom_open()
238 dev->opened++; in phantom_open()
250 dev->opened = 0; in phantom_release()
/linux-4.1.27/drivers/watchdog/
Df71808e_wdt.c139 unsigned long opened; member
469 if (test_and_set_bit(0, &watchdog.opened)) in watchdog_open()
474 clear_bit(0, &watchdog.opened); in watchdog_open()
487 clear_bit(0, &watchdog.opened); in watchdog_release()
/linux-4.1.27/drivers/vfio/
Dvfio.c85 atomic_t opened; member
217 atomic_set(&group->opened, 0); in vfio_create_group()
1320 int opened; in vfio_group_fops_open() local
1327 opened = atomic_cmpxchg(&group->opened, 0, 1); in vfio_group_fops_open()
1328 if (opened) { in vfio_group_fops_open()
1335 atomic_dec(&group->opened); in vfio_group_fops_open()
1353 atomic_dec(&group->opened); in vfio_group_fops_release()
/linux-4.1.27/sound/usb/line6/
Dpcm.h132 unsigned long opened; member
Dpcm.c156 if (!test_and_set_bit(type, &pstr->opened) && !pstr->buffer) { in line6_buffer_acquire()
172 clear_bit(type, &pstr->opened); in line6_buffer_release()
173 if (!pstr->opened) { in line6_buffer_release()
/linux-4.1.27/arch/powerpc/platforms/powermac/
Dlow_i2c.c90 int opened; member
1098 bus->opened = 1; in pmac_i2c_open()
1101 bus->opened = 0; in pmac_i2c_open()
1111 WARN_ON(!bus->opened); in pmac_i2c_close()
1114 bus->opened = 0; in pmac_i2c_close()
1121 WARN_ON(!bus->opened); in pmac_i2c_setmode()
1142 WARN_ON(!bus->opened); in pmac_i2c_xfer()
/linux-4.1.27/drivers/input/mouse/
Dbcm5974.c252 int opened; /* 1: opened, 0: closed */ member
796 dev->opened = 1; in bcm5974_open()
813 dev->opened = 0; in bcm5974_close()
826 if (dev->opened) in bcm5974_suspend()
841 if (dev->opened) in bcm5974_resume()
/linux-4.1.27/fs/gfs2/
Dinode.c587 unsigned int size, int excl, int *opened) in gfs2_create_inode() argument
632 error = finish_open(file, dentry, gfs2_open_common, opened); in gfs2_create_inode()
761 *opened |= FILE_CREATED; in gfs2_create_inode()
762 error = finish_open(file, dentry, gfs2_open_common, opened); in gfs2_create_inode()
829 struct file *file, int *opened) in __gfs2_lookup() argument
858 error = finish_open(file, dentry, gfs2_open_common, opened); in __gfs2_lookup()
1231 umode_t mode, int *opened) in gfs2_atomic_open() argument
1239 d = __gfs2_lookup(dir, dentry, file, opened); in gfs2_atomic_open()
1245 if (!(*opened & FILE_OPENED)) in gfs2_atomic_open()
1257 return gfs2_create_inode(dir, dentry, file, S_IFREG | mode, 0, NULL, 0, excl, opened); in gfs2_atomic_open()
/linux-4.1.27/arch/powerpc/include/asm/
Dhvsi.h68 unsigned int opened:1; /* driver opened */ member
/linux-4.1.27/Documentation/filesystems/nfs/
Dfault_injection.txt40 The NFS server keeps a list of what files are currently opened and who
41 they were opened by. Clearing this list will force the client to reopen
/linux-4.1.27/drivers/usb/gadget/function/
Du_fs.h182 atomic_t opened; member
Df_fs.c1392 if (atomic_add_return(1, &ffs->opened) == 1 && in ffs_data_opened()
1417 if (atomic_dec_and_test(&ffs->opened)) { in ffs_data_closed()
1432 if (atomic_read(&ffs->opened) < 0) { in ffs_data_closed()
1449 atomic_set(&ffs->opened, 0); in ffs_data_new()
/linux-4.1.27/drivers/media/usb/dvb-usb/
Daf9005-fe.c56 int opened; member
473 if (state->opened) in af9005_fe_read_status()
1093 state->opened++; in af9005_ts_bus_ctrl()
1096 state->opened--; in af9005_ts_bus_ctrl()
1097 if (!state->opened) in af9005_ts_bus_ctrl()
1446 state->opened = 0; in af9005_fe_attach()
/linux-4.1.27/drivers/hsi/clients/
Dcmt_speech.c50 unsigned int opened; member
150 if (!cs_char_data.opened) { in cs_notify()
1289 if (cs_char_data.opened) { in cs_char_open()
1294 cs_char_data.opened = 1; in cs_char_open()
1322 cs_char_data.opened = 0; in cs_char_open()
1353 csdata->opened = 0; in cs_char_release()
1385 cs_char_data.opened = 0; in cs_hsi_client_probe()
/linux-4.1.27/sound/core/
Drawmidi.c148 if (!substream->opened) in snd_rawmidi_output_trigger()
155 if (!substream->opened) in snd_rawmidi_input_trigger()
244 if (substream->opened) { in assign_substream()
274 substream->opened = 1; in open_substream()
490 substream->opened = 0; in close_substream()
881 if (!substream->opened) in snd_rawmidi_receive()
1209 if (!substream->opened) in snd_rawmidi_transmit()
1419 if (substream->opened) { in snd_rawmidi_proc_info_read()
1443 if (substream->opened) { in snd_rawmidi_proc_info_read()
/linux-4.1.27/sound/usb/
Dmidi.c129 unsigned int opened[2]; member
1104 if (!umidi->opened[0] && !umidi->opened[1]) { in substream_open()
1114 umidi->opened[dir]++; in substream_open()
1115 if (umidi->opened[1]) in substream_open()
1118 umidi->opened[dir]--; in substream_open()
1119 if (!umidi->opened[1]) in substream_open()
1121 if (!umidi->opened[0] && !umidi->opened[1]) { in substream_open()
2280 if (umidi->input_running || !umidi->opened[1]) in snd_usbmidi_input_start()
/linux-4.1.27/drivers/media/platform/omap/
Domap_voutdef.h120 int opened; member
Domap_vout.c1001 vout->opened -= 1; in omap_vout_release()
1023 if (vout->opened) in omap_vout_open()
1026 vout->opened += 1; in omap_vout_open()
/linux-4.1.27/Documentation/ABI/testing/
Ddev-kmsg9 Every write() to the opened device node places a log entry in
24 Every read() from the opened device node receives one record
Dsysfs-platform-kim47 to be opened/ldisc installed, and would be '0' when UART
Dsysfs-driver-toshiba_acpi165 the LID is opened, valid values are:
/linux-4.1.27/drivers/tty/serial/
Dsccnxp.c114 bool opened[SCCNXP_MAX_UARTS]; member
460 if (s->opened[i] && (isr & ISR_RXRDY(i))) in sccnxp_handle_events()
462 if (s->opened[i] && (isr & ISR_TXRDY(i))) in sccnxp_handle_events()
718 s->opened[port->line] = 1; in sccnxp_startup()
732 s->opened[port->line] = 0; in sccnxp_shutdown()
/linux-4.1.27/drivers/media/platform/
Dtimblogiw.c54 bool opened; member
620 if (lw->opened) { in timblogiw_open()
684 lw->opened = true; in timblogiw_open()
707 lw->opened = false; in timblogiw_close()
/linux-4.1.27/include/sound/
Drawmidi.h95 unsigned int opened: 1, /* open flag */ member
Demu10k1.h1598 opened: 1, member
/linux-4.1.27/drivers/net/caif/
DKconfig13 identified as N_CAIF. When this ldisc is opened from user space
/linux-4.1.27/sound/pci/
Dbt87x.c200 unsigned long opened; member
427 if (test_and_set_bit(0, &chip->opened)) in snd_bt87x_pcm_open()
445 clear_bit(0, &chip->opened); in snd_bt87x_pcm_open()
460 clear_bit(0, &chip->opened); in snd_bt87x_close()
Datiixp_modem.c226 int opened; member
873 if (dma->opened) in snd_atiixp_pcm_open()
891 dma->opened = 1; in snd_atiixp_pcm_open()
907 dma->opened = 0; in snd_atiixp_pcm_close()
Datiixp.c250 int opened; member
1042 if (dma->opened) in snd_atiixp_pcm_open()
1062 dma->opened = 1; in snd_atiixp_pcm_open()
1078 dma->opened = 0; in snd_atiixp_pcm_close()
Dcmipci.c489 int opened[2]; /* open mode */ member
694 if (cm->opened[CM_CH_PLAY]) { in snd_cmipci_playback2_hw_params()
699 cm->opened[CM_CH_PLAY] = CM_OPEN_PLAYBACK_MULTI; in snd_cmipci_playback2_hw_params()
1621 if (cm->opened[ch]) { in open_device_check()
1625 cm->opened[ch] = mode; in open_device_check()
1643 if (cm->opened[ch] == mode) { in close_device_check()
1649 cm->opened[ch] = 0; in close_device_check()
1724 if (! cm->opened[CM_CH_PLAY]) { in snd_cmipci_playback2_open()
Dmaestro3.c722 int opened; member
1739 if (! s->opened) in snd_m3_substream_open()
1745 s->opened = 1; in snd_m3_substream_open()
1781 s->opened = 0; in snd_m3_substream_close()
/linux-4.1.27/drivers/net/usb/
Dkaweth.c223 int opened; member
716 kaweth->opened = 1; in kaweth_open()
753 kaweth->opened = 0; in kaweth_close()
976 if (!kaweth->opened) in kaweth_resume()
/linux-4.1.27/fs/cifs/
Ddir.c418 int *opened) in cifs_atomic_open() argument
490 *opened |= FILE_CREATED; in cifs_atomic_open()
492 rc = finish_open(file, direntry, generic_file_open, opened); in cifs_atomic_open()
/linux-4.1.27/Documentation/filesystems/
Dspufs.txt93 box and the file descriptor has been opened with O_NONBLOCK, the
97 descriptor has been opened without O_NONBLOCK, the call will
114 opened with O_NONBLOCK, the return value is set to -1 and errno becomes
118 has been opened without O_NONBLOCK, the call will block until the SPU
183 descriptor needs to be opened to read the value again.
252 descriptor needs to be opened to read the value again.
Doverlayfs.txt109 directory is opened and read by two processes at the same time, they
146 opened for read-write but the data is not modified.
189 On a file opened with O_RDONLY fchmod(2), fchown(2), futimesat(2) and
Dmandatory-locking.txt125 released, unless the process has opened the file with the O_NONBLOCK
131 unless a process has opened the file with the O_NONBLOCK flag in which case
Dafs.txt213 If a file is opened with a particular key and then the file descriptor is
Dautofs4-mount-control.txt11 During normal operation autofs uses a file descriptor opened on the
105 The current autofs implementation uses an ioctl file descriptor opened
Dvfs.txt163 interpreted as block device name, that device is opened and if it
365 unsigned open_flag, umode_t create_mode, int *opened);
491 set in "opened". In case of O_EXCL the method must only succeed if the
793 A file object represents a file opened by a process.
858 open: called by the VFS when an inode should be opened. When the VFS
Dsysfs.txt45 counting directly on the kobject whenever the file is opened or closed.
Dproc.txt44 3.8 /proc/<pid>/fdinfo/<fd> - Information about opened file
1697 3.8 /proc/<pid>/fdinfo/<fd> - Information about opened file
1699 This file provides information associated with an opened file. The regular
1701 represents the current offset of the opened file in decimal form [see lseek(2)
1704 the file system containing the opened file [see 3.5 /proc/<pid>/mountinfo
Dhpfs.txt118 a file. Finally when I opened this directory in PmShell, PmShell crashed (the
DLocking68 umode_t create_mode, int *opened);
Drelay.txt409 also called for the first sub-buffer when the channel is opened, to
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dnamei.c597 umode_t mode, int *opened) in ll_atomic_open() argument
607 dir->i_generation, dir, file, open_flags, mode, *opened); in ll_atomic_open()
639 *opened |= FILE_CREATED; in ll_atomic_open()
654 rc = finish_open(file, dentry, NULL, opened); in ll_atomic_open()
/linux-4.1.27/drivers/net/hamradio/
Dhdlcdrv.c454 s->opened = 1; in hdlcdrv_open()
492 s->opened = 0; in hdlcdrv_close()
737 if (s->opened && s->ops->close) in hdlcdrv_unregister()
/linux-4.1.27/sound/pci/hda/
Dhda_controller.c188 if (!azx_dev->opened && !dsp_is_locked(azx_dev)) { in azx_assign_device()
190 azx_dev->opened = 1; in azx_assign_device()
203 res->opened = 1; in azx_assign_device()
213 azx_dev->opened = 0; in azx_release_device()
1421 if (azx_dev->opened) in azx_load_dsp_prepare()
1464 if (azx_dev->opened) in azx_load_dsp_cleanup()
Dhda_controller.h215 unsigned int opened:1; member
/linux-4.1.27/drivers/net/ethernet/apple/
Dbmac.c83 int opened; member
476 if (bp->opened) { in bmac_suspend()
512 if (bp->opened) in bmac_resume()
1388 bp->opened = 1; in bmac_open()
1434 bp->opened = 0; in bmac_close()
/linux-4.1.27/Documentation/cdrom/
Dcdrom-standard.tex295 & int& use_count;& number of times device is opened\cr
328 processes that have the device opened) is registered in $use_count$. The
380 CDS_TRAY_OPEN& tray is opened\cr
603 CDO_LOCK& try to lock door if device is opened\cr
604 CDO_CHECK_TYPE& ensure disc type is data if opened for data\cr
636 that the device can {\em always\/} be opened in order to give the
669 that the device is opened just for issuing $ioctl$
676 \item If no other flags are set than $O_RDONLY$, the device is opened
706 We believe that using $O_NONBLOCK$ to indicate that a device is being opened
724 future.) If the device is not yet opened by any other process, and if
[all …]
/linux-4.1.27/fs/9p/
Dvfs_inode_dotl.c242 int *opened) in v9fs_vfs_atomic_open_dotl() argument
352 err = finish_open(file, dentry, generic_file_open, opened); in v9fs_vfs_atomic_open_dotl()
358 *opened |= FILE_CREATED; in v9fs_vfs_atomic_open_dotl()
Dvfs_inode.c847 int *opened) in v9fs_vfs_atomic_open() argument
904 err = finish_open(file, dentry, generic_file_open, opened); in v9fs_vfs_atomic_open()
912 *opened |= FILE_CREATED; in v9fs_vfs_atomic_open()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
Dcore.h273 int opened; member
Dcore.c752 if (dev->opened) { in emac_reset_work()
1188 dev->opened = 1; in emac_open()
1276 if (!dev->opened) in emac_link_timer()
1331 dev->opened = 0; in emac_close()
/linux-4.1.27/Documentation/powerpc/
Dcxl.txt144 device to be opened once.
147 opened once for each context that is available.
154 how many times the device can be opened. The POWER8 CAPP
Dpmu-ebb.txt89 Once an EBB event has been successfully opened, it must be enabled with the
/linux-4.1.27/Documentation/ide/
DChangeLog.ide-floppy.1996-200242 * opened without a disk available. This can be used to
DChangeLog.ide-tape.1995-200276 * The block device interface can now be opened, so
/linux-4.1.27/Documentation/
DSAK.txt44 /dev/console opened.
Dxillybus.txt156 as soon as the respective device file is opened, regardless of if the data
225 device file. If the device file is bidirectional, and already opened only in
226 one direction, the opposite direction may be opened once.
Ddebugging-via-ohci1394.txt129 Port 0 (/dev/fw1) opened, 2 nodes detected
Dinitrd.txt72 can't be opened anymore.
Dvfio.txt100 previously opened container file. If desired and if the IOMMU driver
Dkernel-parameters.txt1405 opened with the read mode bit set by either the
1413 opened for read by uid=0.
3977 newly opened terminals.
Ddevices.txt3340 allowing each master side to be opened only once.
3342 Once the master side has been opened, the corresponding slave device
/linux-4.1.27/Documentation/watchdog/
Dwatchdog-api.txt36 activates as soon as /dev/watchdog is opened and will reboot unless
65 cause a reboot if the watchdog is not re-opened in sufficient time.
Dwatchdog-kernel-api.txt81 running/active, is the nowayout bit set, is the device opened via
176 was opened via /dev/watchdog.
/linux-4.1.27/drivers/net/ethernet/sun/
Dcassini.c1036 if (cp->opened) { in cas_pcs_link_check()
1069 if (cp->opened) in cas_pcs_link_check()
1650 if (cp->opened) in cas_mii_link_check()
1662 if (cp->opened) { in cas_mii_link_check()
1679 if (cp->opened) in cas_mii_link_check()
4037 if (cp->opened) { in cas_reset_task()
4061 if (cp->opened) in cas_reset_task()
4066 if (cp->opened) in cas_reset_task()
4301 cp->opened = 1; in cas_open()
4333 cp->opened = 0; in cas_close()
[all …]
Dcassini.h2769 int opened; member
/linux-4.1.27/sound/
DKconfig41 module aliases when one of the device numbers is opened. With
/linux-4.1.27/drivers/net/ethernet/amd/
Damd8111e.h783 char opened; member
Damd8111e.c299 if(lp->opened) in amd8111e_init_ring()
892 if (!lp->opened) in amd8111e_get_stats()
1224 lp->opened = 0; in amd8111e_close()
1258 lp->opened = 1; in amd8111e_open()
/linux-4.1.27/fs/fuse/
Ddir.c385 umode_t mode, int *opened) in fuse_create_open() argument
455 err = finish_open(file, entry, generic_file_open, opened); in fuse_create_open()
475 umode_t mode, int *opened) in fuse_atomic_open() argument
494 *opened |= FILE_CREATED; in fuse_atomic_open()
499 err = fuse_create_open(dir, entry, file, flags, mode, opened); in fuse_atomic_open()
/linux-4.1.27/Documentation/security/
Dcredentials.txt239 When a file is opened, part of the opening task's subjective context is
242 that issued the operation. An example of this would be a file opened on a
243 network filesystem where the credentials of the opened file should be presented
558 When a new file is opened, a reference is obtained on the opening task's
/linux-4.1.27/fs/ceph/
Dfile.c231 int *opened) in ceph_atomic_open() argument
302 *opened |= FILE_CREATED; in ceph_atomic_open()
304 err = finish_open(file, dentry, ceph_open, opened); in ceph_atomic_open()
Dsuper.h889 int *opened);
/linux-4.1.27/fs/btrfs/
Dvolumes.c102 WARN_ON(fs_devices->opened); in free_fs_devices()
478 if (fs_devices->opened) in device_list_add()
529 if (!fs_devices->opened && found_transid < device->generation) { in device_list_add()
557 if (!fs_devices->opened) in device_list_add()
699 if (--fs_devices->opened > 0) in __btrfs_close_devices()
739 fs_devices->opened = 0; in __btrfs_close_devices()
752 if (!fs_devices->opened) { in btrfs_close_devices()
852 fs_devices->opened = 1; in __btrfs_open_devices()
865 if (fs_devices->opened) { in btrfs_open_devices()
866 fs_devices->opened++; in btrfs_open_devices()
[all …]
Dvolumes.h250 int opened; member
/linux-4.1.27/drivers/tty/
Dmoxa.c907 unsigned int a, opened, first_idx; in moxa_board_deinit() local
923 opened = 0; in moxa_board_deinit()
926 opened++; in moxa_board_deinit()
928 if (!opened) in moxa_board_deinit()
/linux-4.1.27/Documentation/serial/
Dtty.txt216 is currently attached or the ldisc is being closed and re-opened at this
244 open() - Called when a device is opened. May sleep
Ddriver184 This method will only be called when the port is initially opened.
264 This will be called when the port is initially opened and finally
/linux-4.1.27/drivers/uio/
DKconfig52 the associated device file is opened. The
/linux-4.1.27/Documentation/device-mapper/
Dsnapshot.txt59 has started (in the background) the <origin> may be opened and the merge
/linux-4.1.27/Documentation/isdn/
DREADME.diversion114 The divert file in the proc system may be opened more than once, so in
DREADME.hysdn142 The cardlogX file entry may be opened multiple for reading by everyone to
DREADME290 interface and then for an opened tty which:
/linux-4.1.27/Documentation/filesystems/cifs/
DCHANGES8 Fix append problem to Samba servers (files opened with O_APPEND could
151 (e.g. delete for open files opened with posix open). Take into
154 opened, read and written as if they were files). When 1st tree
201 (which we are about to overwrite anyway) when writing out file opened rw.
625 Fix caching problem when files opened by multiple clients in which
702 Fix truncate of existing files opened with O_CREAT but not O_TRUNC set.
DREADME313 disk caching is functional for CIFS files opened as read-only.
444 direct Do not do inode data caching on files opened on this mount.
460 rwpidforward Forward pid of a process who opened a file to any read or write
/linux-4.1.27/Documentation/video4linux/
Dsoc-camera.txt77 soc-camera core when a video-device is opened, the host driver would typically
Dv4l2-framework.txt310 subdev device node (if any) is opened/closed.
709 video device is opened/closed.
1025 Several drivers need to do something when the first file handle is opened and
/linux-4.1.27/Documentation/misc-devices/mei/
Dmei.txt56 The number of instances of an Intel ME feature that can be opened
/linux-4.1.27/arch/powerpc/boot/dts/
Dmpc836x_rdk.dts435 /* linux,opened; - added by uboot */
/linux-4.1.27/Documentation/filesystems/caching/
Dfscache.txt71 opened in its entirety into a cache before permitting it to be accessed and
79 (3) The combined size of all opened files (this includes mapped libraries)
/linux-4.1.27/Documentation/accounting/
Dtaskstats.txt169 - increase the receive buffer sizes for the netlink sockets opened by
/linux-4.1.27/Documentation/networking/
Dtuntap.txt62 /dev/net/tun is being opened.
Dnetdev-FAQ.txt66 has re-opened yet, simply check the net-next git repository link above for
Dstmmac.txt344 As soon as the interface is opened, the driver verifies if the EEE can
Dl2tp.txt317 When a tunnel is first opened, the reference count on the socket is
Dppp_generic.txt259 When /dev/ppp is opened, a new instance is created which is initially
Dcan.txt104 protocol module. Multiple sockets can be opened at the same time,
/linux-4.1.27/Documentation/sound/oss/
DOpti96 When any sound device is opened the kernel requests auto-loading
/linux-4.1.27/fs/affs/
DChanges263 demand instead of when a file is opened, as
/linux-4.1.27/tools/perf/Documentation/
Dperf-record.txt165 Collect raw sample records from all opened counters (default for tracepoint counters).
/linux-4.1.27/Documentation/input/
Djoystick-api.txt17 By default, the device is opened in blocking mode.
/linux-4.1.27/Documentation/s390/
Dmonreader.txt193 As soon as the device is opened, incoming messages will be accepted and they
/linux-4.1.27/Documentation/i2c/
Ddev-interface46 When you have opened the device, you must specify with what device
/linux-4.1.27/drivers/net/ethernet/micrel/
Dksz884x.c1444 int opened; member
5395 hw_priv->opened--; in netdev_close()
5396 if (!(hw_priv->opened)) { in netdev_close()
5517 if (!(hw_priv->opened)) { in netdev_open()
5562 if (!(hw_priv->opened)) { in netdev_open()
5572 hw_priv->opened++; in netdev_open()
/linux-4.1.27/Documentation/usb/
Dmass-storage.txt93 backing file could not be opened in read/write mode, the gadget
DWUSB-Design-overview.txt182 handle called /neh/ (Notification/Event Handle) is opened with
/linux-4.1.27/Documentation/hid/
Duhid.txt150 This is sent when the HID device is opened. That is, the data that the HID
/linux-4.1.27/sound/pci/emu10k1/
Demupcm.c1778 pcm->opened = 1; in snd_emu10k1_fx8010_playback_open()
1789 pcm->opened = 0; in snd_emu10k1_fx8010_playback_close()
Demufx.c1008 if (pcm->opened) { in snd_emu10k1_ipcm_poke()
1021 pcm->opened = 0; in snd_emu10k1_ipcm_poke()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_debugfs.c3030 if (pipe_crc->opened) { in i915_pipe_crc_open()
3035 pipe_crc->opened = true; in i915_pipe_crc_open()
3050 pipe_crc->opened = false; in i915_pipe_crc_release()
4729 pipe_crc->opened = false; in intel_display_crc_init()
Di915_drv.h1528 bool opened; /* exclusive access to the result file */ member
/linux-4.1.27/Documentation/nfc/
Dnfc-hci.txt38 In case the chip supports pre-opened gates and pseudo-static pipes, the driver
/linux-4.1.27/tools/perf/
Ddesign.txt21 The special file descriptor is opened via the sys_perf_event_open()
/linux-4.1.27/Documentation/ioctl/
Dcdrom.txt926 is opened read-only, or because the command
/linux-4.1.27/drivers/block/
DKconfig447 a disc is opened for writing.
/linux-4.1.27/Documentation/PCI/
Dpci.txt365 This step can often be deferred until the device is opened for use.
/linux-4.1.27/Documentation/arm64/
Darm-acpi.txt62 ACPI governance into the UEFI forum has significantly opened up the
/linux-4.1.27/Documentation/scsi/
Dst.txt108 device can be opened for writing even if there is a write protected
/linux-4.1.27/Documentation/sound/alsa/
DHD-Audio.txt263 When the PCM device is opened via "default" PCM (without pulse-audio
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt669 have already opened the corresponding pty in order for this to work.
749 This allows the device to be opened, in contrast to 'none', but
/linux-4.1.27/Documentation/laptops/
Dthinkpad-acpi.txt514 0x5002 Lid opened