Lines Matching defs:s
71 #define __TRACE(s) \ argument
94 #define TRACE(s) ((void)0) argument
98 #define TRACE(s) __TRACE(s) argument
102 #define TRACE(s) ((void)0) argument
257 #define bat_entry(s, blk) ((s)->bat.bat.bat[(blk)]) argument
267 vhd_initialize(struct vhd_state *s) in vhd_initialize()
290 vhd_free(struct vhd_state *s) in vhd_free()
316 set_batmap(struct vhd_state *s, uint32_t blk) in set_batmap()
325 test_batmap(struct vhd_state *s, uint32_t blk) in test_batmap()
333 vhd_kill_footer(struct vhd_state *s) in vhd_kill_footer()
368 find_next_free_block(struct vhd_state *s) in find_next_free_block()
390 vhd_free_bat(struct vhd_state *s) in vhd_free_bat()
399 vhd_initialize_bat(struct vhd_state *s) in vhd_initialize_bat()
454 vhd_free_bitmap_cache(struct vhd_state *s) in vhd_free_bitmap_cache()
470 vhd_initialize_bitmap_cache(struct vhd_state *s) in vhd_initialize_bitmap_cache()
509 vhd_initialize_dynamic_disk(struct vhd_state *s) in vhd_initialize_dynamic_disk()
547 vhd_check_version(struct vhd_state *s) in vhd_check_version()
566 vhd_log_open(struct vhd_state *s) in vhd_log_open()
600 struct vhd_state *s; in __vhd_open() local
703 vhd_log_close(struct vhd_state *s) in vhd_log_close()
728 struct vhd_state *s; in _vhd_close() local
827 struct vhd_state *s; in vhd_get_parent_id() local
894 init_vhd_request(struct vhd_state *s, struct vhd_request *req) in init_vhd_request()
929 init_bat(struct vhd_state *s) in init_bat()
940 lock_bat(struct vhd_state *s) in lock_bat()
946 unlock_bat(struct vhd_state *s) in unlock_bat()
952 bat_locked(struct vhd_state *s) in bat_locked()
958 init_vhd_bitmap(struct vhd_state *s, struct vhd_bitmap *bm) in init_vhd_bitmap()
972 get_bitmap(struct vhd_state *s, uint32_t block) in get_bitmap()
1020 bitmap_full(struct vhd_state *s, struct vhd_bitmap *bm) in bitmap_full()
1034 remove_lru_bitmap(struct vhd_state *s) in remove_lru_bitmap()
1058 alloc_vhd_bitmap(struct vhd_state *s, struct vhd_bitmap **bitmap, uint32_t blk) in alloc_vhd_bitmap()
1080 __bitmap_lru_seqno(struct vhd_state *s) in __bitmap_lru_seqno()
1101 touch_bitmap(struct vhd_state *s, struct vhd_bitmap *bm) in touch_bitmap()
1107 install_bitmap(struct vhd_state *s, struct vhd_bitmap *bm) in install_bitmap()
1122 free_vhd_bitmap(struct vhd_state *s, struct vhd_bitmap *bm) in free_vhd_bitmap()
1139 read_bitmap_cache(struct vhd_state *s, uint64_t sector, uint8_t op) in read_bitmap_cache()
1185 read_bitmap_cache_span(struct vhd_state *s, in read_bitmap_cache_span()
1214 alloc_vhd_request(struct vhd_state *s) in alloc_vhd_request()
1229 free_vhd_request(struct vhd_state *s, struct vhd_request *req) in free_vhd_request()
1236 aio_read(struct vhd_state *s, struct vhd_request *req, uint64_t offset) in aio_read()
1252 aio_write(struct vhd_state *s, struct vhd_request *req, uint64_t offset) in aio_write()
1268 reserve_new_block(struct vhd_state *s, uint32_t blk) in reserve_new_block()
1285 schedule_bat_write(struct vhd_state *s) in schedule_bat_write()
1323 schedule_zero_bm_write(struct vhd_state *s, in schedule_zero_bm_write()
1347 update_bat(struct vhd_state *s, uint32_t blk) in update_bat()
1381 allocate_block(struct vhd_state *s, uint32_t blk) in allocate_block()
1446 schedule_data_read(struct vhd_state *s, td_request_t treq, vhd_flag_t flags) in schedule_data_read()
1490 schedule_data_write(struct vhd_state *s, td_request_t treq, vhd_flag_t flags) in schedule_data_write()
1554 schedule_bitmap_read(struct vhd_state *s, uint32_t blk) in schedule_bitmap_read()
1597 schedule_bitmap_write(struct vhd_state *s, uint32_t blk) in schedule_bitmap_write()
1642 __vhd_queue_request(struct vhd_state *s, uint8_t op, td_request_t treq) in __vhd_queue_request()
1676 struct vhd_state *s = (struct vhd_state *)driver->data; in vhd_queue_read() local
1749 struct vhd_state *s = (struct vhd_state *)driver->data; in vhd_queue_write() local
1835 struct vhd_state *s; in signal_completion() local
1861 start_new_bitmap_transaction(struct vhd_state *s, struct vhd_bitmap *bm) in start_new_bitmap_transaction()
1903 finish_bat_transaction(struct vhd_state *s, struct vhd_bitmap *bm) in finish_bat_transaction()
1929 finish_bitmap_transaction(struct vhd_state *s, in finish_bitmap_transaction()
1972 finish_data_transaction(struct vhd_state *s, struct vhd_bitmap *bm) in finish_data_transaction()
1991 struct vhd_state *s = req->state; in finish_bat_write() local
2033 struct vhd_state *s = req->state; in finish_zero_bm_write() local
2067 struct vhd_state *s = req->state; in finish_bitmap_read() local
2119 struct vhd_state *s = req->state; in finish_bitmap_write() local
2142 struct vhd_state *s = req->state; in finish_data_read() local
2154 struct vhd_state *s = (struct vhd_state *)req->state; in finish_data_write() local
2193 struct vhd_state *s = req->state; in vhd_complete() local
2243 struct vhd_state *s = (struct vhd_state *)driver->data; in vhd_debug() local