/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ih.c | 33 * @ih: ih ring to initialize 41 int amdgpu_ih_ring_init(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, argument 50 ih->ring_size = ring_size; 51 ih->ptr_mask = ih->ring_size - 1; 52 ih->rptr = 0; 53 ih->use_bus_addr = use_bus_addr; 58 if (ih->ring) 64 ih 116 amdgpu_ih_ring_fini(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 149 amdgpu_ih_ring_write(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, const uint32_t *iv, unsigned int num_dw) argument 179 amdgpu_ih_wait_on_checkpoint_process_ts(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 208 amdgpu_ih_process(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 252 amdgpu_ih_decode_iv_helper(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, struct amdgpu_iv_entry *entry) argument 287 amdgpu_ih_decode_iv_ts_helper(struct amdgpu_ih_ring *ih, u32 rptr, signed int offset) argument [all...] |
H A D | amdgpu_ih.h | 81 /* provided by the ih block */ 84 u32 (*get_wptr)(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih); 85 void (*decode_iv)(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, 87 uint64_t (*decode_iv_ts)(struct amdgpu_ih_ring *ih, u32 rptr, 89 void (*set_rptr)(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih); 92 #define amdgpu_ih_get_wptr(adev, ih) (adev)->irq.ih_funcs->get_wptr((adev), (ih)) 94 (adev)->irq.ih_funcs->decode_iv((adev), (ih), (iv)) 95 #define amdgpu_ih_decode_iv_ts(adev, ih, rptr, offset) \ 97 (adev)->irq.ih_funcs->decode_iv_ts((ih), (rpt [all...] |
H A D | vega20_ih.c | 49 * vega20_ih_init_register_offset - Initialize register offset for ih rings 53 * Initialize register offset ih rings (VEGA20). 59 if (adev->irq.ih.ring_size) { 60 ih_regs = &adev->irq.ih.ih_regs; 99 * @ih: amdgpu_ih_ring pointer 105 struct amdgpu_ih_ring *ih, 111 ih_regs = &ih->ih_regs; 118 if (ih == &adev->irq.ih) 130 ih 104 vega20_ih_toggle_ring_interrupts(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, bool enable) argument 152 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1, &adev->irq.ih2}; local 167 vega20_ih_rb_cntl(struct amdgpu_ih_ring *ih, uint32_t ih_rb_cntl) argument 190 vega20_ih_doorbell_rptr(struct amdgpu_ih_ring *ih) argument 217 vega20_ih_enable_ring(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 282 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1, &adev->irq.ih2}; local 385 vega20_ih_get_wptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 443 vega20_ih_irq_rearm(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 470 vega20_ih_set_rptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument [all...] |
H A D | vega10_ih.c | 41 * vega10_ih_init_register_offset - Initialize register offset for ih rings 45 * Initialize register offset ih rings (VEGA10). 51 if (adev->irq.ih.ring_size) { 52 ih_regs = &adev->irq.ih.ih_regs; 91 * @ih: amdgpu_ih_ring pointet 97 struct amdgpu_ih_ring *ih, 103 ih_regs = &ih->ih_regs; 109 if (ih == &adev->irq.ih) 121 ih 96 vega10_ih_toggle_ring_interrupts(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, bool enable) argument 143 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1, &adev->irq.ih2}; local 158 vega10_ih_rb_cntl(struct amdgpu_ih_ring *ih, uint32_t ih_rb_cntl) argument 181 vega10_ih_doorbell_rptr(struct amdgpu_ih_ring *ih) argument 208 vega10_ih_enable_ring(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 263 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1, &adev->irq.ih2}; local 335 vega10_ih_get_wptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 393 vega10_ih_irq_rearm(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 419 vega10_ih_set_rptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument [all...] |
H A D | navi10_ih.c | 43 * navi10_ih_init_register_offset - Initialize register offset for ih rings 47 * Initialize register offset ih rings (NAVI10). 53 if (adev->irq.ih.ring_size) { 54 ih_regs = &adev->irq.ih.ih_regs; 147 * @ih: amdgpu_ih_ring pointet 153 struct amdgpu_ih_ring *ih, 159 ih_regs = &ih->ih_regs; 165 if (ih == &adev->irq.ih) 176 ih 152 navi10_ih_toggle_ring_interrupts(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, bool enable) argument 198 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1, &adev->irq.ih2}; local 213 navi10_ih_rb_cntl(struct amdgpu_ih_ring *ih, uint32_t ih_rb_cntl) argument 236 navi10_ih_doorbell_rptr(struct amdgpu_ih_ring *ih) argument 263 navi10_ih_enable_ring(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 319 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1, &adev->irq.ih2}; local 406 navi10_ih_get_wptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 462 navi10_ih_irq_rearm(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 489 navi10_ih_set_rptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument [all...] |
H A D | tonga_ih.c | 67 adev->irq.ih.enabled = true; 87 adev->irq.ih.enabled = false; 88 adev->irq.ih.rptr = 0; 105 struct amdgpu_ih_ring *ih = &adev->irq.ih; local 123 WREG32(mmIH_RB_BASE, ih->gpu_addr >> 8); 125 rb_bufsz = order_base_2(adev->irq.ih.ring_size / 4); 138 WREG32(mmIH_RB_WPTR_ADDR_LO, lower_32_bits(ih->wptr_addr)); 139 WREG32(mmIH_RB_WPTR_ADDR_HI, upper_32_bits(ih->wptr_addr) & 0xFF); 146 if (adev->irq.ih 192 tonga_ih_get_wptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 242 tonga_ih_decode_iv(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, struct amdgpu_iv_entry *entry) argument 274 tonga_ih_set_rptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument [all...] |
H A D | ih_v6_0.c | 40 * ih_v6_0_init_register_offset - Initialize register offset for ih rings 44 * Initialize register offset ih rings (IH_V6_0). 50 /* ih ring 2 is removed 51 * ih ring and ih ring 1 are available */ 52 if (adev->irq.ih.ring_size) { 53 ih_regs = &adev->irq.ih.ih_regs; 122 * @ih: amdgpu_ih_ring pointer 128 struct amdgpu_ih_ring *ih, 134 ih_regs = &ih 127 ih_v6_0_toggle_ring_interrupts(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, bool enable) argument 172 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1}; local 187 ih_v6_0_rb_cntl(struct amdgpu_ih_ring *ih, uint32_t ih_rb_cntl) argument 210 ih_v6_0_doorbell_rptr(struct amdgpu_ih_ring *ih) argument 237 ih_v6_0_enable_ring(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 295 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1}; local 391 ih_v6_0_get_wptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 438 ih_v6_0_irq_rearm(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 465 ih_v6_0_set_rptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument [all...] |
H A D | ih_v6_1.c | 40 * ih_v6_1_init_register_offset - Initialize register offset for ih rings 44 * Initialize register offset ih rings (IH_V6_0). 50 /* ih ring 2 is removed 51 * ih ring and ih ring 1 are available */ 52 if (adev->irq.ih.ring_size) { 53 ih_regs = &adev->irq.ih.ih_regs; 122 * @ih: amdgpu_ih_ring pointer 128 struct amdgpu_ih_ring *ih, 134 ih_regs = &ih 127 ih_v6_1_toggle_ring_interrupts(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, bool enable) argument 172 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1}; local 187 ih_v6_1_rb_cntl(struct amdgpu_ih_ring *ih, uint32_t ih_rb_cntl) argument 210 ih_v6_1_doorbell_rptr(struct amdgpu_ih_ring *ih) argument 237 ih_v6_1_enable_ring(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 295 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1}; local 391 ih_v6_1_get_wptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 439 ih_v6_1_irq_rearm(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 466 ih_v6_1_set_rptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument [all...] |
H A D | ih_v7_0.c | 40 * ih_v7_0_init_register_offset - Initialize register offset for ih rings 44 * Initialize register offset ih rings (IH_V7_0). 50 /* ih ring 2 is removed 51 * ih ring and ih ring 1 are available */ 52 if (adev->irq.ih.ring_size) { 53 ih_regs = &adev->irq.ih.ih_regs; 122 * @ih: amdgpu_ih_ring pointet 128 struct amdgpu_ih_ring *ih, 134 ih_regs = &ih 127 ih_v7_0_toggle_ring_interrupts(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, bool enable) argument 172 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1}; local 187 ih_v7_0_rb_cntl(struct amdgpu_ih_ring *ih, uint32_t ih_rb_cntl) argument 210 ih_v7_0_doorbell_rptr(struct amdgpu_ih_ring *ih) argument 237 ih_v7_0_enable_ring(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 295 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1}; local 391 ih_v7_0_get_wptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 438 ih_v7_0_irq_rearm(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 463 ih_v7_0_set_rptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument [all...] |
H A D | si_ih.c | 44 adev->irq.ih.enabled = true; 58 adev->irq.ih.enabled = false; 59 adev->irq.ih.rptr = 0; 64 struct amdgpu_ih_ring *ih = &adev->irq.ih; local 76 WREG32(IH_RB_BASE, adev->irq.ih.gpu_addr >> 8); 77 rb_bufsz = order_base_2(adev->irq.ih.ring_size / 4); 84 WREG32(IH_RB_WPTR_ADDR_LO, lower_32_bits(ih->wptr_addr)); 85 WREG32(IH_RB_WPTR_ADDR_HI, upper_32_bits(ih->wptr_addr) & 0xFF); 108 struct amdgpu_ih_ring *ih) 107 si_ih_get_wptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 132 si_ih_decode_iv(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, struct amdgpu_iv_entry *entry) argument 153 si_ih_set_rptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument [all...] |
H A D | cik_ih.c | 69 adev->irq.ih.enabled = true; 91 adev->irq.ih.enabled = false; 92 adev->irq.ih.rptr = 0; 108 struct amdgpu_ih_ring *ih = &adev->irq.ih; local 126 WREG32(mmIH_RB_BASE, adev->irq.ih.gpu_addr >> 8); 127 rb_bufsz = order_base_2(adev->irq.ih.ring_size / 4); 136 WREG32(mmIH_RB_WPTR_ADDR_LO, lower_32_bits(ih->wptr_addr)); 137 WREG32(mmIH_RB_WPTR_ADDR_HI, upper_32_bits(ih->wptr_addr) & 0xFF); 180 * @ih 188 cik_ih_get_wptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 248 cik_ih_decode_iv(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, struct amdgpu_iv_entry *entry) argument 280 cik_ih_set_rptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument [all...] |
H A D | iceland_ih.c | 69 adev->irq.ih.enabled = true; 91 adev->irq.ih.enabled = false; 92 adev->irq.ih.rptr = 0; 108 struct amdgpu_ih_ring *ih = &adev->irq.ih; local 127 WREG32(mmIH_RB_BASE, adev->irq.ih.gpu_addr >> 8); 129 rb_bufsz = order_base_2(adev->irq.ih.ring_size / 4); 138 WREG32(mmIH_RB_WPTR_ADDR_LO, lower_32_bits(ih->wptr_addr)); 139 WREG32(mmIH_RB_WPTR_ADDR_HI, upper_32_bits(ih->wptr_addr) & 0xFF); 182 * @ih 190 iceland_ih_get_wptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 238 iceland_ih_decode_iv(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, struct amdgpu_iv_entry *entry) argument 270 iceland_ih_set_rptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument [all...] |
H A D | cz_ih.c | 69 adev->irq.ih.enabled = true; 91 adev->irq.ih.enabled = false; 92 adev->irq.ih.rptr = 0; 108 struct amdgpu_ih_ring *ih = &adev->irq.ih; local 127 WREG32(mmIH_RB_BASE, adev->irq.ih.gpu_addr >> 8); 129 rb_bufsz = order_base_2(adev->irq.ih.ring_size / 4); 138 WREG32(mmIH_RB_WPTR_ADDR_LO, lower_32_bits(ih->wptr_addr)); 139 WREG32(mmIH_RB_WPTR_ADDR_HI, upper_32_bits(ih->wptr_addr) & 0xFF); 182 * @ih 190 cz_ih_get_wptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument 239 cz_ih_decode_iv(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, struct amdgpu_iv_entry *entry) argument 271 cz_ih_set_rptr(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) argument [all...] |
/linux-master/fs/reiserfs/ |
H A D | lbalance.c | 26 struct item_head *ih; local 31 ih = item_head(source, item_num); 33 RFALSE(!is_direntry_le_ih(ih), "vs-10000: item must be directory item"); 39 deh = B_I_DEH(source, ih); 42 ih_item_len(ih)) - 45 source->b_data + ih_location(ih) + 63 (last_first == FIRST_TO_LAST && le_ih_k_offset(ih) == DOT_OFFSET) || 65 && comp_short_le_keys /*COMP_SHORT_KEYS */ (&ih->ih_key, 73 memcpy(&new_ih.ih_key, &ih->ih_key, KEY_SIZE); 82 if (from < ih_entry_count(ih)) { 141 struct item_head *ih; local 191 "entirely (%h)", ih); local 206 ih); local 259 "vs-10050: items %h and %h do not match", ih, dih); local 320 struct item_head *ih; local 419 struct item_head *ih; local 868 struct item_head *ih; local 909 struct item_head *ih; local 985 struct item_head *ih; local 1072 leaf_cut_entries(struct buffer_head *bh, struct item_head *ih, int from, int del_count) argument 1151 struct item_head *ih; local 1198 "10205: invalid ih_free_space (%h)", ih); local 1248 struct item_head *ih; local 1321 struct item_head *ih; local 1415 ih, deh + i - 1, i, deh + i); local 1421 ih, i, deh + i, deh + i + 1); local [all...] |
H A D | do_balan.c | 83 struct item_head *ih = item_head(tbS0, item_pos); local 86 RFALSE(ih_item_len(ih) + IH_SIZE != -tb->insert_size[0], 87 "vs-12013: mode Delete, insert size %d, ih to be deleted %h", 88 -tb->insert_size[0], ih); local 113 struct item_head *ih = item_head(tbS0, item_pos); local 118 if (is_direntry_le_ih(ih)) { 140 RFALSE(!ih_item_len(ih), 287 struct item_head *const ih, 302 new_item_len = ih_item_len(ih) - tb->lbytes; 305 put_ih_item_len(ih, ih_item_le 286 balance_leaf_insert_left(struct tree_balance *tb, struct item_head *const ih, const char * const body) argument 351 balance_leaf_paste_left_shift_dirent(struct tree_balance *tb, struct item_head * const ih, const char * const body) argument 413 balance_leaf_paste_left_shift(struct tree_balance *tb, struct item_head * const ih, const char * const body) argument 532 balance_leaf_paste_left_whole(struct tree_balance *tb, struct item_head * const ih, const char * const body) argument 586 balance_leaf_paste_left(struct tree_balance *tb, struct item_head * const ih, const char * const body) argument 599 balance_leaf_left(struct tree_balance *tb, struct item_head * const ih, const char * const body, int flag) argument 621 balance_leaf_insert_right(struct tree_balance *tb, struct item_head * const ih, const char * const body) argument 707 balance_leaf_paste_right_shift_dirent(struct tree_balance *tb, struct item_head * const ih, const char * const body) argument 758 balance_leaf_paste_right_shift(struct tree_balance *tb, struct item_head * const ih, const char * const body) argument 836 balance_leaf_paste_right_whole(struct tree_balance *tb, struct item_head * const ih, const char * const body) argument 880 balance_leaf_paste_right(struct tree_balance *tb, struct item_head * const ih, const char * const body) argument 904 balance_leaf_right(struct tree_balance *tb, struct item_head * const ih, const char * const body, int flag) argument 919 balance_leaf_new_nodes_insert(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) argument 1009 balance_leaf_new_nodes_paste_dirent(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) argument 1064 balance_leaf_new_nodes_paste_shift(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) argument 1137 balance_leaf_new_nodes_paste_whole(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) argument 1190 balance_leaf_new_nodes_paste(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) argument 1220 balance_leaf_new_nodes(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int flag) argument 1260 balance_leaf_finish_node_insert(struct tree_balance *tb, struct item_head * const ih, const char * const body) argument 1277 balance_leaf_finish_node_paste_dirent(struct tree_balance *tb, struct item_head * const ih, const char * const body) argument 1311 balance_leaf_finish_node_paste(struct tree_balance *tb, struct item_head * const ih, const char * const body) argument 1355 balance_leaf_finish_node(struct tree_balance *tb, struct item_head * const ih, const char * const body, int flag) argument 1382 balance_leaf(struct tree_balance *tb, struct item_head *ih, const char *body, int flag, struct item_head *insert_key, struct buffer_head **insert_ptr) argument 1847 do_balance(struct tree_balance *tb, struct item_head *ih, const char *body, int flag) argument [all...] |
H A D | dir.c | 70 struct item_head *ih, tmp_ih; local 111 ih = de.de_ih; 112 store_ih(&tmp_ih, ih); 115 RFALSE(COMP_SHORT_KEYS(&ih->ih_key, &pos_key), 117 ih, &pos_key); 126 RFALSE(ih_entry_count(ih) < entry_num, 128 entry_num, ih_entry_count(ih)); 135 || entry_num < ih_entry_count(ih)) { 137 B_I_DEH(bh, ih) + entry_num; 139 for (; entry_num < ih_entry_count(ih); [all...] |
H A D | reiserfs.h | 1395 #define ih_free_space(ih) le16_to_cpu((ih)->u.ih_free_space_reserved) 1396 #define ih_version(ih) le16_to_cpu((ih)->ih_version) 1397 #define ih_entry_count(ih) le16_to_cpu((ih)->u.ih_entry_count) 1398 #define ih_location(ih) le16_to_cpu((ih)->ih_item_location) 1399 #define ih_item_len(ih) le16_to_cpu((ih) 1479 le_ih_k_offset(const struct item_head *ih) argument 1493 le_ih_k_type(const struct item_head *ih) argument 1514 add_le_ih_k_offset(struct item_head *ih, loff_t offset) argument 1519 set_le_ih_k_offset(struct item_head *ih, loff_t offset) argument 1534 set_le_ih_k_type(struct item_head *ih, int type) argument 1560 is_direntry_le_ih(struct item_head *ih) argument 1565 is_direct_le_ih(struct item_head *ih) argument 1570 is_indirect_le_ih(struct item_head *ih) argument 1575 is_statdata_le_ih(struct item_head *ih) argument 2199 struct item_head *ih = reiserfs_node_data(bh); local 2211 ih_item_body(const struct buffer_head *bh, const struct item_head *ih) argument 2250 entry_length(const struct buffer_head *bh, const struct item_head *ih, int pos_in_item) argument [all...] |
H A D | item_ops.c | 19 static int sd_bytes_number(struct item_head *ih, int block_size) argument 36 static void sd_print_item(struct item_head *ih, char *item) argument 39 if (stat_data_v1(ih)) { 55 static void sd_check_item(struct item_head *ih, char *item) argument 114 static int direct_bytes_number(struct item_head *ih, int block_size) argument 116 return ih_item_len(ih); 134 static void direct_print_item(struct item_head *ih, char *item) argument 140 while (j < ih_item_len(ih)) 145 static void direct_check_item(struct item_head *ih, char *item) argument 205 static int indirect_bytes_number(struct item_head *ih, in argument 260 indirect_print_item(struct item_head *ih, char *item) argument 283 indirect_check_item(struct item_head *ih, char *item) argument 349 direntry_bytes_number(struct item_head *ih, int block_size) argument 372 direntry_print_item(struct item_head *ih, char *item) argument 412 direntry_check_item(struct item_head *ih, char *item) argument 636 errcatch_bytes_number(struct item_head *ih, int block_size) argument 657 errcatch_print_item(struct item_head *ih, char *item) argument 663 errcatch_check_item(struct item_head *ih, char *item) argument [all...] |
/linux-master/net/netfilter/ |
H A D | xt_AUDIT.c | 34 const struct iphdr *ih; local 36 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_iph), &_iph); 37 if (!ih) 41 &ih->saddr, &ih->daddr, ih->protocol); 49 const struct ipv6hdr *ih; local 53 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_ip6h), &_ip6h); 54 if (!ih) 57 nexthdr = ih [all...] |
H A D | nf_log_syslog.c | 303 const struct iphdr *ih; local 312 ih = skb_header_pointer(skb, iphoff, sizeof(_iph), &_iph); 313 if (!ih) { 322 nf_log_buf_add(m, "SRC=%pI4 DST=%pI4 ", &ih->saddr, &ih->daddr); 326 iph_totlen(skb, ih), ih->tos & IPTOS_TOS_MASK, 327 ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih 538 const struct ipv6hdr *ih; local [all...] |
H A D | nft_log.c | 32 const struct iphdr *ih; local 34 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_iph), &_iph); 35 if (!ih) 39 &ih->saddr, &ih->daddr, ih->protocol); 47 const struct ipv6hdr *ih; local 51 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_ip6h), &_ip6h); 52 if (!ih) 55 nexthdr = ih [all...] |
/linux-master/net/bridge/netfilter/ |
H A D | ebt_log.c | 99 const struct iphdr *ih; local 102 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); 103 if (ih == NULL) { 108 &ih->saddr, &ih->daddr, ih->tos, ih->protocol); 109 print_ports(skb, ih->protocol, ih->ihl*4); 116 const struct ipv6hdr *ih; local [all...] |
H A D | ebt_ip.c | 41 const struct iphdr *ih; local 46 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); 47 if (ih == NULL) 50 NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos)) 54 (ih->saddr & info->smsk) != info->saddr)) 58 (ih->daddr & info->dmsk) != info->daddr)) 61 if (NF_INVF(info, EBT_IP_PROTO, info->protocol != ih->protocol)) 66 if (ntohs(ih->frag_off) & IP_OFFSET) 70 pptr = skb_header_pointer(skb, ih->ihl*4,
|
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 221 struct iphdr _iph, *ih; local 223 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph); 224 if (ih == NULL) 226 else if (ih->frag_off & htons(IP_OFFSET)) 227 sprintf(buf, "%pI4->%pI4 frag", &ih->saddr, &ih->daddr); 231 pptr = skb_header_pointer(skb, offset + ih->ihl*4, 235 &ih->saddr, &ih->daddr); 238 &ih 253 struct ipv6hdr _iph, *ih; local [all...] |
/linux-master/include/uapi/linux/ |
H A D | coda.h | 322 struct coda_in_hdr ih; member in struct:coda_open_in 336 struct coda_in_hdr ih; member in struct:coda_store_in 347 struct coda_in_hdr ih; member in struct:coda_release_in 358 struct coda_in_hdr ih; member in struct:coda_close_in 369 struct coda_in_hdr ih; member in struct:coda_ioctl_in 386 struct coda_in_hdr ih; member in struct:coda_getattr_in 398 struct coda_in_hdr ih; member in struct:coda_setattr_in 409 struct coda_in_hdr ih; member in struct:coda_access_in 425 struct coda_in_hdr ih; member in struct:coda_lookup_in 440 struct coda_in_hdr ih; member in struct:coda_create_in 457 struct coda_in_hdr ih; member in struct:coda_remove_in 468 struct coda_in_hdr ih; member in struct:coda_link_in 481 struct coda_in_hdr ih; member in struct:coda_rename_in 494 struct coda_in_hdr ih; member in struct:coda_mkdir_in 509 struct coda_in_hdr ih; member in struct:coda_rmdir_in 520 struct coda_in_hdr ih; member in struct:coda_symlink_in 533 struct coda_in_hdr ih; member in struct:coda_readlink_in 546 struct coda_in_hdr ih; member in struct:coda_fsync_in 556 struct coda_in_hdr ih; member in struct:coda_vget_in 609 struct coda_in_hdr ih; member in struct:coda_open_by_fd_in 625 struct coda_in_hdr ih; member in struct:coda_open_by_path_in 653 struct coda_in_hdr ih; member in struct:coda_access_intent_in 672 struct coda_in_hdr ih; /* NB: every struct below begins with an ih */ member in union:inputArgs [all...] |