Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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()
116 if ((devc->submodel == SUBMDL_ALS007) && (devc->opened & OPEN_READ)) in sb_audio_close()
121 devc->opened = 0; in sb_audio_close()
287 if (devc->opened & OPEN_READ) in sb1_audio_set_speed()
449 if (devc->opened & OPEN_READ && speed > 15000) in sb201_audio_set_speed()
Dsb.h100 int opened; member
/linux-4.4.14/scripts/
Drecordmcount.pl381 my $opened = 0;
457 if (!$opened) {
459 $opened = 1;
543 if (!$opened) {
/linux-4.4.14/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.h1675 umode_t create_mode, int *opened);
2245 int *opened);
/linux-4.4.14/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.4.14/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.4.14/security/integrity/ima/
Dima_main.c158 int opened) in process_measurement() argument
241 xattr_value, xattr_len, opened); in process_measurement()
305 int ima_file_check(struct file *file, int mask, int opened) in ima_file_check() argument
309 FILE_CHECK, opened); in ima_file_check()
Dima.h181 int xattr_len, int opened);
197 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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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()
795 list_for_each(ele, &opened) { in inet_register()
829 list_for_each(ele, &opened) { in close_devices()
/linux-4.4.14/drivers/input/touchscreen/
Dtsc200x-core.c109 bool opened; member
432 ts->opened = true; in tsc200x_open()
448 ts->opened = false; in tsc200x_close()
634 if (!ts->suspended && ts->opened) in tsc200x_suspend()
650 if (ts->suspended && ts->opened) in tsc200x_resume()
/linux-4.4.14/sound/hda/ext/
Dhdac_ext_stream.c307 if (!stream->opened) { in hdac_ext_host_stream_assign()
316 res->hstream.opened = 1; in hdac_ext_host_stream_assign()
394 if (stream->decoupled && !stream->hstream.opened) in snd_hdac_ext_stream_release()
/linux-4.4.14/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.4.14/fs/
Dnamei.c2782 int *opened) in atomic_open() argument
2853 opened); in atomic_open()
2869 if (*opened & FILE_CREATED) in atomic_open()
2872 WARN_ON(*opened & FILE_CREATED); in atomic_open()
2878 if (excl && !(*opened & FILE_CREATED)) { in atomic_open()
2891 if (*opened & FILE_CREATED) { in atomic_open()
2941 bool got_write, int *opened) in lookup_open() argument
2949 *opened &= ~FILE_CREATED; in lookup_open()
2960 need_lookup, opened); in lookup_open()
2987 *opened |= FILE_CREATED; in lookup_open()
[all …]
Dopen.c792 int *opened) in finish_open() argument
795 BUG_ON(*opened & FILE_OPENED); /* once it's opened, it's opened */ in finish_open()
801 *opened |= FILE_OPENED; in finish_open()
/linux-4.4.14/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.4.14/arch/xtensa/platforms/iss/
Dnetwork.c45 static LIST_HEAD(opened);
323 list_for_each(ele, &opened) { in iss_net_poll()
385 list_add(&lp->opened_list, &opened); in iss_net_open()
407 list_del(&opened); in iss_net_close()
/linux-4.4.14/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.4.14/drivers/vfio/
Dvfio.c86 atomic_t opened; member
218 atomic_set(&group->opened, 0); in vfio_create_group()
1368 int opened; in vfio_group_fops_open() local
1375 opened = atomic_cmpxchg(&group->opened, 0, 1); in vfio_group_fops_open()
1376 if (opened) { in vfio_group_fops_open()
1383 atomic_dec(&group->opened); in vfio_group_fops_open()
1401 atomic_dec(&group->opened); in vfio_group_fops_release()
/linux-4.4.14/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.4.14/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.4.14/drivers/input/mouse/
Dbcm5974.c295 int opened; /* 1: opened, 0: closed */ member
855 dev->opened = 1; in bcm5974_open()
872 dev->opened = 0; in bcm5974_close()
885 if (dev->opened) in bcm5974_suspend()
900 if (dev->opened) in bcm5974_resume()
/linux-4.4.14/arch/powerpc/include/asm/
Dhvsi.h68 unsigned int opened:1; /* driver opened */ member
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/media/usb/dvb-usb/
Daf9005-fe.c56 int opened; member
474 if (state->opened) in af9005_fe_read_status()
1094 state->opened++; in af9005_ts_bus_ctrl()
1097 state->opened--; in af9005_ts_bus_ctrl()
1098 if (!state->opened) in af9005_ts_bus_ctrl()
1447 state->opened = 0; in af9005_fe_attach()
/linux-4.4.14/drivers/hsi/clients/
Dcmt_speech.c50 unsigned int opened; member
150 if (!cs_char_data.opened) { in cs_notify()
1294 if (cs_char_data.opened) { in cs_char_open()
1299 cs_char_data.opened = 1; in cs_char_open()
1327 cs_char_data.opened = 0; in cs_char_open()
1358 csdata->opened = 0; in cs_char_release()
1390 cs_char_data.opened = 0; in cs_hsi_client_probe()
/linux-4.4.14/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.4.14/sound/hda/
Dhdac_stream.c250 if (azx_dev->opened) in snd_hdac_stream_assign()
261 res->opened = 1; in snd_hdac_stream_assign()
282 azx_dev->opened = 0; in snd_hdac_stream_release()
/linux-4.4.14/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()
2283 if (umidi->input_running || !umidi->opened[1]) in snd_usbmidi_input_start()
/linux-4.4.14/drivers/media/platform/omap/
Domap_voutdef.h120 int opened; member
Domap_vout.c990 vout->opened -= 1; in omap_vout_release()
1012 if (vout->opened) in omap_vout_open()
1015 vout->opened += 1; in omap_vout_open()
/linux-4.4.14/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.4.14/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.4.14/include/sound/
Drawmidi.h95 unsigned int opened: 1, /* open flag */ member
Dhdaudio.h415 bool opened:1; member
Demu10k1.h1598 opened: 1, member
/linux-4.4.14/drivers/net/caif/
DKconfig13 identified as N_CAIF. When this ldisc is opened from user space
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/staging/lustre/lustre/llite/
Dnamei.c600 umode_t mode, int *opened) in ll_atomic_open() argument
610 dir->i_generation, dir, file, open_flags, mode, *opened); in ll_atomic_open()
642 *opened |= FILE_CREATED; in ll_atomic_open()
657 rc = finish_open(file, dentry, NULL, opened); in ll_atomic_open()
/linux-4.4.14/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.txt110 directory is opened and read by two processes at the same time, they
147 opened for read-write but the data is not modified.
190 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);
493 set in "opened". In case of O_EXCL the method must only succeed if the
795 A file object represents a file opened by a process.
865 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
1714 3.8 /proc/<pid>/fdinfo/<fd> - Information about opened file
1716 This file provides information associated with an opened file. The regular
1718 represents the current offset of the opened file in decimal form [see lseek(2)
1721 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
Drelay.txt409 also called for the first sub-buffer when the channel is opened, to
DLocking68 umode_t create_mode, int *opened);
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/Documentation/vm/
Duserfaultfd.txt36 The userfaultfd once opened by invoking the syscall, can also be
46 When first opened the userfaultfd must be enabled invoking the
/linux-4.4.14/Documentation/powerpc/
Dcxl.txt147 device to be opened once.
150 opened once for each context that is available.
157 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
Dcxlflash.txt99 block device (/dev/sdb) may be opened directly by the block library
/linux-4.4.14/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
Dadding-syscalls.txt132 already-opened file descriptor using the AT_EMPTY_PATH flag, effectively giving
Dkernel-parameters.txt1469 opened with the read mode bit set by either the
1477 opened for read by uid=0.
4097 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.4.14/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.4.14/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.txt86 running/active, is the nowayout bit set, is the device opened via
183 was opened via /dev/watchdog.
/linux-4.4.14/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()
4036 if (cp->opened) { in cas_reset_task()
4060 if (cp->opened) in cas_reset_task()
4065 if (cp->opened) in cas_reset_task()
4300 cp->opened = 1; in cas_open()
4332 cp->opened = 0; in cas_close()
[all …]
Dcassini.h2769 int opened; member
/linux-4.4.14/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.4.14/sound/
DKconfig41 module aliases when one of the device numbers is opened. With
/linux-4.4.14/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.4.14/fs/nfs/
Ddir.c1461 int *opened) in nfs_finish_open() argument
1465 err = finish_open(file, dentry, do_open, opened); in nfs_finish_open()
1476 umode_t mode, int *opened) in nfs_atomic_open() argument
1528 inode = NFS_PROTO(dir)->open_context(dir, ctx, open_flags, &attr, opened); in nfs_atomic_open()
1554 err = nfs_finish_open(ctx, ctx->dentry, file, open_flags, opened); in nfs_atomic_open()
Dnfs4proc.c2494 int *opened) in _nfs4_do_open() argument
2566 if (opened && opendata->file_created) in _nfs4_do_open()
2567 *opened |= FILE_CREATED; in _nfs4_do_open()
2595 int *opened) in nfs4_do_open() argument
2603 status = _nfs4_do_open(dir, ctx, flags, sattr, label, opened); in nfs4_do_open()
2989 int open_flags, struct iattr *attr, int *opened) in nfs4_atomic_open() argument
2997 state = nfs4_do_open(dir, ctx, open_flags, attr, label, opened); in nfs4_atomic_open()
/linux-4.4.14/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.4.14/fs/ceph/
Dfile.c296 int *opened) in ceph_atomic_open() argument
367 *opened |= FILE_CREATED; in ceph_atomic_open()
369 err = finish_open(file, dentry, ceph_open, opened); in ceph_atomic_open()
Dsuper.h926 int *opened);
/linux-4.4.14/drivers/media/platform/sti/bdisp/
Dbdisp-v4l2.c1236 int opened; in bdisp_resume() local
1239 opened = test_bit(ST_M2M_OPEN, &bdisp->state); in bdisp_resume()
1242 if (!opened) in bdisp_resume()
/linux-4.4.14/fs/btrfs/
Dvolumes.c182 WARN_ON(fs_devices->opened); in free_fs_devices()
539 if (fs_devs->opened) in btrfs_free_stale_device()
615 if (fs_devices->opened) in device_list_add()
666 if (!fs_devices->opened && found_transid < device->generation) { in device_list_add()
694 if (!fs_devices->opened) in device_list_add()
842 if (--fs_devices->opened > 0) in __btrfs_close_devices()
853 fs_devices->opened = 0; in __btrfs_close_devices()
866 if (!fs_devices->opened) { in btrfs_close_devices()
966 fs_devices->opened = 1; in __btrfs_open_devices()
979 if (fs_devices->opened) { in btrfs_open_devices()
[all …]
Dvolumes.h250 int opened; member
/linux-4.4.14/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.4.14/drivers/uio/
DKconfig52 the associated device file is opened. The
/linux-4.4.14/Documentation/serial/
Dtty.txt231 is currently attached or the ldisc is being closed and re-opened at this
259 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.4.14/sound/pci/hda/
Dhda_controller.c831 if (hstr->opened) { in snd_hda_codec_load_dsp_prepare()
874 if (hstr->opened) in snd_hda_codec_load_dsp_cleanup()
/linux-4.4.14/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.4.14/Documentation/device-mapper/
Dsnapshot.txt63 has started (in the background) the <origin> may be opened and the merge
/linux-4.4.14/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.4.14/arch/powerpc/boot/dts/
Dmpc836x_rdk.dts435 /* linux,opened; - added by uboot */
/linux-4.4.14/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.4.14/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.4.14/Documentation/accounting/
Dtaskstats.txt169 - increase the receive buffer sizes for the netlink sockets opened by
/linux-4.4.14/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
Dl2tp.txt314 When a tunnel is first opened, the reference count on the socket is
Dstmmac.txt334 As soon as the interface is opened, the driver verifies if the EEE can
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.4.14/Documentation/sound/oss/
DOpti96 When any sound device is opened the kernel requests auto-loading
/linux-4.4.14/Documentation/i2c/
Ddev-interface46 When you have opened the device, you must specify with what device
/linux-4.4.14/Documentation/input/
Djoystick-api.txt17 By default, the device is opened in blocking mode.
/linux-4.4.14/Documentation/s390/
Dmonreader.txt193 As soon as the device is opened, incoming messages will be accepted and they
/linux-4.4.14/fs/affs/
DChanges263 demand instead of when a file is opened, as
/linux-4.4.14/Documentation/misc-devices/mei/
Dmei.txt56 The number of instances of an Intel ME feature that can be opened
/linux-4.4.14/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.4.14/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.4.14/Documentation/hid/
Duhid.txt150 This is sent when the HID device is opened. That is, the data that the HID
/linux-4.4.14/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.4.14/tools/perf/Documentation/
Dperf-record.txt201 Collect raw sample records from all opened counters (default for tracepoint counters).
/linux-4.4.14/Documentation/nfc/
Dnfc-hci.txt38 In case the chip supports pre-opened gates and pseudo-static pipes, the driver
/linux-4.4.14/tools/perf/
Ddesign.txt21 The special file descriptor is opened via the sys_perf_event_open()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_debugfs.c3320 if (pipe_crc->opened) { in i915_pipe_crc_open()
3325 pipe_crc->opened = true; in i915_pipe_crc_open()
3340 pipe_crc->opened = false; in i915_pipe_crc_release()
5285 pipe_crc->opened = false; in intel_display_crc_init()
Di915_drv.h1653 bool opened; /* exclusive access to the result file */ member
/linux-4.4.14/Documentation/ioctl/
Dcdrom.txt926 is opened read-only, or because the command
/linux-4.4.14/drivers/block/
DKconfig424 a disc is opened for writing.
/linux-4.4.14/Documentation/arm64/
Darm-acpi.txt62 ACPI governance into the UEFI forum has significantly opened up the
/linux-4.4.14/Documentation/PCI/
Dpci.txt365 This step can often be deferred until the device is opened for use.
/linux-4.4.14/Documentation/scsi/
Dst.txt108 device can be opened for writing even if there is a write protected
/linux-4.4.14/Documentation/sound/alsa/
DHD-Audio.txt263 When the PCM device is opened via "default" PCM (without pulse-audio
/linux-4.4.14/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.4.14/Documentation/laptops/
Dthinkpad-acpi.txt514 0x5002 Lid opened