Home
last modified time | relevance | path

Searched refs:rnum (Results 1 – 14 of 14) sorted by relevance

/linux/fs/reiserfs/
H A Ddo_balan.c154 if (tb->rnum[0] == -1) { in balance_leaf_when_delete_left()
191 RFALSE(tb->rnum[0] != 0, in balance_leaf_when_delete_left()
192 "PAP-12045: rnum must be 0 (%d)", tb->rnum[0]); in balance_leaf_when_delete_left()
206 RFALSE((tb->lnum[0] + tb->rnum[0] < n) || in balance_leaf_when_delete_left()
207 (tb->lnum[0] + tb->rnum[0] > n + 1), in balance_leaf_when_delete_left()
210 tb->rnum[0], tb->lnum[0], n); in balance_leaf_when_delete_left()
211 RFALSE((tb->lnum[0] + tb->rnum[0] == n) && in balance_leaf_when_delete_left()
216 RFALSE((tb->lnum[0] + tb->rnum[0] == n + 1) && in balance_leaf_when_delete_left()
223 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_when_delete_left()
274 if (tb->rnum[0] == -1) { in balance_leaf_when_delete()
[all …]
H A Dibalance.c655 if (tb->lnum[h] == 0 && tb->rnum[h] == 0) { in balance_internal_when_delete()
699 RFALSE(tb->rnum[h] != 0, in balance_internal_when_delete()
701 h, tb->rnum[h]); in balance_internal_when_delete()
710 if (tb->R[h] && tb->rnum[h] == -B_NR_ITEMS(tb->R[h]) - 1) { in balance_internal_when_delete()
723 RFALSE(tb->rnum[h] != 0, in balance_internal_when_delete()
725 tb->rnum[h]); in balance_internal_when_delete()
732 if (tb->rnum[h] < 0) { in balance_internal_when_delete()
736 …internal_shift_left(INTERNAL_SHIFT_FROM_R_TO_S, tb, h, -tb->rnum[h]); /*tb->S[h], tb->CFR[h], tb->… in balance_internal_when_delete()
742 RFALSE(tb->rnum[h] == 0 || tb->lnum[h] + tb->rnum[h] != n + 1, in balance_internal_when_delete()
744 h, tb->lnum[h], h, tb->rnum[h], n); in balance_internal_when_delete()
[all …]
H A Dfix_node.c291 tb->rnum[h] = cur_free / (DC_SIZE + KEY_SIZE); in check_right()
299 tb->rnum[h] = 0; in check_right()
316 tb->rnum[h] = vn->vn_nr_item; in check_right()
327 tb->rnum[0] = 0; in check_right()
334 tb->rnum[0]++; in check_right()
358 tb->rnum[0]++; in check_right()
622 int rnum, int blk_num, short *s012, int lb, int rb) in set_parameters() argument
626 tb->rnum[h] = rnum; in set_parameters()
642 PROC_INFO_ADD(tb->tb_sb, rnum[h], rnum); in set_parameters()
664 to_right = tb->rnum[0] - ((tb->rbytes != -1) ? 1 : 0); in is_leaf_removable()
[all …]
H A Dprints.c693 tb->insert_size[0], tb->lnum[0], tb->lbytes, tb->rnum[0], in store_print_tb()
704 h, tb->insert_size[h], tb->lnum[h], tb->rnum[h], in store_print_tb()
H A Dprocfs.c181 SFPL(rnum), in show_per_level()
H A Dreiserfs.h471 long int rnum[5]; /* XXX */ member
2446 int rnum[MAX_HEIGHT]; member
/linux/include/uapi/linux/
H A Duhid.h89 __u8 rnum; member
102 __u8 rnum; member
159 __u8 rnum; member
/linux/drivers/hid/
H A Duhid.c232 static int uhid_hid_get_report(struct hid_device *hid, unsigned char rnum, in uhid_hid_get_report() argument
248 ev->u.get_report.rnum = rnum; in uhid_hid_get_report()
275 static int uhid_hid_set_report(struct hid_device *hid, unsigned char rnum, in uhid_hid_set_report() argument
290 ev->u.set_report.rnum = rnum; in uhid_hid_set_report()
/linux/tools/testing/selftests/hid/tests/
H A Dtest_mouse.py417 def set_report(self, req, rnum, rtype, data): argument
420 if rnum != 0x12:
434 def set_report(self, req, rnum, rtype, data): argument
435 super().set_report(req, rnum, rtype, data)
530 def set_report(self, req, rnum, rtype, data): argument
531 super().set_report(req, rnum, rtype, data)
H A Dtest_tablet.py620 def get_report(self, req, rnum, rtype): argument
626 if v.report_ID == rnum:
634 def set_report(self, req, rnum, rtype, data): argument
640 if v.report_ID == rnum:
H A Dtest_multitouch.py177 def get_report(self, req, rnum, rtype): argument
183 if v.report_ID == rnum:
196 def set_report(self, req, rnum, rtype, data): argument
202 if v.report_ID == rnum:
H A Dtest_wacom_generic.py296 def get_report(self, req, rnum, rtype): argument
302 if v.report_ID == rnum:
/linux/sound/pci/au88x0/
H A Dau88x0_core.c1630 ADBRamLink * route, int rnum) in vortex_adb_addroutes() argument
1634 if ((rnum <= 0) || (route == NULL)) in vortex_adb_addroutes()
1637 rnum--; in vortex_adb_addroutes()
1639 VORTEX_ADB_RTBASE + ((route[rnum] & ADB_MASK) << 2), in vortex_adb_addroutes()
1641 while (rnum > 0) { in vortex_adb_addroutes()
1644 ((route[rnum - 1] & ADB_MASK) << 2), route[rnum]); in vortex_adb_addroutes()
1645 rnum--; in vortex_adb_addroutes()
/linux/tools/testing/selftests/hid/
H A Dhid_bpf.c230 answer.u.get_report_reply.err = ev.u.get_report.rnum == 1 ? 0 : -EIO; in uhid_event()