/linux-3.4.99/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 115 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin() argument 121 (!memcmp(&target->ioc_guid, topspin_oui, sizeof topspin_oui) || in srp_target_is_topspin() 122 !memcmp(&target->ioc_guid, cisco_oui, sizeof cisco_oui)); in srp_target_is_topspin() 173 static int srp_init_qp(struct srp_target_port *target, in srp_init_qp() argument 183 ret = ib_find_pkey(target->srp_host->srp_dev->dev, in srp_init_qp() 184 target->srp_host->port, in srp_init_qp() 185 be16_to_cpu(target->path.pkey), in srp_init_qp() 193 attr->port_num = target->srp_host->port; in srp_init_qp() 206 static int srp_new_cm_id(struct srp_target_port *target) in srp_new_cm_id() argument 210 new_cm_id = ib_create_cm_id(target->srp_host->srp_dev->dev, in srp_new_cm_id() [all …]
|
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/ |
D | htc.c | 362 static void htc_reclaim_txctrl_buf(struct htc_target *target, in htc_reclaim_txctrl_buf() argument 365 spin_lock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf() 366 list_add_tail(&pkt->list, &target->free_ctrl_txbuf); in htc_reclaim_txctrl_buf() 367 spin_unlock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf() 370 static struct htc_packet *htc_get_control_buf(struct htc_target *target, in htc_get_control_buf() argument 376 buf_list = tx ? &target->free_ctrl_txbuf : &target->free_ctrl_rxbuf; in htc_get_control_buf() 378 spin_lock_bh(&target->htc_lock); in htc_get_control_buf() 381 spin_unlock_bh(&target->htc_lock); in htc_get_control_buf() 387 spin_unlock_bh(&target->htc_lock); in htc_get_control_buf() 395 static void htc_tx_comp_update(struct htc_target *target, in htc_tx_comp_update() argument [all …]
|
/linux-3.4.99/drivers/net/wireless/ath/ath9k/ |
D | htc_hst.c | 19 static int htc_issue_send(struct htc_target *target, struct sk_buff* skb, in htc_issue_send() argument 24 struct htc_endpoint *endpoint = &target->endpoint[epid]; in htc_issue_send() 33 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send() 86 static void htc_process_target_rdy(struct htc_target *target, in htc_process_target_rdy() argument 92 target->credit_size = be16_to_cpu(htc_ready_msg->credit_size); in htc_process_target_rdy() 94 endpoint = &target->endpoint[ENDPOINT0]; in htc_process_target_rdy() 97 atomic_inc(&target->tgt_ready); in htc_process_target_rdy() 98 complete(&target->target_wait); in htc_process_target_rdy() 101 static void htc_process_conn_rsp(struct htc_target *target, in htc_process_conn_rsp() argument 117 endpoint = &target->endpoint[epid]; in htc_process_conn_rsp() [all …]
|
/linux-3.4.99/drivers/staging/tidspbridge/rmgr/ |
D | rmm.c | 83 static bool alloc_block(struct rmm_target_obj *target, u32 segid, u32 size, 85 static bool free_block(struct rmm_target_obj *target, u32 segid, u32 addr, 91 int rmm_alloc(struct rmm_target_obj *target, u32 segid, u32 size, in rmm_alloc() argument 100 if (!alloc_block(target, segid, size, align, dsp_address)) { in rmm_alloc() 105 target->seg_tab[segid].number++; in rmm_alloc() 114 list_for_each_entry(sect, &target->ovly_list, list_elem) { in rmm_alloc() 136 if (list_is_last(§->list_elem, &target->ovly_list)) in rmm_alloc() 139 &target->ovly_list); in rmm_alloc() 158 struct rmm_target_obj *target; in rmm_create() local 163 target = kzalloc(sizeof(struct rmm_target_obj), GFP_KERNEL); in rmm_create() [all …]
|
/linux-3.4.99/Documentation/target/ |
D | tcm_mod_builder.txt | 11 mkdir -p /sys/kernel/config/target/$TCM_NEW_MOD 13 This script will create a new drivers/target/$TCM_NEW_MOD/, and will do the following 15 *) Generate new API callers for drivers/target/target_core_fabric_configs.c logic 23 using drivers/target/target_core_fabric_lib.c logic. 30 target:/mnt/sdb/lio-core-2.6.git/Documentation/target# python tcm_mod_builder.py -p iSCSI -m tcm_na… 31 tcm_dir: /mnt/sdb/lio-core-2.6.git/Documentation/target/../../ 34 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000 37 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000 39 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_base.h 41 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../include/target/target_core_fabric_ops.h [all …]
|
/linux-3.4.99/arch/x86/kernel/ |
D | pci-calgary_64.c | 521 unsigned long target = ((unsigned long)bar) | offset; in calgary_reg() local 522 return (void __iomem*)target; in calgary_reg() 546 void __iomem *target; in calgary_tce_cache_blast() local 549 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | PHB_AER_OFFSET); in calgary_tce_cache_blast() 550 aer = readl(target); in calgary_tce_cache_blast() 551 writel(0, target); in calgary_tce_cache_blast() 554 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | PHB_PLSSR_OFFSET); in calgary_tce_cache_blast() 555 val = readl(target); in calgary_tce_cache_blast() 558 target = calgary_reg(bbar, split_queue_offset(tbl->it_busno)); in calgary_tce_cache_blast() 560 val = readq(target); in calgary_tce_cache_blast() [all …]
|
D | i387.c | 261 int fpregs_active(struct task_struct *target, const struct user_regset *regset) in fpregs_active() argument 263 return tsk_used_math(target) ? regset->n : 0; in fpregs_active() 266 int xfpregs_active(struct task_struct *target, const struct user_regset *regset) in xfpregs_active() argument 268 return (cpu_has_fxsr && tsk_used_math(target)) ? regset->n : 0; in xfpregs_active() 271 int xfpregs_get(struct task_struct *target, const struct user_regset *regset, in xfpregs_get() argument 280 ret = init_fpu(target); in xfpregs_get() 284 sanitize_i387_state(target); in xfpregs_get() 287 &target->thread.fpu.state->fxsave, 0, -1); in xfpregs_get() 290 int xfpregs_set(struct task_struct *target, const struct user_regset *regset, in xfpregs_set() argument 299 ret = init_fpu(target); in xfpregs_set() [all …]
|
/linux-3.4.99/drivers/scsi/ibmvscsi/ |
D | ibmvstgt.c | 72 struct srp_target *target; member 88 static struct vio_port *target_to_port(struct srp_target *target) in target_to_port() argument 90 return (struct vio_port *) target->ldata; in target_to_port() 100 struct srp_target *target = iue->target; in send_iu() local 101 struct vio_port *vport = target_to_port(target); in send_iu() 193 static void handle_cmd_queue(struct srp_target *target) in handle_cmd_queue() argument 195 struct Scsi_Host *shost = target->shost; in handle_cmd_queue() 196 struct srp_rport *rport = target_to_port(target)->rport; in handle_cmd_queue() 203 spin_lock_irqsave(&target->lock, flags); in handle_cmd_queue() 205 list_for_each_entry(iue, &target->cmd_queue, ilist) { in handle_cmd_queue() [all …]
|
/linux-3.4.99/drivers/macintosh/ |
D | windfarm_pid.c | 37 s32 target; in wf_pid_run() local 68 target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd + in wf_pid_run() 71 target += st->target; in wf_pid_run() 72 target = max(target, st->param.min); in wf_pid_run() 73 target = min(target, st->param.max); in wf_pid_run() 74 st->target = target; in wf_pid_run() 76 return st->target; in wf_pid_run() 92 s32 error, target, sval, adj; in wf_cpu_pid_run() local 138 target = st->target + (s32)((deriv + prop) >> 36); in wf_cpu_pid_run() 139 target = max(target, st->param.min); in wf_cpu_pid_run() [all …]
|
/linux-3.4.99/lib/ |
D | syscall.c | 6 static int collect_syscall(struct task_struct *target, long *callno, in collect_syscall() argument 10 struct pt_regs *regs = task_pt_regs(target); in collect_syscall() 17 *callno = syscall_get_nr(target, regs); in collect_syscall() 19 syscall_get_arguments(target, regs, 0, maxargs, args); in collect_syscall() 50 int task_current_syscall(struct task_struct *target, long *callno, in task_current_syscall() argument 60 if (target == current) in task_current_syscall() 61 return collect_syscall(target, callno, args, maxargs, sp, pc); in task_current_syscall() 63 state = target->state; in task_current_syscall() 67 ncsw = wait_task_inactive(target, state); in task_current_syscall() 69 unlikely(collect_syscall(target, callno, args, maxargs, sp, pc)) || in task_current_syscall() [all …]
|
/linux-3.4.99/arch/sparc/kernel/ |
D | ptrace_64.c | 120 static int get_from_target(struct task_struct *target, unsigned long uaddr, in get_from_target() argument 123 if (target == current) { in get_from_target() 127 int len2 = access_process_vm(target, uaddr, kbuf, len, 0); in get_from_target() 134 static int set_to_target(struct task_struct *target, unsigned long uaddr, in set_to_target() argument 137 if (target == current) { in set_to_target() 141 int len2 = access_process_vm(target, uaddr, kbuf, len, 1); in set_to_target() 148 static int regwindow64_get(struct task_struct *target, in regwindow64_get() argument 158 if (get_from_target(target, rw_addr, &win32, sizeof(win32))) in regwindow64_get() 166 if (get_from_target(target, rw_addr, wbuf, sizeof(*wbuf))) in regwindow64_get() 173 static int regwindow64_set(struct task_struct *target, in regwindow64_set() argument [all …]
|
/linux-3.4.99/fs/ncpfs/ |
D | ncplib_kernel.c | 153 ncp_negotiate_buffersize(struct ncp_server *server, int size, int *target) in ncp_negotiate_buffersize() argument 164 *target = min_t(unsigned int, ncp_reply_be16(server, 0), size); in ncp_negotiate_buffersize() 205 int n, struct ncp_volume_info* target) { in ncp_get_volume_info_with_number() argument 215 target->total_blocks = ncp_reply_dword_lh(server, 0); in ncp_get_volume_info_with_number() 216 target->free_blocks = ncp_reply_dword_lh(server, 4); in ncp_get_volume_info_with_number() 217 target->purgeable_blocks = ncp_reply_dword_lh(server, 8); in ncp_get_volume_info_with_number() 218 target->not_yet_purgeable_blocks = ncp_reply_dword_lh(server, 12); in ncp_get_volume_info_with_number() 219 target->total_dir_entries = ncp_reply_dword_lh(server, 16); in ncp_get_volume_info_with_number() 220 target->available_dir_entries = ncp_reply_dword_lh(server, 20); in ncp_get_volume_info_with_number() 221 target->sectors_per_block = ncp_reply_byte(server, 28); in ncp_get_volume_info_with_number() [all …]
|
/linux-3.4.99/drivers/scsi/ |
D | libsrp.c | 128 int srp_target_alloc(struct srp_target *target, struct device *dev, in srp_target_alloc() argument 133 spin_lock_init(&target->lock); in srp_target_alloc() 134 INIT_LIST_HEAD(&target->cmd_queue); in srp_target_alloc() 136 target->dev = dev; in srp_target_alloc() 137 dev_set_drvdata(target->dev, target); in srp_target_alloc() 139 target->srp_iu_size = iu_size; in srp_target_alloc() 140 target->rx_ring_size = nr; in srp_target_alloc() 141 target->rx_ring = srp_ring_alloc(target->dev, nr, iu_size); in srp_target_alloc() 142 if (!target->rx_ring) in srp_target_alloc() 144 err = srp_iu_pool_alloc(&target->iu_queue, nr, target->rx_ring); in srp_target_alloc() [all …]
|
D | qla1280.c | 809 qla1280_wait_for_pending_commands(struct scsi_qla_host *ha, int bus, int target) in qla1280_wait_for_pending_commands() argument 829 if (target >= 0 && SCSI_TCN_32(cmd) != target) in qla1280_wait_for_pending_commands() 858 int bus, target, lun; in qla1280_error_action() local 871 target = SCSI_TCN_32(cmd); in qla1280_error_action() 907 target, lun); in qla1280_error_action() 928 "command.\n", ha->host_no, bus, target, lun); in qla1280_error_action() 929 if (qla1280_device_reset(ha, bus, target) == 0) { in qla1280_error_action() 932 wait_for_target = target; in qla1280_error_action() 980 ha->host_no, bus, target, lun); in qla1280_error_action() 1150 qla1280_set_target_parameters(struct scsi_qla_host *ha, int bus, int target) in qla1280_set_target_parameters() argument [all …]
|
/linux-3.4.99/fs/ocfs2/dlm/ |
D | dlmthread.c | 288 struct dlm_lock *lock, *target; in dlm_shuffle_lists() local 311 target = list_entry(res->converting.next, struct dlm_lock, list); in dlm_shuffle_lists() 312 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists() 320 if (lock==target) in dlm_shuffle_lists() 323 target->ml.convert_type)) { in dlm_shuffle_lists() 331 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists() 333 target->ml.convert_type; in dlm_shuffle_lists() 339 if (lock==target) in dlm_shuffle_lists() 342 target->ml.convert_type)) { in dlm_shuffle_lists() 348 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists() [all …]
|
/linux-3.4.99/drivers/acpi/acpica/ |
D | rsmisc.c | 78 char *target; in acpi_rs_convert_aml_to_resource() local 179 target = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource() 180 item_count = ACPI_GET16(target) - ACPI_GET16(source); in acpi_rs_convert_aml_to_resource() 202 target = ACPI_ADD_PTR(void, aml, (info->value + 2)); in acpi_rs_convert_aml_to_resource() 203 if (ACPI_GET16(target)) { in acpi_rs_convert_aml_to_resource() 207 target = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource() 209 ACPI_GET16(target) - ACPI_GET16(source); in acpi_rs_convert_aml_to_resource() 264 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource() 267 *(u16 **)destination = ACPI_CAST_PTR(u16, target); in acpi_rs_convert_aml_to_resource() 272 acpi_rs_move_data(target, source, item_count, in acpi_rs_convert_aml_to_resource() [all …]
|
/linux-3.4.99/net/bridge/netfilter/ |
D | ebt_mark.c | 25 int action = info->target & -16; in ebt_mark_tg() 36 return info->target | ~EBT_VERDICT_BITS; in ebt_mark_tg() 44 tmp = info->target | ~EBT_VERDICT_BITS; in ebt_mark_tg_check() 49 tmp = info->target & ~EBT_VERDICT_BITS; in ebt_mark_tg_check() 58 compat_uint_t target; member 67 kern->target = user->target; in mark_tg_compat_from_user() 76 put_user(kern->target, &user->target)) in mark_tg_compat_to_user() 86 .target = ebt_mark_tg,
|
/linux-3.4.99/net/nfc/nci/ |
D | ntf.c | 160 struct nfc_target *target, in nci_add_new_protocol() argument 187 target->sens_res = nfca_poll->sens_res; in nci_add_new_protocol() 188 target->sel_res = nfca_poll->sel_res; in nci_add_new_protocol() 189 target->nfcid1_len = nfca_poll->nfcid1_len; in nci_add_new_protocol() 190 if (target->nfcid1_len > 0) { in nci_add_new_protocol() 191 memcpy(target->nfcid1, nfca_poll->nfcid1, in nci_add_new_protocol() 192 target->nfcid1_len); in nci_add_new_protocol() 197 target->sensb_res_len = nfcb_poll->sensb_res_len; in nci_add_new_protocol() 198 if (target->sensb_res_len > 0) { in nci_add_new_protocol() 199 memcpy(target->sensb_res, nfcb_poll->sensb_res, in nci_add_new_protocol() [all …]
|
/linux-3.4.99/fs/cifs/ |
D | cifs_unicode.c | 76 cifs_mapchar(char *target, const __u16 src_char, const struct nls_table *cp, in cifs_mapchar() argument 91 *target = ':'; in cifs_mapchar() 94 *target = '*'; in cifs_mapchar() 97 *target = '?'; in cifs_mapchar() 100 *target = '|'; in cifs_mapchar() 103 *target = '>'; in cifs_mapchar() 106 *target = '<'; in cifs_mapchar() 116 len = cp->uni2char(src_char, target, NLS_MAX_CHARSET_SIZE); in cifs_mapchar() 118 *target = '?'; in cifs_mapchar() 290 cifsConvertToUTF16(__le16 *target, const char *source, int srclen, in cifsConvertToUTF16() argument [all …]
|
/linux-3.4.99/net/netfilter/ |
D | x_tables.c | 50 struct list_head target; member 74 xt_register_target(struct xt_target *target) in xt_register_target() argument 76 u_int8_t af = target->family; in xt_register_target() 82 list_add(&target->list, &xt[af].target); in xt_register_target() 89 xt_unregister_target(struct xt_target *target) in xt_unregister_target() argument 91 u_int8_t af = target->family; in xt_unregister_target() 94 list_del(&target->list); in xt_unregister_target() 100 xt_register_targets(struct xt_target *target, unsigned int n) in xt_register_targets() argument 106 err = xt_register_target(&target[i]); in xt_register_targets() 114 xt_unregister_targets(target, i); in xt_register_targets() [all …]
|
/linux-3.4.99/arch/powerpc/kernel/ |
D | ptrace.c | 229 static int gpr_get(struct task_struct *target, const struct user_regset *regset, in gpr_get() argument 235 if (target->thread.regs == NULL) in gpr_get() 238 if (!FULL_REGS(target->thread.regs)) { in gpr_get() 241 target->thread.regs->gpr[i] = NV_REG_POISON; in gpr_get() 245 target->thread.regs, in gpr_get() 248 unsigned long msr = get_user_msr(target); in gpr_get() 260 &target->thread.regs->orig_gpr3, in gpr_get() 270 static int gpr_set(struct task_struct *target, const struct user_regset *regset, in gpr_set() argument 277 if (target->thread.regs == NULL) in gpr_set() 280 CHECK_FULL_REGS(target->thread.regs); in gpr_set() [all …]
|
/linux-3.4.99/Documentation/power/ |
D | pm_qos_interface.txt | 27 an aggregated target value. The aggregated target value is updated with 29 aggregated target value is simply the max or min of the request values held 31 Note: the aggregated target value is implemented as an atomic variable so that 39 target value. Upon change to this list the new target is recomputed and any 40 registered notifiers are called only if the target value is now different. 45 Will update the list element pointed to by the handle with the new target value 46 and recompute the new aggregated target, calling the notification tree if the 47 target is changed. 50 Will remove the element. After removal it will update the aggregate target and 51 call the notification tree if the target was changed as a result of removing [all …]
|
/linux-3.4.99/arch/s390/kernel/ |
D | ptrace.c | 766 static int s390_regs_get(struct task_struct *target, in s390_regs_get() argument 771 if (target == current) in s390_regs_get() 772 save_access_regs(target->thread.acrs); in s390_regs_get() 777 *k++ = __peek_user(target, pos); in s390_regs_get() 784 if (__put_user(__peek_user(target, pos), u++)) in s390_regs_get() 793 static int s390_regs_set(struct task_struct *target, in s390_regs_set() argument 800 if (target == current) in s390_regs_set() 801 save_access_regs(target->thread.acrs); in s390_regs_set() 806 rc = __poke_user(target, pos, *k++); in s390_regs_set() 817 rc = __poke_user(target, pos, word); in s390_regs_set() [all …]
|
/linux-3.4.99/net/sched/ |
D | act_ipt.c | 45 struct xt_target *target; in ipt_init_target() local 48 target = xt_request_find_target(AF_INET, t->u.user.name, in ipt_init_target() 50 if (IS_ERR(target)) in ipt_init_target() 51 return PTR_ERR(target); in ipt_init_target() 53 t->u.kernel.target = target; in ipt_init_target() 56 par.target = target; in ipt_init_target() 63 module_put(t->u.kernel.target->me); in ipt_init_target() 72 .target = t->u.kernel.target, in ipt_destroy_target() 75 if (par.target->destroy != NULL) in ipt_destroy_target() 76 par.target->destroy(&par); in ipt_destroy_target() [all …]
|
/linux-3.4.99/arch/parisc/math-emu/ |
D | decode_exc.c | 107 int target, exception_index = 1; in decode_fpu() local 223 target = current_ir & fivebits; in decode_fpu() 236 Sgl_decrement(Fpu_sgl(target)); in decode_fpu() 239 sgl_denormalize(&Fpu_sgl(target),&inexact,Rounding_mode()); in decode_fpu() 248 Dbl_decrement(Fpu_dblp1(target),Fpu_dblp2(target)); in decode_fpu() 251 dbl_denormalize(&Fpu_dblp1(target),&Fpu_dblp2(target), in decode_fpu() 301 target = current_ir & fivebits; in decode_fpu() 304 Sgl_setoverflow(Fpu_sgl(target)); in decode_fpu() 307 Dbl_setoverflow(Fpu_dblp1(target),Fpu_dblp2(target)); in decode_fpu()
|