/daten/src/linux-2.4.27-rsbac-v1.2.3/rsbac/adf/daz/dazuko_call.c File Reference

#include "dazuko_platform.h"
#include "dazuko_call.h"
#include "dazuko_xp.h"

Go to the source code of this file.

Functions

int call_xp_init_mutex (struct xp_mutex *mutex)
int call_xp_down (struct xp_mutex *mutex)
int call_xp_up (struct xp_mutex *mutex)
int call_xp_destroy_mutex (struct xp_mutex *mutex)
int call_xp_init_rwlock (struct xp_rwlock *rwlock)
int call_xp_write_lock (struct xp_rwlock *rwlock)
int call_xp_write_unlock (struct xp_rwlock *rwlock)
int call_xp_read_lock (struct xp_rwlock *rlock)
int call_xp_read_unlock (struct xp_rwlock *rlock)
int call_xp_destroy_rwlock (struct xp_rwlock *rwlock)
int call_xp_init_queue (struct xp_queue *queue)
int call_xp_wait_until_condition (struct xp_queue *queue, int(*cfunction)(void *), void *cparam, int allow_interrupt)
int call_xp_notify (struct xp_queue *queue)
int call_xp_destroy_queue (struct xp_queue *queue)
void * call_xp_malloc (size_t size)
int call_xp_free (void *ptr)
int call_xp_copyin (const void *user_src, void *kernel_dest, size_t size)
int call_xp_copyout (const void *kernel_src, void *user_dest, size_t size)
int call_xp_verify_user_writable (const void *user_ptr, size_t size)
int call_xp_verify_user_readable (const void *user_ptr, size_t size)
int call_xp_is_absolute_path (const char *path)
int call_xp_atomic_set (struct xp_atomic *atomic, int value)
int call_xp_atomic_inc (struct xp_atomic *atomic)
int call_xp_atomic_dec (struct xp_atomic *atomic)
int call_xp_atomic_read (struct xp_atomic *atomic)
int call_xp_copy_file (struct xp_file *dest, struct xp_file *src)
int call_xp_compare_file (struct xp_file *file1, struct xp_file *file2)
int call_xp_file_struct_check (struct dazuko_file_struct *dfs)
int call_xp_file_struct_check_cleanup (struct dazuko_file_struct *dfs)
int call_xp_id_compare (struct xp_daemon_id *id1, struct xp_daemon_id *id2)
int call_xp_id_free (struct xp_daemon_id *id)
xp_daemon_idcall_xp_id_copy (struct xp_daemon_id *id)


Function Documentation

int call_xp_atomic_dec struct xp_atomic atomic  )  [inline]
 

Definition at line 360 of file dazuko_call.c.

References NULL, xp_atomic_dec(), and xp_print().

Referenced by _dazuko_unregister_daemon().

int call_xp_atomic_inc struct xp_atomic atomic  )  [inline]
 

Definition at line 349 of file dazuko_call.c.

References NULL, xp_atomic_inc(), and xp_print().

Referenced by dazuko_register_daemon().

int call_xp_atomic_read struct xp_atomic atomic  )  [inline]
 

Definition at line 371 of file dazuko_call.c.

References NULL, xp_atomic_read(), and xp_print().

Referenced by _dazuko_unregister_daemon(), dazuko_exit(), dazuko_sys_check(), dazuko_sys_post(), and get_ready_slot_condition().

int call_xp_atomic_set struct xp_atomic atomic,
int  value
[inline]
 

Definition at line 338 of file dazuko_call.c.

References NULL, xp_atomic_set(), and xp_print().

Referenced by dazuko_init(), and dazuko_register_daemon().

int call_xp_compare_file struct xp_file file1,
struct xp_file file2
[inline]
 

Definition at line 402 of file dazuko_call.c.

References NULL, xp_compare_file(), and xp_print().

Referenced by dazuko_get_hash(), and dazuko_mark_hash_dirty().

int call_xp_copy_file struct xp_file dest,
struct xp_file src
[inline]
 

Definition at line 385 of file dazuko_call.c.

References NULL, xp_copy_file(), and xp_print().

Referenced by dazuko_add_hash().

int call_xp_copyin const void *  user_src,
void *  kernel_dest,
size_t  size
[inline]
 

Definition at line 241 of file dazuko_call.c.

References NULL, xp_copyin(), and xp_print().

Referenced by dazuko_handle_user_request(), and dazuko_handle_user_request_compat12().

int call_xp_copyout const void *  kernel_src,
void *  user_dest,
size_t  size
[inline]
 

Definition at line 264 of file dazuko_call.c.

References NULL, xp_copyout(), and xp_print().

Referenced by dazuko_handle_user_request(), and dazuko_handle_user_request_compat12().

int call_xp_destroy_mutex struct xp_mutex mutex  )  [inline]
 

Definition at line 76 of file dazuko_call.c.

References NULL, xp_destroy_mutex(), and xp_print().

Referenced by dazuko_exit().

int call_xp_destroy_queue struct xp_queue queue  )  [inline]
 

Definition at line 198 of file dazuko_call.c.

References NULL, xp_destroy_queue(), and xp_print().

Referenced by dazuko_exit().

int call_xp_destroy_rwlock struct xp_rwlock rwlock  )  [inline]
 

Definition at line 145 of file dazuko_call.c.

References NULL, xp_destroy_rwlock(), and xp_print().

Referenced by dazuko_exit().

int call_xp_down struct xp_mutex mutex  )  [inline]
 

Definition at line 54 of file dazuko_call.c.

References NULL, xp_down(), and xp_print().

Referenced by _dazuko_find_slot(), dazuko_change_slot_state(), dazuko_find_slot_and_slotlist(), dazuko_get_new_unique(), dazuko_register_daemon(), dazuko_run_daemon(), dazuko_run_daemon_on_slotlist(), and dazuko_slot_state().

int call_xp_file_struct_check struct dazuko_file_struct dfs  )  [inline]
 

Definition at line 422 of file dazuko_call.c.

References NULL, xp_file_struct_check(), and xp_print().

Referenced by dazuko_should_scan().

int call_xp_file_struct_check_cleanup struct dazuko_file_struct dfs  )  [inline]
 

Definition at line 433 of file dazuko_call.c.

References NULL, xp_file_struct_check_cleanup(), and xp_print().

Referenced by dazuko_should_scan().

int call_xp_free void *  ptr  )  [inline]
 

Definition at line 230 of file dazuko_call.c.

References NULL, xp_free(), and xp_print().

Referenced by dazuko_exit(), dazuko_handle_request(), dazuko_handle_user_request(), dazuko_handle_user_request_compat12(), dazuko_insert_path_fs(), dazuko_register_daemon(), dazuko_remove_all_hash(), dazuko_remove_all_paths(), and dazuko_sys_post().

int call_xp_id_compare struct xp_daemon_id id1,
struct xp_daemon_id id2
[inline]
 

Definition at line 447 of file dazuko_call.c.

References NULL, xp_id_compare(), and xp_print().

Referenced by _dazuko_find_slot().

struct xp_daemon_id* call_xp_id_copy struct xp_daemon_id id  )  [inline]
 

Definition at line 475 of file dazuko_call.c.

References NULL, xp_id_copy(), and xp_print().

Referenced by dazuko_handle_request(), dazuko_handle_user_request_compat12(), dazuko_is_our_daemon(), dazuko_register_daemon(), and dazuko_unregister_daemon().

int call_xp_id_free struct xp_daemon_id id  )  [inline]
 

Definition at line 464 of file dazuko_call.c.

References NULL, xp_id_free(), and xp_print().

Referenced by _dazuko_unregister_daemon(), dazuko_handle_request(), dazuko_handle_user_request_compat12(), dazuko_is_our_daemon(), and dazuko_unregister_daemon().

int call_xp_init_mutex struct xp_mutex mutex  )  [inline]
 

Definition at line 43 of file dazuko_call.c.

References NULL, xp_init_mutex(), and xp_print().

Referenced by dazuko_init(), and dazuko_register_daemon().

int call_xp_init_queue struct xp_queue queue  )  [inline]
 

Definition at line 159 of file dazuko_call.c.

References NULL, xp_init_queue(), and xp_print().

Referenced by dazuko_init().

int call_xp_init_rwlock struct xp_rwlock rwlock  )  [inline]
 

Definition at line 90 of file dazuko_call.c.

References NULL, xp_init_rwlock(), and xp_print().

Referenced by dazuko_init().

int call_xp_is_absolute_path const char *  path  )  [inline]
 

Definition at line 324 of file dazuko_call.c.

References NULL, xp_is_absolute_path(), and xp_print().

Referenced by dazuko_insert_path_fs().

void* call_xp_malloc size_t  size  )  [inline]
 

Definition at line 212 of file dazuko_call.c.

References NULL, xp_malloc(), and xp_print().

Referenced by dazuko_add_hash(), dazuko_get_value(), dazuko_handle_user_request(), dazuko_handle_user_request_compat12(), dazuko_insert_path_fs(), and dazuko_register_daemon().

int call_xp_notify struct xp_queue queue  )  [inline]
 

Definition at line 187 of file dazuko_call.c.

References NULL, xp_notify(), and xp_print().

Referenced by __dazuko_change_slot_state(), _dazuko_unregister_daemon(), dazuko_get_an_access(), dazuko_return_access(), dazuko_run_daemon_on_slotlist(), and dazuko_state_error().

int call_xp_read_lock struct xp_rwlock rlock  )  [inline]
 

Definition at line 123 of file dazuko_call.c.

References NULL, xp_print(), and xp_read_lock().

Referenced by dazuko_is_selected().

int call_xp_read_unlock struct xp_rwlock rlock  )  [inline]
 

Definition at line 134 of file dazuko_call.c.

References NULL, xp_print(), and xp_read_unlock().

Referenced by dazuko_is_selected().

int call_xp_up struct xp_mutex mutex  )  [inline]
 

Definition at line 65 of file dazuko_call.c.

References NULL, xp_print(), and xp_up().

Referenced by _dazuko_find_slot(), _dazuko_unregister_daemon(), dazuko_change_slot_state(), dazuko_find_slot_and_slotlist(), dazuko_get_new_unique(), dazuko_handle_request(), dazuko_handle_user_request_compat12(), dazuko_register_daemon(), dazuko_return_access(), dazuko_run_daemon(), dazuko_run_daemon_on_slotlist(), and dazuko_slot_state().

int call_xp_verify_user_readable const void *  user_ptr,
size_t  size
[inline]
 

Definition at line 304 of file dazuko_call.c.

References NULL, xp_print(), and xp_verify_user_readable().

Referenced by dazuko_handle_user_request_compat12().

int call_xp_verify_user_writable const void *  user_ptr,
size_t  size
[inline]
 

Definition at line 287 of file dazuko_call.c.

References NULL, xp_print(), and xp_verify_user_writable().

Referenced by dazuko_handle_user_request_compat12().

int call_xp_wait_until_condition struct xp_queue queue,
int(*  cfunction)(void *),
void *  cparam,
int  allow_interrupt
[inline]
 

Definition at line 170 of file dazuko_call.c.

References NULL, xp_print(), and xp_wait_until_condition().

Referenced by dazuko_get_an_access(), dazuko_return_access(), and dazuko_run_daemon_on_slotlist().

int call_xp_write_lock struct xp_rwlock rwlock  )  [inline]
 

Definition at line 101 of file dazuko_call.c.

References NULL, xp_print(), and xp_write_lock().

Referenced by dazuko_add_hash(), dazuko_get_hash(), dazuko_insert_path_fs(), dazuko_mark_hash_dirty(), dazuko_remove_all_hash(), and dazuko_remove_all_paths().

int call_xp_write_unlock struct xp_rwlock rwlock  )  [inline]
 

Definition at line 112 of file dazuko_call.c.

References NULL, xp_print(), and xp_write_unlock().

Referenced by dazuko_add_hash(), dazuko_get_hash(), dazuko_insert_path_fs(), dazuko_mark_hash_dirty(), dazuko_remove_all_hash(), and dazuko_remove_all_paths().


Generated on Tue Aug 31 10:05:27 2004 for RSBAC by doxygen 1.3.8