Lines Matching defs:entry
99 * Add a file history path entry to the buffer.
120 ndmp_fh_unix_path *entry;
127 * for the current entry, send the buffered data to the client.
167 entry = &session->ns_fh.fh_path_entries[session->ns_fh.fh_path_index];
168 ndmpd_get_file_entry_type(file_stat->st_mode, &entry->fstat.ftype);
170 entry->name = &session->
172 (void) strlcpy(entry->name, name, PATH_NAMEBUF_SIZE);
174 entry->fstat.mtime = (ulong_t)file_stat->st_mtime;
175 entry->fstat.atime = (ulong_t)file_stat->st_atime;
176 entry->fstat.ctime = (ulong_t)file_stat->st_ctime;
177 entry->fstat.uid = file_stat->st_uid;
178 entry->fstat.gid = file_stat->st_gid;
179 entry->fstat.mode = (file_stat->st_mode) & 0x0fff;
180 entry->fstat.size = long_long_to_quad((u_longlong_t)file_stat->st_size);
181 entry->fstat.fh_info = long_long_to_quad((u_longlong_t)fh_info);
190 * Add a file history dir entry to the buffer.
212 ndmp_fh_unix_dir *entry;
218 * If the buffer does not have space for the current entry,
257 entry = &session->ns_fh.fh_dir_entries[session->ns_fh.fh_dir_index];
259 entry->name = &session->
266 entry->node = node;
267 entry->parent = parent;
277 * Add a file history node entry to the buffer.
300 ndmp_fh_unix_node *entry;
307 * for the current entry, send the buffered data to the client.
322 * Need to send Dir entry as well. Since Dir entry is more than
323 * Node entry, we may send a Node entry that hasn't have
324 * its dir entry sent. Therefore, we need to flush Dir entry
325 * as well everytime the Dir entry is send.
346 entry = &session->ns_fh.fh_node_entries[session->ns_fh.fh_node_index];
347 ndmpd_get_file_entry_type(file_stat->st_mode, &entry->fstat.ftype);
349 entry->node = node;
350 entry->fstat.mtime = (ulong_t)file_stat->st_mtime;
351 entry->fstat.atime = (ulong_t)file_stat->st_atime;
352 entry->fstat.ctime = (ulong_t)file_stat->st_ctime;
353 entry->fstat.uid = file_stat->st_uid;
354 entry->fstat.gid = file_stat->st_gid;
355 entry->fstat.mode = (file_stat->st_mode) & 0x0fff;
356 entry->fstat.size = long_long_to_quad((u_longlong_t)file_stat->st_size);
357 entry->fstat.fh_info = long_long_to_quad(fh_info);
373 * Add a file history file entry to the buffer.
404 * for the current entry, send the buffered data to the client.
503 * Add a file history dir entry to the buffer.
534 * for the current entry, send the buffered data to the client.
610 * Add a file history node entry to the buffer.
642 * for the current entry, send the buffered data to the client.
652 * Need to send Dir entry as well. Since Dir entry is more
653 * than a Node entry, we may send a Node entry that hasn't
654 * had its Dir entry sent. Therefore, we need to flush Dir
655 * entry as well every time the Dir entry is sent.
882 * If the entry is on exclusion list dont send the info
1095 * Note that the entry and name buffers are not allocated here.
1097 * data or what kind of data (path or dir/node), the entry and name
1099 * entry functions is made. This way resources are only allocated as
1638 * Reads the entry of the directory and provides other information
1639 * such as i-number, name, length and saves the dir entry position