ab 43 arch/arc/include/asm/entry.h ld.ab \reg, [sp, 4] ab 605 drivers/block/sx8.c struct carm_msg_allocbuf *ab = mem; ab 607 drivers/block/sx8.c memset(ab, 0, sizeof(*ab)); ab 608 drivers/block/sx8.c ab->type = CARM_MSG_MISC; ab 609 drivers/block/sx8.c ab->subtype = MISC_ALLOC_MEM; ab 610 drivers/block/sx8.c ab->handle = cpu_to_le32(TAG_ENCODE(idx)); ab 611 drivers/block/sx8.c ab->n_sg = 1; ab 612 drivers/block/sx8.c ab->sg_type = SGT_32BIT; ab 613 drivers/block/sx8.c ab->addr = cpu_to_le32(host->shm_dma + (PDC_SHM_SIZE >> 1)); ab 614 drivers/block/sx8.c ab->len = cpu_to_le32(PDC_SHM_SIZE >> 1); ab 615 drivers/block/sx8.c ab->evt_pool = cpu_to_le32(host->shm_dma + (16 * 1024)); ab 616 drivers/block/sx8.c ab->n_evt = cpu_to_le32(1024); ab 617 drivers/block/sx8.c ab->rbuf_pool = cpu_to_le32(host->shm_dma); ab 618 drivers/block/sx8.c ab->n_rbuf = cpu_to_le32(RMSG_Q_LEN); ab 619 drivers/block/sx8.c ab->msg_pool = cpu_to_le32(host->shm_dma + RBUF_LEN); ab 620 drivers/block/sx8.c ab->n_msg = cpu_to_le32(CARM_Q_LEN); ab 621 drivers/block/sx8.c ab->sg[0].start = cpu_to_le32(host->shm_dma + (PDC_SHM_SIZE >> 1)); ab 622 drivers/block/sx8.c ab->sg[0].len = cpu_to_le32(65536); ab 464 drivers/crypto/caam/pdb.h u8 *ab; /* ECC only */ ab 478 drivers/crypto/caam/pdb.h u8 *ab; /* only used if ECC processing */ ab 242 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h #define amdgpu_ring_emit_gds_switch(r, v, db, ds, wb, ws, ab, as) (r)->funcs->emit_gds_switch((r), (v), (db), (ds), (wb), (ws), (ab), (as)) ab 27 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c .ab = (ab_val), \ ab 263 drivers/infiniband/hw/hfi1/pio.c int ab = sc_mem_pool_config[i].absolute_blocks; ab 271 drivers/infiniband/hw/hfi1/pio.c } else if (ab >= 0) { /* absolute blocks valid */ ab 272 drivers/infiniband/hw/hfi1/pio.c ab_total += ab; ab 282 drivers/infiniband/hw/hfi1/pio.c mem_pool_info[i].blocks = ab; ab 96 drivers/md/persistent-data/dm-array.c static void *element_at(struct dm_array_info *info, struct array_block *ab, ab 99 drivers/md/persistent-data/dm-array.c unsigned char *entry = (unsigned char *) (ab + 1); ab 110 drivers/md/persistent-data/dm-array.c static void on_entries(struct dm_array_info *info, struct array_block *ab, ab 113 drivers/md/persistent-data/dm-array.c unsigned i, nr_entries = le32_to_cpu(ab->nr_entries); ab 116 drivers/md/persistent-data/dm-array.c fn(info->value_type.context, element_at(info, ab, i)); ab 122 drivers/md/persistent-data/dm-array.c static void inc_ablock_entries(struct dm_array_info *info, struct array_block *ab) ab 127 drivers/md/persistent-data/dm-array.c on_entries(info, ab, vt->inc); ab 133 drivers/md/persistent-data/dm-array.c static void dec_ablock_entries(struct dm_array_info *info, struct array_block *ab) ab 138 drivers/md/persistent-data/dm-array.c on_entries(info, ab, vt->dec); ab 154 drivers/md/persistent-data/dm-array.c struct dm_block **block, struct array_block **ab) ab 162 drivers/md/persistent-data/dm-array.c (*ab) = dm_block_data(*block); ab 163 drivers/md/persistent-data/dm-array.c (*ab)->max_entries = cpu_to_le32(max_entries); ab 164 drivers/md/persistent-data/dm-array.c (*ab)->nr_entries = cpu_to_le32(0); ab 165 drivers/md/persistent-data/dm-array.c (*ab)->value_size = cpu_to_le32(info->value_type.size); ab 175 drivers/md/persistent-data/dm-array.c static void fill_ablock(struct dm_array_info *info, struct array_block *ab, ab 182 drivers/md/persistent-data/dm-array.c BUG_ON(new_nr > le32_to_cpu(ab->max_entries)); ab 183 drivers/md/persistent-data/dm-array.c BUG_ON(new_nr < le32_to_cpu(ab->nr_entries)); ab 185 drivers/md/persistent-data/dm-array.c nr_entries = le32_to_cpu(ab->nr_entries); ab 189 drivers/md/persistent-data/dm-array.c memcpy(element_at(info, ab, i), value, vt->size); ab 191 drivers/md/persistent-data/dm-array.c ab->nr_entries = cpu_to_le32(new_nr); ab 199 drivers/md/persistent-data/dm-array.c static void trim_ablock(struct dm_array_info *info, struct array_block *ab, ab 206 drivers/md/persistent-data/dm-array.c BUG_ON(new_nr > le32_to_cpu(ab->max_entries)); ab 207 drivers/md/persistent-data/dm-array.c BUG_ON(new_nr > le32_to_cpu(ab->nr_entries)); ab 209 drivers/md/persistent-data/dm-array.c nr_entries = le32_to_cpu(ab->nr_entries); ab 212 drivers/md/persistent-data/dm-array.c vt->dec(vt->context, element_at(info, ab, i - 1)); ab 213 drivers/md/persistent-data/dm-array.c ab->nr_entries = cpu_to_le32(new_nr); ab 221 drivers/md/persistent-data/dm-array.c struct dm_block **block, struct array_block **ab) ab 229 drivers/md/persistent-data/dm-array.c *ab = dm_block_data(*block); ab 255 drivers/md/persistent-data/dm-array.c struct array_block **ab) ab 265 drivers/md/persistent-data/dm-array.c return get_ablock(info, le64_to_cpu(block_le), block, ab); ab 283 drivers/md/persistent-data/dm-array.c struct dm_block **block, struct array_block **ab) ab 291 drivers/md/persistent-data/dm-array.c *ab = dm_block_data(*block); ab 293 drivers/md/persistent-data/dm-array.c inc_ablock_entries(info, *ab); ab 329 drivers/md/persistent-data/dm-array.c struct array_block **ab) ab 341 drivers/md/persistent-data/dm-array.c r = __shadow_ablock(info, b, block, ab); ab 358 drivers/md/persistent-data/dm-array.c struct array_block *ab; ab 360 drivers/md/persistent-data/dm-array.c r = alloc_ablock(info, size_of_block, max_entries, &block, &ab); ab 364 drivers/md/persistent-data/dm-array.c fill_ablock(info, ab, value, nr); ab 470 drivers/md/persistent-data/dm-array.c struct array_block *ab; ab 491 drivers/md/persistent-data/dm-array.c resize->new_nr_full_blocks, &block, &ab); ab 495 drivers/md/persistent-data/dm-array.c trim_ablock(resize->info, ab, resize->new_nr_entries_in_last_block); ab 509 drivers/md/persistent-data/dm-array.c struct array_block *ab; ab 512 drivers/md/persistent-data/dm-array.c resize->old_nr_full_blocks, &block, &ab); ab 516 drivers/md/persistent-data/dm-array.c fill_ablock(resize->info, ab, resize->value, new_nr_entries); ab 592 drivers/md/persistent-data/dm-array.c struct array_block *ab; ab 610 drivers/md/persistent-data/dm-array.c r = get_ablock(info, b, &block, &ab); ab 617 drivers/md/persistent-data/dm-array.c dec_ablock_entries(info, ab); ab 698 drivers/md/persistent-data/dm-array.c static int populate_ablock_with_values(struct dm_array_info *info, struct array_block *ab, ab 705 drivers/md/persistent-data/dm-array.c BUG_ON(le32_to_cpu(ab->nr_entries)); ab 706 drivers/md/persistent-data/dm-array.c BUG_ON(new_nr > le32_to_cpu(ab->max_entries)); ab 709 drivers/md/persistent-data/dm-array.c r = fn(base + i, element_at(info, ab, i), context); ab 714 drivers/md/persistent-data/dm-array.c vt->inc(vt->context, element_at(info, ab, i)); ab 717 drivers/md/persistent-data/dm-array.c ab->nr_entries = cpu_to_le32(new_nr); ab 726 drivers/md/persistent-data/dm-array.c struct array_block *ab; ab 738 drivers/md/persistent-data/dm-array.c r = alloc_ablock(info, size_of_block, max_entries, &block, &ab); ab 742 drivers/md/persistent-data/dm-array.c r = populate_ablock_with_values(info, ab, fn, context, ab 773 drivers/md/persistent-data/dm-array.c struct array_block *ab; ab 780 drivers/md/persistent-data/dm-array.c r = lookup_ablock(info, root, index / max_entries, &block, &ab); ab 785 drivers/md/persistent-data/dm-array.c if (entry >= le32_to_cpu(ab->nr_entries)) ab 788 drivers/md/persistent-data/dm-array.c memcpy(value_le, element_at(info, ab, entry), ab 801 drivers/md/persistent-data/dm-array.c struct array_block *ab; ab 811 drivers/md/persistent-data/dm-array.c r = shadow_ablock(info, &root, index / max_entries, &block, &ab); ab 817 drivers/md/persistent-data/dm-array.c if (entry >= le32_to_cpu(ab->nr_entries)) { ab 822 drivers/md/persistent-data/dm-array.c old_value = element_at(info, ab, entry); ab 864 drivers/md/persistent-data/dm-array.c struct array_block *ab; ab 867 drivers/md/persistent-data/dm-array.c r = get_ablock(wi->info, le64_to_cpu(block_le), &block, &ab); ab 871 drivers/md/persistent-data/dm-array.c max_entries = le32_to_cpu(ab->max_entries); ab 872 drivers/md/persistent-data/dm-array.c nr_entries = le32_to_cpu(ab->nr_entries); ab 875 drivers/md/persistent-data/dm-array.c element_at(wi->info, ab, i)); ab 911 drivers/md/persistent-data/dm-array.c c->ab = NULL; ab 920 drivers/md/persistent-data/dm-array.c r = get_ablock(c->info, le64_to_cpu(value_le), &c->block, &c->ab); ab 965 drivers/md/persistent-data/dm-array.c if (c->index >= le32_to_cpu(c->ab->nr_entries)) { ab 984 drivers/md/persistent-data/dm-array.c uint32_t remaining = le32_to_cpu(c->ab->nr_entries) - c->index; ab 1002 drivers/md/persistent-data/dm-array.c *value_le = element_at(c->info, c->ab, c->index); ab 200 drivers/md/persistent-data/dm-array.h struct array_block *ab; ab 177 drivers/media/pci/saa7164/saa7164-api.c struct tmComResEncAudioBitRate ab; ab 215 drivers/media/pci/saa7164/saa7164-api.c ab.ucAudioBitRateMode = 0; ab 216 drivers/media/pci/saa7164/saa7164-api.c ab.dwAudioBitRate = 384000; ab 217 drivers/media/pci/saa7164/saa7164-api.c ab.dwAudioBitRatePeak = ab.dwAudioBitRate; ab 221 drivers/media/pci/saa7164/saa7164-api.c &ab); ab 1401 drivers/pinctrl/sh-pfc/pfc-emev2.c SH_PFC_FUNCTION(ab), ab 3029 drivers/scsi/lpfc/lpfc_ct.c struct lpfc_fdmi_attr_block *ab = NULL; ab 3101 drivers/scsi/lpfc/lpfc_ct.c ab = (struct lpfc_fdmi_attr_block *)((uint8_t *)rh + size); ab 3102 drivers/scsi/lpfc/lpfc_ct.c ab->EntryCnt = 0; ab 3117 drivers/scsi/lpfc/lpfc_ct.c ab->EntryCnt++; ab 3126 drivers/scsi/lpfc/lpfc_ct.c ab->EntryCnt = cpu_to_be32(ab->EntryCnt); ab 3148 drivers/scsi/lpfc/lpfc_ct.c pab->ab.EntryCnt = 0; ab 3162 drivers/scsi/lpfc/lpfc_ct.c pab->ab.EntryCnt++; ab 3171 drivers/scsi/lpfc/lpfc_ct.c pab->ab.EntryCnt = cpu_to_be32(pab->ab.EntryCnt); ab 1410 drivers/scsi/lpfc/lpfc_hw.h struct lpfc_fdmi_attr_block ab; ab 1418 drivers/scsi/lpfc/lpfc_hw.h struct lpfc_fdmi_attr_block ab; ab 576 drivers/staging/vt6655/rxtx.c byPktType, &buf->ab); ab 598 drivers/staging/vt6655/rxtx.c byPktType, &buf->ab); ab 746 drivers/staging/vt6655/rxtx.c byPktType, &buf->ab); ab 797 drivers/staging/vt6655/rxtx.c PK_TYPE_11B, &buf->ab); ab 1423 drivers/staging/vt6655/rxtx.c PK_TYPE_11A, &short_head->ab); ab 1439 drivers/staging/vt6655/rxtx.c PK_TYPE_11B, &short_head->ab); ab 92 drivers/staging/vt6655/rxtx.h struct vnt_phy_field ab; ab 131 drivers/staging/vt6655/rxtx.h struct vnt_phy_field ab; ab 176 drivers/staging/vt6655/rxtx.h struct vnt_phy_field ab; ab 369 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, &buf->ab); ab 481 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, &buf->ab); ab 647 drivers/staging/vt6656/rxtx.c struct vnt_rrv_time_ab *buf = &tx_head->tx_ab.ab; ab 1022 drivers/staging/vt6656/rxtx.c PK_TYPE_11A, &short_head->ab); ab 1035 drivers/staging/vt6656/rxtx.c PK_TYPE_11B, &short_head->ab); ab 89 drivers/staging/vt6656/rxtx.h struct vnt_phy_field ab; ab 132 drivers/staging/vt6656/rxtx.h struct vnt_phy_field ab; ab 205 drivers/staging/vt6656/rxtx.h struct vnt_rrv_time_ab ab; ab 229 drivers/staging/vt6656/rxtx.h struct vnt_phy_field ab; ab 63 drivers/tty/tty_audit.c struct audit_buffer *ab; ab 69 drivers/tty/tty_audit.c ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_TTY); ab 70 drivers/tty/tty_audit.c if (ab) { ab 73 drivers/tty/tty_audit.c audit_log_format(ab, "%s pid=%u uid=%u auid=%u ses=%u major=%d" ab 77 drivers/tty/tty_audit.c audit_log_untrustedstring(ab, name); ab 78 drivers/tty/tty_audit.c audit_log_format(ab, " data="); ab 79 drivers/tty/tty_audit.c audit_log_n_hex(ab, data, size); ab 80 drivers/tty/tty_audit.c audit_log_end(ab); ab 149 drivers/usb/phy/phy-ab8500-usb.c static void ab8500_usb_wd_workaround(struct ab8500_usb *ab) ab 151 drivers/usb/phy/phy-ab8500-usb.c abx500_set_register_interruptible(ab->dev, ab 158 drivers/usb/phy/phy-ab8500-usb.c abx500_set_register_interruptible(ab->dev, ab 166 drivers/usb/phy/phy-ab8500-usb.c abx500_set_register_interruptible(ab->dev, ab 172 drivers/usb/phy/phy-ab8500-usb.c static void ab8500_usb_regulator_enable(struct ab8500_usb *ab) ab 176 drivers/usb/phy/phy-ab8500-usb.c ret = regulator_enable(ab->v_ape); ab 178 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to enable v-ape\n"); ab 180 drivers/usb/phy/phy-ab8500-usb.c if (ab->flags & AB8500_USB_FLAG_REGULATOR_SET_VOLTAGE) { ab 181 drivers/usb/phy/phy-ab8500-usb.c ab->saved_v_ulpi = regulator_get_voltage(ab->v_ulpi); ab 182 drivers/usb/phy/phy-ab8500-usb.c if (ab->saved_v_ulpi < 0) ab 183 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to get v_ulpi voltage\n"); ab 185 drivers/usb/phy/phy-ab8500-usb.c ret = regulator_set_voltage(ab->v_ulpi, 1300000, 1350000); ab 187 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to set the Vintcore to 1.3V, ret=%d\n", ab 190 drivers/usb/phy/phy-ab8500-usb.c ret = regulator_set_load(ab->v_ulpi, 28000); ab 192 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to set optimum mode (ret=%d)\n", ab 196 drivers/usb/phy/phy-ab8500-usb.c ret = regulator_enable(ab->v_ulpi); ab 198 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to enable vddulpivio18\n"); ab 200 drivers/usb/phy/phy-ab8500-usb.c if (ab->flags & AB8500_USB_FLAG_REGULATOR_SET_VOLTAGE) { ab 201 drivers/usb/phy/phy-ab8500-usb.c volt = regulator_get_voltage(ab->v_ulpi); ab 203 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Vintcore is not set to 1.3V volt=%d\n", ab 207 drivers/usb/phy/phy-ab8500-usb.c ret = regulator_enable(ab->v_musb); ab 209 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to enable musb_1v8\n"); ab 212 drivers/usb/phy/phy-ab8500-usb.c static void ab8500_usb_regulator_disable(struct ab8500_usb *ab) ab 216 drivers/usb/phy/phy-ab8500-usb.c regulator_disable(ab->v_musb); ab 218 drivers/usb/phy/phy-ab8500-usb.c regulator_disable(ab->v_ulpi); ab 221 drivers/usb/phy/phy-ab8500-usb.c if (ab->flags & AB8500_USB_FLAG_REGULATOR_SET_VOLTAGE) { ab 222 drivers/usb/phy/phy-ab8500-usb.c if (ab->saved_v_ulpi > 0) { ab 223 drivers/usb/phy/phy-ab8500-usb.c ret = regulator_set_voltage(ab->v_ulpi, ab 224 drivers/usb/phy/phy-ab8500-usb.c ab->saved_v_ulpi, ab->saved_v_ulpi); ab 226 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to set the Vintcore to %duV, ret=%d\n", ab 227 drivers/usb/phy/phy-ab8500-usb.c ab->saved_v_ulpi, ret); ab 230 drivers/usb/phy/phy-ab8500-usb.c ret = regulator_set_load(ab->v_ulpi, 0); ab 232 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to set optimum mode (ret=%d)\n", ab 236 drivers/usb/phy/phy-ab8500-usb.c regulator_disable(ab->v_ape); ab 239 drivers/usb/phy/phy-ab8500-usb.c static void ab8500_usb_wd_linkstatus(struct ab8500_usb *ab, u8 bit) ab 242 drivers/usb/phy/phy-ab8500-usb.c if (is_ab8500_2p0(ab->ab8500)) { ab 243 drivers/usb/phy/phy-ab8500-usb.c abx500_mask_and_set_register_interruptible(ab->dev, ab 250 drivers/usb/phy/phy-ab8500-usb.c static void ab8500_usb_phy_enable(struct ab8500_usb *ab, bool sel_host) ab 257 drivers/usb/phy/phy-ab8500-usb.c ab->pinctrl = pinctrl_get_select(ab->dev, PINCTRL_STATE_DEFAULT); ab 258 drivers/usb/phy/phy-ab8500-usb.c if (IS_ERR(ab->pinctrl)) ab 259 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "could not get/set default pinstate\n"); ab 261 drivers/usb/phy/phy-ab8500-usb.c if (clk_prepare_enable(ab->sysclk)) ab 262 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "can't prepare/enable clock\n"); ab 264 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_regulator_enable(ab); ab 266 drivers/usb/phy/phy-ab8500-usb.c abx500_mask_and_set_register_interruptible(ab->dev, ab 271 drivers/usb/phy/phy-ab8500-usb.c static void ab8500_usb_phy_disable(struct ab8500_usb *ab, bool sel_host) ab 277 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_wd_linkstatus(ab, bit); ab 279 drivers/usb/phy/phy-ab8500-usb.c abx500_mask_and_set_register_interruptible(ab->dev, ab 284 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_wd_workaround(ab); ab 286 drivers/usb/phy/phy-ab8500-usb.c clk_disable_unprepare(ab->sysclk); ab 288 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_regulator_disable(ab); ab 290 drivers/usb/phy/phy-ab8500-usb.c if (!IS_ERR(ab->pinctrl)) { ab 292 drivers/usb/phy/phy-ab8500-usb.c ab->pins_sleep = pinctrl_lookup_state(ab->pinctrl, ab 295 drivers/usb/phy/phy-ab8500-usb.c if (IS_ERR(ab->pins_sleep)) ab 296 drivers/usb/phy/phy-ab8500-usb.c dev_dbg(ab->dev, "could not get sleep pinstate\n"); ab 297 drivers/usb/phy/phy-ab8500-usb.c else if (pinctrl_select_state(ab->pinctrl, ab->pins_sleep)) ab 298 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "could not set pins to sleep state\n"); ab 304 drivers/usb/phy/phy-ab8500-usb.c pinctrl_put(ab->pinctrl); ab 308 drivers/usb/phy/phy-ab8500-usb.c #define ab8500_usb_host_phy_en(ab) ab8500_usb_phy_enable(ab, true) ab 309 drivers/usb/phy/phy-ab8500-usb.c #define ab8500_usb_host_phy_dis(ab) ab8500_usb_phy_disable(ab, true) ab 310 drivers/usb/phy/phy-ab8500-usb.c #define ab8500_usb_peri_phy_en(ab) ab8500_usb_phy_enable(ab, false) ab 311 drivers/usb/phy/phy-ab8500-usb.c #define ab8500_usb_peri_phy_dis(ab) ab8500_usb_phy_disable(ab, false) ab 313 drivers/usb/phy/phy-ab8500-usb.c static int ab8505_usb_link_status_update(struct ab8500_usb *ab, ab 318 drivers/usb/phy/phy-ab8500-usb.c dev_dbg(ab->dev, "ab8505_usb_link_status_update %d\n", lsts); ab 324 drivers/usb/phy/phy-ab8500-usb.c if (ab->previous_link_status_state == USB_LINK_ACA_RID_A_8505 && ab 328 drivers/usb/phy/phy-ab8500-usb.c ab->previous_link_status_state = lsts; ab 339 drivers/usb/phy/phy-ab8500-usb.c ab->mode = USB_IDLE; ab 340 drivers/usb/phy/phy-ab8500-usb.c ab->phy.otg->default_a = false; ab 341 drivers/usb/phy/phy-ab8500-usb.c ab->vbus_draw = 0; ab 348 drivers/usb/phy/phy-ab8500-usb.c ab->phy.otg->state = OTG_STATE_B_IDLE; ab 349 drivers/usb/phy/phy-ab8500-usb.c usb_phy_set_event(&ab->phy, USB_EVENT_NONE); ab 359 drivers/usb/phy/phy-ab8500-usb.c if (ab->mode == USB_IDLE) { ab 360 drivers/usb/phy/phy-ab8500-usb.c ab->mode = USB_PERIPHERAL; ab 361 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_peri_phy_en(ab); ab 362 drivers/usb/phy/phy-ab8500-usb.c atomic_notifier_call_chain(&ab->phy.notifier, ab 363 drivers/usb/phy/phy-ab8500-usb.c UX500_MUSB_PREPARE, &ab->vbus_draw); ab 364 drivers/usb/phy/phy-ab8500-usb.c usb_phy_set_event(&ab->phy, USB_EVENT_ENUMERATED); ab 375 drivers/usb/phy/phy-ab8500-usb.c if (ab->mode == USB_IDLE) { ab 376 drivers/usb/phy/phy-ab8500-usb.c ab->mode = USB_HOST; ab 377 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_host_phy_en(ab); ab 378 drivers/usb/phy/phy-ab8500-usb.c atomic_notifier_call_chain(&ab->phy.notifier, ab 379 drivers/usb/phy/phy-ab8500-usb.c UX500_MUSB_PREPARE, &ab->vbus_draw); ab 381 drivers/usb/phy/phy-ab8500-usb.c ab->phy.otg->default_a = true; ab 384 drivers/usb/phy/phy-ab8500-usb.c atomic_notifier_call_chain(&ab->phy.notifier, ab 385 drivers/usb/phy/phy-ab8500-usb.c event, &ab->vbus_draw); ab 389 drivers/usb/phy/phy-ab8500-usb.c ab->mode = USB_DEDICATED_CHG; ab 391 drivers/usb/phy/phy-ab8500-usb.c atomic_notifier_call_chain(&ab->phy.notifier, ab 392 drivers/usb/phy/phy-ab8500-usb.c event, &ab->vbus_draw); ab 393 drivers/usb/phy/phy-ab8500-usb.c usb_phy_set_event(&ab->phy, USB_EVENT_CHARGER); ab 403 drivers/usb/phy/phy-ab8500-usb.c static int ab8500_usb_link_status_update(struct ab8500_usb *ab, ab 408 drivers/usb/phy/phy-ab8500-usb.c dev_dbg(ab->dev, "ab8500_usb_link_status_update %d\n", lsts); ab 414 drivers/usb/phy/phy-ab8500-usb.c if (ab->previous_link_status_state == USB_LINK_HM_IDGND_8500 && ab 419 drivers/usb/phy/phy-ab8500-usb.c if (ab->previous_link_status_state == USB_LINK_ACA_RID_A_8500 && ab 423 drivers/usb/phy/phy-ab8500-usb.c ab->previous_link_status_state = lsts; ab 431 drivers/usb/phy/phy-ab8500-usb.c ab->mode = USB_IDLE; ab 432 drivers/usb/phy/phy-ab8500-usb.c ab->phy.otg->default_a = false; ab 433 drivers/usb/phy/phy-ab8500-usb.c ab->vbus_draw = 0; ab 437 drivers/usb/phy/phy-ab8500-usb.c ab->phy.otg->state = OTG_STATE_B_IDLE; ab 438 drivers/usb/phy/phy-ab8500-usb.c usb_phy_set_event(&ab->phy, USB_EVENT_NONE); ab 452 drivers/usb/phy/phy-ab8500-usb.c if (ab->mode == USB_IDLE) { ab 453 drivers/usb/phy/phy-ab8500-usb.c ab->mode = USB_PERIPHERAL; ab 454 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_peri_phy_en(ab); ab 455 drivers/usb/phy/phy-ab8500-usb.c atomic_notifier_call_chain(&ab->phy.notifier, ab 456 drivers/usb/phy/phy-ab8500-usb.c UX500_MUSB_PREPARE, &ab->vbus_draw); ab 457 drivers/usb/phy/phy-ab8500-usb.c usb_phy_set_event(&ab->phy, USB_EVENT_ENUMERATED); ab 467 drivers/usb/phy/phy-ab8500-usb.c if (ab->mode == USB_IDLE) { ab 468 drivers/usb/phy/phy-ab8500-usb.c ab->mode = USB_HOST; ab 469 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_host_phy_en(ab); ab 470 drivers/usb/phy/phy-ab8500-usb.c atomic_notifier_call_chain(&ab->phy.notifier, ab 471 drivers/usb/phy/phy-ab8500-usb.c UX500_MUSB_PREPARE, &ab->vbus_draw); ab 473 drivers/usb/phy/phy-ab8500-usb.c ab->phy.otg->default_a = true; ab 476 drivers/usb/phy/phy-ab8500-usb.c atomic_notifier_call_chain(&ab->phy.notifier, ab 477 drivers/usb/phy/phy-ab8500-usb.c event, &ab->vbus_draw); ab 481 drivers/usb/phy/phy-ab8500-usb.c ab->mode = USB_DEDICATED_CHG; ab 483 drivers/usb/phy/phy-ab8500-usb.c atomic_notifier_call_chain(&ab->phy.notifier, ab 484 drivers/usb/phy/phy-ab8500-usb.c event, &ab->vbus_draw); ab 485 drivers/usb/phy/phy-ab8500-usb.c usb_phy_set_event(&ab->phy, USB_EVENT_CHARGER); ab 506 drivers/usb/phy/phy-ab8500-usb.c static int abx500_usb_link_status_update(struct ab8500_usb *ab) ab 511 drivers/usb/phy/phy-ab8500-usb.c if (is_ab8500(ab->ab8500)) { ab 514 drivers/usb/phy/phy-ab8500-usb.c ret = abx500_get_register_interruptible(ab->dev, ab 519 drivers/usb/phy/phy-ab8500-usb.c ret = ab8500_usb_link_status_update(ab, lsts); ab 520 drivers/usb/phy/phy-ab8500-usb.c } else if (is_ab8505(ab->ab8500)) { ab 523 drivers/usb/phy/phy-ab8500-usb.c ret = abx500_get_register_interruptible(ab->dev, ab 528 drivers/usb/phy/phy-ab8500-usb.c ret = ab8505_usb_link_status_update(ab, lsts); ab 545 drivers/usb/phy/phy-ab8500-usb.c struct ab8500_usb *ab = (struct ab8500_usb *) data; ab 549 drivers/usb/phy/phy-ab8500-usb.c if (ab->mode == USB_HOST) { ab 550 drivers/usb/phy/phy-ab8500-usb.c ab->phy.otg->default_a = false; ab 551 drivers/usb/phy/phy-ab8500-usb.c ab->vbus_draw = 0; ab 552 drivers/usb/phy/phy-ab8500-usb.c atomic_notifier_call_chain(&ab->phy.notifier, ab 553 drivers/usb/phy/phy-ab8500-usb.c event, &ab->vbus_draw); ab 554 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_host_phy_dis(ab); ab 555 drivers/usb/phy/phy-ab8500-usb.c ab->mode = USB_IDLE; ab 558 drivers/usb/phy/phy-ab8500-usb.c if (ab->mode == USB_PERIPHERAL) { ab 559 drivers/usb/phy/phy-ab8500-usb.c atomic_notifier_call_chain(&ab->phy.notifier, ab 560 drivers/usb/phy/phy-ab8500-usb.c event, &ab->vbus_draw); ab 561 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_peri_phy_dis(ab); ab 562 drivers/usb/phy/phy-ab8500-usb.c atomic_notifier_call_chain(&ab->phy.notifier, ab 563 drivers/usb/phy/phy-ab8500-usb.c UX500_MUSB_CLEAN, &ab->vbus_draw); ab 564 drivers/usb/phy/phy-ab8500-usb.c ab->mode = USB_IDLE; ab 565 drivers/usb/phy/phy-ab8500-usb.c ab->phy.otg->default_a = false; ab 566 drivers/usb/phy/phy-ab8500-usb.c ab->vbus_draw = 0; ab 569 drivers/usb/phy/phy-ab8500-usb.c if (is_ab8500_2p0(ab->ab8500)) { ab 570 drivers/usb/phy/phy-ab8500-usb.c if (ab->mode == USB_DEDICATED_CHG) { ab 571 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_wd_linkstatus(ab, ab 573 drivers/usb/phy/phy-ab8500-usb.c abx500_mask_and_set_register_interruptible(ab->dev, ab 584 drivers/usb/phy/phy-ab8500-usb.c struct ab8500_usb *ab = (struct ab8500_usb *)data; ab 586 drivers/usb/phy/phy-ab8500-usb.c abx500_usb_link_status_update(ab); ab 593 drivers/usb/phy/phy-ab8500-usb.c struct ab8500_usb *ab = container_of(work, struct ab8500_usb, ab 596 drivers/usb/phy/phy-ab8500-usb.c if (!ab->phy.otg->host) ab 597 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_host_phy_dis(ab); ab 599 drivers/usb/phy/phy-ab8500-usb.c if (!ab->phy.otg->gadget) ab 600 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_peri_phy_dis(ab); ab 612 drivers/usb/phy/phy-ab8500-usb.c struct ab8500_usb *ab; ab 617 drivers/usb/phy/phy-ab8500-usb.c ab = phy_to_ab(otg->usb_phy); ab 619 drivers/usb/phy/phy-ab8500-usb.c ab->phy.otg->gadget = gadget; ab 626 drivers/usb/phy/phy-ab8500-usb.c if ((ab->mode != USB_IDLE) && !gadget) { ab 627 drivers/usb/phy/phy-ab8500-usb.c ab->mode = USB_IDLE; ab 628 drivers/usb/phy/phy-ab8500-usb.c schedule_work(&ab->phy_dis_work); ab 636 drivers/usb/phy/phy-ab8500-usb.c struct ab8500_usb *ab; ab 641 drivers/usb/phy/phy-ab8500-usb.c ab = phy_to_ab(otg->usb_phy); ab 643 drivers/usb/phy/phy-ab8500-usb.c ab->phy.otg->host = host; ab 650 drivers/usb/phy/phy-ab8500-usb.c if ((ab->mode != USB_IDLE) && !host) { ab 651 drivers/usb/phy/phy-ab8500-usb.c ab->mode = USB_IDLE; ab 652 drivers/usb/phy/phy-ab8500-usb.c schedule_work(&ab->phy_dis_work); ab 658 drivers/usb/phy/phy-ab8500-usb.c static void ab8500_usb_restart_phy(struct ab8500_usb *ab) ab 660 drivers/usb/phy/phy-ab8500-usb.c abx500_mask_and_set_register_interruptible(ab->dev, ab 667 drivers/usb/phy/phy-ab8500-usb.c abx500_mask_and_set_register_interruptible(ab->dev, ab 672 drivers/usb/phy/phy-ab8500-usb.c abx500_mask_and_set_register_interruptible(ab->dev, ab 679 drivers/usb/phy/phy-ab8500-usb.c abx500_mask_and_set_register_interruptible(ab->dev, ab 685 drivers/usb/phy/phy-ab8500-usb.c static int ab8500_usb_regulator_get(struct ab8500_usb *ab) ab 689 drivers/usb/phy/phy-ab8500-usb.c ab->v_ape = devm_regulator_get(ab->dev, "v-ape"); ab 690 drivers/usb/phy/phy-ab8500-usb.c if (IS_ERR(ab->v_ape)) { ab 691 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Could not get v-ape supply\n"); ab 692 drivers/usb/phy/phy-ab8500-usb.c err = PTR_ERR(ab->v_ape); ab 696 drivers/usb/phy/phy-ab8500-usb.c ab->v_ulpi = devm_regulator_get(ab->dev, "vddulpivio18"); ab 697 drivers/usb/phy/phy-ab8500-usb.c if (IS_ERR(ab->v_ulpi)) { ab 698 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Could not get vddulpivio18 supply\n"); ab 699 drivers/usb/phy/phy-ab8500-usb.c err = PTR_ERR(ab->v_ulpi); ab 703 drivers/usb/phy/phy-ab8500-usb.c ab->v_musb = devm_regulator_get(ab->dev, "musb_1v8"); ab 704 drivers/usb/phy/phy-ab8500-usb.c if (IS_ERR(ab->v_musb)) { ab 705 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Could not get musb_1v8 supply\n"); ab 706 drivers/usb/phy/phy-ab8500-usb.c err = PTR_ERR(ab->v_musb); ab 714 drivers/usb/phy/phy-ab8500-usb.c struct ab8500_usb *ab) ab 719 drivers/usb/phy/phy-ab8500-usb.c if (ab->flags & AB8500_USB_FLAG_USE_LINK_STATUS_IRQ) { ab 726 drivers/usb/phy/phy-ab8500-usb.c "usb-link-status", ab); ab 728 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "request_irq failed for link status irq\n"); ab 733 drivers/usb/phy/phy-ab8500-usb.c if (ab->flags & AB8500_USB_FLAG_USE_ID_WAKEUP_IRQ) { ab 740 drivers/usb/phy/phy-ab8500-usb.c "usb-id-fall", ab); ab 742 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "request_irq failed for ID fall irq\n"); ab 747 drivers/usb/phy/phy-ab8500-usb.c if (ab->flags & AB8500_USB_FLAG_USE_VBUS_DET_IRQ) { ab 754 drivers/usb/phy/phy-ab8500-usb.c "usb-vbus-fall", ab); ab 756 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "request_irq failed for Vbus fall irq\n"); ab 764 drivers/usb/phy/phy-ab8500-usb.c static void ab8500_usb_set_ab8500_tuning_values(struct ab8500_usb *ab) ab 769 drivers/usb/phy/phy-ab8500-usb.c err = abx500_set_register_interruptible(ab->dev, ab 772 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to enable bank12 access err=%d\n", ab 775 drivers/usb/phy/phy-ab8500-usb.c err = abx500_set_register_interruptible(ab->dev, ab 778 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to set PHY_TUNE1 register err=%d\n", ab 781 drivers/usb/phy/phy-ab8500-usb.c err = abx500_set_register_interruptible(ab->dev, ab 784 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to set PHY_TUNE2 register err=%d\n", ab 787 drivers/usb/phy/phy-ab8500-usb.c err = abx500_set_register_interruptible(ab->dev, ab 790 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to set PHY_TUNE3 register err=%d\n", ab 794 drivers/usb/phy/phy-ab8500-usb.c err = abx500_set_register_interruptible(ab->dev, ab 797 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to switch bank12 access err=%d\n", ab 801 drivers/usb/phy/phy-ab8500-usb.c static void ab8500_usb_set_ab8505_tuning_values(struct ab8500_usb *ab) ab 806 drivers/usb/phy/phy-ab8500-usb.c err = abx500_mask_and_set_register_interruptible(ab->dev, ab 810 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to enable bank12 access err=%d\n", ab 813 drivers/usb/phy/phy-ab8500-usb.c err = abx500_mask_and_set_register_interruptible(ab->dev, ab 817 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to set PHY_TUNE1 register err=%d\n", ab 820 drivers/usb/phy/phy-ab8500-usb.c err = abx500_mask_and_set_register_interruptible(ab->dev, ab 824 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to set PHY_TUNE2 register err=%d\n", ab 827 drivers/usb/phy/phy-ab8500-usb.c err = abx500_mask_and_set_register_interruptible(ab->dev, ab 832 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to set PHY_TUNE3 register err=%d\n", ab 836 drivers/usb/phy/phy-ab8500-usb.c err = abx500_mask_and_set_register_interruptible(ab->dev, ab 840 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Failed to switch bank12 access err=%d\n", ab 846 drivers/usb/phy/phy-ab8500-usb.c struct ab8500_usb *ab; ab 860 drivers/usb/phy/phy-ab8500-usb.c ab = devm_kzalloc(&pdev->dev, sizeof(*ab), GFP_KERNEL); ab 861 drivers/usb/phy/phy-ab8500-usb.c if (!ab) ab 868 drivers/usb/phy/phy-ab8500-usb.c ab->dev = &pdev->dev; ab 869 drivers/usb/phy/phy-ab8500-usb.c ab->ab8500 = ab8500; ab 870 drivers/usb/phy/phy-ab8500-usb.c ab->phy.dev = ab->dev; ab 871 drivers/usb/phy/phy-ab8500-usb.c ab->phy.otg = otg; ab 872 drivers/usb/phy/phy-ab8500-usb.c ab->phy.label = "ab8500"; ab 873 drivers/usb/phy/phy-ab8500-usb.c ab->phy.set_suspend = ab8500_usb_set_suspend; ab 874 drivers/usb/phy/phy-ab8500-usb.c ab->phy.otg->state = OTG_STATE_UNDEFINED; ab 876 drivers/usb/phy/phy-ab8500-usb.c otg->usb_phy = &ab->phy; ab 880 drivers/usb/phy/phy-ab8500-usb.c if (is_ab8500(ab->ab8500)) { ab 881 drivers/usb/phy/phy-ab8500-usb.c ab->flags |= AB8500_USB_FLAG_USE_LINK_STATUS_IRQ | ab 885 drivers/usb/phy/phy-ab8500-usb.c } else if (is_ab8505(ab->ab8500)) { ab 886 drivers/usb/phy/phy-ab8500-usb.c ab->flags |= AB8500_USB_FLAG_USE_LINK_STATUS_IRQ | ab 893 drivers/usb/phy/phy-ab8500-usb.c if (is_ab8500_2p0_or_earlier(ab->ab8500)) ab 894 drivers/usb/phy/phy-ab8500-usb.c ab->flags &= ~AB8500_USB_FLAG_REGULATOR_SET_VOLTAGE; ab 896 drivers/usb/phy/phy-ab8500-usb.c platform_set_drvdata(pdev, ab); ab 899 drivers/usb/phy/phy-ab8500-usb.c INIT_WORK(&ab->phy_dis_work, ab8500_usb_phy_disable_work); ab 901 drivers/usb/phy/phy-ab8500-usb.c err = ab8500_usb_regulator_get(ab); ab 905 drivers/usb/phy/phy-ab8500-usb.c ab->sysclk = devm_clk_get(ab->dev, "sysclk"); ab 906 drivers/usb/phy/phy-ab8500-usb.c if (IS_ERR(ab->sysclk)) { ab 907 drivers/usb/phy/phy-ab8500-usb.c dev_err(ab->dev, "Could not get sysclk.\n"); ab 908 drivers/usb/phy/phy-ab8500-usb.c return PTR_ERR(ab->sysclk); ab 911 drivers/usb/phy/phy-ab8500-usb.c err = ab8500_usb_irq_setup(pdev, ab); ab 915 drivers/usb/phy/phy-ab8500-usb.c err = usb_add_phy(&ab->phy, USB_PHY_TYPE_USB2); ab 921 drivers/usb/phy/phy-ab8500-usb.c if (is_ab8500(ab->ab8500) && !is_ab8500_2p0_or_earlier(ab->ab8500)) ab 923 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_set_ab8500_tuning_values(ab); ab 924 drivers/usb/phy/phy-ab8500-usb.c else if (is_ab8505(ab->ab8500)) ab 926 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_set_ab8505_tuning_values(ab); ab 929 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_wd_workaround(ab); ab 935 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_restart_phy(ab); ab 937 drivers/usb/phy/phy-ab8500-usb.c abx500_usb_link_status_update(ab); ab 946 drivers/usb/phy/phy-ab8500-usb.c struct ab8500_usb *ab = platform_get_drvdata(pdev); ab 948 drivers/usb/phy/phy-ab8500-usb.c cancel_work_sync(&ab->phy_dis_work); ab 950 drivers/usb/phy/phy-ab8500-usb.c usb_remove_phy(&ab->phy); ab 952 drivers/usb/phy/phy-ab8500-usb.c if (ab->mode == USB_HOST) ab 953 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_host_phy_dis(ab); ab 954 drivers/usb/phy/phy-ab8500-usb.c else if (ab->mode == USB_PERIPHERAL) ab 955 drivers/usb/phy/phy-ab8500-usb.c ab8500_usb_peri_phy_dis(ab); ab 35 fs/xfs/scrub/attr.c struct xchk_xattr_buf *ab = sc->buf; ab 49 fs/xfs/scrub/attr.c if (ab) { ab 50 fs/xfs/scrub/attr.c if (sz <= ab->sz) ab 52 fs/xfs/scrub/attr.c kmem_free(ab); ab 60 fs/xfs/scrub/attr.c ab = kmem_alloc_large(sizeof(*ab) + sz, flags); ab 61 fs/xfs/scrub/attr.c if (!ab) ab 64 fs/xfs/scrub/attr.c ab->sz = sz; ab 65 fs/xfs/scrub/attr.c sc->buf = ab; ab 35 fs/xfs/scrub/attr.h struct xchk_xattr_buf *ab = sc->buf; ab 37 fs/xfs/scrub/attr.h return ab->buf; ab 45 fs/xfs/scrub/attr.h struct xchk_xattr_buf *ab = sc->buf; ab 47 fs/xfs/scrub/attr.h return (unsigned long *)ab->buf; ab 139 include/linux/audit.h void audit_log_format(struct audit_buffer *ab, const char *fmt, ...); ab 140 include/linux/audit.h extern void audit_log_end(struct audit_buffer *ab); ab 143 include/linux/audit.h extern void audit_log_n_hex(struct audit_buffer *ab, ab 146 include/linux/audit.h extern void audit_log_n_string(struct audit_buffer *ab, ab 149 include/linux/audit.h extern void audit_log_n_untrustedstring(struct audit_buffer *ab, ab 152 include/linux/audit.h extern void audit_log_untrustedstring(struct audit_buffer *ab, ab 154 include/linux/audit.h extern void audit_log_d_path(struct audit_buffer *ab, ab 157 include/linux/audit.h extern void audit_log_key(struct audit_buffer *ab, ab 162 include/linux/audit.h extern int audit_log_task_context(struct audit_buffer *ab); ab 163 include/linux/audit.h extern void audit_log_task_info(struct audit_buffer *ab); ab 198 include/linux/audit.h void audit_log_format(struct audit_buffer *ab, const char *fmt, ...) ab 200 include/linux/audit.h static inline void audit_log_end(struct audit_buffer *ab) ab 202 include/linux/audit.h static inline void audit_log_n_hex(struct audit_buffer *ab, ab 205 include/linux/audit.h static inline void audit_log_n_string(struct audit_buffer *ab, ab 208 include/linux/audit.h static inline void audit_log_n_untrustedstring(struct audit_buffer *ab, ab 211 include/linux/audit.h static inline void audit_log_untrustedstring(struct audit_buffer *ab, ab 214 include/linux/audit.h static inline void audit_log_d_path(struct audit_buffer *ab, ab 218 include/linux/audit.h static inline void audit_log_key(struct audit_buffer *ab, char *key) ab 222 include/linux/audit.h static inline int audit_log_task_context(struct audit_buffer *ab) ab 226 include/linux/audit.h static inline void audit_log_task_info(struct audit_buffer *ab) ab 657 include/linux/audit.h static inline void audit_log_string(struct audit_buffer *ab, const char *buf) ab 659 include/linux/audit.h audit_log_n_string(ab, buf, strlen(buf)); ab 394 include/linux/mfd/abx500/ab8500.h static inline int is_ab8500(struct ab8500 *ab) ab 396 include/linux/mfd/abx500/ab8500.h return ab->version == AB8500_VERSION_AB8500; ab 399 include/linux/mfd/abx500/ab8500.h static inline int is_ab8505(struct ab8500 *ab) ab 401 include/linux/mfd/abx500/ab8500.h return ab->version == AB8500_VERSION_AB8505; ab 404 include/linux/mfd/abx500/ab8500.h static inline int is_ab9540(struct ab8500 *ab) ab 406 include/linux/mfd/abx500/ab8500.h return ab->version == AB8500_VERSION_AB9540; ab 409 include/linux/mfd/abx500/ab8500.h static inline int is_ab8540(struct ab8500 *ab) ab 411 include/linux/mfd/abx500/ab8500.h return ab->version == AB8500_VERSION_AB8540; ab 415 include/linux/mfd/abx500/ab8500.h static inline int is_ab8500_1p0_or_earlier(struct ab8500 *ab) ab 417 include/linux/mfd/abx500/ab8500.h return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P0)); ab 421 include/linux/mfd/abx500/ab8500.h static inline int is_ab8500_1p1_or_earlier(struct ab8500 *ab) ab 423 include/linux/mfd/abx500/ab8500.h return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P1)); ab 427 include/linux/mfd/abx500/ab8500.h static inline int is_ab8500_2p0_or_earlier(struct ab8500 *ab) ab 429 include/linux/mfd/abx500/ab8500.h return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT2P0)); ab 432 include/linux/mfd/abx500/ab8500.h static inline int is_ab8500_3p3_or_earlier(struct ab8500 *ab) ab 434 include/linux/mfd/abx500/ab8500.h return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT3P3)); ab 438 include/linux/mfd/abx500/ab8500.h static inline int is_ab8500_2p0(struct ab8500 *ab) ab 440 include/linux/mfd/abx500/ab8500.h return (is_ab8500(ab) && (ab->chip_id == AB8500_CUT2P0)); ab 443 include/linux/mfd/abx500/ab8500.h static inline int is_ab8505_1p0_or_earlier(struct ab8500 *ab) ab 445 include/linux/mfd/abx500/ab8500.h return (is_ab8505(ab) && (ab->chip_id <= AB8500_CUT1P0)); ab 448 include/linux/mfd/abx500/ab8500.h static inline int is_ab8505_2p0(struct ab8500 *ab) ab 450 include/linux/mfd/abx500/ab8500.h return (is_ab8505(ab) && (ab->chip_id == AB8500_CUT2P0)); ab 453 include/linux/mfd/abx500/ab8500.h static inline int is_ab9540_1p0_or_earlier(struct ab8500 *ab) ab 455 include/linux/mfd/abx500/ab8500.h return (is_ab9540(ab) && (ab->chip_id <= AB8500_CUT1P0)); ab 458 include/linux/mfd/abx500/ab8500.h static inline int is_ab9540_2p0(struct ab8500 *ab) ab 460 include/linux/mfd/abx500/ab8500.h return (is_ab9540(ab) && (ab->chip_id == AB8500_CUT2P0)); ab 467 include/linux/mfd/abx500/ab8500.h static inline int is_ab9540_3p0(struct ab8500 *ab) ab 469 include/linux/mfd/abx500/ab8500.h return (is_ab9540(ab) && (ab->chip_id == AB8500_CUT3P0)); ab 472 include/linux/mfd/abx500/ab8500.h static inline int is_ab8540_1p0_or_earlier(struct ab8500 *ab) ab 474 include/linux/mfd/abx500/ab8500.h return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT1P0); ab 477 include/linux/mfd/abx500/ab8500.h static inline int is_ab8540_1p1_or_earlier(struct ab8500 *ab) ab 479 include/linux/mfd/abx500/ab8500.h return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT1P1); ab 482 include/linux/mfd/abx500/ab8500.h static inline int is_ab8540_1p2_or_earlier(struct ab8500 *ab) ab 484 include/linux/mfd/abx500/ab8500.h return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT1P2); ab 487 include/linux/mfd/abx500/ab8500.h static inline int is_ab8540_2p0_or_earlier(struct ab8500 *ab) ab 489 include/linux/mfd/abx500/ab8500.h return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT2P0); ab 492 include/linux/mfd/abx500/ab8500.h static inline int is_ab8540_2p0(struct ab8500 *ab) ab 494 include/linux/mfd/abx500/ab8500.h return is_ab8540(ab) && (ab->chip_id == AB8500_CUT2P0); ab 497 include/linux/mfd/abx500/ab8500.h static inline int is_ab8505_2p0_earlier(struct ab8500 *ab) ab 499 include/linux/mfd/abx500/ab8500.h return (is_ab8505(ab) && (ab->chip_id < AB8500_CUT2P0)); ab 502 include/linux/mfd/abx500/ab8500.h static inline int is_ab9540_2p0_or_earlier(struct ab8500 *ab) ab 504 include/linux/mfd/abx500/ab8500.h return (is_ab9540(ab) && (ab->chip_id < AB8500_CUT2P0)); ab 383 kernel/audit.c struct audit_buffer *ab; ab 386 kernel/audit.c ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); ab 387 kernel/audit.c if (unlikely(!ab)) ab 389 kernel/audit.c audit_log_format(ab, "op=set %s=%u old=%u ", function_name, new, old); ab 390 kernel/audit.c audit_log_session_info(ab); ab 391 kernel/audit.c rc = audit_log_task_context(ab); ab 394 kernel/audit.c audit_log_format(ab, " res=%d", allow_changes); ab 395 kernel/audit.c audit_log_end(ab); ab 1044 kernel/audit.c struct audit_buffer **ab, u16 msg_type) ab 1050 kernel/audit.c *ab = NULL; ab 1054 kernel/audit.c *ab = audit_log_start(context, GFP_KERNEL, msg_type); ab 1055 kernel/audit.c if (unlikely(!*ab)) ab 1057 kernel/audit.c audit_log_format(*ab, "pid=%d uid=%u ", pid, uid); ab 1058 kernel/audit.c audit_log_session_info(*ab); ab 1059 kernel/audit.c audit_log_task_context(*ab); ab 1062 kernel/audit.c static inline void audit_log_user_recv_msg(struct audit_buffer **ab, ab 1065 kernel/audit.c audit_log_common_recv_msg(NULL, ab, msg_type); ab 1088 kernel/audit.c struct audit_buffer *ab; ab 1093 kernel/audit.c ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_FEATURE_CHANGE); ab 1094 kernel/audit.c if (!ab) ab 1096 kernel/audit.c audit_log_task_info(ab); ab 1097 kernel/audit.c audit_log_format(ab, " feature=%s old=%u new=%u old_lock=%u new_lock=%u res=%d", ab 1100 kernel/audit.c audit_log_end(ab); ab 1177 kernel/audit.c struct audit_buffer *ab; ab 1342 kernel/audit.c audit_log_user_recv_msg(&ab, msg_type); ab 1346 kernel/audit.c audit_log_format(ab, " msg='%.*s'", ab 1350 kernel/audit.c audit_log_format(ab, " data="); ab 1353 kernel/audit.c audit_log_n_untrustedstring(ab, str, data_len); ab 1355 kernel/audit.c audit_log_end(ab); ab 1363 kernel/audit.c audit_log_common_recv_msg(audit_context(), &ab, ab 1365 kernel/audit.c audit_log_format(ab, " op=%s audit_enabled=%d res=0", ab 1369 kernel/audit.c audit_log_end(ab); ab 1379 kernel/audit.c audit_log_common_recv_msg(audit_context(), &ab, ab 1381 kernel/audit.c audit_log_format(ab, " op=trim res=1"); ab 1382 kernel/audit.c audit_log_end(ab); ab 1410 kernel/audit.c audit_log_common_recv_msg(audit_context(), &ab, ab 1412 kernel/audit.c audit_log_format(ab, " op=make_equiv old="); ab 1413 kernel/audit.c audit_log_untrustedstring(ab, old); ab 1414 kernel/audit.c audit_log_format(ab, " new="); ab 1415 kernel/audit.c audit_log_untrustedstring(ab, new); ab 1416 kernel/audit.c audit_log_format(ab, " res=%d", !err); ab 1417 kernel/audit.c audit_log_end(ab); ab 1458 kernel/audit.c struct audit_buffer *ab; ab 1478 kernel/audit.c audit_log_common_recv_msg(audit_context(), &ab, ab 1480 kernel/audit.c audit_log_format(ab, " op=tty_set old-enabled=%d new-enabled=%d" ab 1484 kernel/audit.c audit_log_end(ab); ab 1667 kernel/audit.c static void audit_buffer_free(struct audit_buffer *ab) ab 1669 kernel/audit.c if (!ab) ab 1672 kernel/audit.c kfree_skb(ab->skb); ab 1673 kernel/audit.c kmem_cache_free(audit_buffer_cache, ab); ab 1679 kernel/audit.c struct audit_buffer *ab; ab 1681 kernel/audit.c ab = kmem_cache_alloc(audit_buffer_cache, gfp_mask); ab 1682 kernel/audit.c if (!ab) ab 1685 kernel/audit.c ab->skb = nlmsg_new(AUDIT_BUFSIZ, gfp_mask); ab 1686 kernel/audit.c if (!ab->skb) ab 1688 kernel/audit.c if (!nlmsg_put(ab->skb, 0, 0, type, 0, 0)) ab 1691 kernel/audit.c ab->ctx = ctx; ab 1692 kernel/audit.c ab->gfp_mask = gfp_mask; ab 1694 kernel/audit.c return ab; ab 1697 kernel/audit.c audit_buffer_free(ab); ab 1752 kernel/audit.c struct audit_buffer *ab; ab 1798 kernel/audit.c ab = audit_buffer_alloc(ctx, gfp_mask, type); ab 1799 kernel/audit.c if (!ab) { ab 1804 kernel/audit.c audit_get_stamp(ab->ctx, &t, &serial); ab 1805 kernel/audit.c audit_log_format(ab, "audit(%llu.%03lu:%u): ", ab 1808 kernel/audit.c return ab; ab 1819 kernel/audit.c static inline int audit_expand(struct audit_buffer *ab, int extra) ab 1821 kernel/audit.c struct sk_buff *skb = ab->skb; ab 1823 kernel/audit.c int ret = pskb_expand_head(skb, 0, extra, ab->gfp_mask); ab 1841 kernel/audit.c static void audit_log_vformat(struct audit_buffer *ab, const char *fmt, ab 1848 kernel/audit.c if (!ab) ab 1851 kernel/audit.c BUG_ON(!ab->skb); ab 1852 kernel/audit.c skb = ab->skb; ab 1855 kernel/audit.c avail = audit_expand(ab, AUDIT_BUFSIZ); ab 1865 kernel/audit.c avail = audit_expand(ab, ab 1887 kernel/audit.c void audit_log_format(struct audit_buffer *ab, const char *fmt, ...) ab 1891 kernel/audit.c if (!ab) ab 1894 kernel/audit.c audit_log_vformat(ab, fmt, args); ab 1909 kernel/audit.c void audit_log_n_hex(struct audit_buffer *ab, const unsigned char *buf, ab 1916 kernel/audit.c if (!ab) ab 1919 kernel/audit.c BUG_ON(!ab->skb); ab 1920 kernel/audit.c skb = ab->skb; ab 1926 kernel/audit.c avail = audit_expand(ab, new_len); ab 1942 kernel/audit.c void audit_log_n_string(struct audit_buffer *ab, const char *string, ab 1949 kernel/audit.c if (!ab) ab 1952 kernel/audit.c BUG_ON(!ab->skb); ab 1953 kernel/audit.c skb = ab->skb; ab 1957 kernel/audit.c avail = audit_expand(ab, new_len); ab 1999 kernel/audit.c void audit_log_n_untrustedstring(struct audit_buffer *ab, const char *string, ab 2003 kernel/audit.c audit_log_n_hex(ab, string, len); ab 2005 kernel/audit.c audit_log_n_string(ab, string, len); ab 2016 kernel/audit.c void audit_log_untrustedstring(struct audit_buffer *ab, const char *string) ab 2018 kernel/audit.c audit_log_n_untrustedstring(ab, string, strlen(string)); ab 2022 kernel/audit.c void audit_log_d_path(struct audit_buffer *ab, const char *prefix, ab 2028 kernel/audit.c audit_log_format(ab, "%s", prefix); ab 2031 kernel/audit.c pathname = kmalloc(PATH_MAX+11, ab->gfp_mask); ab 2033 kernel/audit.c audit_log_string(ab, "<no_memory>"); ab 2039 kernel/audit.c audit_log_string(ab, "<too_long>"); ab 2041 kernel/audit.c audit_log_untrustedstring(ab, p); ab 2045 kernel/audit.c void audit_log_session_info(struct audit_buffer *ab) ab 2050 kernel/audit.c audit_log_format(ab, "auid=%u ses=%u", auid, sessionid); ab 2053 kernel/audit.c void audit_log_key(struct audit_buffer *ab, char *key) ab 2055 kernel/audit.c audit_log_format(ab, " key="); ab 2057 kernel/audit.c audit_log_untrustedstring(ab, key); ab 2059 kernel/audit.c audit_log_format(ab, "(null)"); ab 2062 kernel/audit.c int audit_log_task_context(struct audit_buffer *ab) ab 2080 kernel/audit.c audit_log_format(ab, " subj=%s", ctx); ab 2090 kernel/audit.c void audit_log_d_path_exe(struct audit_buffer *ab, ab 2102 kernel/audit.c audit_log_d_path(ab, " exe=", &exe_file->f_path); ab 2106 kernel/audit.c audit_log_format(ab, " exe=(null)"); ab 2126 kernel/audit.c void audit_log_task_info(struct audit_buffer *ab) ab 2132 kernel/audit.c if (!ab) ab 2137 kernel/audit.c audit_log_format(ab, ab 2155 kernel/audit.c audit_log_format(ab, " comm="); ab 2156 kernel/audit.c audit_log_untrustedstring(ab, get_task_comm(comm, current)); ab 2157 kernel/audit.c audit_log_d_path_exe(ab, current->mm); ab 2158 kernel/audit.c audit_log_task_context(ab); ab 2168 kernel/audit.c struct audit_buffer *ab; ab 2174 kernel/audit.c ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_ANOM_LINK); ab 2175 kernel/audit.c if (!ab) ab 2177 kernel/audit.c audit_log_format(ab, "op=%s", operation); ab 2178 kernel/audit.c audit_log_task_info(ab); ab 2179 kernel/audit.c audit_log_format(ab, " res=0"); ab 2180 kernel/audit.c audit_log_end(ab); ab 2208 kernel/audit.c struct audit_buffer *ab; ab 2215 kernel/audit.c ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_LOGIN); ab 2216 kernel/audit.c if (!ab) ab 2224 kernel/audit.c audit_log_format(ab, "pid=%d uid=%u", task_tgid_nr(current), uid); ab 2225 kernel/audit.c audit_log_task_context(ab); ab 2226 kernel/audit.c audit_log_format(ab, " old-auid=%u auid=%u tty=%s old-ses=%u ses=%u res=%d", ab 2230 kernel/audit.c audit_log_end(ab); ab 2304 kernel/audit.c void audit_log_end(struct audit_buffer *ab) ab 2309 kernel/audit.c if (!ab) ab 2313 kernel/audit.c skb = ab->skb; ab 2314 kernel/audit.c ab->skb = NULL; ab 2327 kernel/audit.c audit_buffer_free(ab); ab 2345 kernel/audit.c struct audit_buffer *ab; ab 2348 kernel/audit.c ab = audit_log_start(ctx, gfp_mask, type); ab 2349 kernel/audit.c if (ab) { ab 2351 kernel/audit.c audit_log_vformat(ab, fmt, args); ab 2353 kernel/audit.c audit_log_end(ab); ab 201 kernel/audit.h extern void audit_log_session_info(struct audit_buffer *ab); ab 243 kernel/audit.h extern void audit_log_d_path_exe(struct audit_buffer *ab, ab 116 kernel/audit_fsnotify.c struct audit_buffer *ab; ab 121 kernel/audit_fsnotify.c ab = audit_log_start(audit_context(), GFP_NOFS, AUDIT_CONFIG_CHANGE); ab 122 kernel/audit_fsnotify.c if (unlikely(!ab)) ab 124 kernel/audit_fsnotify.c audit_log_session_info(ab); ab 125 kernel/audit_fsnotify.c audit_log_format(ab, " op=%s path=", op); ab 126 kernel/audit_fsnotify.c audit_log_untrustedstring(ab, audit_mark->path); ab 127 kernel/audit_fsnotify.c audit_log_key(ab, rule->filterkey); ab 128 kernel/audit_fsnotify.c audit_log_format(ab, " list=%d res=1", rule->listnr); ab 129 kernel/audit_fsnotify.c audit_log_end(ab); ab 530 kernel/audit_tree.c struct audit_buffer *ab; ab 534 kernel/audit_tree.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_CONFIG_CHANGE); ab 535 kernel/audit_tree.c if (unlikely(!ab)) ab 537 kernel/audit_tree.c audit_log_format(ab, "op=remove_rule dir="); ab 538 kernel/audit_tree.c audit_log_untrustedstring(ab, rule->tree->pathname); ab 539 kernel/audit_tree.c audit_log_key(ab, rule->filterkey); ab 540 kernel/audit_tree.c audit_log_format(ab, " list=%d res=1", rule->listnr); ab 541 kernel/audit_tree.c audit_log_end(ab); ab 228 kernel/audit_watch.c struct audit_buffer *ab; ab 232 kernel/audit_watch.c ab = audit_log_start(audit_context(), GFP_NOFS, AUDIT_CONFIG_CHANGE); ab 233 kernel/audit_watch.c if (!ab) ab 235 kernel/audit_watch.c audit_log_session_info(ab); ab 236 kernel/audit_watch.c audit_log_format(ab, "op=%s path=", op); ab 237 kernel/audit_watch.c audit_log_untrustedstring(ab, w->path); ab 238 kernel/audit_watch.c audit_log_key(ab, r->filterkey); ab 239 kernel/audit_watch.c audit_log_format(ab, " list=%d res=1", r->listnr); ab 240 kernel/audit_watch.c audit_log_end(ab); ab 1100 kernel/auditfilter.c struct audit_buffer *ab; ab 1105 kernel/auditfilter.c ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); ab 1106 kernel/auditfilter.c if (!ab) ab 1108 kernel/auditfilter.c audit_log_session_info(ab); ab 1109 kernel/auditfilter.c audit_log_task_context(ab); ab 1110 kernel/auditfilter.c audit_log_format(ab, " op=%s", action); ab 1111 kernel/auditfilter.c audit_log_key(ab, rule->filterkey); ab 1112 kernel/auditfilter.c audit_log_format(ab, " list=%d res=%d", rule->listnr, res); ab 1113 kernel/auditfilter.c audit_log_end(ab); ab 959 kernel/auditsc.c struct audit_buffer *ab; ab 964 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_OBJ_PID); ab 965 kernel/auditsc.c if (!ab) ab 968 kernel/auditsc.c audit_log_format(ab, "opid=%d oauid=%d ouid=%d oses=%d", pid, ab 973 kernel/auditsc.c audit_log_format(ab, " obj=(none)"); ab 976 kernel/auditsc.c audit_log_format(ab, " obj=%s", ctx); ab 980 kernel/auditsc.c audit_log_format(ab, " ocomm="); ab 981 kernel/auditsc.c audit_log_untrustedstring(ab, comm); ab 982 kernel/auditsc.c audit_log_end(ab); ab 988 kernel/auditsc.c struct audit_buffer **ab) ab 1024 kernel/auditsc.c audit_log_format(*ab, "argc=%d", context->execve.argc); ab 1095 kernel/auditsc.c audit_log_end(*ab); ab 1096 kernel/auditsc.c *ab = audit_log_start(context, ab 1098 kernel/auditsc.c if (!*ab) ab 1123 kernel/auditsc.c audit_log_format(*ab, "%s", abuf); ab 1129 kernel/auditsc.c audit_log_n_hex(*ab, buf, len_tmp); ab 1135 kernel/auditsc.c audit_log_n_string(*ab, buf, len_tmp); ab 1161 kernel/auditsc.c static void audit_log_cap(struct audit_buffer *ab, char *prefix, ab 1167 kernel/auditsc.c audit_log_format(ab, " %s=0", prefix); ab 1170 kernel/auditsc.c audit_log_format(ab, " %s=", prefix); ab 1172 kernel/auditsc.c audit_log_format(ab, "%08x", cap->cap[CAP_LAST_U32 - i]); ab 1175 kernel/auditsc.c static void audit_log_fcaps(struct audit_buffer *ab, struct audit_names *name) ab 1178 kernel/auditsc.c audit_log_format(ab, " cap_fe=? cap_fver=? cap_fp=? cap_fi=?"); ab 1181 kernel/auditsc.c audit_log_cap(ab, "cap_fp", &name->fcap.permitted); ab 1182 kernel/auditsc.c audit_log_cap(ab, "cap_fi", &name->fcap.inheritable); ab 1183 kernel/auditsc.c audit_log_format(ab, " cap_fe=%d cap_fver=%x cap_frootid=%d", ab 1190 kernel/auditsc.c struct audit_buffer *ab; ab 1193 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, context->type); ab 1194 kernel/auditsc.c if (!ab) ab 1200 kernel/auditsc.c audit_log_format(ab, "nargs=%d", nargs); ab 1202 kernel/auditsc.c audit_log_format(ab, " a%d=%lx", i, ab 1208 kernel/auditsc.c audit_log_format(ab, "ouid=%u ogid=%u mode=%#ho", ab 1216 kernel/auditsc.c audit_log_format(ab, " osid=%u", osid); ab 1219 kernel/auditsc.c audit_log_format(ab, " obj=%s", ctx); ab 1224 kernel/auditsc.c audit_log_end(ab); ab 1225 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, ab 1227 kernel/auditsc.c if (unlikely(!ab)) ab 1229 kernel/auditsc.c audit_log_format(ab, ab 1238 kernel/auditsc.c audit_log_format(ab, ab 1248 kernel/auditsc.c audit_log_format(ab, ab 1258 kernel/auditsc.c audit_log_format(ab, "mqdes=%d sigev_signo=%d", ab 1264 kernel/auditsc.c audit_log_format(ab, ab 1272 kernel/auditsc.c audit_log_format(ab, "pid=%d", context->capset.pid); ab 1273 kernel/auditsc.c audit_log_cap(ab, "cap_pi", &context->capset.cap.inheritable); ab 1274 kernel/auditsc.c audit_log_cap(ab, "cap_pp", &context->capset.cap.permitted); ab 1275 kernel/auditsc.c audit_log_cap(ab, "cap_pe", &context->capset.cap.effective); ab 1276 kernel/auditsc.c audit_log_cap(ab, "cap_pa", &context->capset.cap.ambient); ab 1279 kernel/auditsc.c audit_log_format(ab, "fd=%d flags=0x%x", context->mmap.fd, ab 1283 kernel/auditsc.c audit_log_execve_info(context, &ab); ab 1286 kernel/auditsc.c audit_log_format(ab, "name="); ab 1288 kernel/auditsc.c audit_log_untrustedstring(ab, context->module.name); ab 1290 kernel/auditsc.c audit_log_format(ab, "(null)"); ab 1294 kernel/auditsc.c audit_log_end(ab); ab 1320 kernel/auditsc.c struct audit_buffer *ab; ab 1322 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_PATH); ab 1323 kernel/auditsc.c if (!ab) ab 1326 kernel/auditsc.c audit_log_format(ab, "item=%d", record_num); ab 1329 kernel/auditsc.c audit_log_d_path(ab, " name=", path); ab 1334 kernel/auditsc.c audit_log_format(ab, " name="); ab 1335 kernel/auditsc.c audit_log_untrustedstring(ab, n->name->name); ab 1341 kernel/auditsc.c audit_log_d_path(ab, " name=", &context->pwd); ab 1345 kernel/auditsc.c audit_log_format(ab, " name="); ab 1346 kernel/auditsc.c audit_log_n_untrustedstring(ab, n->name->name, ab 1350 kernel/auditsc.c audit_log_format(ab, " name=(null)"); ab 1353 kernel/auditsc.c audit_log_format(ab, " inode=%lu dev=%02x:%02x mode=%#ho ouid=%u ogid=%u rdev=%02x:%02x", ab 1368 kernel/auditsc.c audit_log_format(ab, " osid=%u", n->osid); ab 1372 kernel/auditsc.c audit_log_format(ab, " obj=%s", ctx); ab 1380 kernel/auditsc.c audit_log_format(ab, " nametype=NORMAL"); ab 1383 kernel/auditsc.c audit_log_format(ab, " nametype=PARENT"); ab 1386 kernel/auditsc.c audit_log_format(ab, " nametype=DELETE"); ab 1389 kernel/auditsc.c audit_log_format(ab, " nametype=CREATE"); ab 1392 kernel/auditsc.c audit_log_format(ab, " nametype=UNKNOWN"); ab 1396 kernel/auditsc.c audit_log_fcaps(ab, n); ab 1397 kernel/auditsc.c audit_log_end(ab); ab 1407 kernel/auditsc.c struct audit_buffer *ab; ab 1412 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_PROCTITLE); ab 1413 kernel/auditsc.c if (!ab) ab 1416 kernel/auditsc.c audit_log_format(ab, "proctitle="); ab 1440 kernel/auditsc.c audit_log_n_untrustedstring(ab, msg, len); ab 1441 kernel/auditsc.c audit_log_end(ab); ab 1448 kernel/auditsc.c struct audit_buffer *ab; ab 1454 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_SYSCALL); ab 1455 kernel/auditsc.c if (!ab) ab 1457 kernel/auditsc.c audit_log_format(ab, "arch=%x syscall=%d", ab 1460 kernel/auditsc.c audit_log_format(ab, " per=%lx", context->personality); ab 1462 kernel/auditsc.c audit_log_format(ab, " success=%s exit=%ld", ab 1466 kernel/auditsc.c audit_log_format(ab, ab 1474 kernel/auditsc.c audit_log_task_info(ab); ab 1475 kernel/auditsc.c audit_log_key(ab, context->filterkey); ab 1476 kernel/auditsc.c audit_log_end(ab); ab 1480 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, aux->type); ab 1481 kernel/auditsc.c if (!ab) ab 1488 kernel/auditsc.c audit_log_format(ab, "fver=%x", axs->fcap_ver); ab 1489 kernel/auditsc.c audit_log_cap(ab, "fp", &axs->fcap.permitted); ab 1490 kernel/auditsc.c audit_log_cap(ab, "fi", &axs->fcap.inheritable); ab 1491 kernel/auditsc.c audit_log_format(ab, " fe=%d", axs->fcap.fE); ab 1492 kernel/auditsc.c audit_log_cap(ab, "old_pp", &axs->old_pcap.permitted); ab 1493 kernel/auditsc.c audit_log_cap(ab, "old_pi", &axs->old_pcap.inheritable); ab 1494 kernel/auditsc.c audit_log_cap(ab, "old_pe", &axs->old_pcap.effective); ab 1495 kernel/auditsc.c audit_log_cap(ab, "old_pa", &axs->old_pcap.ambient); ab 1496 kernel/auditsc.c audit_log_cap(ab, "pp", &axs->new_pcap.permitted); ab 1497 kernel/auditsc.c audit_log_cap(ab, "pi", &axs->new_pcap.inheritable); ab 1498 kernel/auditsc.c audit_log_cap(ab, "pe", &axs->new_pcap.effective); ab 1499 kernel/auditsc.c audit_log_cap(ab, "pa", &axs->new_pcap.ambient); ab 1500 kernel/auditsc.c audit_log_format(ab, " frootid=%d", ab 1506 kernel/auditsc.c audit_log_end(ab); ab 1513 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_FD_PAIR); ab 1514 kernel/auditsc.c if (ab) { ab 1515 kernel/auditsc.c audit_log_format(ab, "fd0=%d fd1=%d", ab 1517 kernel/auditsc.c audit_log_end(ab); ab 1522 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_SOCKADDR); ab 1523 kernel/auditsc.c if (ab) { ab 1524 kernel/auditsc.c audit_log_format(ab, "saddr="); ab 1525 kernel/auditsc.c audit_log_n_hex(ab, (void *)context->sockaddr, ab 1527 kernel/auditsc.c audit_log_end(ab); ab 1552 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_CWD); ab 1553 kernel/auditsc.c if (ab) { ab 1554 kernel/auditsc.c audit_log_d_path(ab, "cwd=", &context->pwd); ab 1555 kernel/auditsc.c audit_log_end(ab); ab 1569 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_EOE); ab 1570 kernel/auditsc.c if (ab) ab 1571 kernel/auditsc.c audit_log_end(ab); ab 2548 kernel/auditsc.c static void audit_log_task(struct audit_buffer *ab) ab 2559 kernel/auditsc.c audit_log_format(ab, "auid=%u uid=%u gid=%u ses=%u", ab 2564 kernel/auditsc.c audit_log_task_context(ab); ab 2565 kernel/auditsc.c audit_log_format(ab, " pid=%d comm=", task_tgid_nr(current)); ab 2566 kernel/auditsc.c audit_log_untrustedstring(ab, get_task_comm(comm, current)); ab 2567 kernel/auditsc.c audit_log_d_path_exe(ab, current->mm); ab 2579 kernel/auditsc.c struct audit_buffer *ab; ab 2587 kernel/auditsc.c ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_ANOM_ABEND); ab 2588 kernel/auditsc.c if (unlikely(!ab)) ab 2590 kernel/auditsc.c audit_log_task(ab); ab 2591 kernel/auditsc.c audit_log_format(ab, " sig=%ld res=1", signr); ab 2592 kernel/auditsc.c audit_log_end(ab); ab 2609 kernel/auditsc.c struct audit_buffer *ab; ab 2611 kernel/auditsc.c ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_SECCOMP); ab 2612 kernel/auditsc.c if (unlikely(!ab)) ab 2614 kernel/auditsc.c audit_log_task(ab); ab 2615 kernel/auditsc.c audit_log_format(ab, " sig=%ld arch=%x syscall=%ld compat=%d ip=0x%lx code=0x%x", ab 2618 kernel/auditsc.c audit_log_end(ab); ab 2624 kernel/auditsc.c struct audit_buffer *ab; ab 2629 kernel/auditsc.c ab = audit_log_start(audit_context(), GFP_KERNEL, ab 2631 kernel/auditsc.c if (unlikely(!ab)) ab 2634 kernel/auditsc.c audit_log_format(ab, ab 2637 kernel/auditsc.c audit_log_end(ab); ab 29 net/netfilter/nft_log.c static bool audit_ip4(struct audit_buffer *ab, struct sk_buff *skb) ab 38 net/netfilter/nft_log.c audit_log_format(ab, " saddr=%pI4 daddr=%pI4 proto=%hhu", ab 44 net/netfilter/nft_log.c static bool audit_ip6(struct audit_buffer *ab, struct sk_buff *skb) ab 58 net/netfilter/nft_log.c audit_log_format(ab, " saddr=%pI6c daddr=%pI6c proto=%hhu", ab 67 net/netfilter/nft_log.c struct audit_buffer *ab; ab 73 net/netfilter/nft_log.c ab = audit_log_start(NULL, GFP_ATOMIC, AUDIT_NETFILTER_PKT); ab 74 net/netfilter/nft_log.c if (!ab) ab 77 net/netfilter/nft_log.c audit_log_format(ab, "mark=%#x", skb->mark); ab 83 net/netfilter/nft_log.c fam = audit_ip4(ab, skb) ? NFPROTO_IPV4 : -1; ab 86 net/netfilter/nft_log.c fam = audit_ip6(ab, skb) ? NFPROTO_IPV6 : -1; ab 91 net/netfilter/nft_log.c fam = audit_ip4(ab, skb) ? NFPROTO_IPV4 : -1; ab 94 net/netfilter/nft_log.c fam = audit_ip6(ab, skb) ? NFPROTO_IPV6 : -1; ab 99 net/netfilter/nft_log.c audit_log_format(ab, " saddr=? daddr=? proto=-1"); ab 101 net/netfilter/nft_log.c audit_log_end(ab); ab 31 net/netfilter/xt_AUDIT.c static bool audit_ip4(struct audit_buffer *ab, struct sk_buff *skb) ab 40 net/netfilter/xt_AUDIT.c audit_log_format(ab, " saddr=%pI4 daddr=%pI4 proto=%hhu", ab 46 net/netfilter/xt_AUDIT.c static bool audit_ip6(struct audit_buffer *ab, struct sk_buff *skb) ab 60 net/netfilter/xt_AUDIT.c audit_log_format(ab, " saddr=%pI6c daddr=%pI6c proto=%hhu", ab 69 net/netfilter/xt_AUDIT.c struct audit_buffer *ab; ab 74 net/netfilter/xt_AUDIT.c ab = audit_log_start(NULL, GFP_ATOMIC, AUDIT_NETFILTER_PKT); ab 75 net/netfilter/xt_AUDIT.c if (ab == NULL) ab 78 net/netfilter/xt_AUDIT.c audit_log_format(ab, "mark=%#x", skb->mark); ab 84 net/netfilter/xt_AUDIT.c fam = audit_ip4(ab, skb) ? NFPROTO_IPV4 : -1; ab 87 net/netfilter/xt_AUDIT.c fam = audit_ip6(ab, skb) ? NFPROTO_IPV6 : -1; ab 92 net/netfilter/xt_AUDIT.c fam = audit_ip4(ab, skb) ? NFPROTO_IPV4 : -1; ab 95 net/netfilter/xt_AUDIT.c fam = audit_ip6(ab, skb) ? NFPROTO_IPV6 : -1; ab 100 net/netfilter/xt_AUDIT.c audit_log_format(ab, " saddr=? daddr=? proto=-1"); ab 102 net/netfilter/xt_AUDIT.c audit_log_end(ab); ab 55 security/apparmor/audit.c static void audit_pre(struct audit_buffer *ab, void *ca) ab 60 security/apparmor/audit.c audit_log_format(ab, "apparmor="); ab 61 security/apparmor/audit.c audit_log_string(ab, aa_audit_type[aad(sa)->type]); ab 65 security/apparmor/audit.c audit_log_format(ab, " operation="); ab 66 security/apparmor/audit.c audit_log_string(ab, aad(sa)->op); ab 70 security/apparmor/audit.c audit_log_format(ab, " info="); ab 71 security/apparmor/audit.c audit_log_string(ab, aad(sa)->info); ab 73 security/apparmor/audit.c audit_log_format(ab, " error=%d", aad(sa)->error); ab 83 security/apparmor/audit.c audit_log_format(ab, " namespace="); ab 84 security/apparmor/audit.c audit_log_untrustedstring(ab, ab 87 security/apparmor/audit.c audit_log_format(ab, " profile="); ab 88 security/apparmor/audit.c audit_log_untrustedstring(ab, profile->base.hname); ab 90 security/apparmor/audit.c audit_log_format(ab, " label="); ab 91 security/apparmor/audit.c aa_label_xaudit(ab, root_ns, label, FLAG_VIEW_SUBNS, ab 97 security/apparmor/audit.c audit_log_format(ab, " name="); ab 98 security/apparmor/audit.c audit_log_untrustedstring(ab, aad(sa)->name); ab 44 security/apparmor/capability.c static void audit_cb(struct audit_buffer *ab, void *va) ab 48 security/apparmor/capability.c audit_log_format(ab, " capname="); ab 49 security/apparmor/capability.c audit_log_untrustedstring(ab, capability_names[sa->u.cap]); ab 42 security/apparmor/file.c static void audit_file_mask(struct audit_buffer *ab, u32 mask) ab 48 security/apparmor/file.c audit_log_string(ab, str); ab 56 security/apparmor/file.c static void file_audit_cb(struct audit_buffer *ab, void *va) ab 62 security/apparmor/file.c audit_log_format(ab, " requested_mask="); ab 63 security/apparmor/file.c audit_file_mask(ab, aad(sa)->request); ab 66 security/apparmor/file.c audit_log_format(ab, " denied_mask="); ab 67 security/apparmor/file.c audit_file_mask(ab, aad(sa)->denied); ab 70 security/apparmor/file.c audit_log_format(ab, " fsuid=%d", ab 72 security/apparmor/file.c audit_log_format(ab, " ouid=%d", ab 77 security/apparmor/file.c audit_log_format(ab, " target="); ab 78 security/apparmor/file.c aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, ab 81 security/apparmor/file.c audit_log_format(ab, " target="); ab 82 security/apparmor/file.c audit_log_untrustedstring(ab, aad(sa)->fs.target); ab 316 security/apparmor/include/label.h void aa_label_xaudit(struct audit_buffer *ab, struct aa_ns *ns, ab 322 security/apparmor/include/label.h void aa_label_audit(struct audit_buffer *ab, struct aa_label *label, gfp_t gfp); ab 91 security/apparmor/include/net.h void audit_net_cb(struct audit_buffer *ab, void *va); ab 138 security/apparmor/include/perms.h void aa_audit_perm_names(struct audit_buffer *ab, const char * const *names, ab 140 security/apparmor/include/perms.h void aa_audit_perm_mask(struct audit_buffer *ab, u32 mask, const char *chrs, ab 26 security/apparmor/ipc.c static void audit_ptrace_mask(struct audit_buffer *ab, u32 mask) ab 30 security/apparmor/ipc.c audit_log_string(ab, "read"); ab 33 security/apparmor/ipc.c audit_log_string(ab, "trace"); ab 36 security/apparmor/ipc.c audit_log_string(ab, "readby"); ab 39 security/apparmor/ipc.c audit_log_string(ab, "tracedby"); ab 45 security/apparmor/ipc.c static void audit_ptrace_cb(struct audit_buffer *ab, void *va) ab 50 security/apparmor/ipc.c audit_log_format(ab, " requested_mask="); ab 51 security/apparmor/ipc.c audit_ptrace_mask(ab, aad(sa)->request); ab 54 security/apparmor/ipc.c audit_log_format(ab, " denied_mask="); ab 55 security/apparmor/ipc.c audit_ptrace_mask(ab, aad(sa)->denied); ab 58 security/apparmor/ipc.c audit_log_format(ab, " peer="); ab 59 security/apparmor/ipc.c aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, ab 149 security/apparmor/ipc.c static void audit_signal_mask(struct audit_buffer *ab, u32 mask) ab 152 security/apparmor/ipc.c audit_log_string(ab, "receive"); ab 154 security/apparmor/ipc.c audit_log_string(ab, "send"); ab 162 security/apparmor/ipc.c static void audit_signal_cb(struct audit_buffer *ab, void *va) ab 167 security/apparmor/ipc.c audit_log_format(ab, " requested_mask="); ab 168 security/apparmor/ipc.c audit_signal_mask(ab, aad(sa)->request); ab 170 security/apparmor/ipc.c audit_log_format(ab, " denied_mask="); ab 171 security/apparmor/ipc.c audit_signal_mask(ab, aad(sa)->denied); ab 175 security/apparmor/ipc.c audit_log_format(ab, "signal=unknown(%d)", ab 178 security/apparmor/ipc.c audit_log_format(ab, " signal=%s", sig_names[aad(sa)->signal]); ab 180 security/apparmor/ipc.c audit_log_format(ab, " signal=rtmin+%d", ab 182 security/apparmor/ipc.c audit_log_format(ab, " peer="); ab 183 security/apparmor/ipc.c aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, ab 1707 security/apparmor/label.c void aa_label_xaudit(struct audit_buffer *ab, struct aa_ns *ns, ab 1714 security/apparmor/label.c AA_BUG(!ab); ab 1730 security/apparmor/label.c audit_log_n_hex(ab, str, len); ab 1732 security/apparmor/label.c audit_log_n_string(ab, str, len); ab 1784 security/apparmor/label.c void aa_label_audit(struct audit_buffer *ab, struct aa_label *label, gfp_t gfp) ab 1788 security/apparmor/label.c aa_label_xaudit(ab, ns, label, FLAG_VIEW_SUBNS, gfp); ab 221 security/apparmor/lib.c void aa_audit_perm_names(struct audit_buffer *ab, const char * const *names, ab 230 security/apparmor/lib.c audit_log_format(ab, fmt, names[i]); ab 239 security/apparmor/lib.c void aa_audit_perm_mask(struct audit_buffer *ab, u32 mask, const char *chrs, ab 244 security/apparmor/lib.c audit_log_format(ab, "\""); ab 248 security/apparmor/lib.c audit_log_format(ab, "%s", str); ab 250 security/apparmor/lib.c audit_log_format(ab, " "); ab 253 security/apparmor/lib.c aa_audit_perm_names(ab, names, mask & namesmask); ab 254 security/apparmor/lib.c audit_log_format(ab, "\""); ab 262 security/apparmor/lib.c static void aa_audit_perms_cb(struct audit_buffer *ab, void *va) ab 267 security/apparmor/lib.c audit_log_format(ab, " requested_mask="); ab 268 security/apparmor/lib.c aa_audit_perm_mask(ab, aad(sa)->request, aa_file_perm_chrs, ab 273 security/apparmor/lib.c audit_log_format(ab, "denied_mask="); ab 274 security/apparmor/lib.c aa_audit_perm_mask(ab, aad(sa)->denied, aa_file_perm_chrs, ab 278 security/apparmor/lib.c audit_log_format(ab, " peer="); ab 279 security/apparmor/lib.c aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, ab 27 security/apparmor/mount.c static void audit_mnt_flags(struct audit_buffer *ab, unsigned long flags) ab 30 security/apparmor/mount.c audit_log_format(ab, "ro"); ab 32 security/apparmor/mount.c audit_log_format(ab, "rw"); ab 34 security/apparmor/mount.c audit_log_format(ab, ", nosuid"); ab 36 security/apparmor/mount.c audit_log_format(ab, ", nodev"); ab 38 security/apparmor/mount.c audit_log_format(ab, ", noexec"); ab 40 security/apparmor/mount.c audit_log_format(ab, ", sync"); ab 42 security/apparmor/mount.c audit_log_format(ab, ", remount"); ab 44 security/apparmor/mount.c audit_log_format(ab, ", mand"); ab 46 security/apparmor/mount.c audit_log_format(ab, ", dirsync"); ab 48 security/apparmor/mount.c audit_log_format(ab, ", noatime"); ab 50 security/apparmor/mount.c audit_log_format(ab, ", nodiratime"); ab 52 security/apparmor/mount.c audit_log_format(ab, flags & MS_REC ? ", rbind" : ", bind"); ab 54 security/apparmor/mount.c audit_log_format(ab, ", move"); ab 56 security/apparmor/mount.c audit_log_format(ab, ", silent"); ab 58 security/apparmor/mount.c audit_log_format(ab, ", acl"); ab 60 security/apparmor/mount.c audit_log_format(ab, flags & MS_REC ? ", runbindable" : ab 63 security/apparmor/mount.c audit_log_format(ab, flags & MS_REC ? ", rprivate" : ab 66 security/apparmor/mount.c audit_log_format(ab, flags & MS_REC ? ", rslave" : ab 69 security/apparmor/mount.c audit_log_format(ab, flags & MS_REC ? ", rshared" : ab 72 security/apparmor/mount.c audit_log_format(ab, ", relatime"); ab 74 security/apparmor/mount.c audit_log_format(ab, ", iversion"); ab 76 security/apparmor/mount.c audit_log_format(ab, ", strictatime"); ab 78 security/apparmor/mount.c audit_log_format(ab, ", nouser"); ab 86 security/apparmor/mount.c static void audit_cb(struct audit_buffer *ab, void *va) ab 91 security/apparmor/mount.c audit_log_format(ab, " fstype="); ab 92 security/apparmor/mount.c audit_log_untrustedstring(ab, aad(sa)->mnt.type); ab 95 security/apparmor/mount.c audit_log_format(ab, " srcname="); ab 96 security/apparmor/mount.c audit_log_untrustedstring(ab, aad(sa)->mnt.src_name); ab 99 security/apparmor/mount.c audit_log_format(ab, " trans="); ab 100 security/apparmor/mount.c audit_log_untrustedstring(ab, aad(sa)->mnt.trans); ab 103 security/apparmor/mount.c audit_log_format(ab, " flags=\""); ab 104 security/apparmor/mount.c audit_mnt_flags(ab, aad(sa)->mnt.flags); ab 105 security/apparmor/mount.c audit_log_format(ab, "\""); ab 108 security/apparmor/mount.c audit_log_format(ab, " options="); ab 109 security/apparmor/mount.c audit_log_untrustedstring(ab, aad(sa)->mnt.data); ab 71 security/apparmor/net.c void audit_net_cb(struct audit_buffer *ab, void *va) ab 75 security/apparmor/net.c audit_log_format(ab, " family="); ab 77 security/apparmor/net.c audit_log_string(ab, address_family_names[sa->u.net->family]); ab 79 security/apparmor/net.c audit_log_format(ab, "\"unknown(%d)\"", sa->u.net->family); ab 80 security/apparmor/net.c audit_log_format(ab, " sock_type="); ab 82 security/apparmor/net.c audit_log_string(ab, sock_type_names[aad(sa)->net.type]); ab 84 security/apparmor/net.c audit_log_format(ab, "\"unknown(%d)\"", aad(sa)->net.type); ab 85 security/apparmor/net.c audit_log_format(ab, " protocol=%d", aad(sa)->net.protocol); ab 88 security/apparmor/net.c audit_log_format(ab, " requested_mask="); ab 89 security/apparmor/net.c aa_audit_perm_mask(ab, aad(sa)->request, NULL, 0, ab 93 security/apparmor/net.c audit_log_format(ab, " denied_mask="); ab 94 security/apparmor/net.c aa_audit_perm_mask(ab, aad(sa)->denied, NULL, 0, ab 99 security/apparmor/net.c audit_log_format(ab, " peer="); ab 100 security/apparmor/net.c aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, ab 596 security/apparmor/policy.c static void audit_cb(struct audit_buffer *ab, void *va) ab 601 security/apparmor/policy.c audit_log_format(ab, " ns="); ab 602 security/apparmor/policy.c audit_log_untrustedstring(ab, aad(sa)->iface.ns); ab 77 security/apparmor/policy_unpack.c static void audit_cb(struct audit_buffer *ab, void *va) ab 82 security/apparmor/policy_unpack.c audit_log_format(ab, " ns="); ab 83 security/apparmor/policy_unpack.c audit_log_untrustedstring(ab, aad(sa)->iface.ns); ab 86 security/apparmor/policy_unpack.c audit_log_format(ab, " name="); ab 87 security/apparmor/policy_unpack.c audit_log_untrustedstring(ab, aad(sa)->name); ab 90 security/apparmor/policy_unpack.c audit_log_format(ab, " offset=%ld", aad(sa)->iface.pos); ab 30 security/apparmor/resource.c static void audit_cb(struct audit_buffer *ab, void *va) ab 34 security/apparmor/resource.c audit_log_format(ab, " rlimit=%s value=%lu", ab 37 security/apparmor/resource.c audit_log_format(ab, " peer="); ab 38 security/apparmor/resource.c aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, ab 179 security/integrity/evm/evm_secfs.c struct audit_buffer *ab; ab 192 security/integrity/evm/evm_secfs.c ab = audit_log_start(audit_context(), GFP_KERNEL, ab 194 security/integrity/evm/evm_secfs.c if (!ab) ab 215 security/integrity/evm/evm_secfs.c audit_log_format(ab, "xattr="); ab 216 security/integrity/evm/evm_secfs.c audit_log_untrustedstring(ab, xattr->name); ab 256 security/integrity/evm/evm_secfs.c audit_log_format(ab, " res=0"); ab 257 security/integrity/evm/evm_secfs.c audit_log_end(ab); ab 260 security/integrity/evm/evm_secfs.c audit_log_format(ab, " res=%d", err); ab 261 security/integrity/evm/evm_secfs.c audit_log_end(ab); ab 340 security/integrity/ima/ima_api.c struct audit_buffer *ab; ab 356 security/integrity/ima/ima_api.c ab = audit_log_start(audit_context(), GFP_KERNEL, ab 358 security/integrity/ima/ima_api.c if (!ab) ab 361 security/integrity/ima/ima_api.c audit_log_format(ab, "file="); ab 362 security/integrity/ima/ima_api.c audit_log_untrustedstring(ab, filename); ab 363 security/integrity/ima/ima_api.c audit_log_format(ab, " hash=\"%s:%s\"", algo_name, hash); ab 365 security/integrity/ima/ima_api.c audit_log_task_info(ab); ab 366 security/integrity/ima/ima_api.c audit_log_end(ab); ab 840 security/integrity/ima/ima_policy.c static void ima_log_string_op(struct audit_buffer *ab, char *key, char *value, ab 843 security/integrity/ima/ima_policy.c if (!ab) ab 847 security/integrity/ima/ima_policy.c audit_log_format(ab, "%s>", key); ab 849 security/integrity/ima/ima_policy.c audit_log_format(ab, "%s<", key); ab 851 security/integrity/ima/ima_policy.c audit_log_format(ab, "%s=", key); ab 852 security/integrity/ima/ima_policy.c audit_log_format(ab, "%s ", value); ab 854 security/integrity/ima/ima_policy.c static void ima_log_string(struct audit_buffer *ab, char *key, char *value) ab 856 security/integrity/ima/ima_policy.c ima_log_string_op(ab, key, value, NULL); ab 893 security/integrity/ima/ima_policy.c struct audit_buffer *ab; ab 900 security/integrity/ima/ima_policy.c ab = integrity_audit_log_start(audit_context(), GFP_KERNEL, ab 920 security/integrity/ima/ima_policy.c ima_log_string(ab, "action", "measure"); ab 928 security/integrity/ima/ima_policy.c ima_log_string(ab, "action", "dont_measure"); ab 936 security/integrity/ima/ima_policy.c ima_log_string(ab, "action", "appraise"); ab 944 security/integrity/ima/ima_policy.c ima_log_string(ab, "action", "dont_appraise"); ab 952 security/integrity/ima/ima_policy.c ima_log_string(ab, "action", "audit"); ab 960 security/integrity/ima/ima_policy.c ima_log_string(ab, "action", "hash"); ab 968 security/integrity/ima/ima_policy.c ima_log_string(ab, "action", "dont_hash"); ab 976 security/integrity/ima/ima_policy.c ima_log_string(ab, "func", args[0].from); ab 1013 security/integrity/ima/ima_policy.c ima_log_string(ab, "mask", args[0].from); ab 1037 security/integrity/ima/ima_policy.c ima_log_string(ab, "fsmagic", args[0].from); ab 1049 security/integrity/ima/ima_policy.c ima_log_string(ab, "fsname", args[0].from); ab 1060 security/integrity/ima/ima_policy.c ima_log_string(ab, "fsuuid", args[0].from); ab 1086 security/integrity/ima/ima_policy.c ima_log_string_op(ab, uid_token ? "uid" : "euid", ab 1114 security/integrity/ima/ima_policy.c ima_log_string_op(ab, "fowner", args[0].from, ab 1132 security/integrity/ima/ima_policy.c ima_log_string(ab, "obj_user", args[0].from); ab 1138 security/integrity/ima/ima_policy.c ima_log_string(ab, "obj_role", args[0].from); ab 1144 security/integrity/ima/ima_policy.c ima_log_string(ab, "obj_type", args[0].from); ab 1150 security/integrity/ima/ima_policy.c ima_log_string(ab, "subj_user", args[0].from); ab 1156 security/integrity/ima/ima_policy.c ima_log_string(ab, "subj_role", args[0].from); ab 1162 security/integrity/ima/ima_policy.c ima_log_string(ab, "subj_type", args[0].from); ab 1173 security/integrity/ima/ima_policy.c ima_log_string(ab, "appraise_type", args[0].from); ab 1191 security/integrity/ima/ima_policy.c ima_log_string(ab, "pcr", args[0].from); ab 1201 security/integrity/ima/ima_policy.c ima_log_string(ab, "template", args[0].from); ab 1223 security/integrity/ima/ima_policy.c ima_log_string(ab, "UNKNOWN", p); ab 1239 security/integrity/ima/ima_policy.c audit_log_format(ab, "res=%d", !result); ab 1240 security/integrity/ima/ima_policy.c audit_log_end(ab); ab 32 security/integrity/integrity_audit.c struct audit_buffer *ab; ab 38 security/integrity/integrity_audit.c ab = audit_log_start(audit_context(), GFP_KERNEL, audit_msgno); ab 39 security/integrity/integrity_audit.c audit_log_format(ab, "pid=%d uid=%u auid=%u ses=%u", ab 44 security/integrity/integrity_audit.c audit_log_task_context(ab); ab 45 security/integrity/integrity_audit.c audit_log_format(ab, " op=%s cause=%s comm=", op, cause); ab 46 security/integrity/integrity_audit.c audit_log_untrustedstring(ab, get_task_comm(name, current)); ab 48 security/integrity/integrity_audit.c audit_log_format(ab, " name="); ab 49 security/integrity/integrity_audit.c audit_log_untrustedstring(ab, fname); ab 52 security/integrity/integrity_audit.c audit_log_format(ab, " dev="); ab 53 security/integrity/integrity_audit.c audit_log_untrustedstring(ab, inode->i_sb->s_id); ab 54 security/integrity/integrity_audit.c audit_log_format(ab, " ino=%lu", inode->i_ino); ab 56 security/integrity/integrity_audit.c audit_log_format(ab, " res=%d", !result); ab 57 security/integrity/integrity_audit.c audit_log_end(ab); ab 184 security/lsm_audit.c static inline void print_ipv6_addr(struct audit_buffer *ab, ab 189 security/lsm_audit.c audit_log_format(ab, " %s=%pI6c", name1, addr); ab 191 security/lsm_audit.c audit_log_format(ab, " %s=%d", name2, ntohs(port)); ab 194 security/lsm_audit.c static inline void print_ipv4_addr(struct audit_buffer *ab, __be32 addr, ab 198 security/lsm_audit.c audit_log_format(ab, " %s=%pI4", name1, &addr); ab 200 security/lsm_audit.c audit_log_format(ab, " %s=%d", name2, ntohs(port)); ab 208 security/lsm_audit.c static void dump_common_audit_data(struct audit_buffer *ab, ab 220 security/lsm_audit.c audit_log_format(ab, " pid=%d comm=", task_tgid_nr(current)); ab 221 security/lsm_audit.c audit_log_untrustedstring(ab, memcpy(comm, current->comm, sizeof(comm))); ab 227 security/lsm_audit.c audit_log_format(ab, " key=%d ", a->u.ipc_id); ab 230 security/lsm_audit.c audit_log_format(ab, " capability=%d ", a->u.cap); ab 235 security/lsm_audit.c audit_log_d_path(ab, " path=", &a->u.path); ab 239 security/lsm_audit.c audit_log_format(ab, " dev="); ab 240 security/lsm_audit.c audit_log_untrustedstring(ab, inode->i_sb->s_id); ab 241 security/lsm_audit.c audit_log_format(ab, " ino=%lu", inode->i_ino); ab 248 security/lsm_audit.c audit_log_d_path(ab, " path=", &a->u.file->f_path); ab 252 security/lsm_audit.c audit_log_format(ab, " dev="); ab 253 security/lsm_audit.c audit_log_untrustedstring(ab, inode->i_sb->s_id); ab 254 security/lsm_audit.c audit_log_format(ab, " ino=%lu", inode->i_ino); ab 261 security/lsm_audit.c audit_log_d_path(ab, " path=", &a->u.op->path); ab 265 security/lsm_audit.c audit_log_format(ab, " dev="); ab 266 security/lsm_audit.c audit_log_untrustedstring(ab, inode->i_sb->s_id); ab 267 security/lsm_audit.c audit_log_format(ab, " ino=%lu", inode->i_ino); ab 270 security/lsm_audit.c audit_log_format(ab, " ioctlcmd=0x%hx", a->u.op->cmd); ab 276 security/lsm_audit.c audit_log_format(ab, " name="); ab 277 security/lsm_audit.c audit_log_untrustedstring(ab, a->u.dentry->d_name.name); ab 281 security/lsm_audit.c audit_log_format(ab, " dev="); ab 282 security/lsm_audit.c audit_log_untrustedstring(ab, inode->i_sb->s_id); ab 283 security/lsm_audit.c audit_log_format(ab, " ino=%lu", inode->i_ino); ab 294 security/lsm_audit.c audit_log_format(ab, " name="); ab 295 security/lsm_audit.c audit_log_untrustedstring(ab, ab 299 security/lsm_audit.c audit_log_format(ab, " dev="); ab 300 security/lsm_audit.c audit_log_untrustedstring(ab, inode->i_sb->s_id); ab 301 security/lsm_audit.c audit_log_format(ab, " ino=%lu", inode->i_ino); ab 310 security/lsm_audit.c audit_log_format(ab, " opid=%d ocomm=", pid); ab 311 security/lsm_audit.c audit_log_untrustedstring(ab, ab 329 security/lsm_audit.c print_ipv4_addr(ab, inet->inet_rcv_saddr, ab 332 security/lsm_audit.c print_ipv4_addr(ab, inet->inet_daddr, ab 341 security/lsm_audit.c print_ipv6_addr(ab, &sk->sk_v6_rcv_saddr, ab 344 security/lsm_audit.c print_ipv6_addr(ab, &sk->sk_v6_daddr, ab 356 security/lsm_audit.c audit_log_d_path(ab, " path=", &u->path); ab 361 security/lsm_audit.c audit_log_format(ab, " path="); ab 363 security/lsm_audit.c audit_log_untrustedstring(ab, p); ab 365 security/lsm_audit.c audit_log_n_hex(ab, p, len); ab 372 security/lsm_audit.c print_ipv4_addr(ab, a->u.net->v4info.saddr, ab 375 security/lsm_audit.c print_ipv4_addr(ab, a->u.net->v4info.daddr, ab 380 security/lsm_audit.c print_ipv6_addr(ab, &a->u.net->v6info.saddr, ab 383 security/lsm_audit.c print_ipv6_addr(ab, &a->u.net->v6info.daddr, ab 394 security/lsm_audit.c audit_log_format(ab, " netif=%s", dev->name); ab 401 security/lsm_audit.c audit_log_format(ab, " key_serial=%u", a->u.key_struct.key); ab 403 security/lsm_audit.c audit_log_format(ab, " key_desc="); ab 404 security/lsm_audit.c audit_log_untrustedstring(ab, a->u.key_struct.key_desc); ab 409 security/lsm_audit.c audit_log_format(ab, " kmod="); ab 410 security/lsm_audit.c audit_log_untrustedstring(ab, a->u.kmod_name); ab 419 security/lsm_audit.c audit_log_format(ab, " pkey=0x%x subnet_prefix=%pI6c", ab 424 security/lsm_audit.c audit_log_format(ab, " device=%s port_num=%u", ab 444 security/lsm_audit.c struct audit_buffer *ab; ab 449 security/lsm_audit.c ab = audit_log_start(audit_context(), GFP_ATOMIC | __GFP_NOWARN, ab 452 security/lsm_audit.c if (ab == NULL) ab 456 security/lsm_audit.c pre_audit(ab, a); ab 458 security/lsm_audit.c dump_common_audit_data(ab, a); ab 461 security/lsm_audit.c post_audit(ab, a); ab 463 security/lsm_audit.c audit_log_end(ab); ab 660 security/selinux/avc.c static void avc_audit_pre_callback(struct audit_buffer *ab, void *a) ab 668 security/selinux/avc.c audit_log_format(ab, "avc: %s ", sad->denied ? "denied" : "granted"); ab 671 security/selinux/avc.c audit_log_format(ab, " null"); ab 677 security/selinux/avc.c audit_log_format(ab, " {"); ab 682 security/selinux/avc.c audit_log_format(ab, " %s", perms[i]); ab 690 security/selinux/avc.c audit_log_format(ab, " 0x%x", av); ab 692 security/selinux/avc.c audit_log_format(ab, " } for "); ab 701 security/selinux/avc.c static void avc_audit_post_callback(struct audit_buffer *ab, void *a) ab 712 security/selinux/avc.c audit_log_format(ab, " ssid=%d", sad->ssid); ab 714 security/selinux/avc.c audit_log_format(ab, " scontext=%s", scontext); ab 721 security/selinux/avc.c audit_log_format(ab, " tsid=%d", sad->tsid); ab 723 security/selinux/avc.c audit_log_format(ab, " tcontext=%s", scontext); ab 727 security/selinux/avc.c audit_log_format(ab, " tclass=%s", secclass_map[sad->tclass-1].name); ab 730 security/selinux/avc.c audit_log_format(ab, " permissive=%u", sad->result ? 0 : 1); ab 738 security/selinux/avc.c audit_log_format(ab, " srawcon="); ab 739 security/selinux/avc.c audit_log_n_untrustedstring(ab, scontext, scontext_len); ab 748 security/selinux/avc.c audit_log_format(ab, " trawcon="); ab 749 security/selinux/avc.c audit_log_n_untrustedstring(ab, scontext, scontext_len); ab 3180 security/selinux/hooks.c struct audit_buffer *ab; ab 3195 security/selinux/hooks.c ab = audit_log_start(audit_context(), ab 3197 security/selinux/hooks.c audit_log_format(ab, "op=setxattr invalid_context="); ab 3198 security/selinux/hooks.c audit_log_n_untrustedstring(ab, value, audit_size); ab 3199 security/selinux/hooks.c audit_log_end(ab); ab 6390 security/selinux/hooks.c struct audit_buffer *ab; ab 6399 security/selinux/hooks.c ab = audit_log_start(audit_context(), ab 6402 security/selinux/hooks.c audit_log_format(ab, "op=fscreate invalid_context="); ab 6403 security/selinux/hooks.c audit_log_n_untrustedstring(ab, value, audit_size); ab 6404 security/selinux/hooks.c audit_log_end(ab); ab 462 security/selinux/ss/services.c struct audit_buffer *ab; ab 498 security/selinux/ss/services.c ab = audit_log_start(audit_context(), ab 500 security/selinux/ss/services.c if (!ab) ab 503 security/selinux/ss/services.c audit_log_format(ab, "op=security_compute_av reason=%s " ab 513 security/selinux/ss/services.c audit_log_format(ab, "%s%s", ab 519 security/selinux/ss/services.c audit_log_end(ab); ab 1585 security/selinux/ss/services.c struct audit_buffer *ab; ab 1593 security/selinux/ss/services.c ab = audit_log_start(audit_context(), GFP_ATOMIC, AUDIT_SELINUX_ERR); ab 1594 security/selinux/ss/services.c audit_log_format(ab, ab 1597 security/selinux/ss/services.c audit_log_n_untrustedstring(ab, n, nlen - 1); ab 1598 security/selinux/ss/services.c audit_log_format(ab, " scontext=%s tcontext=%s tclass=%s", ab 1600 security/selinux/ss/services.c audit_log_end(ab); ab 3014 security/selinux/ss/services.c struct audit_buffer *ab; ab 3016 security/selinux/ss/services.c ab = audit_log_start(audit_context(), ab 3019 security/selinux/ss/services.c audit_log_format(ab, ab 3022 security/selinux/ss/services.c audit_log_n_untrustedstring(ab, s, len - 1); ab 3023 security/selinux/ss/services.c audit_log_end(ab); ab 312 security/smack/smack_access.c static void smack_log_callback(struct audit_buffer *ab, void *a) ab 316 security/smack/smack_access.c audit_log_format(ab, "lsm=SMACK fn=%s action=%s", ab 319 security/smack/smack_access.c audit_log_format(ab, " subject="); ab 320 security/smack/smack_access.c audit_log_untrustedstring(ab, sad->subject); ab 321 security/smack/smack_access.c audit_log_format(ab, " object="); ab 322 security/smack/smack_access.c audit_log_untrustedstring(ab, sad->object); ab 324 security/smack/smack_access.c audit_log_format(ab, " labels_differ"); ab 326 security/smack/smack_access.c audit_log_format(ab, " requested=%s", sad->request); ab 351 sound/soc/qcom/qdsp6/q6asm.c struct audio_buffer *ab = NULL; ab 395 sound/soc/qcom/qdsp6/q6asm.c ab = &port->buf[i]; ab 396 sound/soc/qcom/qdsp6/q6asm.c mregions->shm_addr_lsw = lower_32_bits(ab->phys); ab 397 sound/soc/qcom/qdsp6/q6asm.c mregions->shm_addr_msw = upper_32_bits(ab->phys); ab 1089 sound/soc/qcom/qdsp6/q6asm.c struct audio_buffer *ab; ab 1107 sound/soc/qcom/qdsp6/q6asm.c ab = &port->buf[port->dsp_buf]; ab 1109 sound/soc/qcom/qdsp6/q6asm.c read->buf_addr_lsw = lower_32_bits(ab->phys); ab 1110 sound/soc/qcom/qdsp6/q6asm.c read->buf_addr_msw = upper_32_bits(ab->phys); ab 1113 sound/soc/qcom/qdsp6/q6asm.c read->buf_size = ab->size; ab 1209 sound/soc/qcom/qdsp6/q6asm.c struct audio_buffer *ab; ab 1228 sound/soc/qcom/qdsp6/q6asm.c ab = &port->buf[port->dsp_buf]; ab 1231 sound/soc/qcom/qdsp6/q6asm.c write->buf_addr_lsw = lower_32_bits(ab->phys); ab 1232 sound/soc/qcom/qdsp6/q6asm.c write->buf_addr_msw = upper_32_bits(ab->phys); ab 98 tools/perf/ui/browsers/annotate.c struct annotate_browser *ab = container_of(browser, struct annotate_browser, b); ab 122 tools/perf/ui/browsers/annotate.c annotation_line__write(al, notes, &ops, ab->opts); ab 125 tools/perf/ui/browsers/annotate.c ab->selection = al; ab 128 tools/perf/ui/browsers/annotate.c static bool is_fused(struct annotate_browser *ab, struct disasm_line *cursor) ab 144 tools/perf/ui/browsers/annotate.c return ins__is_fused(ab->arch, name, cursor->ins.name); ab 149 tools/perf/ui/browsers/annotate.c struct annotate_browser *ab = container_of(browser, struct annotate_browser, b); ab 150 tools/perf/ui/browsers/annotate.c struct disasm_line *cursor = disasm_line(ab->selection); ab 153 tools/perf/ui/browsers/annotate.c struct map_symbol *ms = ab->b.priv; ab 208 tools/perf/ui/browsers/annotate.c if (is_fused(ab, cursor)) { ab 610 tools/perf/ui/browsers/annotate.c struct annotate_browser *ab = container_of(browser, struct annotate_browser, b); ab 618 tools/perf/ui/browsers/annotate.c sym_title(sym, ms->map, symbol_dso, sizeof(symbol_dso), ab->opts->percent_type); ab 715 tools/perf/util/annotate.c const struct arch *ab = b; ab 717 tools/perf/util/annotate.c return strcmp(aa->name, ab->name);