Home
last modified time | relevance | path

Searched refs:n_rem (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/iio/common/ms_sensors/
Dms_sensors_i2c.c504 u16 n_rem = 0x0000, crc_read = prom[0], crc = (*prom & 0xF000) >> 12; in ms_sensors_tp_crc_valid() local
511 n_rem ^= prom[cnt >> 1] & 0x00FF; in ms_sensors_tp_crc_valid()
513 n_rem ^= prom[cnt >> 1] >> 8; in ms_sensors_tp_crc_valid()
516 if (n_rem & 0x8000) in ms_sensors_tp_crc_valid()
517 n_rem = (n_rem << 1) ^ 0x3000; in ms_sensors_tp_crc_valid()
519 n_rem <<= 1; in ms_sensors_tp_crc_valid()
522 n_rem >>= 12; in ms_sensors_tp_crc_valid()
525 return n_rem == crc; in ms_sensors_tp_crc_valid()
/linux-4.19.296/fs/reiserfs/
Ddo_balan.c772 int n_shift, n_rem, r_zeroes_number, version; in balance_leaf_paste_right_shift() local
804 n_rem = tb->insert_size[0] - tb->rbytes; in balance_leaf_paste_right_shift()
805 if (n_rem < 0) in balance_leaf_paste_right_shift()
806 n_rem = 0; in balance_leaf_paste_right_shift()
808 temp_rem = n_rem; in balance_leaf_paste_right_shift()
814 temp_rem = n_rem << shift; in balance_leaf_paste_right_shift()
825 if (n_rem > tb->zeroes_num) { in balance_leaf_paste_right_shift()
827 r_body = body + n_rem - tb->zeroes_num; in balance_leaf_paste_right_shift()
830 r_zeroes_number = tb->zeroes_num - n_rem; in balance_leaf_paste_right_shift()
834 leaf_paste_in_buffer(&bi, 0, n_shift, tb->insert_size[0] - n_rem, in balance_leaf_paste_right_shift()
[all …]