Lines Matching refs:i_len
3424 ireq->i_len = ms->ms_idlen; in mesh_ioctl_get80211()
3425 memcpy(tmpmeshid, ms->ms_id, ireq->i_len); in mesh_ioctl_get80211()
3426 error = copyout(tmpmeshid, ireq->i_data, ireq->i_len); in mesh_ioctl_get80211()
3449 if (len > ireq->i_len || ireq->i_len < sizeof(*imr)) { in mesh_ioctl_get80211()
3450 ireq->i_len = len; in mesh_ioctl_get80211()
3453 ireq->i_len = len; in mesh_ioctl_get80211()
3480 ireq->i_len); in mesh_ioctl_get80211()
3493 if (ireq->i_len < len) in mesh_ioctl_get80211()
3495 ireq->i_len = len; in mesh_ioctl_get80211()
3501 if (ireq->i_len < len) in mesh_ioctl_get80211()
3503 ireq->i_len = len; in mesh_ioctl_get80211()
3530 if (ireq->i_val != 0 || ireq->i_len > IEEE80211_MESHID_LEN) in mesh_ioctl_set80211()
3532 error = copyin(ireq->i_data, tmpmeshid, ireq->i_len); in mesh_ioctl_set80211()
3536 ms->ms_idlen = ireq->i_len; in mesh_ioctl_set80211()
3537 memcpy(ms->ms_id, tmpmeshid, ireq->i_len); in mesh_ioctl_set80211()