Lines Matching defs:list
40 * notice, this list of conditions and the following disclaimer.
42 * notice, this list of conditions and the following disclaimer in the
272 * allocate a list of mbufs to hold the given amount of data
938 * Returns the head of the mbuf list and the xid.
1600 /* Copy the name from the mbuf list to the string */
1760 * Trim the header out of the mbuf list and trim off any trailing
1761 * junk so that the mbuf list has only the write data.
2246 /* free active user list for this export */
2351 /* insert into list in reverse-sorted order */
2408 /* initialize the active user list */
2410 /* insert into list in reverse-sorted order */
2542 /* delete active user list for this export */
2581 /* delete active user list for this export */
2613 /* Lookup in the export list first. */
2909 * The list's user_mutex lock MUST be held.
2912 nfsrv_get_user_stat_node(struct nfs_active_user_list *list, struct sockaddr_storage *sock, uid_t uid)
2919 head = NFS_USER_STAT_HASH(list->user_hashtbl, uid);
2929 TAILQ_REMOVE(&list->user_lru, unode, lru_link);
2930 TAILQ_INSERT_TAIL(&list->user_lru, unode, lru_link);
2938 if (list->node_count < nfsrv_user_stat_max_nodes) {
2948 list->node_count++;
2950 /* reuse the oldest node in the lru list */
2951 unode = TAILQ_FIRST(&list->user_lru);
2957 TAILQ_REMOVE(&list->user_lru, unode, lru_link);
2972 TAILQ_INSERT_TAIL(&list->user_lru, unode, lru_link);
2996 /* lock the active user list */
3016 /* initialize an active user list */
3033 /* Free all nodes in an active user list */
3085 /* Remove node from the active user list */
3089 /* Add node to temp list */
3096 /* can unlock this export's list now */
3134 * a returned error value is in the specified list for the procedure, the