Home
last modified time | relevance | path

Searched refs:ASSERT (Results 1 – 25 of 179) sorted by relevance

12345678

/linux-2.4.37.9/fs/xfs/
Dxfs_trans_buf.c107 ASSERT(XFS_BUF_VALUSEMA(bp) <= 0); in xfs_trans_get_buf()
119 ASSERT(!XFS_BUF_ISDELAYWRITE(bp)); in xfs_trans_get_buf()
121 ASSERT(XFS_BUF_FSPRIVATE2(bp, xfs_trans_t *) == tp); in xfs_trans_get_buf()
123 ASSERT(bip != NULL); in xfs_trans_get_buf()
124 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_get_buf()
144 ASSERT(!XFS_BUF_GETERROR(bp)); in xfs_trans_get_buf()
158 ASSERT(!(bip->bli_flags & XFS_BLI_STALE)); in xfs_trans_get_buf()
159 ASSERT(!(bip->bli_format.blf_flags & XFS_BLI_CANCEL)); in xfs_trans_get_buf()
160 ASSERT(!(bip->bli_flags & XFS_BLI_LOGGED)); in xfs_trans_get_buf()
217 ASSERT(bip != NULL); in xfs_trans_getsb()
[all …]
Dxfs_trans_inode.c128 ASSERT(ip->i_itemp != NULL); in xfs_trans_iget()
129 ASSERT(lock_flags & XFS_ILOCK_EXCL); in xfs_trans_iget()
130 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE)); in xfs_trans_iget()
131 ASSERT((!(lock_flags & XFS_IOLOCK_EXCL)) || in xfs_trans_iget()
133 ASSERT((!(lock_flags & XFS_IOLOCK_EXCL)) || in xfs_trans_iget()
135 ASSERT((!(lock_flags & XFS_IOLOCK_SHARED)) || in xfs_trans_iget()
137 ASSERT((!(lock_flags & XFS_IOLOCK_SHARED)) || in xfs_trans_iget()
150 ASSERT(lock_flags & XFS_ILOCK_EXCL); in xfs_trans_iget()
155 ASSERT(ip != NULL); in xfs_trans_iget()
172 ASSERT(iip->ili_flags == 0); in xfs_trans_iget()
[all …]
Dxfs_inode_item.c100 ASSERT(ip->i_df.if_u1.if_extents != NULL); in xfs_inode_item_size()
108 ASSERT(ip->i_df.if_ext_max == in xfs_inode_item_size()
115 ASSERT(ip->i_df.if_broot != NULL); in xfs_inode_item_size()
118 ASSERT(!(iip->ili_format.ilf_fields & in xfs_inode_item_size()
122 ASSERT(iip->ili_root_size == in xfs_inode_item_size()
124 ASSERT(memcmp(iip->ili_orig_root, in xfs_inode_item_size()
128 ASSERT(ip->i_df.if_broot_bytes == 0); in xfs_inode_item_size()
141 ASSERT(ip->i_df.if_u1.if_data != NULL); in xfs_inode_item_size()
142 ASSERT(ip->i_d.di_size > 0); in xfs_inode_item_size()
162 ASSERT(0); in xfs_inode_item_size()
[all …]
Dxfs_dir2_data.c95 ASSERT(INT_GET(d->hdr.magic, ARCH_CONVERT) == XFS_DIR2_DATA_MAGIC || in xfs_dir2_data_check()
110 ASSERT(INT_ISZERO(bf[0].offset, ARCH_CONVERT)); in xfs_dir2_data_check()
114 ASSERT(INT_ISZERO(bf[1].offset, ARCH_CONVERT)); in xfs_dir2_data_check()
118 ASSERT(INT_ISZERO(bf[2].offset, ARCH_CONVERT)); in xfs_dir2_data_check()
121 ASSERT(INT_GET(bf[0].length, ARCH_CONVERT) >= INT_GET(bf[1].length, ARCH_CONVERT)); in xfs_dir2_data_check()
122 ASSERT(INT_GET(bf[1].length, ARCH_CONVERT) >= INT_GET(bf[2].length, ARCH_CONVERT)); in xfs_dir2_data_check()
134 ASSERT(lastfree == 0); in xfs_dir2_data_check()
135 ASSERT(INT_GET(*XFS_DIR2_DATA_UNUSED_TAG_P_ARCH(dup, ARCH_CONVERT), ARCH_CONVERT) == in xfs_dir2_data_check()
140 ASSERT((freeseen & (1 << i)) == 0); in xfs_dir2_data_check()
143 ASSERT(INT_GET(dup->length, ARCH_CONVERT) <= INT_GET(bf[2].length, ARCH_CONVERT)); in xfs_dir2_data_check()
[all …]
Dxfs_buf_item.c85 ASSERT(bip->bli_logged != NULL); in xfs_buf_item_log_debug()
95 ASSERT(bit_set); in xfs_buf_item_log_debug()
119 ASSERT(bip->bli_logged != NULL); in xfs_buf_item_flush_log_debug()
142 ASSERT(bip->bli_orig != NULL); in xfs_buf_item_log_check()
143 ASSERT(bip->bli_logged != NULL); in xfs_buf_item_log_check()
146 ASSERT(XFS_BUF_COUNT(bp) > 0); in xfs_buf_item_log_check()
147 ASSERT(XFS_BUF_PTR(bp) != NULL); in xfs_buf_item_log_check()
184 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_buf_item_size()
192 ASSERT(bip->bli_format.blf_flags & XFS_BLI_CANCEL); in xfs_buf_item_size()
197 ASSERT(bip->bli_flags & XFS_BLI_LOGGED); in xfs_buf_item_size()
[all …]
Dxfs_trans_extfree.c58 ASSERT(tp != NULL); in xfs_trans_get_efi()
59 ASSERT(nextents > 0); in xfs_trans_get_efi()
62 ASSERT(efip != NULL); in xfs_trans_get_efi()
88 ASSERT(lidp != NULL); in xfs_trans_log_efi_extent()
94 ASSERT(next_extent < efip->efi_format.efi_nextents); in xfs_trans_log_efi_extent()
115 ASSERT(tp != NULL); in xfs_trans_get_efd()
116 ASSERT(nextents > 0); in xfs_trans_get_efd()
119 ASSERT(efdp != NULL); in xfs_trans_get_efd()
145 ASSERT(lidp != NULL); in xfs_trans_log_efd_extent()
151 ASSERT(next_extent < efdp->efd_format.efd_nextents); in xfs_trans_log_efd_extent()
/linux-2.4.37.9/net/irda/
Dirlmp.c117 ASSERT(irlmp != NULL, return;); in irlmp_cleanup()
118 ASSERT(irlmp->magic == LMP_MAGIC, return;); in irlmp_cleanup()
143 ASSERT(notify != NULL, return NULL;); in irlmp_open_lsap()
144 ASSERT(irlmp != NULL, return NULL;); in irlmp_open_lsap()
145 ASSERT(irlmp->magic == LMP_MAGIC, return NULL;); in irlmp_open_lsap()
178 ASSERT(notify->instance != NULL, return NULL;); in irlmp_open_lsap()
199 ASSERT(self != NULL, return;); in __irlmp_close_lsap()
200 ASSERT(self->magic == LMP_LSAP_MAGIC, return;); in __irlmp_close_lsap()
212 ASSERT(irlmp != NULL, return;); in __irlmp_close_lsap()
229 ASSERT(self != NULL, return;); in irlmp_close_lsap()
[all …]
Dirias_object.c110 ASSERT(attrib != NULL, return;); in __irias_delete_attrib()
111 ASSERT(attrib->magic == IAS_ATTRIB_MAGIC, return;); in __irias_delete_attrib()
124 ASSERT(obj != NULL, return;); in __irias_delete_object()
125 ASSERT(obj->magic == IAS_OBJECT_MAGIC, return;); in __irias_delete_object()
148 ASSERT(obj != NULL, return -1;); in irias_delete_object()
149 ASSERT(obj->magic == IAS_OBJECT_MAGIC, return -1;); in irias_delete_object()
171 ASSERT(obj != NULL, return -1;); in irias_delete_attrib()
172 ASSERT(obj->magic == IAS_OBJECT_MAGIC, return -1;); in irias_delete_attrib()
173 ASSERT(attrib != NULL, return -1;); in irias_delete_attrib()
199 ASSERT(obj != NULL, return;); in irias_insert_object()
[all …]
Dirlmp_event.c143 ASSERT(self != NULL, return -1;); in irlmp_do_lsap_event()
144 ASSERT(self->magic == LMP_LSAP_MAGIC, return -1;); in irlmp_do_lsap_event()
161 ASSERT(self != NULL, return;); in irlmp_do_lap_event()
162 ASSERT(self->magic == LMP_LAP_MAGIC, return;); in irlmp_do_lap_event()
192 ASSERT(self != NULL, return;); in irlmp_watchdog_timer_expired()
193 ASSERT(self->magic == LMP_LSAP_MAGIC, return;); in irlmp_watchdog_timer_expired()
204 ASSERT(self != NULL, return;); in irlmp_idle_timer_expired()
205 ASSERT(self->magic == LMP_LAP_MAGIC, return;); in irlmp_idle_timer_expired()
226 ASSERT(self->irlap != NULL, return;); in irlmp_state_standby()
331 ASSERT(lsap->magic == LMP_LSAP_MAGIC, return;); in irlmp_state_u_connect()
[all …]
Dirlap.c94 ASSERT(irlap != NULL, return;); in irlap_cleanup()
175 ASSERT(self != NULL, return;); in __irlap_close()
176 ASSERT(self->magic == LAP_MAGIC, return;); in __irlap_close()
207 ASSERT(self != NULL, return;); in irlap_close()
208 ASSERT(self->magic == LAP_MAGIC, return;); in irlap_close()
234 ASSERT(self != NULL, return;); in irlap_connect_indication()
235 ASSERT(self->magic == LAP_MAGIC, return;); in irlap_connect_indication()
270 ASSERT(self != NULL, return;); in irlap_connect_request()
271 ASSERT(self->magic == LAP_MAGIC, return;); in irlap_connect_request()
297 ASSERT(self != NULL, return;); in irlap_connect_confirm()
[all …]
Diriap_event.c95 ASSERT(self != NULL, return;); in iriap_next_client_state()
96 ASSERT(self->magic == IAS_MAGIC, return;); in iriap_next_client_state()
103 ASSERT(self != NULL, return;); in iriap_next_call_state()
104 ASSERT(self->magic == IAS_MAGIC, return;); in iriap_next_call_state()
111 ASSERT(self != NULL, return;); in iriap_next_server_state()
112 ASSERT(self->magic == IAS_MAGIC, return;); in iriap_next_server_state()
119 ASSERT(self != NULL, return;); in iriap_next_r_connect_state()
120 ASSERT(self->magic == IAS_MAGIC, return;); in iriap_next_r_connect_state()
128 ASSERT(self != NULL, return;); in iriap_do_client_event()
129 ASSERT(self->magic == IAS_MAGIC, return;); in iriap_do_client_event()
[all …]
Diriap.c207 ASSERT(self != NULL, return;); in __iriap_close()
208 ASSERT(self->magic == IAS_MAGIC, return;); in __iriap_close()
231 ASSERT(self != NULL, return;); in iriap_close()
232 ASSERT(self->magic == IAS_MAGIC, return;); in iriap_close()
240 ASSERT(entry == self, return;); in iriap_close()
288 ASSERT(self != NULL, return;); in iriap_disconnect_indication()
289 ASSERT(self->magic == IAS_MAGIC, return;); in iriap_disconnect_indication()
291 ASSERT(iriap != NULL, return;); in iriap_disconnect_indication()
331 ASSERT(self != NULL, return;); in iriap_disconnect_request()
332 ASSERT(self->magic == IAS_MAGIC, return;); in iriap_disconnect_request()
[all …]
Dirttp.c114 ASSERT(irttp != NULL, return;); in irttp_cleanup()
115 ASSERT(irttp->magic == TTP_MAGIC, return;); in irttp_cleanup()
211 ASSERT(self != NULL, return;); in irttp_flush_queues()
212 ASSERT(self->magic == TTP_TSAP_MAGIC, return;); in irttp_flush_queues()
239 ASSERT(self != NULL, return NULL;); in irttp_reassemble_skb()
240 ASSERT(self->magic == TTP_TSAP_MAGIC, return NULL;); in irttp_reassemble_skb()
268 ASSERT(n <= self->rx_sdu_size, return NULL;); in irttp_reassemble_skb()
292 ASSERT(self != NULL, return;); in irttp_fragment_skb()
293 ASSERT(self->magic == TTP_TSAP_MAGIC, return;); in irttp_fragment_skb()
294 ASSERT(skb != NULL, return;); in irttp_fragment_skb()
[all …]
Dirlmp_frame.c66 ASSERT(self != NULL, return;); in irlmp_send_lcf_pdu()
67 ASSERT(self->magic == LMP_LAP_MAGIC, return;); in irlmp_send_lcf_pdu()
68 ASSERT(skb != NULL, return;); in irlmp_send_lcf_pdu()
101 ASSERT(self != NULL, return;); in irlmp_link_data_indication()
102 ASSERT(self->magic == LMP_LAP_MAGIC, return;); in irlmp_link_data_indication()
103 ASSERT(skb->len > 2, return;); in irlmp_link_data_indication()
212 ASSERT(self != NULL, return;); in irlmp_link_unitdata_indication()
213 ASSERT(self->magic == LMP_LAP_MAGIC, return;); in irlmp_link_unitdata_indication()
214 ASSERT(skb->len > 2, return;); in irlmp_link_unitdata_indication()
276 ASSERT(lap != NULL, return;); in irlmp_link_disconnect_indication()
[all …]
/linux-2.4.37.9/fs/xfs/quota/
Dxfs_qm.c125 ASSERT(xqm); in xfs_Gqm_init()
140 ASSERT(xqm->qm_usr_dqhtable != NULL); in xfs_Gqm_init()
141 ASSERT(xqm->qm_grp_dqhtable != NULL); in xfs_Gqm_init()
193 ASSERT(xqm != NULL); in xfs_qm_destroy()
194 ASSERT(xqm->qm_nrefs == 0); in xfs_qm_destroy()
256 ASSERT(xfs_Gqm); in xfs_qm_rele_quotafs_ref()
257 ASSERT(xfs_Gqm->qm_nrefs > 0); in xfs_qm_rele_quotafs_ref()
269 ASSERT(dqp->q_mount == NULL); in xfs_qm_rele_quotafs_ref()
270 ASSERT(! XFS_DQ_IS_DIRTY(dqp)); in xfs_qm_rele_quotafs_ref()
271 ASSERT(dqp->HL_PREVP == NULL); in xfs_qm_rele_quotafs_ref()
[all …]
Dxfs_trans_dquot.c85 ASSERT(! XFS_DQ_IS_ADDEDTO_TRX(tp, dqp)); in xfs_trans_dqjoin()
86 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_trans_dqjoin()
87 ASSERT(XFS_DQ_IS_LOGITEM_INITD(dqp)); in xfs_trans_dqjoin()
120 ASSERT(XFS_DQ_IS_ADDEDTO_TRX(tp, dqp)); in xfs_trans_log_dquot()
121 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_trans_log_dquot()
124 ASSERT(lidp != NULL); in xfs_trans_log_dquot()
199 ASSERT(tp); in xfs_trans_mod_dquot_byino()
253 ASSERT(tp); in xfs_trans_mod_dquot()
263 ASSERT(qtrx); in xfs_trans_mod_dquot()
289 ASSERT(qtrx->qt_blk_res >= qtrx->qt_blk_res_used); in xfs_trans_mod_dquot()
[all …]
Dxfs_dquot.c149 ASSERT(dqp->dq_flnext == dqp->dq_flprev); in xfs_qm_dqinit()
152 ASSERT(dqp->q_trace); in xfs_qm_dqinit()
170 ASSERT(! XFS_DQ_IS_ON_FREELIST(dqp)); in xfs_qm_dqdestroy()
219 ASSERT(dqp->q_trace); in __xfs_dqtrace_entry()
264 ASSERT(!INT_ISZERO(d->d_id, ARCH_CONVERT)); in xfs_qm_adjust_dqlimits()
298 ASSERT(!INT_ISZERO(d->d_id, ARCH_CONVERT)); in xfs_qm_adjust_dqtimers()
302 ASSERT(INT_GET(d->d_blk_softlimit, ARCH_CONVERT) <= in xfs_qm_adjust_dqtimers()
305 ASSERT(INT_GET(d->d_ino_softlimit, ARCH_CONVERT) <= in xfs_qm_adjust_dqtimers()
308 ASSERT(INT_GET(d->d_rtb_softlimit, ARCH_CONVERT) <= in xfs_qm_adjust_dqtimers()
451 ASSERT(tp); in xfs_qm_init_dquot_blk()
[all …]
/linux-2.4.37.9/net/irda/irlan/
Dirlan_provider.c77 ASSERT(self != NULL, return -1;); in irlan_provider_data_indication()
78 ASSERT(self->magic == IRLAN_MAGIC, return -1;); in irlan_provider_data_indication()
80 ASSERT(skb != NULL, return -1;); in irlan_provider_data_indication()
137 ASSERT(self != NULL, return;); in irlan_provider_connect_indication()
138 ASSERT(self->magic == IRLAN_MAGIC, return;); in irlan_provider_connect_indication()
140 ASSERT(tsap == self->provider.tsap_ctrl,return;); in irlan_provider_connect_indication()
141 ASSERT(self->provider.state == IRLAN_IDLE, return;); in irlan_provider_connect_indication()
171 ASSERT(self != NULL, return;); in irlan_provider_connect_response()
172 ASSERT(self->magic == IRLAN_MAGIC, return;); in irlan_provider_connect_response()
190 ASSERT(self != NULL, return;); in irlan_provider_disconnect_indication()
[all …]
Dirlan_client.c76 ASSERT(self != NULL, return;); in irlan_client_kick_timer_expired()
77 ASSERT(self->magic == IRLAN_MAGIC, return;); in irlan_client_kick_timer_expired()
109 ASSERT(self != NULL, return;); in irlan_client_wakeup()
110 ASSERT(self->magic == IRLAN_MAGIC, return;); in irlan_client_wakeup()
157 ASSERT(irlan != NULL, return;); in irlan_client_discovery_indication()
158 ASSERT(discovery != NULL, return;); in irlan_client_discovery_indication()
175 ASSERT(self->magic == IRLAN_MAGIC, return;); in irlan_client_discovery_indication()
199 ASSERT(self != NULL, return -1;); in irlan_client_ctrl_data_indication()
200 ASSERT(self->magic == IRLAN_MAGIC, return -1;); in irlan_client_ctrl_data_indication()
201 ASSERT(skb != NULL, return -1;); in irlan_client_ctrl_data_indication()
[all …]
Dirlan_common.c212 ASSERT(irlan != NULL, return NULL;); in irlan_open()
269 ASSERT(self != NULL, return;); in __irlan_close()
270 ASSERT(self->magic == IRLAN_MAGIC, return;); in __irlan_close()
309 ASSERT(self != NULL, return;); in irlan_connect_indication()
310 ASSERT(self->magic == IRLAN_MAGIC, return;); in irlan_connect_indication()
311 ASSERT(tsap == self->tsap_data,return;); in irlan_connect_indication()
350 ASSERT(self != NULL, return;); in irlan_connect_confirm()
351 ASSERT(self->magic == IRLAN_MAGIC, return;); in irlan_connect_confirm()
398 ASSERT(self != NULL, return;); in irlan_disconnect_indication()
399 ASSERT(self->magic == IRLAN_MAGIC, return;); in irlan_disconnect_indication()
[all …]
/linux-2.4.37.9/net/irda/ircomm/
Dircomm_lmp.c127 ASSERT(skb_headroom(skb) >= LMP_MAX_HEADER, return -1;); in ircomm_lmp_connect_response()
171 ASSERT(skb != NULL, return;); in ircomm_lmp_flow_control()
185 ASSERT(self != NULL, return;); in ircomm_lmp_flow_control()
186 ASSERT(self->magic == IRCOMM_MAGIC, return;); in ircomm_lmp_flow_control()
211 ASSERT(skb != NULL, return -1;); in ircomm_lmp_data_request()
250 ASSERT(self != NULL, return -1;); in ircomm_lmp_data_indication()
251 ASSERT(self->magic == IRCOMM_MAGIC, return -1;); in ircomm_lmp_data_indication()
252 ASSERT(skb != NULL, return -1;); in ircomm_lmp_data_indication()
277 ASSERT(self != NULL, return;); in ircomm_lmp_connect_confirm()
278 ASSERT(self->magic == IRCOMM_MAGIC, return;); in ircomm_lmp_connect_confirm()
[all …]
Dircomm_ttp.c134 ASSERT(skb != NULL, return -1;); in ircomm_ttp_data_request()
142 ASSERT(skb_headroom(skb) >= IRCOMM_HEADER_SIZE, return -1;); in ircomm_ttp_data_request()
169 ASSERT(self != NULL, return -1;); in ircomm_ttp_data_indication()
170 ASSERT(self->magic == IRCOMM_MAGIC, return -1;); in ircomm_ttp_data_indication()
171 ASSERT(skb != NULL, return -1;); in ircomm_ttp_data_indication()
189 ASSERT(self != NULL, return;); in ircomm_ttp_connect_confirm()
190 ASSERT(self->magic == IRCOMM_MAGIC, return;); in ircomm_ttp_connect_confirm()
191 ASSERT(skb != NULL, return;); in ircomm_ttp_connect_confirm()
192 ASSERT(qos != NULL, return;); in ircomm_ttp_connect_confirm()
226 ASSERT(self != NULL, return;); in ircomm_ttp_connect_indication()
[all …]
Dircomm_param.c123 ASSERT(self != NULL, return -1;); in ircomm_param_request()
124 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); in ircomm_param_request()
187 ASSERT(self != NULL, return -1;); in ircomm_param_service_type()
188 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); in ircomm_param_service_type()
251 ASSERT(self != NULL, return -1;); in ircomm_param_port_type()
252 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); in ircomm_param_port_type()
275 ASSERT(self != NULL, return -1;); in ircomm_param_port_name()
276 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); in ircomm_param_port_name()
298 ASSERT(self != NULL, return -1;); in ircomm_param_data_rate()
299 ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); in ircomm_param_data_rate()
[all …]
Dircomm_core.c106 ASSERT(ircomm != NULL, return NULL;); in ircomm_open()
180 ASSERT(self != NULL, return -EIO;); in ircomm_close()
181 ASSERT(self->magic == IRCOMM_MAGIC, return -EIO;); in ircomm_close()
187 ASSERT(entry == self, return -1;); in ircomm_close()
208 ASSERT(self != NULL, return -1;); in ircomm_connect_request()
209 ASSERT(self->magic == IRCOMM_MAGIC, return -1;); in ircomm_connect_request()
264 ASSERT(self != NULL, return -1;); in ircomm_connect_response()
265 ASSERT(self->magic == IRCOMM_MAGIC, return -1;); in ircomm_connect_response()
308 ASSERT(self != NULL, return -EFAULT;); in ircomm_data_request()
309 ASSERT(self->magic == IRCOMM_MAGIC, return -EFAULT;); in ircomm_data_request()
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Diosapic.c206 #undef ASSERT
207 #define ASSERT(EX) { if (!(EX)) assert_failed(# EX, __FILE__, __LINE__); } macro
214 #define ASSERT(EX) macro
336 ASSERT(NULL != irt); in iosapic_load_irt()
345 ASSERT(status == PDC_OK); in iosapic_load_irt()
348 ASSERT(0UL != num_entries); in iosapic_load_irt()
365 ASSERT(status == PDC_OK); in iosapic_load_irt()
384 ASSERT(0UL != num_entries); in iosapic_load_irt()
394 ASSERT(PDC_OK == status); in iosapic_load_irt()
687 ASSERT(NULL != isi->isi_vector); in iosapic_fixup_irq()
[all …]

12345678