Lines Matching refs:data
54 struct nss_files_data *data = allocate_once (&nss_files_global, in __nss_files_data_get() local
57 if (data == NULL) in __nss_files_data_get()
69 *pdata = &data->files[file]; in __nss_files_data_get()
76 __nss_files_data_internal_open (struct nss_files_per_file_data *data, in __nss_files_data_internal_open() argument
81 if (data->stream == NULL) in __nss_files_data_internal_open()
83 data->stream = __nss_files_fopen (path); in __nss_files_data_internal_open()
85 if (data->stream == NULL) in __nss_files_data_internal_open()
118 __nss_files_data_put (struct nss_files_per_file_data *data) in libc_hidden_def()
120 __libc_lock_unlock (data->lock); in libc_hidden_def()
127 struct nss_files_per_file_data *data; in libc_hidden_def() local
128 enum nss_status status = __nss_files_data_get (&data, file, NULL, NULL); in libc_hidden_def()
132 if (data->stream == NULL) in libc_hidden_def()
133 status = __nss_files_data_internal_open (data, path); in libc_hidden_def()
135 rewind (data->stream); in libc_hidden_def()
137 __nss_files_data_put (data); in libc_hidden_def()
146 struct nss_files_data *data = atomic_load_acquire (&nss_files_global); in libc_hidden_def() local
147 if (data == NULL) in libc_hidden_def()
150 struct nss_files_per_file_data *fdata = &data->files[file]; in libc_hidden_def()