ad 23 arch/arm/include/asm/uaccess-asm.h bcs \bad ad 57 arch/arm/mach-pxa/sharpsl_pm.c static int sharpsl_average_value(int ad); ad 435 arch/arm/mach-pxa/sharpsl_pm.c static int sharpsl_average_value(int ad) ad 442 arch/arm/mach-pxa/sharpsl_pm.c return ad; ad 445 arch/arm/mach-pxa/sharpsl_pm.c sharpsl_ad[sharpsl_ad_index] = ad; ad 275 arch/mips/include/asm/txx9/tx3927.h #define TX3927_PCIC_IDSEL_AD_TO_SLOT(ad) ((ad) - 11) ad 147 arch/mips/include/asm/txx9/tx4927pcic.h #define TX4927_PCIC_IDSEL_AD_TO_SLOT(ad) ((ad) - 11) ad 61 arch/s390/include/asm/cpu_mf.h unsigned int ad:1; /* 15: diag-sampling authorization */ ad 832 arch/s390/kernel/perf_cpum_sf.c if (!si.ad) { ad 2173 arch/s390/kernel/perf_cpum_sf.c if (!si.as && !si.ad) ad 2181 arch/s390/kernel/perf_cpum_sf.c if (si.ad) { ad 144 arch/s390/kernel/perf_event.c cpu, si.as, si.ad, si.min_sampl_rate, si.max_sampl_rate, ad 151 arch/s390/kernel/perf_event.c if (si.ad) ad 154 arch/s390/kernel/perf_event.c si.ad, si.ed, si.cd, si.dsdes, si.tear, si.dear); ad 190 arch/s390/kernel/perf_event.c if (!si.as && !si.ad) ad 199 arch/s390/kernel/perf_event.c if (si.ad) ad 43 arch/xtensa/include/asm/asm-uaccess.h .macro get_fs ad, sp ad 4619 drivers/ata/libata-core.c const struct ata_blacklist_entry *ad = ata_device_blacklist; ad 4624 drivers/ata/libata-core.c while (ad->model_num) { ad 4625 drivers/ata/libata-core.c if (glob_match(ad->model_num, model_num)) { ad 4626 drivers/ata/libata-core.c if (ad->model_rev == NULL) ad 4627 drivers/ata/libata-core.c return ad->horkage; ad 4628 drivers/ata/libata-core.c if (glob_match(ad->model_rev, model_rev)) ad 4629 drivers/ata/libata-core.c return ad->horkage; ad 4631 drivers/ata/libata-core.c ad++; ad 684 drivers/block/drbd/drbd_receiver.c struct accept_wait_data *ad = sk->sk_user_data; ad 687 drivers/block/drbd/drbd_receiver.c state_change = ad->original_sk_state_change; ad 689 drivers/block/drbd/drbd_receiver.c complete(&ad->door_bell); ad 693 drivers/block/drbd/drbd_receiver.c static int prepare_listen_socket(struct drbd_connection *connection, struct accept_wait_data *ad) ad 730 drivers/block/drbd/drbd_receiver.c ad->s_listen = s_listen; ad 732 drivers/block/drbd/drbd_receiver.c ad->original_sk_state_change = s_listen->sk->sk_state_change; ad 734 drivers/block/drbd/drbd_receiver.c s_listen->sk->sk_user_data = ad; ad 756 drivers/block/drbd/drbd_receiver.c static void unregister_state_change(struct sock *sk, struct accept_wait_data *ad) ad 759 drivers/block/drbd/drbd_receiver.c sk->sk_state_change = ad->original_sk_state_change; ad 764 drivers/block/drbd/drbd_receiver.c static struct socket *drbd_wait_for_connect(struct drbd_connection *connection, struct accept_wait_data *ad) ad 783 drivers/block/drbd/drbd_receiver.c err = wait_for_completion_interruptible_timeout(&ad->door_bell, timeo); ad 787 drivers/block/drbd/drbd_receiver.c err = kernel_accept(ad->s_listen, &s_estab, 0); ad 796 drivers/block/drbd/drbd_receiver.c unregister_state_change(s_estab->sk, ad); ad 929 drivers/block/drbd/drbd_receiver.c struct accept_wait_data ad = { ad 931 drivers/block/drbd/drbd_receiver.c .door_bell = COMPLETION_INITIALIZER_ONSTACK(ad.door_bell), ad 950 drivers/block/drbd/drbd_receiver.c if (prepare_listen_socket(connection, &ad)) ad 975 drivers/block/drbd/drbd_receiver.c s = drbd_wait_for_connect(connection, &ad); ad 1021 drivers/block/drbd/drbd_receiver.c if (ad.s_listen) ad 1022 drivers/block/drbd/drbd_receiver.c sock_release(ad.s_listen); ad 1144 drivers/block/drbd/drbd_receiver.c if (ad.s_listen) ad 1145 drivers/block/drbd/drbd_receiver.c sock_release(ad.s_listen); ad 44 drivers/clk/ti/apll.c struct dpll_data *ad; ad 49 drivers/clk/ti/apll.c ad = clk->dpll_data; ad 50 drivers/clk/ti/apll.c if (!ad) ad 55 drivers/clk/ti/apll.c state <<= __ffs(ad->idlest_mask); ad 58 drivers/clk/ti/apll.c v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); ad 60 drivers/clk/ti/apll.c if ((v & ad->idlest_mask) == state) ad 63 drivers/clk/ti/apll.c v = ti_clk_ll_ops->clk_readl(&ad->control_reg); ad 64 drivers/clk/ti/apll.c v &= ~ad->enable_mask; ad 65 drivers/clk/ti/apll.c v |= APLL_FORCE_LOCK << __ffs(ad->enable_mask); ad 66 drivers/clk/ti/apll.c ti_clk_ll_ops->clk_writel(v, &ad->control_reg); ad 68 drivers/clk/ti/apll.c state <<= __ffs(ad->idlest_mask); ad 71 drivers/clk/ti/apll.c v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); ad 72 drivers/clk/ti/apll.c if ((v & ad->idlest_mask) == state) ad 94 drivers/clk/ti/apll.c struct dpll_data *ad; ad 98 drivers/clk/ti/apll.c ad = clk->dpll_data; ad 100 drivers/clk/ti/apll.c state <<= __ffs(ad->idlest_mask); ad 102 drivers/clk/ti/apll.c v = ti_clk_ll_ops->clk_readl(&ad->control_reg); ad 103 drivers/clk/ti/apll.c v &= ~ad->enable_mask; ad 104 drivers/clk/ti/apll.c v |= APLL_AUTO_IDLE << __ffs(ad->enable_mask); ad 105 drivers/clk/ti/apll.c ti_clk_ll_ops->clk_writel(v, &ad->control_reg); ad 111 drivers/clk/ti/apll.c struct dpll_data *ad; ad 114 drivers/clk/ti/apll.c ad = clk->dpll_data; ad 116 drivers/clk/ti/apll.c v = ti_clk_ll_ops->clk_readl(&ad->control_reg); ad 117 drivers/clk/ti/apll.c v &= ad->enable_mask; ad 119 drivers/clk/ti/apll.c v >>= __ffs(ad->enable_mask); ad 141 drivers/clk/ti/apll.c struct dpll_data *ad = clk_hw->dpll_data; ad 155 drivers/clk/ti/apll.c ad->clk_ref = __clk_get_hw(clk); ad 167 drivers/clk/ti/apll.c ad->clk_bypass = __clk_get_hw(clk); ad 186 drivers/clk/ti/apll.c struct dpll_data *ad = NULL; ad 192 drivers/clk/ti/apll.c ad = kzalloc(sizeof(*ad), GFP_KERNEL); ad 195 drivers/clk/ti/apll.c if (!ad || !clk_hw || !init) ad 198 drivers/clk/ti/apll.c clk_hw->dpll_data = ad; ad 218 drivers/clk/ti/apll.c ret = ti_clk_get_reg_addr(node, 0, &ad->control_reg); ad 219 drivers/clk/ti/apll.c ret |= ti_clk_get_reg_addr(node, 1, &ad->idlest_reg); ad 224 drivers/clk/ti/apll.c ad->idlest_mask = 0x1; ad 225 drivers/clk/ti/apll.c ad->enable_mask = 0x3; ad 232 drivers/clk/ti/apll.c kfree(ad); ad 244 drivers/clk/ti/apll.c struct dpll_data *ad = clk->dpll_data; ad 247 drivers/clk/ti/apll.c v = ti_clk_ll_ops->clk_readl(&ad->control_reg); ad 248 drivers/clk/ti/apll.c v &= ad->enable_mask; ad 250 drivers/clk/ti/apll.c v >>= __ffs(ad->enable_mask); ad 269 drivers/clk/ti/apll.c struct dpll_data *ad = clk->dpll_data; ad 273 drivers/clk/ti/apll.c v = ti_clk_ll_ops->clk_readl(&ad->control_reg); ad 274 drivers/clk/ti/apll.c v &= ~ad->enable_mask; ad 275 drivers/clk/ti/apll.c v |= OMAP2_EN_APLL_LOCKED << __ffs(ad->enable_mask); ad 276 drivers/clk/ti/apll.c ti_clk_ll_ops->clk_writel(v, &ad->control_reg); ad 279 drivers/clk/ti/apll.c v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); ad 280 drivers/clk/ti/apll.c if (v & ad->idlest_mask) ad 300 drivers/clk/ti/apll.c struct dpll_data *ad = clk->dpll_data; ad 303 drivers/clk/ti/apll.c v = ti_clk_ll_ops->clk_readl(&ad->control_reg); ad 304 drivers/clk/ti/apll.c v &= ~ad->enable_mask; ad 305 drivers/clk/ti/apll.c v |= OMAP2_EN_APLL_STOPPED << __ffs(ad->enable_mask); ad 306 drivers/clk/ti/apll.c ti_clk_ll_ops->clk_writel(v, &ad->control_reg); ad 318 drivers/clk/ti/apll.c struct dpll_data *ad = clk->dpll_data; ad 321 drivers/clk/ti/apll.c v = ti_clk_ll_ops->clk_readl(&ad->autoidle_reg); ad 322 drivers/clk/ti/apll.c v &= ~ad->autoidle_mask; ad 323 drivers/clk/ti/apll.c v |= val << __ffs(ad->autoidle_mask); ad 324 drivers/clk/ti/apll.c ti_clk_ll_ops->clk_writel(v, &ad->control_reg); ad 347 drivers/clk/ti/apll.c struct dpll_data *ad = NULL; ad 355 drivers/clk/ti/apll.c ad = kzalloc(sizeof(*ad), GFP_KERNEL); ad 359 drivers/clk/ti/apll.c if (!ad || !clk_hw || !init) ad 362 drivers/clk/ti/apll.c clk_hw->dpll_data = ad; ad 389 drivers/clk/ti/apll.c ad->enable_mask = 0x3 << val; ad 390 drivers/clk/ti/apll.c ad->autoidle_mask = 0x3 << val; ad 397 drivers/clk/ti/apll.c ad->idlest_mask = 1 << val; ad 399 drivers/clk/ti/apll.c ret = ti_clk_get_reg_addr(node, 0, &ad->control_reg); ad 400 drivers/clk/ti/apll.c ret |= ti_clk_get_reg_addr(node, 1, &ad->autoidle_reg); ad 401 drivers/clk/ti/apll.c ret |= ti_clk_get_reg_addr(node, 2, &ad->idlest_reg); ad 413 drivers/clk/ti/apll.c kfree(ad); ad 1703 drivers/edac/altera_edac.c struct altr_edac_device_dev *ad = dev_id; ad 1704 drivers/edac/altera_edac.c void __iomem *base = ad->base; ad 1705 drivers/edac/altera_edac.c const struct edac_device_prv_data *priv = ad->data; ad 1707 drivers/edac/altera_edac.c if (irq == ad->sb_irq) { ad 1710 drivers/edac/altera_edac.c edac_device_handle_ce(ad->edac_dev, 0, 0, ad->edac_dev_name); ad 1712 drivers/edac/altera_edac.c } else if (irq == ad->db_irq) { ad 1715 drivers/edac/altera_edac.c edac_device_handle_ue(ad->edac_dev, 0, 0, ad->edac_dev_name); ad 706 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define BLK_AD(s) ((s)->ad) ad 1892 drivers/gpu/drm/msm/disp/mdp5/mdp5.xml.h case 0: return (mdp5_cfg->ad.base[0]); ad 1893 drivers/gpu/drm/msm/disp/mdp5/mdp5.xml.h case 1: return (mdp5_cfg->ad.base[1]); ad 163 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ad = { ad 258 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ad = { ad 420 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ad = { ad 520 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ad = { ad 713 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ad = { ad 91 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h struct mdp5_sub_block ad; ad 1196 drivers/infiniband/hw/hfi1/init.c struct hfi1_asic_data *ad; ad 1203 drivers/infiniband/hw/hfi1/init.c ad = dd->asic_data; ad 1206 drivers/infiniband/hw/hfi1/init.c return ad->dds[other] ? NULL : ad; ad 1210 drivers/infiniband/hw/hfi1/init.c struct hfi1_asic_data *ad) ad 1212 drivers/infiniband/hw/hfi1/init.c clean_up_i2c(dd, ad); ad 1213 drivers/infiniband/hw/hfi1/init.c kfree(ad); ad 1225 drivers/infiniband/hw/hfi1/init.c struct hfi1_asic_data *ad; ad 1230 drivers/infiniband/hw/hfi1/init.c ad = release_asic_data(dd); ad 1233 drivers/infiniband/hw/hfi1/init.c finalize_asic_data(dd, ad); ad 147 drivers/infiniband/hw/hfi1/qsfp.c struct hfi1_asic_data *ad, int num) ad 188 drivers/infiniband/hw/hfi1/qsfp.c int set_up_i2c(struct hfi1_devdata *dd, struct hfi1_asic_data *ad) ad 190 drivers/infiniband/hw/hfi1/qsfp.c ad->i2c_bus0 = init_i2c_bus(dd, ad, 0); ad 191 drivers/infiniband/hw/hfi1/qsfp.c ad->i2c_bus1 = init_i2c_bus(dd, ad, 1); ad 192 drivers/infiniband/hw/hfi1/qsfp.c if (!ad->i2c_bus0 || !ad->i2c_bus1) ad 205 drivers/infiniband/hw/hfi1/qsfp.c void clean_up_i2c(struct hfi1_devdata *dd, struct hfi1_asic_data *ad) ad 207 drivers/infiniband/hw/hfi1/qsfp.c if (!ad) ad 209 drivers/infiniband/hw/hfi1/qsfp.c clean_i2c_bus(ad->i2c_bus0); ad 210 drivers/infiniband/hw/hfi1/qsfp.c ad->i2c_bus0 = NULL; ad 211 drivers/infiniband/hw/hfi1/qsfp.c clean_i2c_bus(ad->i2c_bus1); ad 212 drivers/infiniband/hw/hfi1/qsfp.c ad->i2c_bus1 = NULL; ad 245 drivers/infiniband/hw/hfi1/qsfp.h int set_up_i2c(struct hfi1_devdata *dd, struct hfi1_asic_data *ad); ad 246 drivers/infiniband/hw/hfi1/qsfp.h void clean_up_i2c(struct hfi1_devdata *dd, struct hfi1_asic_data *ad); ad 696 drivers/input/mouse/sentelic.c struct fsp_data *ad = psmouse->private; ad 736 drivers/input/mouse/sentelic.c if (ad->last_mt_fgr == 2) { ad 745 drivers/input/mouse/sentelic.c ad->last_mt_fgr = 2; ad 750 drivers/input/mouse/sentelic.c if (ad->last_mt_fgr == 1) { ad 759 drivers/input/mouse/sentelic.c ad->last_mt_fgr = 1; ad 774 drivers/input/mouse/sentelic.c ad->last_mt_fgr = 0; ad 795 drivers/input/mouse/sentelic.c if ((ad->flags & FSPDRV_FLAG_EN_OPC) != FSPDRV_FLAG_EN_OPC) ad 1388 drivers/media/platform/fsl-viu.c struct i2c_adapter *ad; ad 1444 drivers/media/platform/fsl-viu.c ad = i2c_get_adapter(0); ad 1445 drivers/media/platform/fsl-viu.c if (!ad) { ad 1460 drivers/media/platform/fsl-viu.c viu_dev->decoder = v4l2_i2c_new_subdev(&viu_dev->v4l2_dev, ad, ad 1533 drivers/media/platform/fsl-viu.c i2c_put_adapter(ad); ad 3091 drivers/media/usb/gspca/vc032x.c u16 ad = addr; ad 3094 drivers/media/usb/gspca/vc032x.c reg_w(gspca_dev, 0xa0, tab[j], ad++); ad 2054 drivers/scsi/lpfc/lpfc_ct.c lpfc_fdmi_hba_attr_wwnn(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) ad 2059 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2065 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2066 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_NODENAME); ad 2071 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2076 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2089 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2090 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_MANUFACTURER); ad 2095 drivers/scsi/lpfc/lpfc_ct.c lpfc_fdmi_hba_attr_sn(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) ad 2101 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2110 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2111 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_SERIAL_NUMBER); ad 2117 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2123 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2131 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2132 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_MODEL); ad 2138 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2144 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2153 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2154 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_MODEL_DESCRIPTION); ad 2160 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2167 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2185 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2186 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_HARDWARE_VERSION); ad 2192 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2197 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2206 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2207 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_DRIVER_VERSION); ad 2213 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2219 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2231 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2232 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_OPTION_ROM_VERSION); ad 2238 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2244 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2252 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2253 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_FIRMWARE_VERSION); ad 2259 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2264 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2275 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2276 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_OS_NAME_VERSION); ad 2282 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2287 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2291 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2292 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_MAX_CT_PAYLOAD_LEN); ad 2298 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2303 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2310 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2311 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_SYM_NODENAME); ad 2317 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2322 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2327 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2328 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_VENDOR_INFO); ad 2334 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2339 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2344 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2345 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_NUM_PORTS); ad 2351 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2356 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2362 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2363 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_FABRIC_WWNN); ad 2369 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2375 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2384 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2385 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_BIOS_VERSION); ad 2391 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2396 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2401 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2402 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_BIOS_STATE); ad 2408 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2413 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2422 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2423 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RHBA_VENDOR_ID); ad 2430 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2436 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2449 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2450 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_SUPPORTED_FC4_TYPES); ad 2456 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2462 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2503 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2504 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_SUPPORTED_SPEED); ad 2510 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2516 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2573 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2574 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_PORT_SPEED); ad 2580 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2586 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2593 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2594 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_MAX_FRAME_SIZE); ad 2600 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2606 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2615 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2616 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_OS_DEVICE_NAME); ad 2622 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2627 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2636 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2637 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_HOST_NAME); ad 2643 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2648 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2654 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2655 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_NODENAME); ad 2661 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2666 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2672 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2673 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_PORTNAME); ad 2679 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2684 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2690 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2691 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_SYM_PORTNAME); ad 2697 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2703 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2709 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2710 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_PORT_TYPE); ad 2716 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2721 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2724 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2725 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_SUPPORTED_CLASS); ad 2731 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2736 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2742 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2743 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_FABRICNAME); ad 2749 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2754 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2766 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2767 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_ACTIVE_FC4_TYPES); ad 2773 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2778 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2782 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2783 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_PORT_STATE); ad 2789 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2794 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2798 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2799 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_DISC_PORT); ad 2805 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2810 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2813 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2814 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_PORT_ID); ad 2820 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2825 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2834 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2835 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_SMART_SERVICE); ad 2841 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2846 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2855 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2856 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_SMART_GUID); ad 2862 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2867 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2876 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2877 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_SMART_VERSION); ad 2883 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2889 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2897 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2898 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_SMART_MODEL); ad 2904 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2909 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2917 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2918 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_SMART_PORT_INFO); ad 2924 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2929 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2932 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2933 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_SMART_QOS); ad 2939 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_def *ad) ad 2944 drivers/scsi/lpfc/lpfc_ct.c ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; ad 2947 drivers/scsi/lpfc/lpfc_ct.c ad->AttrLen = cpu_to_be16(size); ad 2948 drivers/scsi/lpfc/lpfc_ct.c ad->AttrType = cpu_to_be16(RPRT_SMART_SECURITY); ad 2954 drivers/scsi/lpfc/lpfc_ct.c (struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) = { ad 2978 drivers/scsi/lpfc/lpfc_ct.c (struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) = { ad 3030 drivers/scsi/lpfc/lpfc_ct.c int (*func)(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad); ad 64 drivers/slimbus/qcom-ctrl.c #define SLIM_MSG_ASM_FIRST_WORD(l, mt, mc, dt, ad) \ ad 65 drivers/slimbus/qcom-ctrl.c ((l) | ((mt) << 5) | ((mc) << 8) | ((dt) << 15) | ((ad) << 16)) ad 91 drivers/slimbus/qcom-ngd-ctrl.c #define SLIM_MSG_ASM_FIRST_WORD(l, mt, mc, dt, ad) \ ad 92 drivers/slimbus/qcom-ngd-ctrl.c ((l) | ((mt) << 5) | ((mc) << 8) | ((dt) << 15) | ((ad) << 16)) ad 336 drivers/video/fbdev/fsl-diu-fb.c struct diu_ad *ad; ad 377 drivers/video/fbdev/fsl-diu-fb.c struct diu_ad ad[NUM_AOIS] __aligned(8); ad 503 drivers/video/fbdev/fsl-diu-fb.c struct diu_ad *ad = mfbi->ad; ad 509 drivers/video/fbdev/fsl-diu-fb.c wr_reg_wa(&hw->desc[0], ad->paddr); ad 513 drivers/video/fbdev/fsl-diu-fb.c if (hw->desc[1] != ad->paddr) { /* AOI0 closed */ ad 515 drivers/video/fbdev/fsl-diu-fb.c ad->next_ad = ad 516 drivers/video/fbdev/fsl-diu-fb.c cpu_to_le32(cmfbi->ad->paddr); ad 518 drivers/video/fbdev/fsl-diu-fb.c ad->next_ad = 0; ad 519 drivers/video/fbdev/fsl-diu-fb.c wr_reg_wa(&hw->desc[1], ad->paddr); ad 524 drivers/video/fbdev/fsl-diu-fb.c if (hw->desc[2] != ad->paddr) { /* AOI0 closed */ ad 526 drivers/video/fbdev/fsl-diu-fb.c ad->next_ad = ad 527 drivers/video/fbdev/fsl-diu-fb.c cpu_to_le32(cmfbi->ad->paddr); ad 529 drivers/video/fbdev/fsl-diu-fb.c ad->next_ad = 0; ad 530 drivers/video/fbdev/fsl-diu-fb.c wr_reg_wa(&hw->desc[2], ad->paddr); ad 535 drivers/video/fbdev/fsl-diu-fb.c ad->next_ad = 0; ad 537 drivers/video/fbdev/fsl-diu-fb.c wr_reg_wa(&hw->desc[1], ad->paddr); ad 539 drivers/video/fbdev/fsl-diu-fb.c pmfbi->ad->next_ad = cpu_to_le32(ad->paddr); ad 543 drivers/video/fbdev/fsl-diu-fb.c ad->next_ad = 0; ad 545 drivers/video/fbdev/fsl-diu-fb.c wr_reg_wa(&hw->desc[2], ad->paddr); ad 547 drivers/video/fbdev/fsl-diu-fb.c pmfbi->ad->next_ad = cpu_to_le32(ad->paddr); ad 555 drivers/video/fbdev/fsl-diu-fb.c struct diu_ad *ad = mfbi->ad; ad 566 drivers/video/fbdev/fsl-diu-fb.c wr_reg_wa(&hw->desc[1], cmfbi->ad->paddr); ad 575 drivers/video/fbdev/fsl-diu-fb.c wr_reg_wa(&hw->desc[2], cmfbi->ad->paddr); ad 583 drivers/video/fbdev/fsl-diu-fb.c if (hw->desc[1] != ad->paddr) { ad 587 drivers/video/fbdev/fsl-diu-fb.c pmfbi->ad->next_ad = 0; ad 594 drivers/video/fbdev/fsl-diu-fb.c if (hw->desc[2] != ad->paddr) { ad 598 drivers/video/fbdev/fsl-diu-fb.c pmfbi->ad->next_ad = 0; ad 911 drivers/video/fbdev/fsl-diu-fb.c struct diu_ad *ad = mfbi->ad; ad 914 drivers/video/fbdev/fsl-diu-fb.c ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); ad 915 drivers/video/fbdev/fsl-diu-fb.c ad->offset_xyd = cpu_to_le32((mfbi->y_aoi_d << 16) | mfbi->x_aoi_d); ad 1133 drivers/video/fbdev/fsl-diu-fb.c struct diu_ad *ad = mfbi->ad; ad 1154 drivers/video/fbdev/fsl-diu-fb.c ad->pix_fmt = diu_ops.get_pixel_format(data->monitor_port, ad 1157 drivers/video/fbdev/fsl-diu-fb.c ad->pix_fmt = fsl_diu_get_pixel_format(var->bits_per_pixel); ad 1159 drivers/video/fbdev/fsl-diu-fb.c ad->addr = cpu_to_le32(info->fix.smem_start); ad 1160 drivers/video/fbdev/fsl-diu-fb.c ad->src_size_g_alpha = cpu_to_le32((var->yres_virtual << 12) | ad 1163 drivers/video/fbdev/fsl-diu-fb.c ad->aoi_size = cpu_to_le32((var->yres << 16) | var->xres); ad 1164 drivers/video/fbdev/fsl-diu-fb.c ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); ad 1165 drivers/video/fbdev/fsl-diu-fb.c ad->offset_xyd = cpu_to_le32((mfbi->y_aoi_d << 16) | mfbi->x_aoi_d); ad 1168 drivers/video/fbdev/fsl-diu-fb.c ad->ckmax_r = 0; ad 1169 drivers/video/fbdev/fsl-diu-fb.c ad->ckmax_g = 0; ad 1170 drivers/video/fbdev/fsl-diu-fb.c ad->ckmax_b = 0; ad 1172 drivers/video/fbdev/fsl-diu-fb.c ad->ckmin_r = 255; ad 1173 drivers/video/fbdev/fsl-diu-fb.c ad->ckmin_g = 255; ad 1174 drivers/video/fbdev/fsl-diu-fb.c ad->ckmin_b = 255; ad 1270 drivers/video/fbdev/fsl-diu-fb.c struct diu_ad *ad = mfbi->ad; ad 1293 drivers/video/fbdev/fsl-diu-fb.c ad->pix_fmt = pix_fmt; ad 1300 drivers/video/fbdev/fsl-diu-fb.c pix_fmt = ad->pix_fmt; ad 1327 drivers/video/fbdev/fsl-diu-fb.c ad->src_size_g_alpha = (ad->src_size_g_alpha & (~0xff)) | ad 1343 drivers/video/fbdev/fsl-diu-fb.c ad->ckmax_r = 0; ad 1344 drivers/video/fbdev/fsl-diu-fb.c ad->ckmax_g = 0; ad 1345 drivers/video/fbdev/fsl-diu-fb.c ad->ckmax_b = 0; ad 1346 drivers/video/fbdev/fsl-diu-fb.c ad->ckmin_r = 255; ad 1347 drivers/video/fbdev/fsl-diu-fb.c ad->ckmin_g = 255; ad 1348 drivers/video/fbdev/fsl-diu-fb.c ad->ckmin_b = 255; ad 1350 drivers/video/fbdev/fsl-diu-fb.c ad->ckmax_r = ck.red_max; ad 1351 drivers/video/fbdev/fsl-diu-fb.c ad->ckmax_g = ck.green_max; ad 1352 drivers/video/fbdev/fsl-diu-fb.c ad->ckmax_b = ck.blue_max; ad 1353 drivers/video/fbdev/fsl-diu-fb.c ad->ckmin_r = ck.red_min; ad 1354 drivers/video/fbdev/fsl-diu-fb.c ad->ckmin_g = ck.green_min; ad 1355 drivers/video/fbdev/fsl-diu-fb.c ad->ckmin_b = ck.blue_min; ad 1724 drivers/video/fbdev/fsl-diu-fb.c data->ad[i].paddr = DMA_ADDR(data, ad[i]); ad 1732 drivers/video/fbdev/fsl-diu-fb.c mfbi->ad = &data->ad[i]; ad 242 fs/hpfs/dnode.c struct dnode *d, *ad, *rd, *nd = NULL; ad 304 fs/hpfs/dnode.c if (!(ad = hpfs_alloc_dnode(i->i_sb, le32_to_cpu(d->up), &adno, &qbh1))) { ad 315 fs/hpfs/dnode.c copy_de(hpfs_add_de(i->i_sb, ad, de->name, de->namelen, de->down ? de_down_pointer(de) : 0), de); ad 325 fs/hpfs/dnode.c set_last_pointer(i->i_sb, ad, de->down ? de_down_pointer(de) : 0); ad 331 fs/hpfs/dnode.c fix_up_ptrs(i->i_sb, ad); ad 333 fs/hpfs/dnode.c ad->up = d->up; ad 334 fs/hpfs/dnode.c dno = le32_to_cpu(ad->up); ad 366 fs/hpfs/dnode.c d->up = ad->up = cpu_to_le32(rdno); ad 367 fs/hpfs/dnode.c d->root_dnode = ad->root_dnode = 0; ad 1295 fs/ntfs/attrib.c ATTR_DEF *ad; ad 1299 fs/ntfs/attrib.c for (ad = vol->attrdef; (u8*)ad - (u8*)vol->attrdef < ad 1300 fs/ntfs/attrib.c vol->attrdef_size && ad->type; ++ad) { ad 1302 fs/ntfs/attrib.c if (likely(le32_to_cpu(ad->type) < le32_to_cpu(type))) ad 1305 fs/ntfs/attrib.c if (likely(ad->type == type)) ad 1306 fs/ntfs/attrib.c return ad; ad 1331 fs/ntfs/attrib.c ATTR_DEF *ad; ad 1341 fs/ntfs/attrib.c ad = ntfs_attr_find_in_attrdef(vol, type); ad 1342 fs/ntfs/attrib.c if (unlikely(!ad)) ad 1345 fs/ntfs/attrib.c if (((sle64_to_cpu(ad->min_size) > 0) && ad 1346 fs/ntfs/attrib.c size < sle64_to_cpu(ad->min_size)) || ad 1347 fs/ntfs/attrib.c ((sle64_to_cpu(ad->max_size) > 0) && size > ad 1348 fs/ntfs/attrib.c sle64_to_cpu(ad->max_size))) ad 1366 fs/ntfs/attrib.c ATTR_DEF *ad; ad 1369 fs/ntfs/attrib.c ad = ntfs_attr_find_in_attrdef(vol, type); ad 1370 fs/ntfs/attrib.c if (unlikely(!ad)) ad 1373 fs/ntfs/attrib.c if (ad->flags & ATTR_DEF_RESIDENT) ad 50 fs/udf/misc.c uint8_t *ea = NULL, *ad = NULL; ad 57 fs/udf/misc.c ad = iinfo->i_ext.i_data + iinfo->i_lenEAttr; ad 59 fs/udf/misc.c ad = ea; ad 73 fs/udf/misc.c memmove(&ad[size], ad, iinfo->i_lenAlloc); ad 380 include/linux/audit.h extern void __audit_ntp_log(const struct audit_ntp_data *ad); ad 493 include/linux/audit.h static inline void audit_ntp_init(struct audit_ntp_data *ad) ad 495 include/linux/audit.h memset(ad, 0, sizeof(*ad)); ad 498 include/linux/audit.h static inline void audit_ntp_set_old(struct audit_ntp_data *ad, ad 501 include/linux/audit.h ad->vals[type].oldval = val; ad 504 include/linux/audit.h static inline void audit_ntp_set_new(struct audit_ntp_data *ad, ad 507 include/linux/audit.h ad->vals[type].newval = val; ad 510 include/linux/audit.h static inline void audit_ntp_log(const struct audit_ntp_data *ad) ad 513 include/linux/audit.h __audit_ntp_log(ad); ad 632 include/linux/audit.h static inline void audit_ntp_init(struct audit_ntp_data *ad) ad 635 include/linux/audit.h static inline void audit_ntp_set_old(struct audit_ntp_data *ad, ad 639 include/linux/audit.h static inline void audit_ntp_set_new(struct audit_ntp_data *ad, ad 643 include/linux/audit.h static inline void audit_ntp_log(const struct audit_ntp_data *ad) ad 115 include/linux/lsm_audit.h struct common_audit_data *ad, u8 *proto); ad 118 include/linux/lsm_audit.h struct common_audit_data *ad, u8 *proto); ad 2526 kernel/auditsc.c static void audit_log_ntp_val(const struct audit_ntp_data *ad, ad 2529 kernel/auditsc.c const struct audit_ntp_val *val = &ad->vals[type]; ad 2538 kernel/auditsc.c void __audit_ntp_log(const struct audit_ntp_data *ad) ad 2540 kernel/auditsc.c audit_log_ntp_val(ad, "offset", AUDIT_NTP_OFFSET); ad 2541 kernel/auditsc.c audit_log_ntp_val(ad, "freq", AUDIT_NTP_FREQ); ad 2542 kernel/auditsc.c audit_log_ntp_val(ad, "status", AUDIT_NTP_STATUS); ad 2543 kernel/auditsc.c audit_log_ntp_val(ad, "tai", AUDIT_NTP_TAI); ad 2544 kernel/auditsc.c audit_log_ntp_val(ad, "tick", AUDIT_NTP_TICK); ad 2545 kernel/auditsc.c audit_log_ntp_val(ad, "adjust", AUDIT_NTP_ADJUST); ad 715 kernel/time/ntp.c s32 *time_tai, struct audit_ntp_data *ad) ad 727 kernel/time/ntp.c audit_ntp_set_old(ad, AUDIT_NTP_ADJUST, save_adjust); ad 728 kernel/time/ntp.c audit_ntp_set_new(ad, AUDIT_NTP_ADJUST, time_adjust); ad 734 kernel/time/ntp.c audit_ntp_set_old(ad, AUDIT_NTP_OFFSET, time_offset); ad 735 kernel/time/ntp.c audit_ntp_set_old(ad, AUDIT_NTP_FREQ, time_freq); ad 736 kernel/time/ntp.c audit_ntp_set_old(ad, AUDIT_NTP_STATUS, time_status); ad 737 kernel/time/ntp.c audit_ntp_set_old(ad, AUDIT_NTP_TAI, *time_tai); ad 738 kernel/time/ntp.c audit_ntp_set_old(ad, AUDIT_NTP_TICK, tick_usec); ad 742 kernel/time/ntp.c audit_ntp_set_new(ad, AUDIT_NTP_OFFSET, time_offset); ad 743 kernel/time/ntp.c audit_ntp_set_new(ad, AUDIT_NTP_FREQ, time_freq); ad 744 kernel/time/ntp.c audit_ntp_set_new(ad, AUDIT_NTP_STATUS, time_status); ad 745 kernel/time/ntp.c audit_ntp_set_new(ad, AUDIT_NTP_TAI, *time_tai); ad 746 kernel/time/ntp.c audit_ntp_set_new(ad, AUDIT_NTP_TICK, tick_usec); ad 13 kernel/time/ntp_internal.h s32 *time_tai, struct audit_ntp_data *ad); ad 2316 kernel/time/timekeeping.c struct audit_ntp_data ad; ad 2340 kernel/time/timekeeping.c audit_ntp_init(&ad); ad 2348 kernel/time/timekeeping.c ret = __do_adjtimex(txc, &ts, &tai, &ad); ad 2359 kernel/time/timekeeping.c audit_ntp_log(&ad); ad 330 net/netfilter/ipset/ip_set_hash_gen.h struct list_head ad; /* Resize add|del backlist */ ad 340 net/netfilter/ipset/ip_set_hash_gen.h enum ipset_adt ad; /* ADD|DEL element */ ad 485 net/netfilter/ipset/ip_set_hash_gen.h list_for_each_safe(l, lt, &h->ad) { ad 790 net/netfilter/ipset/ip_set_hash_gen.h list_for_each_safe(l, lt, &h->ad) { ad 792 net/netfilter/ipset/ip_set_hash_gen.h if (x->ad == IPSET_ADD) { ad 1016 net/netfilter/ipset/ip_set_hash_gen.h x->ad = IPSET_ADD; ad 1022 net/netfilter/ipset/ip_set_hash_gen.h list_add_tail(&x->list, &h->ad); ad 1103 net/netfilter/ipset/ip_set_hash_gen.h x->ad = IPSET_DEL; ad 1145 net/netfilter/ipset/ip_set_hash_gen.h list_add(&x->list, &h->ad); ad 1556 net/netfilter/ipset/ip_set_hash_gen.h INIT_LIST_HEAD(&h->ad); ad 40 security/lsm_audit.c struct common_audit_data *ad, u8 *proto) ad 49 security/lsm_audit.c ad->u.net->v4info.saddr = ih->saddr; ad 50 security/lsm_audit.c ad->u.net->v4info.daddr = ih->daddr; ad 64 security/lsm_audit.c ad->u.net->sport = th->source; ad 65 security/lsm_audit.c ad->u.net->dport = th->dest; ad 73 security/lsm_audit.c ad->u.net->sport = uh->source; ad 74 security/lsm_audit.c ad->u.net->dport = uh->dest; ad 82 security/lsm_audit.c ad->u.net->sport = dh->dccph_sport; ad 83 security/lsm_audit.c ad->u.net->dport = dh->dccph_dport; ad 90 security/lsm_audit.c ad->u.net->sport = sh->source; ad 91 security/lsm_audit.c ad->u.net->dport = sh->dest; ad 109 security/lsm_audit.c struct common_audit_data *ad, u8 *proto) ad 119 security/lsm_audit.c ad->u.net->v6info.saddr = ip6->saddr; ad 120 security/lsm_audit.c ad->u.net->v6info.daddr = ip6->daddr; ad 140 security/lsm_audit.c ad->u.net->sport = th->source; ad 141 security/lsm_audit.c ad->u.net->dport = th->dest; ad 151 security/lsm_audit.c ad->u.net->sport = uh->source; ad 152 security/lsm_audit.c ad->u.net->dport = uh->dest; ad 162 security/lsm_audit.c ad->u.net->sport = dh->dccph_sport; ad 163 security/lsm_audit.c ad->u.net->dport = dh->dccph_dport; ad 172 security/lsm_audit.c ad->u.net->sport = sh->source; ad 173 security/lsm_audit.c ad->u.net->dport = sh->dest; ad 418 security/selinux/avc.c struct common_audit_data *ad) ad 427 security/selinux/avc.c audited, denied, result, ad); ad 662 security/selinux/avc.c struct common_audit_data *ad = a; ad 663 security/selinux/avc.c struct selinux_audit_data *sad = ad->selinux_audit_data; ad 703 security/selinux/avc.c struct common_audit_data *ad = a; ad 704 security/selinux/avc.c struct selinux_audit_data *sad = ad->selinux_audit_data; ad 1034 security/selinux/avc.c u8 driver, u8 xperm, struct common_audit_data *ad) ad 1103 security/selinux/avc.c &avd, xpd, xperm, rc, ad); ad 1631 security/selinux/hooks.c struct common_audit_data ad; ad 1638 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_CAP; ad 1639 security/selinux/hooks.c ad.u.cap = cap; ad 1658 security/selinux/hooks.c sid, sid, sclass, av, &avd, rc, &ad, 0); ad 1696 security/selinux/hooks.c struct common_audit_data ad; ad 1698 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_DENTRY; ad 1699 security/selinux/hooks.c ad.u.dentry = dentry; ad 1701 security/selinux/hooks.c return inode_has_perm(cred, inode, av, &ad); ad 1712 security/selinux/hooks.c struct common_audit_data ad; ad 1714 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_PATH; ad 1715 security/selinux/hooks.c ad.u.path = *path; ad 1717 security/selinux/hooks.c return inode_has_perm(cred, inode, av, &ad); ad 1725 security/selinux/hooks.c struct common_audit_data ad; ad 1727 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_FILE; ad 1728 security/selinux/hooks.c ad.u.file = file; ad 1729 security/selinux/hooks.c return inode_has_perm(cred, file_inode(file), av, &ad); ad 1750 security/selinux/hooks.c struct common_audit_data ad; ad 1754 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_FILE; ad 1755 security/selinux/hooks.c ad.u.file = file; ad 1762 security/selinux/hooks.c &ad); ad 1776 security/selinux/hooks.c rc = inode_has_perm(cred, inode, av, &ad); ad 1818 security/selinux/hooks.c struct common_audit_data ad; ad 1826 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_DENTRY; ad 1827 security/selinux/hooks.c ad.u.dentry = dentry; ad 1832 security/selinux/hooks.c &ad); ad 1842 security/selinux/hooks.c sid, newsid, tclass, FILE__CREATE, &ad); ad 1849 security/selinux/hooks.c FILESYSTEM__ASSOCIATE, &ad); ad 1863 security/selinux/hooks.c struct common_audit_data ad; ad 1871 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_DENTRY; ad 1872 security/selinux/hooks.c ad.u.dentry = dentry; ad 1877 security/selinux/hooks.c sid, dsec->sid, SECCLASS_DIR, av, &ad); ad 1898 security/selinux/hooks.c sid, isec->sid, isec->sclass, av, &ad); ad 1908 security/selinux/hooks.c struct common_audit_data ad; ad 1919 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_DENTRY; ad 1921 security/selinux/hooks.c ad.u.dentry = old_dentry; ad 1924 security/selinux/hooks.c DIR__REMOVE_NAME | DIR__SEARCH, &ad); ad 1929 security/selinux/hooks.c old_isec->sclass, FILE__RENAME, &ad); ad 1935 security/selinux/hooks.c old_isec->sclass, DIR__REPARENT, &ad); ad 1940 security/selinux/hooks.c ad.u.dentry = new_dentry; ad 1945 security/selinux/hooks.c sid, new_dsec->sid, SECCLASS_DIR, av, &ad); ad 1954 security/selinux/hooks.c (new_is_dir ? DIR__RMDIR : FILE__UNLINK), &ad); ad 1966 security/selinux/hooks.c struct common_audit_data *ad) ad 1973 security/selinux/hooks.c sid, sbsec->sid, SECCLASS_FILESYSTEM, perms, ad); ad 2095 security/selinux/hooks.c struct common_audit_data ad; ad 2098 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_PATH; ad 2099 security/selinux/hooks.c ad.u.path = file->f_path; ad 2106 security/selinux/hooks.c &ad); ad 2123 security/selinux/hooks.c &ad); ad 2334 security/selinux/hooks.c struct common_audit_data ad; ad 2382 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_FILE; ad 2383 security/selinux/hooks.c ad.u.file = bprm->file; ad 2388 security/selinux/hooks.c SECCLASS_FILE, FILE__EXECUTE_NO_TRANS, &ad); ad 2395 security/selinux/hooks.c SECCLASS_PROCESS, PROCESS__TRANSITION, &ad); ad 2401 security/selinux/hooks.c SECCLASS_FILE, FILE__ENTRYPOINT, &ad); ad 2737 security/selinux/hooks.c struct common_audit_data ad; ad 2739 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_DENTRY; ad 2740 security/selinux/hooks.c ad.u.dentry = sb->s_root; ad 2741 security/selinux/hooks.c return superblock_has_perm(cred, sb, FILESYSTEM__MOUNT, &ad); ad 2747 security/selinux/hooks.c struct common_audit_data ad; ad 2749 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_DENTRY; ad 2750 security/selinux/hooks.c ad.u.dentry = dentry->d_sb->s_root; ad 2751 security/selinux/hooks.c return superblock_has_perm(cred, dentry->d_sb, FILESYSTEM__GETATTR, &ad); ad 3006 security/selinux/hooks.c struct common_audit_data ad; ad 3012 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_DENTRY; ad 3013 security/selinux/hooks.c ad.u.dentry = dentry; ad 3020 security/selinux/hooks.c sid, isec->sid, isec->sclass, FILE__READ, &ad, ad 3028 security/selinux/hooks.c struct common_audit_data ad; ad 3032 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_INODE; ad 3033 security/selinux/hooks.c ad.u.inode = inode; ad 3037 security/selinux/hooks.c audited, denied, result, &ad); ad 3145 security/selinux/hooks.c struct common_audit_data ad; ad 3166 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_DENTRY; ad 3167 security/selinux/hooks.c ad.u.dentry = dentry; ad 3172 security/selinux/hooks.c FILE__RELABELFROM, &ad); ad 3211 security/selinux/hooks.c FILE__RELABELTO, &ad); ad 3225 security/selinux/hooks.c &ad); ad 3298 security/selinux/hooks.c struct common_audit_data ad; ad 3300 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_PATH; ad 3301 security/selinux/hooks.c ad.u.path = *path; ad 3314 security/selinux/hooks.c FILESYSTEM__WATCH, &ad); ad 3567 security/selinux/hooks.c struct common_audit_data ad; ad 3577 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_IOCTL_OP; ad 3578 security/selinux/hooks.c ad.u.op = &ioctl; ad 3579 security/selinux/hooks.c ad.u.op->cmd = cmd; ad 3580 security/selinux/hooks.c ad.u.op->path = file->f_path; ad 3587 security/selinux/hooks.c &ad); ad 3598 security/selinux/hooks.c requested, driver, xperm, &ad); ad 3708 security/selinux/hooks.c struct common_audit_data ad; ad 3712 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_FILE; ad 3713 security/selinux/hooks.c ad.u.file = file; ad 3715 security/selinux/hooks.c FILE__MAP, &ad); ad 3969 security/selinux/hooks.c struct common_audit_data ad; ad 3971 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_KMOD; ad 3972 security/selinux/hooks.c ad.u.kmod_name = kmod_name; ad 3976 security/selinux/hooks.c SYSTEM__MODULE_REQUEST, &ad); ad 3981 security/selinux/hooks.c struct common_audit_data ad; ad 3995 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_FILE; ad 3996 security/selinux/hooks.c ad.u.file = file; ad 4001 security/selinux/hooks.c sid, fsec->sid, SECCLASS_FD, FD__USE, &ad); ad 4009 security/selinux/hooks.c SYSTEM__MODULE_LOAD, &ad); ad 4176 security/selinux/hooks.c struct common_audit_data *ad, u8 *proto) ad 4190 security/selinux/hooks.c ad->u.net->v4info.saddr = ih->saddr; ad 4191 security/selinux/hooks.c ad->u.net->v4info.daddr = ih->daddr; ad 4209 security/selinux/hooks.c ad->u.net->sport = th->source; ad 4210 security/selinux/hooks.c ad->u.net->dport = th->dest; ad 4225 security/selinux/hooks.c ad->u.net->sport = uh->source; ad 4226 security/selinux/hooks.c ad->u.net->dport = uh->dest; ad 4241 security/selinux/hooks.c ad->u.net->sport = dh->dccph_sport; ad 4242 security/selinux/hooks.c ad->u.net->dport = dh->dccph_dport; ad 4258 security/selinux/hooks.c ad->u.net->sport = sh->source; ad 4259 security/selinux/hooks.c ad->u.net->dport = sh->dest; ad 4274 security/selinux/hooks.c struct common_audit_data *ad, u8 *proto) ad 4286 security/selinux/hooks.c ad->u.net->v6info.saddr = ip6->saddr; ad 4287 security/selinux/hooks.c ad->u.net->v6info.daddr = ip6->daddr; ad 4307 security/selinux/hooks.c ad->u.net->sport = th->source; ad 4308 security/selinux/hooks.c ad->u.net->dport = th->dest; ad 4319 security/selinux/hooks.c ad->u.net->sport = uh->source; ad 4320 security/selinux/hooks.c ad->u.net->dport = uh->dest; ad 4331 security/selinux/hooks.c ad->u.net->sport = dh->dccph_sport; ad 4332 security/selinux/hooks.c ad->u.net->dport = dh->dccph_dport; ad 4344 security/selinux/hooks.c ad->u.net->sport = sh->source; ad 4345 security/selinux/hooks.c ad->u.net->dport = sh->dest; ad 4359 security/selinux/hooks.c static int selinux_parse_skb(struct sk_buff *skb, struct common_audit_data *ad, ad 4365 security/selinux/hooks.c switch (ad->u.net->family) { ad 4367 security/selinux/hooks.c ret = selinux_parse_skb_ipv4(skb, ad, proto); ad 4370 security/selinux/hooks.c addrp = (char *)(src ? &ad->u.net->v4info.saddr : ad 4371 security/selinux/hooks.c &ad->u.net->v4info.daddr); ad 4376 security/selinux/hooks.c ret = selinux_parse_skb_ipv6(skb, ad, proto); ad 4379 security/selinux/hooks.c addrp = (char *)(src ? &ad->u.net->v6info.saddr : ad 4380 security/selinux/hooks.c &ad->u.net->v6info.daddr); ad 4483 security/selinux/hooks.c struct common_audit_data ad; ad 4489 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_NET; ad 4490 security/selinux/hooks.c ad.u.net = &net; ad 4491 security/selinux/hooks.c ad.u.net->sk = sk; ad 4495 security/selinux/hooks.c &ad); ad 4583 security/selinux/hooks.c struct common_audit_data ad; ad 4628 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_NET; ad 4629 security/selinux/hooks.c ad.u.net = &net; ad 4630 security/selinux/hooks.c ad.u.net->sport = htons(snum); ad 4631 security/selinux/hooks.c ad.u.net->family = family_sa; ad 4647 security/selinux/hooks.c SOCKET__NAME_BIND, &ad); ad 4680 security/selinux/hooks.c ad.u.net->v4info.saddr = addr4->sin_addr.s_addr; ad 4682 security/selinux/hooks.c ad.u.net->v6info.saddr = addr6->sin6_addr; ad 4686 security/selinux/hooks.c sksec->sclass, node_perm, &ad); ad 4728 security/selinux/hooks.c struct common_audit_data ad; ad 4779 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_NET; ad 4780 security/selinux/hooks.c ad.u.net = &net; ad 4781 security/selinux/hooks.c ad.u.net->dport = htons(snum); ad 4782 security/selinux/hooks.c ad.u.net->family = address->sa_family; ad 4784 security/selinux/hooks.c sksec->sid, sid, sksec->sclass, perm, &ad); ad 4888 security/selinux/hooks.c struct common_audit_data ad; ad 4892 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_NET; ad 4893 security/selinux/hooks.c ad.u.net = &net; ad 4894 security/selinux/hooks.c ad.u.net->sk = other; ad 4899 security/selinux/hooks.c UNIX_STREAM_SOCKET__CONNECTTO, &ad); ad 4921 security/selinux/hooks.c struct common_audit_data ad; ad 4924 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_NET; ad 4925 security/selinux/hooks.c ad.u.net = &net; ad 4926 security/selinux/hooks.c ad.u.net->sk = other->sk; ad 4930 security/selinux/hooks.c &ad); ad 4935 security/selinux/hooks.c struct common_audit_data *ad) ad 4946 security/selinux/hooks.c SECCLASS_NETIF, NETIF__INGRESS, ad); ad 4955 security/selinux/hooks.c SECCLASS_NODE, NODE__RECVFROM, ad); ad 4964 security/selinux/hooks.c struct common_audit_data ad; ad 4968 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_NET; ad 4969 security/selinux/hooks.c ad.u.net = &net; ad 4970 security/selinux/hooks.c ad.u.net->netif = skb->skb_iif; ad 4971 security/selinux/hooks.c ad.u.net->family = family; ad 4972 security/selinux/hooks.c err = selinux_parse_skb(skb, &ad, &addrp, 1, NULL); ad 4979 security/selinux/hooks.c PACKET__RECV, &ad); ad 4984 security/selinux/hooks.c err = selinux_netlbl_sock_rcv_skb(sksec, skb, family, &ad); ad 4987 security/selinux/hooks.c err = selinux_xfrm_sock_rcv_skb(sksec->sid, skb, &ad); ad 4998 security/selinux/hooks.c struct common_audit_data ad; ad 5023 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_NET; ad 5024 security/selinux/hooks.c ad.u.net = &net; ad 5025 security/selinux/hooks.c ad.u.net->netif = skb->skb_iif; ad 5026 security/selinux/hooks.c ad.u.net->family = family; ad 5027 security/selinux/hooks.c err = selinux_parse_skb(skb, &ad, &addrp, 1, NULL); ad 5038 security/selinux/hooks.c addrp, family, peer_sid, &ad); ad 5045 security/selinux/hooks.c PEER__RECV, &ad); ad 5055 security/selinux/hooks.c PACKET__RECV, &ad); ad 5196 security/selinux/hooks.c struct common_audit_data ad; ad 5234 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_NET; ad 5235 security/selinux/hooks.c ad.u.net = &net; ad 5236 security/selinux/hooks.c ad.u.net->sk = ep->base.sk; ad 5239 security/selinux/hooks.c SCTP_SOCKET__ASSOCIATION, &ad); ad 5589 security/selinux/hooks.c struct common_audit_data ad; ad 5607 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_NET; ad 5608 security/selinux/hooks.c ad.u.net = &net; ad 5609 security/selinux/hooks.c ad.u.net->netif = indev->ifindex; ad 5610 security/selinux/hooks.c ad.u.net->family = family; ad 5611 security/selinux/hooks.c if (selinux_parse_skb(skb, &ad, &addrp, 1, NULL) != 0) ad 5616 security/selinux/hooks.c addrp, family, peer_sid, &ad); ad 5626 security/selinux/hooks.c SECCLASS_PACKET, PACKET__FORWARD_IN, &ad)) ad 5720 security/selinux/hooks.c struct common_audit_data ad; ad 5729 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_NET; ad 5730 security/selinux/hooks.c ad.u.net = &net; ad 5731 security/selinux/hooks.c ad.u.net->netif = ifindex; ad 5732 security/selinux/hooks.c ad.u.net->family = family; ad 5733 security/selinux/hooks.c if (selinux_parse_skb(skb, &ad, &addrp, 0, &proto)) ad 5739 security/selinux/hooks.c SECCLASS_PACKET, PACKET__SEND, &ad)) ad 5742 security/selinux/hooks.c if (selinux_xfrm_postroute_last(sksec->sid, skb, &ad, proto)) ad 5756 security/selinux/hooks.c struct common_audit_data ad; ad 5853 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_NET; ad 5854 security/selinux/hooks.c ad.u.net = &net; ad 5855 security/selinux/hooks.c ad.u.net->netif = ifindex; ad 5856 security/selinux/hooks.c ad.u.net->family = family; ad 5857 security/selinux/hooks.c if (selinux_parse_skb(skb, &ad, &addrp, 0, NULL)) ad 5863 security/selinux/hooks.c SECCLASS_PACKET, secmark_perm, &ad)) ad 5874 security/selinux/hooks.c SECCLASS_NETIF, NETIF__EGRESS, &ad)) ad 5881 security/selinux/hooks.c SECCLASS_NODE, NODE__SENDTO, &ad)) ad 5931 security/selinux/hooks.c struct common_audit_data ad; ad 5936 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_IPC; ad 5937 security/selinux/hooks.c ad.u.ipc_id = ipc_perms->key; ad 5940 security/selinux/hooks.c sid, isec->sid, isec->sclass, perms, &ad); ad 5952 security/selinux/hooks.c struct common_audit_data ad; ad 5959 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_IPC; ad 5960 security/selinux/hooks.c ad.u.ipc_id = msq->key; ad 5964 security/selinux/hooks.c MSGQ__CREATE, &ad); ad 5971 security/selinux/hooks.c struct common_audit_data ad; ad 5976 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_IPC; ad 5977 security/selinux/hooks.c ad.u.ipc_id = msq->key; ad 5981 security/selinux/hooks.c MSGQ__ASSOCIATE, &ad); ad 6019 security/selinux/hooks.c struct common_audit_data ad; ad 6040 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_IPC; ad 6041 security/selinux/hooks.c ad.u.ipc_id = msq->key; ad 6046 security/selinux/hooks.c MSGQ__WRITE, &ad); ad 6051 security/selinux/hooks.c MSG__SEND, &ad); ad 6056 security/selinux/hooks.c MSGQ__ENQUEUE, &ad); ad 6067 security/selinux/hooks.c struct common_audit_data ad; ad 6074 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_IPC; ad 6075 security/selinux/hooks.c ad.u.ipc_id = msq->key; ad 6079 security/selinux/hooks.c SECCLASS_MSGQ, MSGQ__READ, &ad); ad 6083 security/selinux/hooks.c SECCLASS_MSG, MSG__RECEIVE, &ad); ad 6091 security/selinux/hooks.c struct common_audit_data ad; ad 6098 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_IPC; ad 6099 security/selinux/hooks.c ad.u.ipc_id = shp->key; ad 6103 security/selinux/hooks.c SHM__CREATE, &ad); ad 6110 security/selinux/hooks.c struct common_audit_data ad; ad 6115 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_IPC; ad 6116 security/selinux/hooks.c ad.u.ipc_id = shp->key; ad 6120 security/selinux/hooks.c SHM__ASSOCIATE, &ad); ad 6176 security/selinux/hooks.c struct common_audit_data ad; ad 6183 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_IPC; ad 6184 security/selinux/hooks.c ad.u.ipc_id = sma->key; ad 6188 security/selinux/hooks.c SEM__CREATE, &ad); ad 6195 security/selinux/hooks.c struct common_audit_data ad; ad 6200 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_IPC; ad 6201 security/selinux/hooks.c ad.u.ipc_id = sma->key; ad 6205 security/selinux/hooks.c SEM__ASSOCIATE, &ad); ad 6619 security/selinux/hooks.c struct common_audit_data ad; ad 6629 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_IBPKEY; ad 6632 security/selinux/hooks.c ad.u.ibpkey = &ibpkey; ad 6636 security/selinux/hooks.c INFINIBAND_PKEY__ACCESS, &ad); ad 6642 security/selinux/hooks.c struct common_audit_data ad; ad 6654 security/selinux/hooks.c ad.type = LSM_AUDIT_DATA_IBENDPORT; ad 6657 security/selinux/hooks.c ad.u.ibendport = &ibendport; ad 6661 security/selinux/hooks.c INFINIBAND_ENDPORT__MANAGE_SUBNET, &ad); ad 166 security/selinux/include/avc.h u8 driver, u8 perm, struct common_audit_data *ad); ad 51 security/selinux/include/netlabel.h struct common_audit_data *ad); ad 134 security/selinux/include/netlabel.h struct common_audit_data *ad) ad 40 security/selinux/include/xfrm.h struct common_audit_data *ad); ad 42 security/selinux/include/xfrm.h struct common_audit_data *ad, u8 proto); ad 62 security/selinux/include/xfrm.h struct common_audit_data *ad) ad 68 security/selinux/include/xfrm.h struct common_audit_data *ad, ad 431 security/selinux/netlabel.c struct common_audit_data *ad) ad 464 security/selinux/netlabel.c sksec->sid, nlbl_sid, sksec->sclass, perm, ad); ad 405 security/selinux/xfrm.c struct common_audit_data *ad) ad 428 security/selinux/xfrm.c SECCLASS_ASSOCIATION, ASSOCIATION__RECVFROM, ad); ad 439 security/selinux/xfrm.c struct common_audit_data *ad, u8 proto) ad 471 security/selinux/xfrm.c SECCLASS_ASSOCIATION, ASSOCIATION__SENDTO, ad); ad 314 security/smack/smack_access.c struct common_audit_data *ad = a; ad 315 security/smack/smack_access.c struct smack_audit_data *sad = ad->smack_audit_data; ad 317 security/smack/smack_access.c ad->smack_audit_data->function, ad 341 security/smack/smack_access.c int result, struct smk_audit_info *ad) ad 349 security/smack/smack_access.c struct common_audit_data *a = &ad->a; ad 388 security/smack/smack_access.c int result, struct smk_audit_info *ad) ad 422 security/smack/smack_lsm.c struct smk_audit_info ad, *saip = NULL; ad 428 security/smack/smack_lsm.c smk_ad_init(&ad, func, LSM_AUDIT_DATA_TASK); ad 429 security/smack/smack_lsm.c smk_ad_setfield_u_tsk(&ad, tracer); ad 430 security/smack/smack_lsm.c saip = &ad; ad 883 security/smack/smack_lsm.c struct smk_audit_info ad; ad 885 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); ad 886 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, dentry); ad 888 security/smack/smack_lsm.c rc = smk_curacc(sbp->smk_floor, MAY_READ, &ad); ad 1034 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1037 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); ad 1038 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, old_dentry); ad 1041 security/smack/smack_lsm.c rc = smk_curacc(isp, MAY_WRITE, &ad); ad 1046 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, new_dentry); ad 1047 security/smack/smack_lsm.c rc = smk_curacc(isp, MAY_WRITE, &ad); ad 1065 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1068 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); ad 1069 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, dentry); ad 1074 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(ip), MAY_WRITE, &ad); ad 1080 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_INODE); ad 1081 security/smack/smack_lsm.c smk_ad_setfield_u_fs_inode(&ad, dir); ad 1082 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); ad 1098 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1101 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); ad 1102 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, dentry); ad 1107 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); ad 1113 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_INODE); ad 1114 security/smack/smack_lsm.c smk_ad_setfield_u_fs_inode(&ad, dir); ad 1115 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); ad 1141 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1143 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); ad 1144 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, old_dentry); ad 1147 security/smack/smack_lsm.c rc = smk_curacc(isp, MAY_READWRITE, &ad); ad 1152 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, new_dentry); ad 1153 security/smack/smack_lsm.c rc = smk_curacc(isp, MAY_READWRITE, &ad); ad 1171 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1190 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_INODE); ad 1191 security/smack/smack_lsm.c smk_ad_setfield_u_fs_inode(&ad, inode); ad 1192 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(inode), mask, &ad); ad 1206 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1214 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); ad 1215 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, dentry); ad 1217 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); ad 1230 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1234 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_PATH); ad 1235 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path(&ad, *path); ad 1236 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(inode), MAY_READ, &ad); ad 1256 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1296 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); ad 1297 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, dentry); ad 1300 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); ad 1355 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1358 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); ad 1359 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, dentry); ad 1361 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_READ, &ad); ad 1378 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1395 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); ad 1396 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, dentry); ad 1398 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); ad 1555 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1561 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_PATH); ad 1562 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path(&ad, file->f_path); ad 1565 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(inode), MAY_WRITE, &ad); ad 1570 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(inode), MAY_READ, &ad); ad 1586 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1593 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_PATH); ad 1594 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path(&ad, file->f_path); ad 1595 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(inode), MAY_LOCK, &ad); ad 1615 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1627 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_PATH); ad 1628 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path(&ad, file->f_path); ad 1629 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(inode), MAY_LOCK, &ad); ad 1634 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_PATH); ad 1635 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path(&ad, file->f_path); ad 1636 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(inode), MAY_WRITE, &ad); ad 1790 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1809 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_TASK); ad 1810 security/smack/smack_lsm.c smk_ad_setfield_u_tsk(&ad, tsk); ad 1811 security/smack/smack_lsm.c smack_log(skp->smk_known, tkp->smk_known, MAY_DELIVER, rc, &ad); ad 1825 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1834 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_PATH); ad 1835 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path(&ad, file->f_path); ad 1847 security/smack/smack_lsm.c rc = smk_access(tsp->smk_task, ssp->smk_out, MAY_WRITE, &ad); ad 1851 security/smack/smack_lsm.c rc = smk_access(ssp->smk_in, tsp->smk_task, MAY_WRITE, &ad); ad 1863 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(inode), may, &ad); ad 1883 security/smack/smack_lsm.c struct smk_audit_info ad; ad 1886 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_PATH); ad 1887 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path(&ad, file->f_path); ad 1888 security/smack/smack_lsm.c rc = smk_tskacc(tsp, smk_of_inode(inode), MAY_READ, &ad); ad 2043 security/smack/smack_lsm.c struct smk_audit_info ad; ad 2047 security/smack/smack_lsm.c smk_ad_init(&ad, caller, LSM_AUDIT_DATA_TASK); ad 2048 security/smack/smack_lsm.c smk_ad_setfield_u_tsk(&ad, p); ad 2049 security/smack/smack_lsm.c rc = smk_curacc(skp, access, &ad); ad 2183 security/smack/smack_lsm.c struct smk_audit_info ad; ad 2191 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_TASK); ad 2192 security/smack/smack_lsm.c smk_ad_setfield_u_tsk(&ad, p); ad 2198 security/smack/smack_lsm.c rc = smk_curacc(tkp, MAY_DELIVER, &ad); ad 2208 security/smack/smack_lsm.c rc = smk_access(skp, tkp, MAY_DELIVER, &ad); ad 2454 security/smack/smack_lsm.c struct smk_audit_info ad; ad 2462 security/smack/smack_lsm.c smk_ad_init_net(&ad, __func__, LSM_AUDIT_DATA_NET, &net); ad 2463 security/smack/smack_lsm.c ad.a.u.net->family = sap->sin_family; ad 2464 security/smack/smack_lsm.c ad.a.u.net->dport = sap->sin_port; ad 2465 security/smack/smack_lsm.c ad.a.u.net->v4info.daddr = sap->sin_addr.s_addr; ad 2469 security/smack/smack_lsm.c rc = smk_access(skp, hkp, MAY_WRITE, &ad); ad 2498 security/smack/smack_lsm.c struct smk_audit_info ad; ad 2502 security/smack/smack_lsm.c smk_ad_init_net(&ad, __func__, LSM_AUDIT_DATA_NET, &net); ad 2503 security/smack/smack_lsm.c ad.a.u.net->family = PF_INET6; ad 2504 security/smack/smack_lsm.c ad.a.u.net->dport = ntohs(address->sin6_port); ad 2506 security/smack/smack_lsm.c ad.a.u.net->v6info.saddr = address->sin6_addr; ad 2508 security/smack/smack_lsm.c ad.a.u.net->v6info.daddr = address->sin6_addr; ad 2510 security/smack/smack_lsm.c rc = smk_access(subject, object, MAY_WRITE, &ad); ad 2933 security/smack/smack_lsm.c struct smk_audit_info ad; ad 2937 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_IPC); ad 2938 security/smack/smack_lsm.c ad.a.u.ipc_id = isp->id; ad 2940 security/smack/smack_lsm.c rc = smk_curacc(ssp, access, &ad); ad 3022 security/smack/smack_lsm.c struct smk_audit_info ad; ad 3026 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_IPC); ad 3027 security/smack/smack_lsm.c ad.a.u.ipc_id = isp->id; ad 3029 security/smack/smack_lsm.c rc = smk_curacc(ssp, access, &ad); ad 3117 security/smack/smack_lsm.c struct smk_audit_info ad; ad 3121 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_IPC); ad 3122 security/smack/smack_lsm.c ad.a.u.ipc_id = isp->id; ad 3124 security/smack/smack_lsm.c rc = smk_curacc(msp, access, &ad); ad 3223 security/smack/smack_lsm.c struct smk_audit_info ad; ad 3227 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_IPC); ad 3228 security/smack/smack_lsm.c ad.a.u.ipc_id = ipp->id; ad 3230 security/smack/smack_lsm.c rc = smk_curacc(iskp, may, &ad); ad 3580 security/smack/smack_lsm.c struct smk_audit_info ad; ad 3590 security/smack/smack_lsm.c smk_ad_init_net(&ad, __func__, LSM_AUDIT_DATA_NET, &net); ad 3591 security/smack/smack_lsm.c smk_ad_setfield_u_net_sk(&ad, other); ad 3593 security/smack/smack_lsm.c rc = smk_access(skp, okp, MAY_WRITE, &ad); ad 3598 security/smack/smack_lsm.c rc = smk_access(okp, skp, MAY_WRITE, &ad); ad 3627 security/smack/smack_lsm.c struct smk_audit_info ad; ad 3633 security/smack/smack_lsm.c smk_ad_init_net(&ad, __func__, LSM_AUDIT_DATA_NET, &net); ad 3634 security/smack/smack_lsm.c smk_ad_setfield_u_net_sk(&ad, other->sk); ad 3640 security/smack/smack_lsm.c rc = smk_access(ssp->smk_out, osp->smk_in, MAY_WRITE, &ad); ad 3839 security/smack/smack_lsm.c struct smk_audit_info ad; ad 3882 security/smack/smack_lsm.c smk_ad_init_net(&ad, __func__, LSM_AUDIT_DATA_NET, &net); ad 3883 security/smack/smack_lsm.c ad.a.u.net->family = family; ad 3884 security/smack/smack_lsm.c ad.a.u.net->netif = skb->skb_iif; ad 3885 security/smack/smack_lsm.c ipv4_skb_to_auditdata(skb, &ad.a, NULL); ad 3893 security/smack/smack_lsm.c rc = smk_access(skp, ssp->smk_in, MAY_WRITE, &ad); ad 3917 security/smack/smack_lsm.c smk_ad_init_net(&ad, __func__, LSM_AUDIT_DATA_NET, &net); ad 3918 security/smack/smack_lsm.c ad.a.u.net->family = family; ad 3919 security/smack/smack_lsm.c ad.a.u.net->netif = skb->skb_iif; ad 3920 security/smack/smack_lsm.c ipv6_skb_to_auditdata(skb, &ad.a, NULL); ad 3922 security/smack/smack_lsm.c rc = smk_access(skp, ssp->smk_in, MAY_WRITE, &ad); ad 4084 security/smack/smack_lsm.c struct smk_audit_info ad; ad 4128 security/smack/smack_lsm.c smk_ad_init_net(&ad, __func__, LSM_AUDIT_DATA_NET, &net); ad 4129 security/smack/smack_lsm.c ad.a.u.net->family = family; ad 4130 security/smack/smack_lsm.c ad.a.u.net->netif = skb->skb_iif; ad 4131 security/smack/smack_lsm.c ipv4_skb_to_auditdata(skb, &ad.a, NULL); ad 4137 security/smack/smack_lsm.c rc = smk_access(skp, ssp->smk_in, MAY_WRITE, &ad); ad 4239 security/smack/smack_lsm.c struct smk_audit_info ad; ad 4269 security/smack/smack_lsm.c smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_KEY); ad 4270 security/smack/smack_lsm.c ad.a.u.key_struct.key = keyp->serial; ad 4271 security/smack/smack_lsm.c ad.a.u.key_struct.key_desc = keyp->description; ad 4277 security/smack/smack_lsm.c rc = smk_access(tkp, keyp->security, request, &ad); ad 892 sound/pci/rme9652/hdsp.c unsigned int ad; ad 927 sound/pci/rme9652/hdsp.c ad = addr/2; ad 929 sound/pci/rme9652/hdsp.c hdsp_write (hdsp, 4096 + (ad*4), ad 937 sound/pci/rme9652/hdsp.c ad = (addr << 16) + data; ad 942 sound/pci/rme9652/hdsp.c hdsp_write (hdsp, HDSP_fifoData, ad); ad 50 sound/soc/ti/omap-hdmi.c struct hdmi_audio_data *ad = dev_get_drvdata(dev); ad 52 sound/soc/ti/omap-hdmi.c mutex_lock(&ad->current_stream_lock); ad 53 sound/soc/ti/omap-hdmi.c if (ad->current_stream && ad->current_stream->runtime && ad 54 sound/soc/ti/omap-hdmi.c snd_pcm_running(ad->current_stream)) { ad 56 sound/soc/ti/omap-hdmi.c snd_pcm_stream_lock_irq(ad->current_stream); ad 57 sound/soc/ti/omap-hdmi.c snd_pcm_stop(ad->current_stream, SNDRV_PCM_STATE_DISCONNECTED); ad 58 sound/soc/ti/omap-hdmi.c snd_pcm_stream_unlock_irq(ad->current_stream); ad 60 sound/soc/ti/omap-hdmi.c mutex_unlock(&ad->current_stream_lock); ad 66 sound/soc/ti/omap-hdmi.c struct hdmi_audio_data *ad = card_drvdata_substream(substream); ad 87 sound/soc/ti/omap-hdmi.c snd_soc_dai_set_dma_data(dai, substream, &ad->dma_data); ad 89 sound/soc/ti/omap-hdmi.c mutex_lock(&ad->current_stream_lock); ad 90 sound/soc/ti/omap-hdmi.c ad->current_stream = substream; ad 91 sound/soc/ti/omap-hdmi.c mutex_unlock(&ad->current_stream_lock); ad 93 sound/soc/ti/omap-hdmi.c ret = ad->ops->audio_startup(ad->dssdev, hdmi_dai_abort); ad 96 sound/soc/ti/omap-hdmi.c mutex_lock(&ad->current_stream_lock); ad 97 sound/soc/ti/omap-hdmi.c ad->current_stream = NULL; ad 98 sound/soc/ti/omap-hdmi.c mutex_unlock(&ad->current_stream_lock); ad 108 sound/soc/ti/omap-hdmi.c struct hdmi_audio_data *ad = card_drvdata_substream(substream); ad 109 sound/soc/ti/omap-hdmi.c struct snd_aes_iec958 *iec = &ad->iec; ad 110 sound/soc/ti/omap-hdmi.c struct snd_cea_861_aud_if *cea = &ad->cea; ad 112 sound/soc/ti/omap-hdmi.c WARN_ON(ad->current_stream != substream); ad 116 sound/soc/ti/omap-hdmi.c ad->dma_data.maxburst = 16; ad 119 sound/soc/ti/omap-hdmi.c ad->dma_data.maxburst = 32; ad 126 sound/soc/ti/omap-hdmi.c ad->dss_audio.iec = iec; ad 127 sound/soc/ti/omap-hdmi.c ad->dss_audio.cea = cea; ad 227 sound/soc/ti/omap-hdmi.c return ad->ops->audio_config(ad->dssdev, &ad->dss_audio); ad 233 sound/soc/ti/omap-hdmi.c struct hdmi_audio_data *ad = card_drvdata_substream(substream); ad 236 sound/soc/ti/omap-hdmi.c WARN_ON(ad->current_stream != substream); ad 242 sound/soc/ti/omap-hdmi.c err = ad->ops->audio_start(ad->dssdev); ad 247 sound/soc/ti/omap-hdmi.c ad->ops->audio_stop(ad->dssdev); ad 258 sound/soc/ti/omap-hdmi.c struct hdmi_audio_data *ad = card_drvdata_substream(substream); ad 260 sound/soc/ti/omap-hdmi.c WARN_ON(ad->current_stream != substream); ad 262 sound/soc/ti/omap-hdmi.c ad->ops->audio_shutdown(ad->dssdev); ad 264 sound/soc/ti/omap-hdmi.c mutex_lock(&ad->current_stream_lock); ad 265 sound/soc/ti/omap-hdmi.c ad->current_stream = NULL; ad 266 sound/soc/ti/omap-hdmi.c mutex_unlock(&ad->current_stream_lock); ad 312 sound/soc/ti/omap-hdmi.c struct hdmi_audio_data *ad; ad 323 sound/soc/ti/omap-hdmi.c ad = devm_kzalloc(dev, sizeof(*ad), GFP_KERNEL); ad 324 sound/soc/ti/omap-hdmi.c if (!ad) ad 326 sound/soc/ti/omap-hdmi.c ad->dssdev = ha->dev; ad 327 sound/soc/ti/omap-hdmi.c ad->ops = ha->ops; ad 328 sound/soc/ti/omap-hdmi.c ad->dma_data.addr = ha->audio_dma_addr; ad 329 sound/soc/ti/omap-hdmi.c ad->dma_data.filter_data = "audio_tx"; ad 330 sound/soc/ti/omap-hdmi.c ad->dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; ad 331 sound/soc/ti/omap-hdmi.c mutex_init(&ad->current_stream_lock); ad 343 sound/soc/ti/omap-hdmi.c ret = devm_snd_soc_register_component(ad->dssdev, &omap_hdmi_component, ad 348 sound/soc/ti/omap-hdmi.c ret = sdma_pcm_platform_register(ad->dssdev, "audio_tx", NULL); ad 357 sound/soc/ti/omap-hdmi.c "HDMI %s", dev_name(ad->dssdev)); ad 379 sound/soc/ti/omap-hdmi.c card->dai_link->cpus->dai_name = dev_name(ad->dssdev); ad 380 sound/soc/ti/omap-hdmi.c card->dai_link->platforms->name = dev_name(ad->dssdev); ad 392 sound/soc/ti/omap-hdmi.c ad->card = card; ad 393 sound/soc/ti/omap-hdmi.c snd_soc_card_set_drvdata(card, ad); ad 395 sound/soc/ti/omap-hdmi.c dev_set_drvdata(dev, ad); ad 402 sound/soc/ti/omap-hdmi.c struct hdmi_audio_data *ad = platform_get_drvdata(pdev); ad 404 sound/soc/ti/omap-hdmi.c snd_soc_unregister_card(ad->card); ad 482 tools/perf/util/dwarf-aux.c struct __addr_die_search_param *ad = data; ad 487 tools/perf/util/dwarf-aux.c addr == ad->addr) { ad 488 tools/perf/util/dwarf-aux.c memcpy(ad->die_mem, fn_die, sizeof(Dwarf_Die)); ad 507 tools/perf/util/dwarf-aux.c struct __addr_die_search_param ad; ad 508 tools/perf/util/dwarf-aux.c ad.addr = addr; ad 509 tools/perf/util/dwarf-aux.c ad.die_mem = die_mem; ad 511 tools/perf/util/dwarf-aux.c if (!dwarf_getfuncs(cu_die, __die_search_func_tail_cb, &ad, 0)) ad 520 tools/perf/util/dwarf-aux.c struct __addr_die_search_param *ad = data; ad 527 tools/perf/util/dwarf-aux.c dwarf_haspc(fn_die, ad->addr)) { ad 528 tools/perf/util/dwarf-aux.c memcpy(ad->die_mem, fn_die, sizeof(Dwarf_Die)); ad 546 tools/perf/util/dwarf-aux.c struct __addr_die_search_param ad; ad 547 tools/perf/util/dwarf-aux.c ad.addr = addr; ad 548 tools/perf/util/dwarf-aux.c ad.die_mem = die_mem; ad 550 tools/perf/util/dwarf-aux.c if (!dwarf_getfuncs(cu_die, __die_search_func_cb, &ad, 0)) ad 591 tools/perf/util/stat-display.c struct aggr_data *ad = data; ad 598 tools/perf/util/stat-display.c if (s2 != ad->id) ad 601 tools/perf/util/stat-display.c ad->nr++; ad 609 tools/perf/util/stat-display.c ad->ena = 0; ad 610 tools/perf/util/stat-display.c ad->run = 0; ad 613 tools/perf/util/stat-display.c ad->val += counts->val; ad 614 tools/perf/util/stat-display.c ad->ena += counts->ena; ad 615 tools/perf/util/stat-display.c ad->run += counts->run; ad 624 tools/perf/util/stat-display.c struct aggr_data ad; ad 630 tools/perf/util/stat-display.c ad.id = id = config->aggr_map->map[s]; ad 631 tools/perf/util/stat-display.c ad.val = ad.ena = ad.run = 0; ad 632 tools/perf/util/stat-display.c ad.nr = 0; ad 633 tools/perf/util/stat-display.c if (!collect_data(config, counter, aggr_cb, &ad)) ad 636 tools/perf/util/stat-display.c nr = ad.nr; ad 637 tools/perf/util/stat-display.c ena = ad.ena; ad 638 tools/perf/util/stat-display.c run = ad.run; ad 639 tools/perf/util/stat-display.c val = ad.val; ad 823 tools/perf/util/stat-display.c struct aggr_data *ad = data; ad 825 tools/perf/util/stat-display.c ad->val += perf_counts(counter->counts, ad->cpu, 0)->val; ad 826 tools/perf/util/stat-display.c ad->ena += perf_counts(counter->counts, ad->cpu, 0)->ena; ad 827 tools/perf/util/stat-display.c ad->run += perf_counts(counter->counts, ad->cpu, 0)->run; ad 843 tools/perf/util/stat-display.c struct aggr_data ad = { .cpu = cpu }; ad 845 tools/perf/util/stat-display.c if (!collect_data(config, counter, counter_cb, &ad)) ad 847 tools/perf/util/stat-display.c val = ad.val; ad 848 tools/perf/util/stat-display.c ena = ad.ena; ad 849 tools/perf/util/stat-display.c run = ad.run;