/linux-2.4.37.9/include/linux/ |
D | ext3_jbd.h | 67 ext3_mark_iloc_dirty(handle_t *handle, 76 int ext3_reserve_inode_write(handle_t *handle, struct inode *inode, 79 int ext3_mark_inode_dirty(handle_t *handle, struct inode *inode); 91 handle_t *handle, in ext3_journal_abort_handle() argument 102 journal_abort_handle(handle); in ext3_journal_abort_handle() 103 if (!handle->h_err) in ext3_journal_abort_handle() 104 handle->h_err = err; in ext3_journal_abort_handle() 109 handle_t *handle, struct buffer_head *bh) in __ext3_journal_get_undo_access() argument 111 int err = journal_get_undo_access(handle, bh); in __ext3_journal_get_undo_access() 113 ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); in __ext3_journal_get_undo_access() [all …]
|
/linux-2.4.37.9/drivers/input/ |
D | input.c | 65 struct input_handle *handle = dev->handle; in input_event() local 176 while (handle) { in input_event() 177 if (handle->open) in input_event() 178 handle->handler->event(handle, type, code, value); in input_event() 179 handle = handle->dnext; in input_event() 190 int input_open_device(struct input_handle *handle) in input_open_device() argument 192 handle->open++; in input_open_device() 193 if (handle->dev->open) in input_open_device() 194 return handle->dev->open(handle->dev); in input_open_device() 198 void input_close_device(struct input_handle *handle) in input_close_device() argument [all …]
|
D | keybdev.c | 161 struct input_handle *handle; in keybdev_ledfunc() local 165 for (handle = keybdev_handler.handle; handle; handle = handle->hnext) { in keybdev_ledfunc() 166 input_event(handle->dev, EV_LED, LED_SCROLLL, !!(led & 0x01)); in keybdev_ledfunc() 167 input_event(handle->dev, EV_LED, LED_NUML, !!(led & 0x02)); in keybdev_ledfunc() 168 input_event(handle->dev, EV_LED, LED_CAPSL, !!(led & 0x04)); in keybdev_ledfunc() 172 void keybdev_event(struct input_handle *handle, unsigned int type, unsigned int code, int down) in keybdev_event() argument 185 struct input_handle *handle; in keybdev_connect() local 197 if (!(handle = kmalloc(sizeof(struct input_handle), GFP_KERNEL))) in keybdev_connect() 199 memset(handle, 0, sizeof(struct input_handle)); in keybdev_connect() 201 handle->dev = dev; in keybdev_connect() [all …]
|
D | mousedev.c | 57 struct input_handle handle; member 85 static void mousedev_event(struct input_handle *handle, unsigned int type, unsigned int code, int v… in mousedev_event() argument 87 struct mousedev *mousedevs[3] = { handle->private, &mousedev_mix, NULL }; in mousedev_event() 99 if (test_bit(BTN_TRIGGER, handle->dev->keybit)) in mousedev_event() 103 size = handle->dev->absmax[ABS_X] - handle->dev->absmin[ABS_X]; in mousedev_event() 108 size = handle->dev->absmax[ABS_Y] - handle->dev->absmin[ABS_Y]; in mousedev_event() 183 struct input_handle *handle = mousedev_handler.handle; in mousedev_release() local 184 while (handle) { in mousedev_release() 185 struct mousedev *mousedev = handle->private; in mousedev_release() 188 input_close_device(&mousedev->handle); in mousedev_release() [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | scsi_proc.c | 184 inline int parseFree(parseHandle * handle) in parseFree() argument 186 kfree(handle->cmdPos); in parseFree() 187 kfree(handle); in parseFree() 195 parseHandle *handle; /* new handle */ in parseInit() local 199 handle = (parseHandle *) kmalloc(sizeof(parseHandle), GFP_KERNEL); in parseInit() 200 if (!handle) in parseInit() 202 handle->cmdPos = (char **) kmalloc(sizeof(int) * cmdNum, GFP_KERNEL); in parseInit() 203 if (!handle->cmdPos) { in parseInit() 204 kfree(handle); in parseInit() 207 handle->buf = handle->bufPos = buf; /* init handle */ in parseInit() [all …]
|
/linux-2.4.37.9/fs/ext3/ |
D | namei.c | 254 static int ext3_add_entry (handle_t *handle, struct dentry *dentry, in ext3_add_entry() argument 271 bh = ext3_bread (handle, dir, 0, 0, &retval); in ext3_add_entry() 281 bh = ext3_bread (handle, dir, in ext3_add_entry() 294 ext3_journal_get_write_access(handle, bh); in ext3_add_entry() 301 ext3_mark_inode_dirty(handle, dir); in ext3_add_entry() 323 ext3_journal_get_write_access(handle, bh); in ext3_add_entry() 358 ext3_mark_inode_dirty(handle, dir); in ext3_add_entry() 360 ext3_journal_dirty_metadata(handle, bh); in ext3_add_entry() 376 static int ext3_delete_entry (handle_t *handle, in ext3_delete_entry() argument 392 ext3_journal_get_write_access(handle, bh); in ext3_delete_entry() [all …]
|
D | inode.c | 63 static int ext3_forget(handle_t *handle, int is_metadata, in ext3_forget() argument 85 ext3_journal_forget(handle, bh); in ext3_forget() 94 err = ext3_journal_revoke(handle, blocknr, bh); in ext3_forget() 159 static int try_to_extend_transaction(handle_t *handle, struct inode *inode) in try_to_extend_transaction() argument 161 if (handle->h_buffer_credits > EXT3_RESERVE_TRANS_BLOCKS) in try_to_extend_transaction() 163 if (!ext3_journal_extend(handle, blocks_for_truncate(inode))) in try_to_extend_transaction() 173 static int ext3_journal_test_restart(handle_t *handle, struct inode *inode) in ext3_journal_test_restart() argument 175 jbd_debug(2, "restarting handle %p\n", handle); in ext3_journal_test_restart() 176 return ext3_journal_restart(handle, blocks_for_truncate(inode)); in ext3_journal_test_restart() 192 handle_t *handle; in ext3_delete_inode() local [all …]
|
D | ioctl.c | 30 handle_t *handle = NULL; in ext3_ioctl() local 71 handle = ext3_journal_start(inode, 1); in ext3_ioctl() 72 if (IS_ERR(handle)) in ext3_ioctl() 73 return PTR_ERR(handle); in ext3_ioctl() 75 handle->h_sync = 1; in ext3_ioctl() 76 err = ext3_reserve_inode_write(handle, inode, &iloc); in ext3_ioctl() 87 err = ext3_mark_iloc_dirty(handle, inode, &iloc); in ext3_ioctl() 89 ext3_journal_stop(handle, inode); in ext3_ioctl() 102 handle_t *handle; in ext3_ioctl() local 114 handle = ext3_journal_start(inode, 1); in ext3_ioctl() [all …]
|
/linux-2.4.37.9/fs/jbd/ |
D | transaction.c | 91 static int start_this_handle(journal_t *journal, handle_t *handle) in start_this_handle() argument 95 int nblocks = handle->h_buffer_credits; in start_this_handle() 104 jbd_debug(3, "New handle %p going live.\n", handle); in start_this_handle() 137 jbd_debug(3, "Handle %p stalling...\n", handle); in start_this_handle() 154 jbd_debug(2, "Handle %p starting new commit...\n", handle); in start_this_handle() 193 jbd_debug(2, "Handle %p waiting for checkpoint...\n", handle); in start_this_handle() 201 handle->h_transaction = transaction; in start_this_handle() 206 handle, nblocks, transaction->t_outstanding_credits, in start_this_handle() 217 handle_t *handle = jbd_kmalloc(sizeof (handle_t), GFP_NOFS); in new_handle() local 218 if (!handle) in new_handle() [all …]
|
/linux-2.4.37.9/drivers/pcmcia/ |
D | bulkmem.c | 63 static int do_mtd_request(memory_handle_t handle, mtd_request_t *req, in do_mtd_request() argument 70 mtd = handle->mtd; in do_mtd_request() 214 static void setup_erase_request(client_handle_t handle, eraseq_entry_t *erase) in setup_erase_request() argument 237 busy->client = handle; in setup_erase_request() 268 static int mtd_set_vpp(client_handle_t handle, mtd_vpp_req_t *req) in mtd_set_vpp() argument 271 if (CHECK_HANDLE(handle)) in mtd_set_vpp() 275 s = SOCKET(handle); in mtd_set_vpp() 282 static int mtd_rdy_mask(client_handle_t handle, mtd_rdy_req_t *req) in mtd_rdy_mask() argument 285 if (CHECK_HANDLE(handle)) in mtd_rdy_mask() 287 s = SOCKET(handle); in mtd_rdy_mask() [all …]
|
D | cs.c | 868 int pcmcia_access_configuration_register(client_handle_t handle, in pcmcia_access_configuration_register() argument 876 if (CHECK_HANDLE(handle)) in pcmcia_access_configuration_register() 878 s = SOCKET(handle); in pcmcia_access_configuration_register() 879 if (handle->Function == BIND_FN_ALL) { in pcmcia_access_configuration_register() 884 c = CONFIG(handle); in pcmcia_access_configuration_register() 984 int pcmcia_deregister_client(client_handle_t handle) in pcmcia_deregister_client() argument 992 DEBUG(1, "cs: deregister_client(%p)\n", handle); in pcmcia_deregister_client() 993 if (CHECK_HANDLE(handle)) in pcmcia_deregister_client() 995 if (handle->state & in pcmcia_deregister_client() 999 if (handle->state & CLIENT_WIN_REQ(i)) in pcmcia_deregister_client() [all …]
|
/linux-2.4.37.9/net/sched/ |
D | cls_u32.c | 59 u32 handle; member 72 u32 handle; member 191 u32_lookup_ht(struct tc_u_common *tp_c, u32 handle) in u32_lookup_ht() argument 196 if (ht->handle == handle) in u32_lookup_ht() 203 u32_lookup_key(struct tc_u_hnode *ht, u32 handle) in u32_lookup_key() argument 208 sel = TC_U32_HASH(handle); in u32_lookup_key() 213 if (n->handle == handle) in u32_lookup_key() 220 static unsigned long u32_get(struct tcf_proto *tp, u32 handle) in u32_get() argument 225 if (TC_U32_HTID(handle) == TC_U32_ROOT) in u32_get() 228 ht = u32_lookup_ht(tp_c, TC_U32_HTID(handle)); in u32_get() [all …]
|
D | cls_route.c | 75 u32 handle; member 214 !(TC_H_MAJ(id^tp->q->handle)))) { in route4_classify() 243 static unsigned long route4_get(struct tcf_proto *tp, u32 handle) in route4_get() argument 253 h1 = to_hash(handle); in route4_get() 257 h2 = from_hash(handle>>16); in route4_get() 263 if (f->handle == handle) in route4_get() 326 h = f->handle; in route4_delete() 366 u32 handle, in route4_change() argument 379 return handle ? -EINVAL : 0; in route4_change() 387 if (f->handle != handle && handle) in route4_change() [all …]
|
/linux-2.4.37.9/drivers/telephony/ |
D | ixj_pcmcia.c | 46 static void cs_error(client_handle_t handle, int func, int ret) in cs_error() argument 52 CardServices(ReportError, handle, &err); in cs_error() 89 ret = CardServices(RegisterClient, &link->handle, &client_reg); in ixj_attach() 91 cs_error(link->handle, RegisterClient, ret); in ixj_attach() 118 if (link->handle) { in ixj_detach() 119 ret = CardServices(DeregisterClient, link->handle); in ixj_detach() 121 cs_error(link->handle, DeregisterClient, ret); in ixj_detach() 137 client_handle_t handle; in ixj_get_serial() local 142 handle = link->handle; in ixj_get_serial() 149 CS_CHECK(GetFirstTuple, handle, &tuple); in ixj_get_serial() [all …]
|
/linux-2.4.37.9/drivers/isdn/avmb1/ |
D | avm_cs.c | 123 static void cs_error(client_handle_t handle, int func, int ret) in cs_error() argument 126 CardServices(ReportError, handle, &err); in cs_error() 200 ret = CardServices(RegisterClient, &link->handle, &client_reg); in avmcs_attach() 202 cs_error(link->handle, RegisterClient, ret); in avmcs_attach() 241 if (link->handle) in avmcs_detach() 242 CardServices(DeregisterClient, link->handle); in avmcs_detach() 261 static int get_tuple(int fn, client_handle_t handle, tuple_t *tuple, in get_tuple() argument 265 i = CardServices(fn, handle, tuple); in get_tuple() 267 i = CardServices(GetTupleData, handle, tuple); in get_tuple() 269 return CardServices(ParseTuple, handle, tuple, parse); in get_tuple() [all …]
|
/linux-2.4.37.9/drivers/isdn/hisax/ |
D | avma1_cs.c | 135 static void cs_error(client_handle_t handle, int func, int ret) in cs_error() argument 138 CardServices(ReportError, handle, &err); in cs_error() 212 ret = CardServices(RegisterClient, &link->handle, &client_reg); in avma1cs_attach() 214 cs_error(link->handle, RegisterClient, ret); in avma1cs_attach() 259 if (link->handle) in avma1cs_detach() 260 CardServices(DeregisterClient, link->handle); in avma1cs_detach() 279 static int get_tuple(int fn, client_handle_t handle, tuple_t *tuple, in get_tuple() argument 283 i = CardServices(fn, handle, tuple); in get_tuple() 285 i = CardServices(GetTupleData, handle, tuple); in get_tuple() 287 return CardServices(ParseTuple, handle, tuple, parse); in get_tuple() [all …]
|
D | elsa_cs.c | 181 static void cs_error(client_handle_t handle, int func, int ret) in cs_error() argument 184 CardServices(ReportError, handle, &err); in cs_error() 256 ret = CardServices(RegisterClient, &link->handle, &client_reg); in elsa_cs_attach() 258 cs_error(link->handle, RegisterClient, ret); in elsa_cs_attach() 307 if (link->handle) { in elsa_cs_detach() 308 ret = CardServices(DeregisterClient, link->handle); in elsa_cs_detach() 310 cs_error(link->handle, DeregisterClient, ret); in elsa_cs_detach() 326 static int get_tuple(int fn, client_handle_t handle, tuple_t *tuple, in get_tuple() argument 330 i = CardServices(fn, handle, tuple); in get_tuple() 332 i = CardServices(GetTupleData, handle, tuple); in get_tuple() [all …]
|
/linux-2.4.37.9/drivers/char/pcmcia/ |
D | serial_cs.c | 132 static void cs_error(client_handle_t handle, int func, int ret) in cs_error() argument 135 CardServices(ReportError, handle, &err); in cs_error() 191 ret = CardServices(RegisterClient, &link->handle, &client_reg); in serial_attach() 193 cs_error(link->handle, RegisterClient, ret); in serial_attach() 228 if (link->handle) { in serial_detach() 229 ret = CardServices(DeregisterClient, link->handle); in serial_detach() 231 cs_error(link->handle, DeregisterClient, ret); in serial_detach() 273 static int get_tuple(int fn, client_handle_t handle, tuple_t *tuple, in get_tuple() argument 277 i = CardServices(fn, handle, tuple); in get_tuple() 279 i = CardServices(GetTupleData, handle, tuple); in get_tuple() [all …]
|
/linux-2.4.37.9/include/pcmcia/ |
D | cs.h | 431 int pcmcia_access_configuration_register(client_handle_t handle, conf_reg_t *reg); 434 int pcmcia_deregister_client(client_handle_t handle); 435 int pcmcia_get_configuration_info(client_handle_t handle, config_info_t *config); 437 int pcmcia_get_first_client(client_handle_t *handle, client_req_t *req); 438 int pcmcia_get_next_client(client_handle_t *handle, client_req_t *req); 439 int pcmcia_get_window(window_handle_t *handle, int idx, win_req_t *req); 442 int pcmcia_get_status(client_handle_t handle, cs_status_t *status); 445 int pcmcia_modify_configuration(client_handle_t handle, modconf_t *mod); 447 int pcmcia_register_client(client_handle_t *handle, client_reg_t *req); 448 int pcmcia_release_configuration(client_handle_t handle); [all …]
|
/linux-2.4.37.9/drivers/parport/ |
D | parport_cs.c | 107 static void cs_error(client_handle_t handle, int func, int ret) in cs_error() argument 110 CardServices(ReportError, handle, &err); in cs_error() 163 ret = CardServices(RegisterClient, &link->handle, &client_reg); in parport_attach() 165 cs_error(link->handle, RegisterClient, ret); in parport_attach() 199 if (link->handle) { in parport_detach() 200 ret = CardServices(DeregisterClient, link->handle); in parport_detach() 202 cs_error(link->handle, DeregisterClient, ret); in parport_detach() 227 client_handle_t handle = link->handle; in parport_config() local 244 CS_CHECK(GetFirstTuple, handle, &tuple); in parport_config() 245 CS_CHECK(GetTupleData, handle, &tuple); in parport_config() [all …]
|
/linux-2.4.37.9/drivers/scsi/pcmcia/ |
D | qlogic_stub.c | 112 static void cs_error(client_handle_t handle, int func, int ret) in cs_error() argument 115 CardServices(ReportError, handle, &err); in cs_error() 162 ret = CardServices(RegisterClient, &link->handle, &client_reg); in qlogic_attach() 164 cs_error(link->handle, RegisterClient, ret); in qlogic_attach() 194 if (link->handle) in qlogic_detach() 195 CardServices(DeregisterClient, link->handle); in qlogic_detach() 213 client_handle_t handle = link->handle; in qlogic_config() local 229 CS_CHECK(GetFirstTuple, handle, &tuple); in qlogic_config() 230 CS_CHECK(GetTupleData, handle, &tuple); in qlogic_config() 231 CS_CHECK(ParseTuple, handle, &tuple, &parse); in qlogic_config() [all …]
|
D | fdomain_stub.c | 105 static void cs_error(client_handle_t handle, int func, int ret) in cs_error() argument 108 CardServices(ReportError, handle, &err); in cs_error() 155 ret = CardServices(RegisterClient, &link->handle, &client_reg); in fdomain_attach() 157 cs_error(link->handle, RegisterClient, ret); in fdomain_attach() 187 if (link->handle) in fdomain_detach() 188 CardServices(DeregisterClient, link->handle); in fdomain_detach() 206 client_handle_t handle = link->handle; in fdomain_config() local 223 CS_CHECK(GetFirstTuple, handle, &tuple); in fdomain_config() 224 CS_CHECK(GetTupleData, handle, &tuple); in fdomain_config() 225 CS_CHECK(ParseTuple, handle, &tuple, &parse); in fdomain_config() [all …]
|
D | aha152x_stub.c | 119 static void cs_error(client_handle_t handle, int func, int ret) in cs_error() argument 122 CardServices(ReportError, handle, &err); in cs_error() 169 ret = CardServices(RegisterClient, &link->handle, &client_reg); in aha152x_attach() 171 cs_error(link->handle, RegisterClient, ret); in aha152x_attach() 201 if (link->handle) in aha152x_detach() 202 CardServices(DeregisterClient, link->handle); in aha152x_detach() 220 client_handle_t handle = link->handle; in aha152x_config_cs() local 236 CS_CHECK(GetFirstTuple, handle, &tuple); in aha152x_config_cs() 237 CS_CHECK(GetTupleData, handle, &tuple); in aha152x_config_cs() 238 CS_CHECK(ParseTuple, handle, &tuple, &parse); in aha152x_config_cs() [all …]
|
/linux-2.4.37.9/drivers/ide/legacy/ |
D | ide-cs.c | 112 static void cs_error(client_handle_t handle, int func, int ret) in cs_error() argument 115 CardServices(ReportError, handle, &err); in cs_error() 168 ret = CardServices(RegisterClient, &link->handle, &client_reg); in ide_attach() 170 cs_error(link->handle, RegisterClient, ret); in ide_attach() 206 if (link->handle) { in ide_detach() 207 ret = CardServices(DeregisterClient, link->handle); in ide_detach() 209 cs_error(link->handle, DeregisterClient, ret); in ide_detach() 243 client_handle_t handle = link->handle; in ide_config() local 259 CS_CHECK(GetFirstTuple, handle, &tuple); in ide_config() 260 CS_CHECK(GetTupleData, handle, &tuple); in ide_config() [all …]
|
/linux-2.4.37.9/drivers/net/wireless/ |
D | atmel_cs.c | 177 static void cs_error(client_handle_t handle, int func, int ret) in cs_error() argument 180 CardServices(ReportError, handle, &err); in cs_error() 255 ret = CardServices(RegisterClient, &link->handle, &client_reg); in atmel_attach() 257 cs_error(link->handle, RegisterClient, ret); in atmel_attach() 290 if (link->handle) in atmel_detach() 291 CardServices(DeregisterClient, link->handle); in atmel_detach() 357 client_handle_t handle; in atmel_config() local 365 handle = link->handle; in atmel_config() 376 if (CardServices(GetFirstTuple, handle, &tuple) == 0) { in atmel_config() 379 CS_CHECK(GetTupleData, handle, &tuple); in atmel_config() [all …]
|